Line 538... |
Line 538... |
fi
|
fi
|
ac_config_guess=$ac_aux_dir/config.guess
|
ac_config_guess=$ac_aux_dir/config.guess
|
ac_config_sub=$ac_aux_dir/config.sub
|
ac_config_sub=$ac_aux_dir/config.sub
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
|
|
|
# Do some error checking and defaulting for the host and target type.
|
|
# The inputs are:
|
|
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
|
|
#
|
|
# The rules are:
|
|
# 1. You are not allowed to specify --host, --target, and nonopt at the
|
|
# same time.
|
|
# 2. Host defaults to nonopt.
|
|
# 3. If nonopt is not specified, then host defaults to the current host,
|
|
# as determined by config.guess.
|
|
# 4. Target and build default to nonopt.
|
|
# 5. If nonopt is not specified, then target and build default to host.
|
|
|
|
# The aliases save the names the user supplied, while $host etc.
|
|
# will get canonicalized.
|
|
case $host---$target---$nonopt in
|
|
NONE---*---* | *---NONE---* | *---*---NONE) ;;
|
|
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
|
|
esac
|
|
|
|
|
|
# Make sure we can run config.sub.
|
|
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; }
|
|
fi
|
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
|
echo "configure:572: checking host system type" >&5
|
|
|
|
host_alias=$host
|
|
case "$host_alias" in
|
|
NONE)
|
|
case $nonopt in
|
|
NONE)
|
|
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
|
|
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
|
|
fi ;;
|
|
*) host_alias=$nonopt ;;
|
|
esac ;;
|
|
esac
|
|
|
|
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
|
|
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
echo "$ac_t""$host" 1>&6
|
|
|
|
echo $ac_n "checking target system type""... $ac_c" 1>&6
|
|
echo "configure:593: checking target system type" >&5
|
|
|
|
target_alias=$target
|
|
case "$target_alias" in
|
|
NONE)
|
|
case $nonopt in
|
|
NONE) target_alias=$host_alias ;;
|
|
*) target_alias=$nonopt ;;
|
|
esac ;;
|
|
esac
|
|
|
|
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
|
|
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
echo "$ac_t""$target" 1>&6
|
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
|
echo "configure:611: checking build system type" >&5
|
|
|
|
build_alias=$build
|
|
case "$build_alias" in
|
|
NONE)
|
|
case $nonopt in
|
|
NONE) build_alias=$host_alias ;;
|
|
*) build_alias=$nonopt ;;
|
|
esac ;;
|
|
esac
|
|
|
|
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
|
|
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
echo "$ac_t""$build" 1>&6
|
|
|
|
test "$host_alias" != "$target_alias" &&
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
|
NONENONEs,x,x, &&
|
|
program_prefix=${target_alias}-
|
|
|
# Find a good install program. We prefer a C program (faster),
|
# Find a good install program. We prefer a C program (faster),
|
# so one script is as good as another. But avoid the broken or
|
# so one script is as good as another. But avoid the broken or
|
# incompatible versions:
|
# incompatible versions:
|
# SysV /etc/install, /usr/sbin/install
|
# SysV /etc/install, /usr/sbin/install
|
# SunOS /usr/etc/install
|
# SunOS /usr/etc/install
|
Line 550... |
Line 639... |
# 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:556: checking for a BSD compatible install" >&5
|
echo "configure:645: 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 603... |
Line 692... |
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:609: checking whether build environment is sane" >&5
|
echo "configure:698: 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 660... |
Line 749... |
|
|
# 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:666: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:755: 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 706... |
Line 795... |
|
|
|
|
|
|
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:712: checking for working aclocal" >&5
|
echo "configure:801: 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 719... |
Line 808... |
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:725: checking for working autoconf" >&5
|
echo "configure:814: 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 732... |
Line 821... |
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:738: checking for working automake" >&5
|
echo "configure:827: 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 745... |
Line 834... |
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:751: checking for working autoheader" >&5
|
echo "configure:840: 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 758... |
Line 847... |
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:764: checking for working makeinfo" >&5
|
echo "configure:853: 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 786... |
Line 875... |
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:792: checking host system type" >&5
|
echo "configure:881: 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 813... |
Line 902... |
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:819: checking for $ac_word" >&5
|
echo "configure:908: 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 843... |
Line 932... |
|
|
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:849: checking for $ac_word" >&5
|
echo "configure:938: 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 894... |
Line 983... |
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:900: checking for $ac_word" >&5
|
echo "configure:989: 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 926... |
Line 1015... |
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:932: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
echo "configure:1021: 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 943 "configure"
|
#line 1032 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
main(){return(0);}
|
main(){return(0);}
|
EOF
|
EOF
|
if { (eval echo configure:948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1037: \"$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 968... |
Line 1057... |
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:974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "configure:1063: 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:979: checking whether we are using GNU C" >&5
|
echo "configure:1068: 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:988: \"$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:1077: \"$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 1001... |
Line 1090... |
|
|
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:1007: checking whether ${CC-cc} accepts -g" >&5
|
echo "configure:1096: 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 1033... |
Line 1122... |
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:1039: checking how to run the C preprocessor" >&5
|
echo "configure:1128: 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 1048... |
Line 1137... |
# 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 1054 "configure"
|
#line 1143 "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:1060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1149: \"$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 1071 "configure"
|
#line 1160 "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:1077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1166: \"$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 1088 "configure"
|
#line 1177 "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:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1183: \"$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 1114... |
Line 1203... |
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:1120: checking for minix/config.h" >&5
|
echo "configure:1209: 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 1125 "configure"
|
#line 1214 "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:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1219: \"$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 1163... |
Line 1252... |
|
|
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:1169: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:1258: 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 1195... |
Line 1284... |
# 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"
|
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2"
|
|
|
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:1201: checking whether ${CC-cc} needs -traditional" >&5
|
echo "configure:1290: 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 1207 "configure"
|
#line 1296 "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 1219... |
Line 1308... |
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 1225 "configure"
|
#line 1314 "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 1252... |
Line 1341... |
# 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:1258: checking for a BSD compatible install" >&5
|
echo "configure:1347: 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 1307... |
Line 1396... |
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:1313: checking for $ac_word" >&5
|
echo "configure:1402: 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 1337... |
Line 1426... |
|
|
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:1343: checking for $ac_word" >&5
|
echo "configure:1432: 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 1370... |
Line 1459... |
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:1376: checking return type of signal handlers" >&5
|
echo "configure:1465: 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 1381 "configure"
|
#line 1470 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#include
|
#include
|
#ifdef signal
|
#ifdef signal
|
#undef signal
|
#undef signal
|
Line 1392... |
Line 1481... |
|
|
int main() {
|
int main() {
|
int i;
|
int i;
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1487: \"$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 1411... |
Line 1500... |
#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:1417: checking whether stat file-mode macros are broken" >&5
|
echo "configure:1506: 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 1422 "configure"
|
#line 1511 "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 1471... |
Line 1560... |
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:1477: checking for $ac_hdr that defines DIR" >&5
|
echo "configure:1566: 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 1482 "configure"
|
#line 1571 "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:1490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1579: \"$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 1509... |
Line 1598... |
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:1515: checking for opendir in -ldir" >&5
|
echo "configure:1604: 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 1523 "configure"
|
#line 1612 "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:1534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1623: \"$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 1550... |
Line 1639... |
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:1556: checking for opendir in -lx" >&5
|
echo "configure:1645: 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 1564 "configure"
|
#line 1653 "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:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1664: \"$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 1594... |
Line 1683... |
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:1600: checking for $ac_func" >&5
|
echo "configure:1689: 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 1605 "configure"
|
#line 1694 "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 1622... |
Line 1711... |
$ac_func();
|
$ac_func();
|
#endif
|
#endif
|
|
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1717: \"$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 1647... |
Line 1736... |
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:1653: checking for working strcoll" >&5
|
echo "configure:1742: 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 1661 "configure"
|
#line 1750 "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:1671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:1760: \"$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 1693... |
Line 1782... |
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
|
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
|
termcap.h termios.h termio.h sys/file.h locale.h
|
termcap.h termios.h termio.h sys/file.h locale.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:1699: checking for $ac_hdr" >&5
|
echo "configure:1788: 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 1704 "configure"
|
#line 1793 "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:1709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1798: \"$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 1742... |
Line 1831... |
|
|
case "$host_os" in
|
case "$host_os" in
|
isc*) LOCAL_CFLAGS=-Disc386 ;;
|
isc*) LOCAL_CFLAGS=-Disc386 ;;
|
esac
|
esac
|
|
|
|
|
BUILD_DIR=`pwd`
|
BUILD_DIR=`pwd`
|
|
|
|
|
|
|
|
|
Line 1761... |
Line 1849... |
|
|
|
|
|
|
|
|
|
|
CPU_ARCH=or1k
|
case "$target_cpu" in
|
|
or1k*) CPU_ARCH=or1k;;
|
|
dlx*) CPU_ARCH=dlx;;
|
|
esac
|
|
|
|
|
INCLUDES="-I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
INCLUDES="-I\${top_srcdir}/cpu/common -I\${top_srcdir}/cpu/$CPU_ARCH -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
-I\${top_srcdir}/bpb"
|
-I\${top_srcdir}/bpb"
|
|
|
Line 1871... |
Line 1962... |
|
|
ac_given_srcdir=$srcdir
|
ac_given_srcdir=$srcdir
|
ac_given_INSTALL="$INSTALL"
|
ac_given_INSTALL="$INSTALL"
|
|
|
trap 'rm -fr `echo "Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
trap 'rm -fr `echo "Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile cpu/dlx/Makefile
|
support/Makefile mmu/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
support/Makefile mmu/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
EOF
|
EOF
|
cat >> $CONFIG_STATUS <
|
cat >> $CONFIG_STATUS <
|
|
|
# Protect against being on the right side of a sed subst in config.status.
|
# Protect against being on the right side of a sed subst in config.status.
|
Line 1904... |
Line 1995... |
s%@libdir@%$libdir%g
|
s%@libdir@%$libdir%g
|
s%@includedir@%$includedir%g
|
s%@includedir@%$includedir%g
|
s%@oldincludedir@%$oldincludedir%g
|
s%@oldincludedir@%$oldincludedir%g
|
s%@infodir@%$infodir%g
|
s%@infodir@%$infodir%g
|
s%@mandir@%$mandir%g
|
s%@mandir@%$mandir%g
|
|
s%@host@%$host%g
|
|
s%@host_alias@%$host_alias%g
|
|
s%@host_cpu@%$host_cpu%g
|
|
s%@host_vendor@%$host_vendor%g
|
|
s%@host_os@%$host_os%g
|
|
s%@target@%$target%g
|
|
s%@target_alias@%$target_alias%g
|
|
s%@target_cpu@%$target_cpu%g
|
|
s%@target_vendor@%$target_vendor%g
|
|
s%@target_os@%$target_os%g
|
|
s%@build@%$build%g
|
|
s%@build_alias@%$build_alias%g
|
|
s%@build_cpu@%$build_cpu%g
|
|
s%@build_vendor@%$build_vendor%g
|
|
s%@build_os@%$build_os%g
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
s%@PACKAGE@%$PACKAGE%g
|
s%@PACKAGE@%$PACKAGE%g
|
s%@VERSION@%$VERSION%g
|
s%@VERSION@%$VERSION%g
|
Line 1915... |
Line 2021... |
s%@AUTOCONF@%$AUTOCONF%g
|
s%@AUTOCONF@%$AUTOCONF%g
|
s%@AUTOMAKE@%$AUTOMAKE%g
|
s%@AUTOMAKE@%$AUTOMAKE%g
|
s%@AUTOHEADER@%$AUTOHEADER%g
|
s%@AUTOHEADER@%$AUTOHEADER%g
|
s%@MAKEINFO@%$MAKEINFO%g
|
s%@MAKEINFO@%$MAKEINFO%g
|
s%@SET_MAKE@%$SET_MAKE%g
|
s%@SET_MAKE@%$SET_MAKE%g
|
s%@host@%$host%g
|
|
s%@host_alias@%$host_alias%g
|
|
s%@host_cpu@%$host_cpu%g
|
|
s%@host_vendor@%$host_vendor%g
|
|
s%@host_os@%$host_os%g
|
|
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
|
Line 1976... |
Line 2077... |
EOF
|
EOF
|
|
|
cat >> $CONFIG_STATUS <
|
cat >> $CONFIG_STATUS <
|
|
|
CONFIG_FILES=\${CONFIG_FILES-"Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
CONFIG_FILES=\${CONFIG_FILES-"Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile
|
cpu/common/Makefile cpu/or1k/Makefile cpu/dlx/Makefile
|
support/Makefile mmu/Makefile"}
|
support/Makefile mmu/Makefile"}
|
EOF
|
EOF
|
cat >> $CONFIG_STATUS <<\EOF
|
cat >> $CONFIG_STATUS <<\EOF
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|