no check decls.

git-svn-id: file:///svn/unbound/trunk@111 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-02-16 13:24:09 +00:00
parent 92c56b4a29
commit eb3f163a60
2 changed files with 1 additions and 14 deletions

View 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"])

View 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,