]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
no check decls.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Feb 2007 13:24:09 +0000 (13:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Feb 2007 13:24:09 +0000 (13:24 +0000)
git-svn-id: file:///svn/unbound/trunk@111 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac
doc/Changelog

index cbbf3179a21112b83863c761ed4e83a39946a2ef..473713e0179598d4a3a1141d4ca92f818dd3f15b 100644 (file)
@@ -189,20 +189,6 @@ int test() {
         return a;
 }
 ], [CFLAGS="$CFLAGS -D__EXTENSIONS__"])
-AC_CHECK_DECLS([isascii, getopt, srandom, ctime_r, gai_strerror],, [echo "Cannot set compile environment; pass defines in CFLAGS=-D... ./configure"; exit 1], [
-#include <stdlib.h>
-#include <sys/time.h>
-#ifdef HAVE_TIME_H
-#include <time.h>
-#endif
-#include <netdb.h>
-#include <unistd.h>
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#endif
-#include <stdbool.h>
-#include <ctype.h>
-])
 
 # for Sun studio 11.
 CHECK_COMPILER_FLAG(xO4, [CFLAGS="$CFLAGS -xO4"])
index 11596df94c43e9c1a6dad447392da7b83b802a4d..fe1cd2ae475ca0ec31effbf231e5bdf70f0622d7 100644 (file)
@@ -1,5 +1,6 @@
 16 February 2007: Wouter
        - Updated testbed script, works better by using make on remote end.
+       - removed check decls, we can compile without them.
 
 15 February 2007: Wouter
        - port to FreeBSD 4.11 Dec Alpha. Also works on Solaris 10 sparc64,