612. [cleanup] Shutup a ridiculously noisy HP-UX compiler that
complains relentlessly about how its treatment of 'const' has changed as well as how casting sometimes tightens alignment constraints.
This commit is contained in:
5
CHANGES
5
CHANGES
@@ -1,4 +1,9 @@
|
||||
|
||||
612. [cleanup] Shutup a ridiculously noisy HP-UX compiler that
|
||||
complains relentlessly about how its treatment
|
||||
of 'const' has changed as well as how casting
|
||||
sometimes tightens alignment constraints.
|
||||
|
||||
611. [func] allow-notify can be used to permit processing of
|
||||
notify messages from hosts other than a slave's
|
||||
masters.
|
||||
|
||||
242
configure
vendored
242
configure
vendored
@@ -15,7 +15,7 @@
|
||||
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
|
||||
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# From configure.in Revision: 1.196
|
||||
# From configure.in Revision: 1.197
|
||||
|
||||
## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
|
||||
## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
|
||||
@@ -2635,8 +2635,23 @@ fi
|
||||
CCOPT="$CCOPT -mt"
|
||||
;;
|
||||
*-hp-hpux*)
|
||||
CC="$CC -Ae -z +w1"
|
||||
CC="$CC -Ae -z"
|
||||
# The version of the C compiler that constantly
|
||||
# warns about 'const' as well as alignment issues
|
||||
# is unfortunately not able to be discerned via
|
||||
# the version of the operating system, nor does
|
||||
# cc have a version flag.
|
||||
case "`$CC +W 123 2>&1`" in
|
||||
*Unknown?option*)
|
||||
STD_CWARNINGS="+w1"
|
||||
;;
|
||||
*)
|
||||
# Turn off the pointlessly noisy warnings.
|
||||
STD_CWARNINGS="+w1 +W 474,530"
|
||||
;;
|
||||
esac
|
||||
CCOPT="$CCOPT -Ae -z"
|
||||
LIBS="-Wl,+vnocompatwarnings $LIBS"
|
||||
;;
|
||||
*-ibm-aix*)
|
||||
STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
|
||||
@@ -2663,12 +2678,12 @@ ISC_THREAD_DIR=$thread_dir
|
||||
# even if compiled with --disable-threads.
|
||||
#
|
||||
echo $ac_n "checking for flockfile""... $ac_c" 1>&6
|
||||
echo "configure:2667: checking for flockfile" >&5
|
||||
echo "configure:2682: checking for flockfile" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_flockfile'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2672 "configure"
|
||||
#line 2687 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char flockfile(); below. */
|
||||
@@ -2691,7 +2706,7 @@ flockfile();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_flockfile=yes"
|
||||
else
|
||||
@@ -2718,12 +2733,12 @@ fi
|
||||
# NLS
|
||||
#
|
||||
echo $ac_n "checking for catgets""... $ac_c" 1>&6
|
||||
echo "configure:2722: checking for catgets" >&5
|
||||
echo "configure:2737: checking for catgets" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2727 "configure"
|
||||
#line 2742 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char catgets(); below. */
|
||||
@@ -2746,7 +2761,7 @@ catgets();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_catgets=yes"
|
||||
else
|
||||
@@ -2784,7 +2799,7 @@ case "$host" in
|
||||
;;
|
||||
*)
|
||||
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
||||
echo "configure:2788: checking for socket in -lsocket" >&5
|
||||
echo "configure:2803: checking for socket in -lsocket" >&5
|
||||
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -2792,7 +2807,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lsocket $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2796 "configure"
|
||||
#line 2811 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
@@ -2803,7 +2818,7 @@ int main() {
|
||||
socket()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
@@ -2831,7 +2846,7 @@ else
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
|
||||
echo "configure:2835: checking for inet_ntoa in -lnsl" >&5
|
||||
echo "configure:2850: checking for inet_ntoa in -lnsl" >&5
|
||||
ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@@ -2839,7 +2854,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lnsl $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 2843 "configure"
|
||||
#line 2858 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
@@ -2850,7 +2865,7 @@ int main() {
|
||||
inet_ntoa()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
@@ -2892,7 +2907,6 @@ else
|
||||
MKDEPCFLAGS="-xM"
|
||||
;;
|
||||
*-hp-hpux*)
|
||||
LIBS="-Wl,+vnocompatwarnings $LIBS"
|
||||
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
|
||||
;;
|
||||
*-sgi-irix*)
|
||||
@@ -3002,7 +3016,7 @@ else
|
||||
fi
|
||||
|
||||
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
||||
echo "configure:3006: checking build system type" >&5
|
||||
echo "configure:3020: checking build system type" >&5
|
||||
|
||||
build_alias=$build
|
||||
case "$build_alias" in
|
||||
@@ -3031,7 +3045,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:3035: checking for ld used by GCC" >&5
|
||||
echo "configure:3049: checking for ld used by GCC" >&5
|
||||
ac_prog=`($CC -print-prog-name=ld) 2>&5`
|
||||
case "$ac_prog" in
|
||||
# Accept absolute paths.
|
||||
@@ -3055,10 +3069,10 @@ echo "configure:3035: 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:3059: checking for GNU ld" >&5
|
||||
echo "configure:3073: checking for GNU ld" >&5
|
||||
else
|
||||
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
|
||||
echo "configure:3062: checking for non-GNU ld" >&5
|
||||
echo "configure:3076: 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
|
||||
@@ -3093,7 +3107,7 @@ else
|
||||
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:3097: checking if the linker ($LD) is GNU ld" >&5
|
||||
echo "configure:3111: 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
|
||||
@@ -3109,7 +3123,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:3113: checking for BSD-compatible nm" >&5
|
||||
echo "configure:3127: 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
|
||||
@@ -3145,7 +3159,7 @@ NM="$ac_cv_path_NM"
|
||||
echo "$ac_t""$NM" 1>&6
|
||||
|
||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
||||
echo "configure:3149: checking whether ln -s works" >&5
|
||||
echo "configure:3163: 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
|
||||
@@ -3194,8 +3208,8 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
|
||||
case "$lt_target" in
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 3198 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo configure:3199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
echo '#line 3212 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
case "`/usr/bin/file conftest.o`" in
|
||||
*32-bit*)
|
||||
LD="${LD-ld} -32"
|
||||
@@ -3216,19 +3230,19 @@ case "$lt_target" in
|
||||
SAVE_CFLAGS="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -belf"
|
||||
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
|
||||
echo "configure:3220: checking whether the C compiler needs -belf" >&5
|
||||
echo "configure:3234: 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 3225 "configure"
|
||||
#line 3239 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3246: \"$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
|
||||
@@ -3379,9 +3393,9 @@ esac
|
||||
# the right suffix on the files.
|
||||
#
|
||||
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
|
||||
echo "configure:3383: checking for IPv6 structures" >&5
|
||||
echo "configure:3397: checking for IPv6 structures" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3385 "configure"
|
||||
#line 3399 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3391,7 +3405,7 @@ int main() {
|
||||
struct sockaddr_in6 sin6; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
found_ipv6=yes
|
||||
@@ -3409,7 +3423,7 @@ rm -f conftest*
|
||||
# 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:3413: checking for Kame IPv6 support" >&5
|
||||
echo "configure:3427: 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"
|
||||
@@ -3499,9 +3513,9 @@ case "$found_ipv6" in
|
||||
LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
|
||||
|
||||
echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
|
||||
echo "configure:3503: checking for in6addr_any" >&5
|
||||
echo "configure:3517: checking for in6addr_any" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3505 "configure"
|
||||
#line 3519 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3512,7 +3526,7 @@ int main() {
|
||||
struct in6_addr in6; in6 = in6addr_any; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3530: \"$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"
|
||||
@@ -3528,9 +3542,9 @@ fi
|
||||
rm -f conftest*
|
||||
|
||||
echo $ac_n "checking for sin6_scope_id in struct sockaddr_in6""... $ac_c" 1>&6
|
||||
echo "configure:3532: checking for sin6_scope_id in struct sockaddr_in6" >&5
|
||||
echo "configure:3546: checking for sin6_scope_id in struct sockaddr_in6" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3534 "configure"
|
||||
#line 3548 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3543,7 +3557,7 @@ int main() {
|
||||
struct sockaddr_in6 xyzzy; xyzzy.sin6_scope_id = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
echo "$ac_t""yes" 1>&6
|
||||
result="#define LWRES_HAVE_SIN6_SCOPE_ID 1"
|
||||
@@ -3558,9 +3572,9 @@ rm -f conftest*
|
||||
LWRES_HAVE_SIN6_SCOPE_ID="$result"
|
||||
|
||||
echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6
|
||||
echo "configure:3562: checking for in6_pktinfo" >&5
|
||||
echo "configure:3576: checking for in6_pktinfo" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3564 "configure"
|
||||
#line 3578 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3573,7 +3587,7 @@ int main() {
|
||||
struct in6_pktinfo xyzzy; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3591: \"$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"
|
||||
@@ -3623,9 +3637,9 @@ esac
|
||||
# which provides some (all?) of the desired functions.
|
||||
#
|
||||
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
|
||||
echo "configure:3627: checking for inet_ntop" >&5
|
||||
echo "configure:3641: checking for inet_ntop" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3629 "configure"
|
||||
#line 3643 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3635,7 +3649,7 @@ int main() {
|
||||
inet_ntop(0, 0, 0, 0); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3653: \"$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"
|
||||
@@ -3650,9 +3664,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for inet_pton""... $ac_c" 1>&6
|
||||
echo "configure:3654: checking for inet_pton" >&5
|
||||
echo "configure:3668: checking for inet_pton" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3656 "configure"
|
||||
#line 3670 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3662,7 +3676,7 @@ int main() {
|
||||
inet_pton(0, 0, 0); return (0);
|
||||
; 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:3680: \"$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"
|
||||
@@ -3677,9 +3691,9 @@ else
|
||||
fi
|
||||
rm -f conftest*
|
||||
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
|
||||
echo "configure:3681: checking for inet_aton" >&5
|
||||
echo "configure:3695: checking for inet_aton" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3683 "configure"
|
||||
#line 3697 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3689,7 +3703,7 @@ int main() {
|
||||
struct in_addr in; inet_aton(0, &in); return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:3707: \"$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"
|
||||
@@ -3722,9 +3736,9 @@ EOF
|
||||
esac
|
||||
|
||||
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
|
||||
echo "configure:3726: checking for sa_len in struct sockaddr" >&5
|
||||
echo "configure:3740: checking for sa_len in struct sockaddr" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3728 "configure"
|
||||
#line 3742 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3733,7 +3747,7 @@ int main() {
|
||||
struct sockaddr sa; sa.sa_len = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3751: \"$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"
|
||||
@@ -3754,9 +3768,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:3758: checking for struct msghdr flavor" >&5
|
||||
echo "configure:3772: checking for struct msghdr flavor" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3760 "configure"
|
||||
#line 3774 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3765,7 +3779,7 @@ int main() {
|
||||
struct msghdr msg; msg.msg_flags = 0; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3783: \"$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"
|
||||
@@ -3783,9 +3797,9 @@ rm -f conftest*
|
||||
# Look for in_port_t.
|
||||
#
|
||||
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
|
||||
echo "configure:3787: checking for type in_port_t" >&5
|
||||
echo "configure:3801: checking for type in_port_t" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3789 "configure"
|
||||
#line 3803 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -3794,7 +3808,7 @@ int main() {
|
||||
in_port_t port = 25; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3812: \"$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"
|
||||
@@ -3812,9 +3826,9 @@ rm -f conftest*
|
||||
# Check for addrinfo
|
||||
#
|
||||
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
|
||||
echo "configure:3816: checking for struct addrinfo" >&5
|
||||
echo "configure:3830: checking for struct addrinfo" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3818 "configure"
|
||||
#line 3832 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3822,7 +3836,7 @@ int main() {
|
||||
struct addrinfo a; return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3840: \"$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"
|
||||
@@ -3841,9 +3855,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int sethostent""... $ac_c" 1>&6
|
||||
echo "configure:3845: checking for int sethostent" >&5
|
||||
echo "configure:3859: checking for int sethostent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3847 "configure"
|
||||
#line 3861 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3851,7 +3865,7 @@ int main() {
|
||||
int i = sethostent(0); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3869: \"$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"
|
||||
@@ -3866,9 +3880,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int endhostent""... $ac_c" 1>&6
|
||||
echo "configure:3870: checking for int endhostent" >&5
|
||||
echo "configure:3884: checking for int endhostent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3872 "configure"
|
||||
#line 3886 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3876,7 +3890,7 @@ int main() {
|
||||
int i = endhostent(); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3894: \"$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"
|
||||
@@ -3891,9 +3905,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
|
||||
echo "configure:3895: checking for getnetbyaddr(in_addr_t, ...)" >&5
|
||||
echo "configure:3909: checking for getnetbyaddr(in_addr_t, ...)" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3897 "configure"
|
||||
#line 3911 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3902,7 +3916,7 @@ int main() {
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3920: \"$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"
|
||||
@@ -3917,9 +3931,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int setnetent""... $ac_c" 1>&6
|
||||
echo "configure:3921: checking for int setnetent" >&5
|
||||
echo "configure:3935: checking for int setnetent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3923 "configure"
|
||||
#line 3937 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3927,7 +3941,7 @@ int main() {
|
||||
int i = setnetent(0); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3945: \"$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"
|
||||
@@ -3942,9 +3956,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for int endnetent""... $ac_c" 1>&6
|
||||
echo "configure:3946: checking for int endnetent" >&5
|
||||
echo "configure:3960: checking for int endnetent" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3948 "configure"
|
||||
#line 3962 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3952,7 +3966,7 @@ int main() {
|
||||
int i = endnetent(); return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3970: \"$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"
|
||||
@@ -3967,9 +3981,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for gethostbyaddr(const void *, size_t, ...)""... $ac_c" 1>&6
|
||||
echo "configure:3971: checking for gethostbyaddr(const void *, size_t, ...)" >&5
|
||||
echo "configure:3985: checking for gethostbyaddr(const void *, size_t, ...)" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3973 "configure"
|
||||
#line 3987 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -3978,7 +3992,7 @@ int main() {
|
||||
return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:3982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:3996: \"$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"
|
||||
@@ -3993,9 +4007,9 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
|
||||
echo "configure:3997: checking for h_errno in netdb.h" >&5
|
||||
echo "configure:4011: checking for h_errno in netdb.h" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 3999 "configure"
|
||||
#line 4013 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -4003,7 +4017,7 @@ int main() {
|
||||
h_errno = 1; return(0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:4021: \"$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"
|
||||
@@ -4018,12 +4032,12 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
|
||||
echo "configure:4022: checking for getipnodebyname" >&5
|
||||
echo "configure:4036: 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 4027 "configure"
|
||||
#line 4041 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getipnodebyname(); below. */
|
||||
@@ -4046,7 +4060,7 @@ getipnodebyname();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4064: \"$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
|
||||
@@ -4067,12 +4081,12 @@ ISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6
|
||||
echo "configure:4071: checking for getnameinfo" >&5
|
||||
echo "configure:4085: 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 4076 "configure"
|
||||
#line 4090 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getnameinfo(); below. */
|
||||
@@ -4095,7 +4109,7 @@ getnameinfo();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4113: \"$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
|
||||
@@ -4116,12 +4130,12 @@ ISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
|
||||
echo "configure:4120: checking for getaddrinfo" >&5
|
||||
echo "configure:4134: 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 4125 "configure"
|
||||
#line 4139 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getaddrinfo(); below. */
|
||||
@@ -4144,7 +4158,7 @@ getaddrinfo();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4162: \"$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
|
||||
@@ -4176,9 +4190,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:4180: checking for interface list sysctl" >&5
|
||||
echo "configure:4194: checking for interface list sysctl" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4182 "configure"
|
||||
#line 4196 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
@@ -4208,12 +4222,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:4212: checking for strsep" >&5
|
||||
echo "configure:4226: 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 4217 "configure"
|
||||
#line 4231 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char strsep(); below. */
|
||||
@@ -4236,7 +4250,7 @@ strsep();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4254: \"$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
|
||||
@@ -4257,12 +4271,12 @@ ISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
|
||||
echo "configure:4261: checking for vsnprintf" >&5
|
||||
echo "configure:4275: 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 4266 "configure"
|
||||
#line 4280 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char vsnprintf(); below. */
|
||||
@@ -4285,7 +4299,7 @@ vsnprintf();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4303: \"$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
|
||||
@@ -4314,17 +4328,17 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6
|
||||
echo "configure:4318: checking for sizeof(long long int) == sizeof(long int)" >&5
|
||||
echo "configure:4332: 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 4324 "configure"
|
||||
#line 4338 "configure"
|
||||
#include "confdefs.h"
|
||||
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
|
||||
EOF
|
||||
if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:4342: \"$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"
|
||||
@@ -4344,12 +4358,12 @@ fi
|
||||
# Security Stuff
|
||||
#
|
||||
echo $ac_n "checking for chroot""... $ac_c" 1>&6
|
||||
echo "configure:4348: checking for chroot" >&5
|
||||
echo "configure:4362: 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 4353 "configure"
|
||||
#line 4367 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char chroot(); below. */
|
||||
@@ -4372,7 +4386,7 @@ chroot();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4390: \"$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
|
||||
@@ -4398,17 +4412,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:4402: checking for $ac_hdr" >&5
|
||||
echo "configure:4416: 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 4407 "configure"
|
||||
#line 4421 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4426: \"$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*
|
||||
@@ -4438,17 +4452,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:4442: checking for $ac_hdr" >&5
|
||||
echo "configure:4456: 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 4447 "configure"
|
||||
#line 4461 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4466: \"$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*
|
||||
@@ -4553,7 +4567,7 @@ do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
set dummy $ac_prog; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:4557: checking for $ac_word" >&5
|
||||
echo "configure:4571: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_path_JADE'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@@ -4599,7 +4613,7 @@ test -n "$JADE" || JADE="jade"
|
||||
SGMLDIR=""
|
||||
|
||||
echo $ac_n "checking for SGML files""... $ac_c" 1>&6
|
||||
echo "configure:4603: checking for SGML files" >&5
|
||||
echo "configure:4617: checking for SGML files" >&5
|
||||
for d in /usr/pkg/share/sgml /usr/local/share/sgml
|
||||
do
|
||||
if test -f $d/docbook/dsssl/modular/html/docbook.dsl
|
||||
@@ -4625,7 +4639,7 @@ fi
|
||||
XGMLDIR=""
|
||||
|
||||
echo $ac_n "checking for XML files""... $ac_c" 1>&6
|
||||
echo "configure:4629: checking for XML files" >&5
|
||||
echo "configure:4643: checking for XML files" >&5
|
||||
for d in /usr/pkg/share/xml /usr/local/share/xml
|
||||
do
|
||||
if test -f $d/dtd/docbook/docbookx.dtd
|
||||
|
||||
20
configure.in
20
configure.in
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||
AC_DIVERT_POP()dnl
|
||||
|
||||
AC_REVISION($Revision: 1.196 $)
|
||||
AC_REVISION($Revision: 1.197 $)
|
||||
|
||||
AC_INIT(lib/dns/name.c)
|
||||
AC_PREREQ(2.13)
|
||||
@@ -475,8 +475,23 @@ Please install the devel/unproven-pthreads package and rerun configure.
|
||||
CCOPT="$CCOPT -mt"
|
||||
;;
|
||||
*-hp-hpux*)
|
||||
CC="$CC -Ae -z +w1"
|
||||
CC="$CC -Ae -z"
|
||||
# The version of the C compiler that constantly
|
||||
# warns about 'const' as well as alignment issues
|
||||
# is unfortunately not able to be discerned via
|
||||
# the version of the operating system, nor does
|
||||
# cc have a version flag.
|
||||
case "`$CC +W 123 2>&1`" in
|
||||
*Unknown?option*)
|
||||
STD_CWARNINGS="+w1"
|
||||
;;
|
||||
*)
|
||||
# Turn off the pointlessly noisy warnings.
|
||||
STD_CWARNINGS="+w1 +W 474,530"
|
||||
;;
|
||||
esac
|
||||
CCOPT="$CCOPT -Ae -z"
|
||||
LIBS="-Wl,+vnocompatwarnings $LIBS"
|
||||
;;
|
||||
*-ibm-aix*)
|
||||
STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
|
||||
@@ -540,7 +555,6 @@ else
|
||||
MKDEPCFLAGS="-xM"
|
||||
;;
|
||||
*-hp-hpux*)
|
||||
LIBS="-Wl,+vnocompatwarnings $LIBS"
|
||||
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
|
||||
;;
|
||||
*-sgi-irix*)
|
||||
|
||||
Reference in New Issue
Block a user