205. [cleanup] On IRIX, turn off warning 1692 ("prototyped function
redeclared without prototype") when compiling in
the lib/dns/sec/{dnssafe,openssl} directories, which
are code imported from outside sources.
... and on HP/UX, pass -Wl,+vnocompatwarnings as part of LIBS, no CC,
so it only appears on the command line when linking.
This commit is contained in:
7
CHANGES
7
CHANGES
@@ -1,4 +1,9 @@
|
||||
204. [cleanup] On HP/UX, Pass +vnocompatwarnings to the linker
|
||||
205. [cleanup] On IRIX, turn off warning 1692 ("prototyped function
|
||||
redeclared without prototype") when compiling in
|
||||
the lib/dns/sec/{dnssafe,openssl} directories, which
|
||||
are code imported from outside sources.
|
||||
|
||||
204. [cleanup] On HP/UX, pass +vnocompatwarnings to the linker
|
||||
to quiet the warnings that "The linked output may not
|
||||
run on a PA 1.x system."
|
||||
|
||||
|
||||
198
configure
vendored
198
configure
vendored
@@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
# From configure.in Revision: 1.139
|
||||
# From configure.in Revision: 1.140
|
||||
|
||||
|
||||
|
||||
@@ -2307,6 +2307,7 @@ esac
|
||||
|
||||
MKDEPCC="$CC"
|
||||
MKDEPCFLAGS="-M"
|
||||
IRIX_DNSSEC_WARNINGS_HACK=""
|
||||
if test "X$GCC" = "Xyes"; then
|
||||
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
|
||||
case "$host" in
|
||||
@@ -2336,11 +2337,16 @@ else
|
||||
MKDEPCFLAGS="-xM"
|
||||
;;
|
||||
*-hp-hpux*)
|
||||
CC="$CC -Ae -z +w1 -Wl,+vnocompatwarnings"
|
||||
CC="$CC -Ae -z +w1"
|
||||
LIBS="-Wl,+vnocompatwarnings $LIBS"
|
||||
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
|
||||
;;
|
||||
*-sgi-irix*)
|
||||
STD_CWARNINGS="-fullwarn -woff 1209"
|
||||
# Silence more than 250 instances of
|
||||
# "prototyped function redeclared without prototype"
|
||||
# from lib/dns/sec/{dnssafe,openssl}.
|
||||
IRIX_DNSSEC_WARNINGS_HACK="-woff 1692"
|
||||
;;
|
||||
*-ibm-aix*)
|
||||
STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
|
||||
@@ -2356,6 +2362,7 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Networking specifics.
|
||||
#
|
||||
@@ -2373,9 +2380,9 @@ esac
|
||||
# Look for a 4.4BSD-style sa_len member in struct sockaddr.
|
||||
#
|
||||
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
|
||||
echo "configure:2377: checking for sa_len in struct sockaddr" >&5
|
||||
echo "configure:2384: checking for sa_len in struct sockaddr" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2379 "configure"
|
||||
#line 2386 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -2384,7 +2391,7 @@ int main() {
|
||||
struct sockaddr sa; sa.sa_len = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
|
||||
@@ -2405,9 +2412,9 @@ rm -f conftest*
|
||||
# Look for a 4.4BSD or 4.3BSD struct msghdr
|
||||
#
|
||||
echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
|
||||
echo "configure:2409: checking for struct msghdr flavor" >&5
|
||||
echo "configure:2416: checking for struct msghdr flavor" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2411 "configure"
|
||||
#line 2418 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -2416,7 +2423,7 @@ int main() {
|
||||
struct msghdr msg; msg.msg_flags = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""4.4BSD" 1>&6
|
||||
ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
|
||||
@@ -2434,9 +2441,9 @@ rm -f conftest*
|
||||
# Look for in_port_t.
|
||||
#
|
||||
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
|
||||
echo "configure:2438: checking for type in_port_t" >&5
|
||||
echo "configure:2445: checking for type in_port_t" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2440 "configure"
|
||||
#line 2447 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -2445,7 +2452,7 @@ int main() {
|
||||
in_port_t port = 25; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
|
||||
@@ -2463,9 +2470,9 @@ rm -f conftest*
|
||||
# Check for addrinfo
|
||||
#
|
||||
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
|
||||
echo "configure:2467: checking for struct addrinfo" >&5
|
||||
echo "configure:2474: checking for struct addrinfo" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2469 "configure"
|
||||
#line 2476 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2473,7 +2480,7 @@ int main() {
|
||||
struct addrinfo a; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
|
||||
@@ -2488,9 +2495,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int sethostent""... $ac_c" 1>&6
|
||||
echo "configure:2492: checking for int sethostent" >&5
|
||||
echo "configure:2499: checking for int sethostent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2494 "configure"
|
||||
#line 2501 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2498,7 +2505,7 @@ int main() {
|
||||
int i = sethostent(0); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
|
||||
@@ -2513,9 +2520,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int endhostent""... $ac_c" 1>&6
|
||||
echo "configure:2517: checking for int endhostent" >&5
|
||||
echo "configure:2524: checking for int endhostent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2519 "configure"
|
||||
#line 2526 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2523,7 +2530,7 @@ int main() {
|
||||
int i = endhostent(); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
|
||||
@@ -2538,9 +2545,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
|
||||
echo "configure:2542: checking for getnetbyaddr(in_addr_t, ...)" >&5
|
||||
echo "configure:2549: checking for getnetbyaddr(in_addr_t, ...)" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2544 "configure"
|
||||
#line 2551 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2549,7 +2556,7 @@ int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2553: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
|
||||
@@ -2564,9 +2571,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int setnetent""... $ac_c" 1>&6
|
||||
echo "configure:2568: checking for int setnetent" >&5
|
||||
echo "configure:2575: checking for int setnetent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2570 "configure"
|
||||
#line 2577 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2574,7 +2581,7 @@ int main() {
|
||||
int i = setnetent(0); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
|
||||
@@ -2589,9 +2596,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int endnetent""... $ac_c" 1>&6
|
||||
echo "configure:2593: checking for int endnetent" >&5
|
||||
echo "configure:2600: checking for int endnetent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2595 "configure"
|
||||
#line 2602 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2599,7 +2606,7 @@ int main() {
|
||||
int i = endnetent(); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
|
||||
@@ -2614,9 +2621,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
|
||||
echo "configure:2618: checking for gethostbyadd(const void *, size_t, ...)" >&5
|
||||
echo "configure:2625: checking for gethostbyadd(const void *, size_t, ...)" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2620 "configure"
|
||||
#line 2627 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2625,7 +2632,7 @@ int main() {
|
||||
return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
|
||||
@@ -2640,9 +2647,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
|
||||
echo "configure:2644: checking for h_errno in netdb.h" >&5
|
||||
echo "configure:2651: checking for h_errno in netdb.h" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2646 "configure"
|
||||
#line 2653 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -2650,7 +2657,7 @@ int main() {
|
||||
h_errno = 1; return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:2661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
|
||||
@@ -2665,12 +2672,12 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
|
||||
echo "configure:2669: checking for getipnodebyname" >&5
|
||||
echo "configure:2676: checking for getipnodebyname" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2674 "configure"
|
||||
#line 2681 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getipnodebyname(); below. */
|
||||
@@ -2693,7 +2700,7 @@ getipnodebyname();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getipnodebyname=yes"
|
||||
else
|
||||
@@ -2714,12 +2721,12 @@ ISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6
|
||||
echo "configure:2718: checking for getnameinfo" >&5
|
||||
echo "configure:2725: checking for getnameinfo" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2723 "configure"
|
||||
#line 2730 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getnameinfo(); below. */
|
||||
@@ -2742,7 +2749,7 @@ getnameinfo();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getnameinfo=yes"
|
||||
else
|
||||
@@ -2763,12 +2770,12 @@ ISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
|
||||
echo "configure:2767: checking for getaddrinfo" >&5
|
||||
echo "configure:2774: checking for getaddrinfo" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2772 "configure"
|
||||
#line 2779 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getaddrinfo(); below. */
|
||||
@@ -2791,7 +2798,7 @@ getaddrinfo();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getaddrinfo=yes"
|
||||
else
|
||||
@@ -2819,9 +2826,9 @@ fi
|
||||
# Look for a sysctl call to get the list of network interfaces.
|
||||
#
|
||||
echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
|
||||
echo "configure:2823: checking for interface list sysctl" >&5
|
||||
echo "configure:2830: checking for interface list sysctl" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2825 "configure"
|
||||
#line 2832 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@@ -2931,7 +2938,7 @@ else
|
||||
fi
|
||||
|
||||
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
||||
echo "configure:2935: checking build system type" >&5
|
||||
echo "configure:2942: checking build system type" >&5
|
||||
|
||||
build_alias=$build
|
||||
case "$build_alias" in
|
||||
@@ -2960,7 +2967,7 @@ ac_prog=ld
|
||||
if test "$ac_cv_prog_gcc" = yes; then
|
||||
# Check if gcc -print-prog-name=ld gives a path.
|
||||
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
|
||||
echo "configure:2964: checking for ld used by GCC" >&5
|
||||
echo "configure:2971: checking for ld used by GCC" >&5
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5`
|
||||
case "$ac_prog" in
|
||||
# Accept absolute paths.
|
||||
@@ -2984,10 +2991,10 @@ echo "configure:2964: checking for ld used by GCC" >&5
|
||||
esac
|
||||
elif test "$with_gnu_ld" = yes; then
|
||||
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:2988: checking for GNU ld" >&5
|
||||
echo "configure:2995: checking for GNU ld" >&5
|
||||
else
|
||||
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:2991: checking for non-GNU ld" >&5
|
||||
echo "configure:2998: checking for non-GNU ld" >&5
|
||||
fi
|
||||
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -3023,7 +3030,7 @@ fi
|
||||
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
|
||||
|
||||
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:3027: checking if the linker ($LD) is GNU ld" >&5
|
||||
echo "configure:3034: checking if the linker ($LD) is GNU ld" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3039,7 +3046,7 @@ echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
|
||||
|
||||
|
||||
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
|
||||
echo "configure:3043: checking for BSD-compatible nm" >&5
|
||||
echo "configure:3050: checking for BSD-compatible nm" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3076,7 +3083,7 @@ echo "$ac_t""$NM" 1>&6
|
||||
|
||||
|
||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
||||
echo "configure:3080: checking whether ln -s works" >&5
|
||||
echo "configure:3087: checking whether ln -s works" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -3120,8 +3127,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||
case "$host" in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 3124 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo configure:3125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
echo '#line 3131 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo configure:3132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
case "`/usr/bin/file conftest.o`" in
|
||||
*32-bit*)
|
||||
LD="${LD-ld} -32"
|
||||
@@ -3142,19 +3149,19 @@ case "$host" in
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
||||
echo "configure:3146: checking whether the C compiler needs -belf" >&5
|
||||
echo "configure:3153: checking whether the C compiler needs -belf" >&5
|
||||
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3151 "configure"
|
||||
#line 3158 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
lt_cv_cc_needs_belf=yes
|
||||
else
|
||||
@@ -3291,9 +3298,9 @@ fi
|
||||
case "$enable_ipv6" in
|
||||
yes|''|autodetect)
|
||||
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
|
||||
echo "configure:3295: checking for IPv6 structures" >&5
|
||||
echo "configure:3302: checking for IPv6 structures" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3297 "configure"
|
||||
#line 3304 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3303,7 +3310,7 @@ int main() {
|
||||
struct sockaddr_in6 sin6; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
found_ipv6=yes
|
||||
@@ -3326,7 +3333,7 @@ esac
|
||||
# This is done before other IPv6 linking tests to LIBS is properly set.
|
||||
#
|
||||
echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
|
||||
echo "configure:3330: checking for Kame IPv6 support" >&5
|
||||
echo "configure:3337: checking for Kame IPv6 support" >&5
|
||||
# Check whether --with-kame or --without-kame was given.
|
||||
if test "${with_kame+set}" = set; then
|
||||
withval="$with_kame"
|
||||
@@ -3413,9 +3420,9 @@ case "$found_ipv6" in
|
||||
ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1"
|
||||
LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
|
||||
echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
|
||||
echo "configure:3417: checking for in6addr_any" >&5
|
||||
echo "configure:3424: checking for in6addr_any" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3419 "configure"
|
||||
#line 3426 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3426,7 +3433,7 @@ int main() {
|
||||
struct in6_addr in6; in6 = in6addr_any; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
|
||||
@@ -3439,9 +3446,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6
|
||||
echo "configure:3443: checking for in6_pktinfo" >&5
|
||||
echo "configure:3450: checking for in6_pktinfo" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3445 "configure"
|
||||
#line 3452 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3454,7 +3461,7 @@ int main() {
|
||||
struct in6_pktinfo xyzzy; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_HAVEIN6PKTINFO="#define ISC_PLATFORM_HAVEIN6PKTINFO 1"
|
||||
@@ -3498,9 +3505,9 @@ esac
|
||||
# the files.
|
||||
#
|
||||
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
|
||||
echo "configure:3502: checking for inet_ntop" >&5
|
||||
echo "configure:3509: checking for inet_ntop" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3504 "configure"
|
||||
#line 3511 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3510,7 +3517,7 @@ int main() {
|
||||
inet_ntop(0, 0, 0, 0); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
|
||||
@@ -3525,9 +3532,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for inet_pton""... $ac_c" 1>&6
|
||||
echo "configure:3529: checking for inet_pton" >&5
|
||||
echo "configure:3536: checking for inet_pton" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3531 "configure"
|
||||
#line 3538 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3537,7 +3544,7 @@ int main() {
|
||||
inet_pton(0, 0, 0); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
|
||||
@@ -3552,9 +3559,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
|
||||
echo "configure:3556: checking for inet_aton" >&5
|
||||
echo "configure:3563: checking for inet_aton" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3558 "configure"
|
||||
#line 3565 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3564,7 +3571,7 @@ int main() {
|
||||
struct in_addr in; inet_aton(0, &in); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
|
||||
@@ -3585,12 +3592,12 @@ rm -f conftest*
|
||||
|
||||
# Check for some other useful functions that are not ever-present.
|
||||
echo $ac_n "checking for strsep""... $ac_c" 1>&6
|
||||
echo "configure:3589: checking for strsep" >&5
|
||||
echo "configure:3596: checking for strsep" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_strsep'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3594 "configure"
|
||||
#line 3601 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char strsep(); below. */
|
||||
@@ -3613,7 +3620,7 @@ strsep();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_strsep=yes"
|
||||
else
|
||||
@@ -3634,12 +3641,12 @@ ISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
|
||||
echo "configure:3638: checking for vsnprintf" >&5
|
||||
echo "configure:3645: checking for vsnprintf" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3643 "configure"
|
||||
#line 3650 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char vsnprintf(); below. */
|
||||
@@ -3662,7 +3669,7 @@ vsnprintf();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_vsnprintf=yes"
|
||||
else
|
||||
@@ -3691,17 +3698,17 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6
|
||||
echo "configure:3695: checking for sizeof(long long int) == sizeof(long int)" >&5
|
||||
echo "configure:3702: checking for sizeof(long long int) == sizeof(long int)" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
echo "$ac_t""default yes" 1>&6
|
||||
ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3701 "configure"
|
||||
#line 3708 "configure"
|
||||
#include "confdefs.h"
|
||||
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
|
||||
EOF
|
||||
if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
|
||||
@@ -3721,12 +3728,12 @@ fi
|
||||
# Security Stuff
|
||||
#
|
||||
echo $ac_n "checking for chroot""... $ac_c" 1>&6
|
||||
echo "configure:3725: checking for chroot" >&5
|
||||
echo "configure:3732: checking for chroot" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3730 "configure"
|
||||
#line 3737 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char chroot(); below. */
|
||||
@@ -3749,7 +3756,7 @@ chroot();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_chroot=yes"
|
||||
else
|
||||
@@ -3775,17 +3782,17 @@ for ac_hdr in linux/capability.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:3779: checking for $ac_hdr" >&5
|
||||
echo "configure:3786: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3784 "configure"
|
||||
#line 3791 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:3789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:3796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@@ -3815,17 +3822,17 @@ for ac_hdr in linux/prctl.h
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:3819: checking for $ac_hdr" >&5
|
||||
echo "configure:3826: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3824 "configure"
|
||||
#line 3831 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:3829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:3836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@@ -4131,6 +4138,7 @@ s%@CPP@%$CPP%g
|
||||
s%@MKDEPCC@%$MKDEPCC%g
|
||||
s%@MKDEPCFLAGS@%$MKDEPCFLAGS%g
|
||||
s%@MKDEPPROG@%$MKDEPPROG%g
|
||||
s%@IRIX_DNSSEC_WARNINGS_HACK@%$IRIX_DNSSEC_WARNINGS_HACK%g
|
||||
s%@ISC_PLATFORM_HAVESALEN@%$ISC_PLATFORM_HAVESALEN%g
|
||||
s%@LWRES_PLATFORM_HAVESALEN@%$LWRES_PLATFORM_HAVESALEN%g
|
||||
s%@ISC_PLATFORM_MSGHDRFLAVOR@%$ISC_PLATFORM_MSGHDRFLAVOR%g
|
||||
|
||||
11
configure.in
11
configure.in
@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
||||
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
dnl SOFTWARE.
|
||||
|
||||
AC_REVISION($Revision: 1.139 $)
|
||||
AC_REVISION($Revision: 1.140 $)
|
||||
|
||||
AC_PREREQ(2.13)
|
||||
|
||||
@@ -331,6 +331,7 @@ esac
|
||||
|
||||
MKDEPCC="$CC"
|
||||
MKDEPCFLAGS="-M"
|
||||
IRIX_DNSSEC_WARNINGS_HACK=""
|
||||
if test "X$GCC" = "Xyes"; then
|
||||
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
|
||||
case "$host" in
|
||||
@@ -360,11 +361,16 @@ else
|
||||
MKDEPCFLAGS="-xM"
|
||||
;;
|
||||
*-hp-hpux*)
|
||||
CC="$CC -Ae -z +w1 -Wl,+vnocompatwarnings"
|
||||
CC="$CC -Ae -z +w1"
|
||||
LIBS="-Wl,+vnocompatwarnings $LIBS"
|
||||
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
|
||||
;;
|
||||
*-sgi-irix*)
|
||||
STD_CWARNINGS="-fullwarn -woff 1209"
|
||||
# Silence more than 250 instances of
|
||||
# "prototyped function redeclared without prototype"
|
||||
# from lib/dns/sec/{dnssafe,openssl}.
|
||||
IRIX_DNSSEC_WARNINGS_HACK="-woff 1692"
|
||||
;;
|
||||
*-ibm-aix*)
|
||||
STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
|
||||
@@ -379,6 +385,7 @@ fi
|
||||
AC_SUBST(MKDEPCC)
|
||||
AC_SUBST(MKDEPCFLAGS)
|
||||
AC_SUBST(MKDEPPROG)
|
||||
AC_SUBST(IRIX_DNSSEC_WARNINGS_HACK)
|
||||
|
||||
#
|
||||
# Networking specifics.
|
||||
|
||||
Reference in New Issue
Block a user