diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2013-02-10 20:03:46 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2013-02-10 20:03:46 +0100 |
commit | f352adfde5c12949d1be3beaa178456dc87f2091 (patch) | |
tree | 1fefa721570d7fbbd14a34cb607e1f720b81d033 | |
parent | 206968b827f5197174afc4e8c7cb53551d97705f (diff) |
build: Make configure fail if all required headers aren't found
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r-- | configure.ac | 4 |
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" |