From eb3f163a60823fa083aa529e3db374a11af759c5 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 16 Feb 2007 13:24:09 +0000 Subject: [PATCH] no check decls. git-svn-id: file:///svn/unbound/trunk@111 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure.ac | 14 -------------- doc/Changelog | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/configure.ac b/configure.ac index cbbf3179a..473713e01 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -#include -#ifdef HAVE_TIME_H -#include -#endif -#include -#include -#ifdef HAVE_GETOPT_H -#include -#endif -#include -#include -]) # for Sun studio 11. CHECK_COMPILER_FLAG(xO4, [CFLAGS="$CFLAGS -xO4"]) diff --git a/doc/Changelog b/doc/Changelog index 11596df94..fe1cd2ae4 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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, -- 2.47.2