Line 12... |
Line 12... |
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
# Any additions from configure.in:
|
# Any additions from configure.in:
|
ac_help="$ac_help
|
ac_help="$ac_help
|
--enable-readline Use GNU readline"
|
--enable-readline Use GNU readline"
|
ac_help="$ac_help
|
ac_help="$ac_help
|
|
--enable-profiling generate profiling code"
|
|
ac_help="$ac_help
|
--enable-impl= use -specific environment
|
--enable-impl= use -specific environment
|
(one of: bender, mp3, default)"
|
(one of: bender, mp3, default)"
|
|
|
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
# The variables have the same names as the options, with
|
# The variables have the same names as the options, with
|
Line 571... |
Line 573... |
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
fi
|
fi
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
echo "configure:577: checking host system type" >&5
|
echo "configure:579: checking host system type" >&5
|
|
|
host_alias=$host
|
host_alias=$host
|
case "$host_alias" in
|
case "$host_alias" in
|
NONE)
|
NONE)
|
case $nonopt in
|
case $nonopt in
|
Line 592... |
Line 594... |
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
echo "$ac_t""$host" 1>&6
|
echo "$ac_t""$host" 1>&6
|
|
|
echo $ac_n "checking target system type""... $ac_c" 1>&6
|
echo $ac_n "checking target system type""... $ac_c" 1>&6
|
echo "configure:598: checking target system type" >&5
|
echo "configure:600: checking target system type" >&5
|
|
|
target_alias=$target
|
target_alias=$target
|
case "$target_alias" in
|
case "$target_alias" in
|
NONE)
|
NONE)
|
case $nonopt in
|
case $nonopt in
|
Line 610... |
Line 612... |
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
echo "$ac_t""$target" 1>&6
|
echo "$ac_t""$target" 1>&6
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
echo "configure:616: checking build system type" >&5
|
echo "configure:618: checking build system type" >&5
|
|
|
build_alias=$build
|
build_alias=$build
|
case "$build_alias" in
|
case "$build_alias" in
|
NONE)
|
NONE)
|
case $nonopt in
|
case $nonopt in
|
Line 644... |
Line 646... |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
# ./install, which can be erroneously created by make from ./install.sh.
|
# ./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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
echo "configure:650: checking for a BSD compatible install" >&5
|
echo "configure:652: checking for a BSD compatible install" >&5
|
if test -z "$INSTALL"; then
|
if test -z "$INSTALL"; then
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
Line 697... |
Line 699... |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
echo "configure:703: checking whether build environment is sane" >&5
|
echo "configure:705: checking whether build environment is sane" >&5
|
# Just in case
|
# Just in case
|
sleep 1
|
sleep 1
|
echo timestamp > conftestfile
|
echo timestamp > conftestfile
|
# Do `set' in a subshell so we don't clobber the current shell's
|
# Do `set' in a subshell so we don't clobber the current shell's
|
# arguments. Must try -L first in case configure is actually a
|
# arguments. Must try -L first in case configure is actually a
|
Line 754... |
Line 756... |
|
|
# sed with no file args requires a program.
|
# sed with no file args requires a program.
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
echo "configure:760: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:762: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
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
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftestmake <<\EOF
|
cat > conftestmake <<\EOF
|
Line 800... |
Line 802... |
|
|
|
|
|
|
missing_dir=`cd $ac_aux_dir && pwd`
|
missing_dir=`cd $ac_aux_dir && pwd`
|
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
|
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
|
echo "configure:806: checking for working aclocal" >&5
|
echo "configure:808: checking for working aclocal" >&5
|
# Run test in a subshell; some versions of sh will print an error if
|
# Run test in a subshell; some versions of sh will print an error if
|
# an executable is not found, even if stderr is redirected.
|
# an executable is not found, even if stderr is redirected.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
|
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
|
ACLOCAL=aclocal
|
ACLOCAL=aclocal
|
Line 813... |
Line 815... |
ACLOCAL="$missing_dir/missing aclocal"
|
ACLOCAL="$missing_dir/missing aclocal"
|
echo "$ac_t""missing" 1>&6
|
echo "$ac_t""missing" 1>&6
|
fi
|
fi
|
|
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
|
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
|
echo "configure:819: checking for working autoconf" >&5
|
echo "configure:821: checking for working autoconf" >&5
|
# Run test in a subshell; some versions of sh will print an error if
|
# Run test in a subshell; some versions of sh will print an error if
|
# an executable is not found, even if stderr is redirected.
|
# an executable is not found, even if stderr is redirected.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
|
AUTOCONF=autoconf
|
AUTOCONF=autoconf
|
Line 826... |
Line 828... |
AUTOCONF="$missing_dir/missing autoconf"
|
AUTOCONF="$missing_dir/missing autoconf"
|
echo "$ac_t""missing" 1>&6
|
echo "$ac_t""missing" 1>&6
|
fi
|
fi
|
|
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6
|
echo $ac_n "checking for working automake""... $ac_c" 1>&6
|
echo "configure:832: checking for working automake" >&5
|
echo "configure:834: checking for working automake" >&5
|
# Run test in a subshell; some versions of sh will print an error if
|
# Run test in a subshell; some versions of sh will print an error if
|
# an executable is not found, even if stderr is redirected.
|
# an executable is not found, even if stderr is redirected.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
if (automake --version) < /dev/null > /dev/null 2>&1; then
|
if (automake --version) < /dev/null > /dev/null 2>&1; then
|
AUTOMAKE=automake
|
AUTOMAKE=automake
|
Line 839... |
Line 841... |
AUTOMAKE="$missing_dir/missing automake"
|
AUTOMAKE="$missing_dir/missing automake"
|
echo "$ac_t""missing" 1>&6
|
echo "$ac_t""missing" 1>&6
|
fi
|
fi
|
|
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
|
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
|
echo "configure:845: checking for working autoheader" >&5
|
echo "configure:847: checking for working autoheader" >&5
|
# Run test in a subshell; some versions of sh will print an error if
|
# Run test in a subshell; some versions of sh will print an error if
|
# an executable is not found, even if stderr is redirected.
|
# an executable is not found, even if stderr is redirected.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
|
AUTOHEADER=autoheader
|
AUTOHEADER=autoheader
|
Line 852... |
Line 854... |
AUTOHEADER="$missing_dir/missing autoheader"
|
AUTOHEADER="$missing_dir/missing autoheader"
|
echo "$ac_t""missing" 1>&6
|
echo "$ac_t""missing" 1>&6
|
fi
|
fi
|
|
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
|
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
|
echo "configure:858: checking for working makeinfo" >&5
|
echo "configure:860: checking for working makeinfo" >&5
|
# Run test in a subshell; some versions of sh will print an error if
|
# Run test in a subshell; some versions of sh will print an error if
|
# an executable is not found, even if stderr is redirected.
|
# an executable is not found, even if stderr is redirected.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
# Redirect stdin to placate older versions of autoconf. Sigh.
|
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
|
MAKEINFO=makeinfo
|
MAKEINFO=makeinfo
|
Line 880... |
Line 882... |
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
fi
|
fi
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
echo "configure:886: checking host system type" >&5
|
echo "configure:888: checking host system type" >&5
|
|
|
host_alias=$host
|
host_alias=$host
|
case "$host_alias" in
|
case "$host_alias" in
|
NONE)
|
NONE)
|
case $nonopt in
|
case $nonopt in
|
Line 915... |
Line 917... |
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
|
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
|
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
# Extract the first word of "gcc", so it can be a program name with args.
|
set dummy gcc; ac_word=$2
|
set dummy gcc; ac_word=$2
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo "configure:921: checking for $ac_word" >&5
|
echo "configure:923: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
Line 945... |
Line 947... |
|
|
if test -z "$CC"; then
|
if test -z "$CC"; then
|
# Extract the first word of "cc", so it can be a program name with args.
|
# Extract the first word of "cc", so it can be a program name with args.
|
set dummy cc; ac_word=$2
|
set dummy cc; ac_word=$2
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo "configure:951: checking for $ac_word" >&5
|
echo "configure:953: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
Line 996... |
Line 998... |
case "`uname -s`" in
|
case "`uname -s`" in
|
*win32* | *WIN32*)
|
*win32* | *WIN32*)
|
# Extract the first word of "cl", so it can be a program name with args.
|
# Extract the first word of "cl", so it can be a program name with args.
|
set dummy cl; ac_word=$2
|
set dummy cl; ac_word=$2
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo "configure:1002: checking for $ac_word" >&5
|
echo "configure:1004: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$CC"; then
|
if test -n "$CC"; then
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
Line 1028... |
Line 1030... |
fi
|
fi
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
fi
|
fi
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
echo "configure:1034: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
echo "configure:1036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
ac_ext=c
|
ac_ext=c
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
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'
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
cross_compiling=$ac_cv_prog_cc_cross
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
cat > conftest.$ac_ext << EOF
|
cat > conftest.$ac_ext << EOF
|
|
|
#line 1045 "configure"
|
#line 1047 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
main(){return(0);}
|
main(){return(0);}
|
EOF
|
EOF
|
if { (eval echo configure:1050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
ac_cv_prog_cc_works=yes
|
ac_cv_prog_cc_works=yes
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
# If we can't run a trivial program, we are probably using a cross compiler.
|
if (./conftest; exit) 2>/dev/null; then
|
if (./conftest; exit) 2>/dev/null; then
|
ac_cv_prog_cc_cross=no
|
ac_cv_prog_cc_cross=no
|
else
|
else
|
Line 1070... |
Line 1072... |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
if test $ac_cv_prog_cc_works = no; then
|
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; }
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
fi
|
fi
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
echo "configure:1076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "configure:1078: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
cross_compiling=$ac_cv_prog_cc_cross
|
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
echo "configure:1081: checking whether we are using GNU C" >&5
|
echo "configure:1083: checking whether we are using GNU C" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.c <
|
cat > conftest.c <
|
#ifdef __GNUC__
|
#ifdef __GNUC__
|
yes;
|
yes;
|
#endif
|
#endif
|
EOF
|
EOF
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1090: \"$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:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
ac_cv_prog_gcc=yes
|
ac_cv_prog_gcc=yes
|
else
|
else
|
ac_cv_prog_gcc=no
|
ac_cv_prog_gcc=no
|
fi
|
fi
|
fi
|
fi
|
Line 1103... |
Line 1105... |
|
|
ac_test_CFLAGS="${CFLAGS+set}"
|
ac_test_CFLAGS="${CFLAGS+set}"
|
ac_save_CFLAGS="$CFLAGS"
|
ac_save_CFLAGS="$CFLAGS"
|
CFLAGS=
|
CFLAGS=
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
echo "configure:1109: checking whether ${CC-cc} accepts -g" >&5
|
echo "configure:1111: checking whether ${CC-cc} accepts -g" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
echo 'void f(){}' > conftest.c
|
echo 'void f(){}' > conftest.c
|
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
|
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
|
Line 1135... |
Line 1137... |
CFLAGS=
|
CFLAGS=
|
fi
|
fi
|
fi
|
fi
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
echo "configure:1141: checking how to run the C preprocessor" >&5
|
echo "configure:1143: checking how to run the C preprocessor" >&5
|
# On Suns, sometimes $CPP names a directory.
|
# On Suns, sometimes $CPP names a directory.
|
if test -n "$CPP" && test -d "$CPP"; then
|
if test -n "$CPP" && test -d "$CPP"; then
|
CPP=
|
CPP=
|
fi
|
fi
|
if test -z "$CPP"; then
|
if test -z "$CPP"; then
|
Line 1150... |
Line 1152... |
# substituted into the Makefile and "${CC-cc}" will confuse make.
|
# substituted into the Makefile and "${CC-cc}" will confuse make.
|
CPP="${CC-cc} -E"
|
CPP="${CC-cc} -E"
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
# not just through cpp.
|
# not just through cpp.
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1156 "configure"
|
#line 1158 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Syntax Error
|
Syntax Error
|
EOF
|
EOF
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
{ (eval echo configure:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
:
|
:
|
else
|
else
|
echo "$ac_err" >&5
|
echo "$ac_err" >&5
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
rm -rf conftest*
|
rm -rf conftest*
|
CPP="${CC-cc} -E -traditional-cpp"
|
CPP="${CC-cc} -E -traditional-cpp"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1173 "configure"
|
#line 1175 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Syntax Error
|
Syntax Error
|
EOF
|
EOF
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
{ (eval echo configure:1179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
:
|
:
|
else
|
else
|
echo "$ac_err" >&5
|
echo "$ac_err" >&5
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
rm -rf conftest*
|
rm -rf conftest*
|
CPP="${CC-cc} -nologo -E"
|
CPP="${CC-cc} -nologo -E"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1190 "configure"
|
#line 1192 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Syntax Error
|
Syntax Error
|
EOF
|
EOF
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
{ (eval echo configure:1196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
:
|
:
|
else
|
else
|
echo "$ac_err" >&5
|
echo "$ac_err" >&5
|
Line 1216... |
Line 1218... |
fi
|
fi
|
echo "$ac_t""$CPP" 1>&6
|
echo "$ac_t""$CPP" 1>&6
|
|
|
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
|
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
|
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
|
echo "configure:1222: checking for minix/config.h" >&5
|
echo "configure:1224: checking for minix/config.h" >&5
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1227 "configure"
|
#line 1229 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
EOF
|
EOF
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
{ (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_header_$ac_safe=yes"
|
eval "ac_cv_header_$ac_safe=yes"
|
else
|
else
|
Line 1265... |
Line 1267... |
|
|
fi
|
fi
|
|
|
|
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
echo "configure:1271: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:1273: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
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
|
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftestmake <<\EOF
|
cat > conftestmake <<\EOF
|
Line 1297... |
Line 1299... |
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
|
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
|
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2 -D$ARCH_ISA"
|
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2 -D$ARCH_ISA"
|
|
|
if test $ac_cv_prog_gcc = yes; then
|
if test $ac_cv_prog_gcc = yes; then
|
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
|
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
|
echo "configure:1303: checking whether ${CC-cc} needs -traditional" >&5
|
echo "configure:1305: checking whether ${CC-cc} needs -traditional" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_pattern="Autoconf.*'x'"
|
ac_pattern="Autoconf.*'x'"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1309 "configure"
|
#line 1311 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Autoconf TIOCGETP
|
Autoconf TIOCGETP
|
EOF
|
EOF
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
Line 1321... |
Line 1323... |
rm -f conftest*
|
rm -f conftest*
|
|
|
|
|
if test $ac_cv_prog_gcc_traditional = no; then
|
if test $ac_cv_prog_gcc_traditional = no; then
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1327 "configure"
|
#line 1329 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
Autoconf TCGETA
|
Autoconf TCGETA
|
EOF
|
EOF
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
Line 1354... |
Line 1356... |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
# ./install, which can be erroneously created by make from ./install.sh.
|
# ./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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
echo "configure:1360: checking for a BSD compatible install" >&5
|
echo "configure:1362: checking for a BSD compatible install" >&5
|
if test -z "$INSTALL"; then
|
if test -z "$INSTALL"; then
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
|
Line 1409... |
Line 1411... |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
# Extract the first word of "ar", so it can be a program name with args.
|
# Extract the first word of "ar", so it can be a program name with args.
|
set dummy ar; ac_word=$2
|
set dummy ar; ac_word=$2
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo "configure:1415: checking for $ac_word" >&5
|
echo "configure:1417: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$AR"; then
|
if test -n "$AR"; then
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
ac_cv_prog_AR="$AR" # Let the user override the test.
|
Line 1439... |
Line 1441... |
|
|
test -n "$ARFLAGS" || ARFLAGS="cr"
|
test -n "$ARFLAGS" || ARFLAGS="cr"
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
set dummy ranlib; ac_word=$2
|
set dummy ranlib; ac_word=$2
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
echo "configure:1445: checking for $ac_word" >&5
|
echo "configure:1447: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$RANLIB"; then
|
if test -n "$RANLIB"; then
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
Line 1472... |
Line 1474... |
MAKE_SHELL=/bin/sh
|
MAKE_SHELL=/bin/sh
|
|
|
|
|
|
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
echo "configure:1478: checking return type of signal handlers" >&5
|
echo "configure:1480: checking return type of signal handlers" >&5
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1483 "configure"
|
#line 1485 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#include
|
#include
|
#ifdef signal
|
#ifdef signal
|
#undef signal
|
#undef signal
|
Line 1494... |
Line 1496... |
|
|
int main() {
|
int main() {
|
int i;
|
int i;
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
ac_cv_type_signal=void
|
ac_cv_type_signal=void
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1513... |
Line 1515... |
#define RETSIGTYPE $ac_cv_type_signal
|
#define RETSIGTYPE $ac_cv_type_signal
|
EOF
|
EOF
|
|
|
|
|
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
|
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
|
echo "configure:1519: checking whether stat file-mode macros are broken" >&5
|
echo "configure:1521: checking whether stat file-mode macros are broken" >&5
|
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1524 "configure"
|
#line 1526 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#include
|
#include
|
|
|
#if defined(S_ISBLK) && defined(S_IFDIR)
|
#if defined(S_ISBLK) && defined(S_IFDIR)
|
Line 1573... |
Line 1575... |
ac_header_dirent=no
|
ac_header_dirent=no
|
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
|
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
|
do
|
do
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
|
echo "configure:1579: checking for $ac_hdr that defines DIR" >&5
|
echo "configure:1581: checking for $ac_hdr that defines DIR" >&5
|
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1584 "configure"
|
#line 1586 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#include <$ac_hdr>
|
#include <$ac_hdr>
|
int main() {
|
int main() {
|
DIR *dirp = 0;
|
DIR *dirp = 0;
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_header_dirent_$ac_safe=yes"
|
eval "ac_cv_header_dirent_$ac_safe=yes"
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1611... |
Line 1613... |
fi
|
fi
|
done
|
done
|
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
if test $ac_header_dirent = dirent.h; then
|
if test $ac_header_dirent = dirent.h; then
|
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
|
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
|
echo "configure:1617: checking for opendir in -ldir" >&5
|
echo "configure:1619: checking for opendir in -ldir" >&5
|
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
LIBS="-ldir $LIBS"
|
LIBS="-ldir $LIBS"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1625 "configure"
|
#line 1627 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
builtin and then its argument prototype would still apply. */
|
builtin and then its argument prototype would still apply. */
|
char opendir();
|
char opendir();
|
|
|
int main() {
|
int main() {
|
opendir()
|
opendir()
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1652... |
Line 1654... |
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
fi
|
fi
|
|
|
else
|
else
|
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
|
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
|
echo "configure:1658: checking for opendir in -lx" >&5
|
echo "configure:1660: checking for opendir in -lx" >&5
|
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
LIBS="-lx $LIBS"
|
LIBS="-lx $LIBS"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1666 "configure"
|
#line 1668 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
builtin and then its argument prototype would still apply. */
|
builtin and then its argument prototype would still apply. */
|
char opendir();
|
char opendir();
|
|
|
int main() {
|
int main() {
|
opendir()
|
opendir()
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1696... |
Line 1698... |
fi
|
fi
|
|
|
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
|
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
|
do
|
do
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
echo "configure:1702: checking for $ac_func" >&5
|
echo "configure:1704: checking for $ac_func" >&5
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1707 "configure"
|
#line 1709 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
#include
|
#include
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
Line 1724... |
Line 1726... |
$ac_func();
|
$ac_func();
|
#endif
|
#endif
|
|
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_func_$ac_func=yes"
|
eval "ac_cv_func_$ac_func=yes"
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1749... |
Line 1751... |
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
fi
|
fi
|
done
|
done
|
|
|
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
|
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
|
echo "configure:1755: checking for working strcoll" >&5
|
echo "configure:1757: checking for working strcoll" >&5
|
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
ac_cv_func_strcoll_works=no
|
ac_cv_func_strcoll_works=no
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1763 "configure"
|
#line 1765 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
main ()
|
main ()
|
{
|
{
|
exit (strcoll ("abc", "def") >= 0 ||
|
exit (strcoll ("abc", "def") >= 0 ||
|
strcoll ("ABC", "DEF") >= 0 ||
|
strcoll ("ABC", "DEF") >= 0 ||
|
strcoll ("123", "456") >= 0);
|
strcoll ("123", "456") >= 0);
|
}
|
}
|
EOF
|
EOF
|
if { (eval echo configure:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
then
|
then
|
ac_cv_func_strcoll_works=yes
|
ac_cv_func_strcoll_works=yes
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1796... |
Line 1798... |
termcap.h termios.h termio.h sys/file.h locale.h\
|
termcap.h termios.h termio.h sys/file.h locale.h\
|
net/ethernet.h
|
net/ethernet.h
|
do
|
do
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
echo "configure:1802: checking for $ac_hdr" >&5
|
echo "configure:1804: checking for $ac_hdr" >&5
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1807 "configure"
|
#line 1809 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include <$ac_hdr>
|
#include <$ac_hdr>
|
EOF
|
EOF
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
{ (eval echo configure:1812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_header_$ac_safe=yes"
|
eval "ac_cv_header_$ac_safe=yes"
|
else
|
else
|
Line 1834... |
Line 1836... |
fi
|
fi
|
done
|
done
|
|
|
|
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1840 "configure"
|
#line 1842 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
long long ll; unsigned long long ull;
|
long long ll; unsigned long long ull;
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
cat >> confdefs.h <<\EOF
|
cat >> confdefs.h <<\EOF
|
#define CC_HAS_LONG_LONG 1
|
#define CC_HAS_LONG_LONG 1
|
EOF
|
EOF
|
|
|
Line 1857... |
Line 1859... |
|
|
# Check whether --enable-readline or --disable-readline was given.
|
# Check whether --enable-readline or --disable-readline was given.
|
if test "${enable_readline+set}" = set; then
|
if test "${enable_readline+set}" = set; then
|
enableval="$enable_readline"
|
enableval="$enable_readline"
|
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
|
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
|
echo "configure:1863: checking for add_history in -lreadline" >&5
|
echo "configure:1865: checking for add_history in -lreadline" >&5
|
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
LIBS="-lreadline $LIBS"
|
LIBS="-lreadline $LIBS"
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1871 "configure"
|
#line 1873 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* Override any gcc2 internal prototype to avoid an error. */
|
/* We use char because int might match the return type of a gcc2
|
/* We use char because int might match the return type of a gcc2
|
builtin and then its argument prototype would still apply. */
|
builtin and then its argument prototype would still apply. */
|
char add_history();
|
char add_history();
|
|
|
int main() {
|
int main() {
|
add_history()
|
add_history()
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
rm -rf conftest*
|
rm -rf conftest*
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
else
|
else
|
echo "configure: failed program was:" >&5
|
echo "configure: failed program was:" >&5
|
cat conftest.$ac_ext >&5
|
cat conftest.$ac_ext >&5
|
Line 1923... |
Line 1925... |
case "$host_os" in
|
case "$host_os" in
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
esac
|
esac
|
|
|
|
|
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
|
|
echo "configure:1932: checking whether to enable profiling" >&5
|
|
# Check whether --enable-profiling or --disable-profiling was given.
|
|
if test "${enable_profiling+set}" = set; then
|
|
enableval="$enable_profiling"
|
|
|
|
case "$enableval" in
|
|
yes) profile="-pg -a" ;;
|
|
esac
|
|
|
|
fi
|
|
|
|
echo "$ac_t""${enable_profiling-no}" 1>&6
|
|
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
|
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
|
echo "configure:1931: checking for implementation-specific data" >&5
|
echo "configure:1946: checking for implementation-specific data" >&5
|
# Check whether --enable-impl or --disable-impl was given.
|
# Check whether --enable-impl or --disable-impl was given.
|
if test "${enable_impl+set}" = set; then
|
if test "${enable_impl+set}" = set; then
|
enableval="$enable_impl"
|
enableval="$enable_impl"
|
|
|
case "$enableval" in
|
case "$enableval" in
|
Line 1947... |
Line 1962... |
echo "$ac_t""${IMPL=DEFAULT}" 1>&6
|
echo "$ac_t""${IMPL=DEFAULT}" 1>&6
|
if test "$IMPL" = "DEFAULT"
|
if test "$IMPL" = "DEFAULT"
|
then
|
then
|
echo "configure: warning: using default environment" 1>&2
|
echo "configure: warning: using default environment" 1>&2
|
fi
|
fi
|
|
|
|
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
|
IMPL="-DIMPL_$IMPL"
|
IMPL="-DIMPL_$IMPL"
|
|
CFLAGS="$CFLAGS -O4"
|
|
|
BUILD_DIR=`pwd`
|
BUILD_DIR=`pwd`
|
|
|
|
|
|
|
Line 2151... |
Line 2169... |
s%@CC@%$CC%g
|
s%@CC@%$CC%g
|
s%@CPP@%$CPP%g
|
s%@CPP@%$CPP%g
|
s%@AR@%$AR%g
|
s%@AR@%$AR%g
|
s%@RANLIB@%$RANLIB%g
|
s%@RANLIB@%$RANLIB%g
|
s%@MAKE_SHELL@%$MAKE_SHELL%g
|
s%@MAKE_SHELL@%$MAKE_SHELL%g
|
s%@FPM@%$FPM%g
|
|
s%@BUILD_DIR@%$BUILD_DIR%g
|
s%@BUILD_DIR@%$BUILD_DIR%g
|
s%@LOCAL_CFLAGS@%$LOCAL_CFLAGS%g
|
s%@LOCAL_CFLAGS@%$LOCAL_CFLAGS%g
|
s%@LOCAL_LDFLAGS@%$LOCAL_LDFLAGS%g
|
s%@LOCAL_LDFLAGS@%$LOCAL_LDFLAGS%g
|
s%@LOCAL_DEFS@%$LOCAL_DEFS%g
|
s%@LOCAL_DEFS@%$LOCAL_DEFS%g
|
s%@ARFLAGS@%$ARFLAGS%g
|
s%@ARFLAGS@%$ARFLAGS%g
|