New attribute checking
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@152
This commit is contained in:
parent
35c9b53309
commit
43f6d48932
1 changed files with 4 additions and 3 deletions
|
@ -36,11 +36,12 @@ AC_C_INLINE
|
|||
AC_TYPE_SIZE_T
|
||||
AC_STRUCT_TM
|
||||
|
||||
dnl Checks for library functions.
|
||||
#Check if the compiler support attributes
|
||||
AC_MSG_CHECKING(if compiler allows __attribute__)
|
||||
AC_TRY_COMPILE([], [typedef struct { } __attribute__ ((packed)) junk;],
|
||||
[ AC_MSG_RESULT(yes);AC_DEFINE(C_HAS_ATTRIBUTE)],AC_MSG_RESULT(no))
|
||||
|
||||
|
||||
#Always include the standard include dir in all makefiless
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
src/Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue