1
0
Fork 0

Check for libpng.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@443
This commit is contained in:
Sjoerd van der Berg 2002-10-25 22:14:40 +00:00
parent ee69b4e211
commit 8710865d53

View file

@ -36,6 +36,9 @@ AC_C_INLINE
AC_TYPE_SIZE_T
AC_STRUCT_TM
dnl Checks for libraries.
AC_CHECK_LIB(png, png_check_sig, , AC_MSG_ERROR([*** libpng not found!]), -lz)
#Check if the compiler support attributes
AC_MSG_CHECKING(if compiler allows __attribute__)
AC_TRY_COMPILE([], [typedef struct { } __attribute__ ((packed)) junk;],