1
0
Fork 0

New attribute checking

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@152
This commit is contained in:
Sjoerd van der Berg 2002-08-19 10:43:55 +00:00
parent 35c9b53309
commit 43f6d48932

View file

@ -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