aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 41e6c5d..6c7bf8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,8 +19,8 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false)
AC_CONFIG_MACRO_DIR([m4])
dnl checks for header files
-AC_HEADER_STDC
-AC_CHECK_HEADERS(complex.h math.h fcntl.h unistd.h sys/mman.h sys/types.h sys/stat.h)
+AC_CHECK_HEADERS([complex.h fcntl.h math.h stdio.h stdlib.h string.h unistd.h sys/mman.h sys/types.h sys/stat.h],,
+ AC_MSG_ERROR([Missing required header files.]))
# The following test is taken from WebKit's webkit.m4
saved_CFLAGS="$CFLAGS"