|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
|
|
# Generated automatically using autoconf version 2.12
|
|
|
|
|
# Generated automatically using autoconf version 2.13
|
|
|
|
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
|
|
|
|
|
#
|
|
|
|
|
# This configure script is free software; the Free Software Foundation
|
|
|
|
@ -55,6 +55,7 @@ mandir='${prefix}/man'
|
|
|
|
|
# Initialize some other variables.
|
|
|
|
|
subdirs=
|
|
|
|
|
MFLAGS= MAKEFLAGS=
|
|
|
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
|
|
|
# Maximum number of lines to put in a shell here document.
|
|
|
|
|
ac_max_here_lines=12
|
|
|
|
|
|
|
|
|
@ -338,7 +339,7 @@ EOF
|
|
|
|
|
verbose=yes ;;
|
|
|
|
|
|
|
|
|
|
-version | --version | --versio | --versi | --vers)
|
|
|
|
|
echo "configure generated by autoconf version 2.12"
|
|
|
|
|
echo "configure generated by autoconf version 2.13"
|
|
|
|
|
exit 0 ;;
|
|
|
|
|
|
|
|
|
|
-with-* | --with-*)
|
|
|
|
@ -508,9 +509,11 @@ ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
ac_exeext=
|
|
|
|
|
ac_objext=o
|
|
|
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|
|
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
|
|
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
|
|
|
@ -550,28 +553,30 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
|
|
# SunOS /usr/etc/install
|
|
|
|
|
# IRIX /sbin/install
|
|
|
|
|
# AIX /bin/install
|
|
|
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
|
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:558: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:562: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
|
|
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
|
|
|
|
for ac_dir in $PATH; do
|
|
|
|
|
# Account for people who put trailing slashes in PATH elements.
|
|
|
|
|
case "$ac_dir/" in
|
|
|
|
|
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
|
|
|
|
|
*)
|
|
|
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
|
|
|
for ac_prog in ginstall installbsd scoinst install; do
|
|
|
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
|
|
|
|
# by default.
|
|
|
|
|
for ac_prog in ginstall scoinst install; do
|
|
|
|
|
if test -f $ac_dir/$ac_prog; then
|
|
|
|
|
if test $ac_prog = install &&
|
|
|
|
|
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
|
|
|
|
# AIX install. It has an incompatible calling convention.
|
|
|
|
|
# OSF/1 installbsd also uses dspmsg, but is usable.
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
|
|
|
@ -601,13 +606,12 @@ echo "$ac_t""$INSTALL" 1>&6
|
|
|
|
|
# It thinks the first close brace ends the variable substitution.
|
|
|
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
|
|
|
|
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
|
|
|
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:611: checking whether build environment is sane" >&5
|
|
|
|
|
echo "configure:615: checking whether build environment is sane" >&5
|
|
|
|
|
# Just in case
|
|
|
|
|
sleep 1
|
|
|
|
|
echo timestamp > conftestfile
|
|
|
|
@ -664,7 +668,7 @@ test "$program_suffix" != NONE &&
|
|
|
|
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:668: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
echo "configure:672: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
|
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -710,7 +714,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
missing_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:714: checking for working aclocal" >&5
|
|
|
|
|
echo "configure:718: checking for working aclocal" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -723,7 +727,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:727: checking for working autoconf" >&5
|
|
|
|
|
echo "configure:731: checking for working autoconf" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -736,7 +740,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:740: checking for working automake" >&5
|
|
|
|
|
echo "configure:744: checking for working automake" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -749,7 +753,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:753: checking for working autoheader" >&5
|
|
|
|
|
echo "configure:757: checking for working autoheader" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -762,7 +766,7 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:766: checking for working makeinfo" >&5
|
|
|
|
|
echo "configure:770: checking for working makeinfo" >&5
|
|
|
|
|
# Run test in a subshell; some versions of sh will print an error if
|
|
|
|
|
# an executable is not found, even if stderr is redirected.
|
|
|
|
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
|
|
|
@ -812,15 +816,16 @@ fi
|
|
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
|
|
set dummy gcc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:816: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:820: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$CC"; then
|
|
|
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
|
|
for ac_dir in $PATH; do
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_CC="gcc"
|
|
|
|
@ -841,16 +846,17 @@ if test -z "$CC"; then
|
|
|
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
|
|
set dummy cc; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:845: checking for $ac_word" >&5
|
|
|
|
|
echo "configure:850: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$CC"; then
|
|
|
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_prog_rejected=no
|
|
|
|
|
for ac_dir in $PATH; do
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
|
|
|
@ -885,25 +891,61 @@ else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test -z "$CC"; then
|
|
|
|
|
case "`uname -s`" in
|
|
|
|
|
*win32* | *WIN32*)
|
|
|
|
|
# Extract the first word of "cl", so it can be a program name with args.
|
|
|
|
|
set dummy cl; ac_word=$2
|
|
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:901: checking for $ac_word" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if test -n "$CC"; then
|
|
|
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
|
|
|
|
ac_dummy="$PATH"
|
|
|
|
|
for ac_dir in $ac_dummy; do
|
|
|
|
|
test -z "$ac_dir" && ac_dir=.
|
|
|
|
|
if test -f $ac_dir/$ac_word; then
|
|
|
|
|
ac_cv_prog_CC="cl"
|
|
|
|
|
break
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
IFS="$ac_save_ifs"
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
CC="$ac_cv_prog_CC"
|
|
|
|
|
if test -n "$CC"; then
|
|
|
|
|
echo "$ac_t""$CC" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
fi
|
|
|
|
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:893: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
echo "configure:933: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
|
|
|
|
|
|
|
ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 903 "configure"
|
|
|
|
|
cat > conftest.$ac_ext << EOF
|
|
|
|
|
|
|
|
|
|
#line 944 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
main(){return(0);}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
ac_cv_prog_cc_works=yes
|
|
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
|
|
if (./conftest; exit) 2>/dev/null; then
|
|
|
|
@ -917,18 +959,24 @@ else
|
|
|
|
|
ac_cv_prog_cc_works=no
|
|
|
|
|
fi
|
|
|
|
|
rm -fr conftest*
|
|
|
|
|
ac_ext=c
|
|
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
|
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
|
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
|
|
|
|
if test $ac_cv_prog_cc_works = no; then
|
|
|
|
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:927: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "configure:975: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
|
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:932: checking whether we are using GNU C" >&5
|
|
|
|
|
echo "configure:980: checking whether we are using GNU C" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -937,7 +985,7 @@ else
|
|
|
|
|
yes;
|
|
|
|
|
#endif
|
|
|
|
|
EOF
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
|
|
ac_cv_prog_gcc=yes
|
|
|
|
|
else
|
|
|
|
|
ac_cv_prog_gcc=no
|
|
|
|
@ -948,11 +996,15 @@ echo "$ac_t""$ac_cv_prog_gcc" 1>&6
|
|
|
|
|
|
|
|
|
|
if test $ac_cv_prog_gcc = yes; then
|
|
|
|
|
GCC=yes
|
|
|
|
|
ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:956: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
else
|
|
|
|
|
GCC=
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
|
|
ac_save_CFLAGS="$CFLAGS"
|
|
|
|
|
CFLAGS=
|
|
|
|
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1008: checking whether ${CC-cc} accepts -g" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -967,16 +1019,20 @@ rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
|
|
|
|
|
if test "$ac_test_CFLAGS" = set; then
|
|
|
|
|
CFLAGS="$ac_save_CFLAGS"
|
|
|
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
|
|
|
|
if test "$ac_test_CFLAGS" = set; then
|
|
|
|
|
CFLAGS="$ac_save_CFLAGS"
|
|
|
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
CFLAGS="-g -O2"
|
|
|
|
|
else
|
|
|
|
|
CFLAGS="-O2"
|
|
|
|
|
CFLAGS="-g"
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
GCC=
|
|
|
|
|
test "${CFLAGS+set}" = set || CFLAGS="-g"
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
|
CFLAGS="-O2"
|
|
|
|
|
else
|
|
|
|
|
CFLAGS=
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "$GCC" = yes; then
|
|
|
|
@ -989,28 +1045,30 @@ fi
|
|
|
|
|
# SunOS /usr/etc/install
|
|
|
|
|
# IRIX /sbin/install
|
|
|
|
|
# AIX /bin/install
|
|
|
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
|
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
|
|
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:997: checking for a BSD compatible install" >&5
|
|
|
|
|
echo "configure:1054: checking for a BSD compatible install" >&5
|
|
|
|
|
if test -z "$INSTALL"; then
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
|
|
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
|
|
|
|
for ac_dir in $PATH; do
|
|
|
|
|
# Account for people who put trailing slashes in PATH elements.
|
|
|
|
|
case "$ac_dir/" in
|
|
|
|
|
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
|
|
|
|
|
*)
|
|
|
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
|
|
|
for ac_prog in ginstall installbsd scoinst install; do
|
|
|
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
|
|
|
|
# by default.
|
|
|
|
|
for ac_prog in ginstall scoinst install; do
|
|
|
|
|
if test -f $ac_dir/$ac_prog; then
|
|
|
|
|
if test $ac_prog = install &&
|
|
|
|
|
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
|
|
|
|
# AIX install. It has an incompatible calling convention.
|
|
|
|
|
# OSF/1 installbsd also uses dspmsg, but is usable.
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
|
|
|
@ -1040,12 +1098,14 @@ echo "$ac_t""$INSTALL" 1>&6
|
|
|
|
|
# It thinks the first close brace ends the variable substitution.
|
|
|
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
|
|
|
|
|
|
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
|
|
|
|
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1049: checking how to run the C preprocessor" >&5
|
|
|
|
|
echo "configure:1109: checking how to run the C preprocessor" >&5
|
|
|
|
|
# On Suns, sometimes $CPP names a directory.
|
|
|
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
|
|
CPP=
|
|
|
|
@ -1060,14 +1120,14 @@ else
|
|
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
|
|
# not just through cpp.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1064 "configure"
|
|
|
|
|
#line 1124 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
{ (eval echo configure:1130: \"$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
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -1077,14 +1137,31 @@ else
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1081 "configure"
|
|
|
|
|
#line 1141 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
{ (eval echo configure:1147: \"$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
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
echo "$ac_err" >&5
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
CPP="${CC-cc} -nologo -E"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1158 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
Syntax Error
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1164: \"$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
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -1096,6 +1173,8 @@ else
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
ac_cv_prog_CPP="$CPP"
|
|
|
|
|
fi
|
|
|
|
@ -1106,12 +1185,12 @@ fi
|
|
|
|
|
echo "$ac_t""$CPP" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1110: checking for ANSI C header files" >&5
|
|
|
|
|
echo "configure:1189: checking for ANSI C header files" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1115 "configure"
|
|
|
|
|
#line 1194 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
@ -1119,8 +1198,8 @@ else
|
|
|
|
|
#include <float.h>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
{ (eval echo configure:1202: \"$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*
|
|
|
|
|
ac_cv_header_stdc=yes
|
|
|
|
@ -1136,7 +1215,7 @@ rm -f conftest*
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1140 "configure"
|
|
|
|
|
#line 1219 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <string.h>
|
|
|
|
|
EOF
|
|
|
|
@ -1154,7 +1233,7 @@ fi
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1158 "configure"
|
|
|
|
|
#line 1237 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
EOF
|
|
|
|
@ -1175,7 +1254,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1179 "configure"
|
|
|
|
|
#line 1258 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <ctype.h>
|
|
|
|
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
|
@ -1186,7 +1265,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
|
|
exit (0); }
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:1269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
@ -1213,18 +1292,18 @@ for ac_hdr in sys/time.h unistd.h
|
|
|
|
|
do
|
|
|
|
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
|
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1217: checking for $ac_hdr" >&5
|
|
|
|
|
echo "configure:1296: 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 1222 "configure"
|
|
|
|
|
#line 1301 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <$ac_hdr>
|
|
|
|
|
EOF
|
|
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
|
|
{ (eval echo configure:1227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
|
|
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
|
|
{ (eval echo configure:1306: \"$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*
|
|
|
|
|
eval "ac_cv_header_$ac_safe=yes"
|
|
|
|
@ -1254,13 +1333,13 @@ for cf_name in sys_nerr sys_errlist
|
|
|
|
|
do
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if external $cf_name is declared""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1258: checking if external $cf_name is declared" >&5
|
|
|
|
|
echo "configure:1337: checking if external $cf_name is declared" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'cf_cv_dcl_$cf_name'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1264 "configure"
|
|
|
|
|
#line 1343 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_STDLIB_H
|
|
|
|
@ -1273,7 +1352,7 @@ int main() {
|
|
|
|
|
long x = (long) $cf_name
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval 'cf_cv_dcl_'$cf_name'=yes'
|
|
|
|
|
else
|
|
|
|
@ -1303,13 +1382,13 @@ fi
|
|
|
|
|
# It's possible (for near-UNIX clones) that the data doesn't exist
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if external $cf_name exists""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1307: checking if external $cf_name exists" >&5
|
|
|
|
|
echo "configure:1386: checking if external $cf_name exists" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'cf_cv_have_$cf_name'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1313 "configure"
|
|
|
|
|
#line 1392 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#undef $cf_name
|
|
|
|
@ -1319,7 +1398,7 @@ int main() {
|
|
|
|
|
$cf_name = 2
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval 'cf_cv_have_'$cf_name'=yes'
|
|
|
|
|
else
|
|
|
|
@ -1352,18 +1431,18 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1356: checking for working const" >&5
|
|
|
|
|
echo "configure:1435: checking for working const" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1361 "configure"
|
|
|
|
|
#line 1440 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
|
|
/* Ultrix mips cc rejects this. */
|
|
|
|
|
typedef int charset[2]; const charset x;
|
|
|
|
|
typedef int charset[2]; const charset x = {0,0};
|
|
|
|
|
/* SunOS 4.1.1 cc rejects this. */
|
|
|
|
|
char const *const *ccp;
|
|
|
|
|
char **p;
|
|
|
|
@ -1406,7 +1485,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_const=yes
|
|
|
|
|
else
|
|
|
|
@ -1427,12 +1506,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1431: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
|
|
echo "configure:1510: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1436 "configure"
|
|
|
|
|
#line 1515 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
@ -1441,7 +1520,7 @@ int main() {
|
|
|
|
|
struct tm *tp;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_time=yes
|
|
|
|
|
else
|
|
|
|
@ -1464,7 +1543,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1468: checking for socket in -lsocket" >&5
|
|
|
|
|
echo "configure:1547: 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
|
|
|
|
@ -1472,7 +1551,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lsocket $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1476 "configure"
|
|
|
|
|
#line 1555 "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
|
|
|
|
@ -1483,7 +1562,7 @@ int main() {
|
|
|
|
|
socket()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1566: \"$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
|
|
|
|
@ -1500,9 +1579,9 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if libsocket is mandatory""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1504: checking if libsocket is mandatory" >&5
|
|
|
|
|
echo "configure:1583: checking if libsocket is mandatory" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1506 "configure"
|
|
|
|
|
#line 1585 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
@ -1518,7 +1597,7 @@ int main() {
|
|
|
|
|
socket (AF_INET, SOCK_STREAM, 0)
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1536,7 +1615,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1540: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
echo "configure:1619: checking for gethostbyname in -lnsl" >&5
|
|
|
|
|
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -1544,7 +1623,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lnsl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1548 "configure"
|
|
|
|
|
#line 1627 "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
|
|
|
|
@ -1555,7 +1634,7 @@ int main() {
|
|
|
|
|
gethostbyname()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1638: \"$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
|
|
|
|
@ -1572,9 +1651,9 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
|
|
echo "$ac_t""yes" 1>&6
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if libnsl is mandatory""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1576: checking if libnsl is mandatory" >&5
|
|
|
|
|
echo "configure:1655: checking if libnsl is mandatory" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1578 "configure"
|
|
|
|
|
#line 1657 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <netinet/in.h>
|
|
|
|
@ -1583,7 +1662,7 @@ int main() {
|
|
|
|
|
gethostbyname(domain)
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -1600,12 +1679,12 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1604: checking return type of signal handlers" >&5
|
|
|
|
|
echo "configure:1683: checking return type of signal handlers" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1609 "configure"
|
|
|
|
|
#line 1688 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <signal.h>
|
|
|
|
@ -1622,7 +1701,7 @@ int main() {
|
|
|
|
|
int i;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_type_signal=void
|
|
|
|
|
else
|
|
|
|
@ -1641,12 +1720,12 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1645: checking for vprintf" >&5
|
|
|
|
|
echo "configure:1724: checking for vprintf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1650 "configure"
|
|
|
|
|
#line 1729 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char vprintf(); below. */
|
|
|
|
@ -1669,7 +1748,7 @@ vprintf();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_vprintf=yes"
|
|
|
|
|
else
|
|
|
|
@ -1693,12 +1772,12 @@ fi
|
|
|
|
|
|
|
|
|
|
if test "$ac_cv_func_vprintf" != yes; then
|
|
|
|
|
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1697: checking for _doprnt" >&5
|
|
|
|
|
echo "configure:1776: checking for _doprnt" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1702 "configure"
|
|
|
|
|
#line 1781 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char _doprnt(); below. */
|
|
|
|
@ -1721,7 +1800,7 @@ _doprnt();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func__doprnt=yes"
|
|
|
|
|
else
|
|
|
|
@ -1748,12 +1827,12 @@ fi
|
|
|
|
|
for ac_func in gettimeofday socket gethostbyname sigaction
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1752: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:1831: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1757 "configure"
|
|
|
|
|
#line 1836 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -1776,7 +1855,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:1859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -1803,9 +1882,9 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking T/TCP""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1807: checking T/TCP" >&5
|
|
|
|
|
echo "configure:1886: checking T/TCP" >&5
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1809 "configure"
|
|
|
|
|
#line 1888 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/socket.h>
|
|
|
|
@ -1814,7 +1893,7 @@ int main() {
|
|
|
|
|
int foobar = MSG_EOF;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:1897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define TTCP 1
|
|
|
|
@ -1855,40 +1934,42 @@ fi
|
|
|
|
|
if test "$HTTP" = "1"; then
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking what is the name of the HTTP port in your services database""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1859: checking what is the name of the HTTP port in your services database" >&5
|
|
|
|
|
if test "$cross_compiling" = yes; then
|
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 1864 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main (argc, argv)
|
|
|
|
|
int argc;
|
|
|
|
|
char *argv[];
|
|
|
|
|
{
|
|
|
|
|
struct servent *sp;
|
|
|
|
|
if ((sp = getservbyname ("http", "tcp")) == 0)
|
|
|
|
|
exit (1);
|
|
|
|
|
else
|
|
|
|
|
exit (0);
|
|
|
|
|
}
|
|
|
|
|
echo "configure:1938: checking what is the name of the HTTP port in your services database" >&5
|
|
|
|
|
if grep http /etc/services > /dev/null; then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HTTP_TCP_PORT "http"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""http" 1>&6
|
|
|
|
|
else
|
|
|
|
|
if grep www /etc/services > /dev/null; then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HTTP_TCP_PORT "www"
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HTTP_TCP_PORT "http"
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""www" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define HTTP_TCP_PORT "undefined:use_:80"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""http" 1>&6
|
|
|
|
|
echo "$ac_t""undefined, you should add it in your database" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
echo $ac_n "checking what is the name of the ICP port in your services database""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:1961: checking what is the name of the ICP port in your services database" >&5
|
|
|
|
|
if grep icp /etc/services > /dev/null; then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define ICP_UDP_PORT "icp"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""icp" 1>&6
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
fi
|
|
|
|
|
rm -fr conftest*
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define ICP_UDP_PORT "undefined:use_:3130"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""undefined, you should add it in your database" 1>&6
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
@ -1916,7 +1997,7 @@ EOF
|
|
|
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
|
|
(set) 2>&1 |
|
|
|
|
|
case `(ac_space=' '; set) 2>&1` in
|
|
|
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
|
|
*ac_space=\ *)
|
|
|
|
|
# `set' does not quote correctly, so add quotes (double-quote substitution
|
|
|
|
|
# turns \\\\ into \\, and sed turns \\ into \).
|
|
|
|
@ -1983,7 +2064,7 @@ do
|
|
|
|
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
|
|
|
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
|
|
|
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
|
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.12"
|
|
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.13"
|
|
|
|
|
exit 0 ;;
|
|
|
|
|
-help | --help | --hel | --he | --h)
|
|
|
|
|
echo "\$ac_cs_usage"; exit 0 ;;
|
|
|
|
@ -2003,9 +2084,11 @@ sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
|
|
|
|
|
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
|
|
|
|
|
$ac_vpsub
|
|
|
|
|
$extrasub
|
|
|
|
|
s%@SHELL@%$SHELL%g
|
|
|
|
|
s%@CFLAGS@%$CFLAGS%g
|
|
|
|
|
s%@CPPFLAGS@%$CPPFLAGS%g
|
|
|
|
|
s%@CXXFLAGS@%$CXXFLAGS%g
|
|
|
|
|
s%@FFLAGS@%$FFLAGS%g
|
|
|
|
|
s%@DEFS@%$DEFS%g
|
|
|
|
|
s%@LDFLAGS@%$LDFLAGS%g
|
|
|
|
|
s%@LIBS@%$LIBS%g
|
|
|
|
@ -2025,8 +2108,8 @@ s%@oldincludedir@%$oldincludedir%g
|
|
|
|
|
s%@infodir@%$infodir%g
|
|
|
|
|
s%@mandir@%$mandir%g
|
|
|
|
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
|
|
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
|
|
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
|
|
|
|
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
|
|
|
s%@PACKAGE@%$PACKAGE%g
|
|
|
|
|
s%@VERSION@%$VERSION%g
|
|
|
|
|
s%@ACLOCAL@%$ACLOCAL%g
|
|
|
|
@ -2258,3 +2341,5 @@ chmod +x $CONFIG_STATUS
|
|
|
|
|
rm -fr confdefs* $ac_clean_files
|
|
|
|
|
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|