diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-08-07 13:50:13 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-08-07 13:50:13 +0200 |
commit | 8e8c137b2187c2e738a23c3d42237860d90d6fa4 (patch) | |
tree | 5a78290311e384cb89ec36938e523578f9e1377a | |
parent | 029f400a00a27e8028938a876bb36c3c61e3774f (diff) | |
download | platform_external_libdaemon-8e8c137b2187c2e738a23c3d42237860d90d6fa4.tar.gz platform_external_libdaemon-8e8c137b2187c2e738a23c3d42237860d90d6fa4.tar.bz2 platform_external_libdaemon-8e8c137b2187c2e738a23c3d42237860d90d6fa4.zip |
Check for assert.h header and allow to disable assertions.
In recent versions of autoconf, the AC_HEADER_ASSERT check not only
makes sure that the assert.h header is found but it also allows the
user to decide whether to enable or disable assertions at ./configure
(rather than having to pass -DNDEBUG manually).
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e20b10a..8475a23 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ if test "x$GCC" = "xyes" ; then fi # Checks for header files. +AC_HEADER_ASSERT AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h syslog.h unistd.h sys/ioctl.h sys/time.h]) AC_HEADER_SYS_WAIT |