diff --git a/configure.ac b/configure.ac index 48bd150a..dd6080ef 100644 --- a/configure.ac +++ b/configure.ac @@ -177,7 +177,7 @@ dnl Checks for header files. dnl ======================= AC_HEADER_SYS_WAIT AC_HEADER_TIME -AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h libintl.h sys/select.h poll.h malloc.h ctype.h stdlib.h string.h strings.h) +AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h libintl.h sys/select.h poll.h malloc.h ctype.h string.h strings.h) @@ -775,6 +775,10 @@ dnl End of Graphic Format Libraries dnl ============================================== +dnl +dnl stdlib.h is checked here, because of conflict in jpeglib.h +AC_CHECK_HEADERS(stdlib.h) + # AC_PREFIX_PROGRAM(wmaker) dnl Support for PIXMAPDIR option diff --git a/configure.in b/configure.in index 48bd150a..dd6080ef 100644 --- a/configure.in +++ b/configure.in @@ -177,7 +177,7 @@ dnl Checks for header files. dnl ======================= AC_HEADER_SYS_WAIT AC_HEADER_TIME -AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h libintl.h sys/select.h poll.h malloc.h ctype.h stdlib.h string.h strings.h) +AC_CHECK_HEADERS(fcntl.h limits.h sys/ioctl.h sys/time.h sys/types.h libintl.h sys/select.h poll.h malloc.h ctype.h string.h strings.h) @@ -775,6 +775,10 @@ dnl End of Graphic Format Libraries dnl ============================================== +dnl +dnl stdlib.h is checked here, because of conflict in jpeglib.h +AC_CHECK_HEADERS(stdlib.h) + # AC_PREFIX_PROGRAM(wmaker) dnl Support for PIXMAPDIR option