]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
include confdefs to get 'HAVE*' definitions.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Feb 2007 08:13:29 +0000 (08:13 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 14 Feb 2007 08:13:29 +0000 (08:13 +0000)
git-svn-id: file:///svn/unbound/trunk@96 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac

index ba1605b436632d36ab85a64f35ea22de2834d79f..7b7b2976d1f5fe4ab6e4785dae24fea96d1d0f1b 100644 (file)
@@ -92,6 +92,7 @@ AC_CHECK_HEADERS([getopt.h time.h],,, [AC_INCLUDES_DEFAULT])
 
 CHECK_COMPILER_FLAG_NEEDED(-std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600,
 [
+#include "confdefs.h"
 #include <stdlib.h>
 #include <ctype.h>
 #include <sys/time.h>
@@ -145,6 +146,7 @@ int test() {
 
 CHECK_COMPILER_FLAG_NEEDED(-D_POSIX_C_SOURCE=200112,
 [
+#include "confdefs.h"
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif
@@ -164,6 +166,7 @@ int test() {
 
 CHECK_COMPILER_FLAG_NEEDED(-D__EXTENSIONS__,
 [
+#include "confdefs.h"
 #include <stdlib.h>
 #include <ctype.h>
 #include <sys/time.h>