forked from sdr/libosmo-dsp
build: Make configure fail if all required headers aren't found
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
206968b827
commit
f352adfde5
|
@ -19,8 +19,8 @@ AM_CONDITIONAL(HAVE_DOXYGEN, test $DOXYGEN != false)
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
dnl checks for header files
|
dnl checks for header files
|
||||||
AC_HEADER_STDC
|
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_CHECK_HEADERS(complex.h math.h fcntl.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
|
# The following test is taken from WebKit's webkit.m4
|
||||||
saved_CFLAGS="$CFLAGS"
|
saved_CFLAGS="$CFLAGS"
|
||||||
|
|
Loading…
Reference in New Issue