Line 16... |
Line 16... |
ac_help="$ac_help
|
ac_help="$ac_help
|
--enable-profiling generate profiling code"
|
--enable-profiling generate profiling code"
|
ac_help="$ac_help
|
ac_help="$ac_help
|
--enable-fsim compiles fsim, based on fast_config.c"
|
--enable-fsim compiles fsim, based on fast_config.c"
|
ac_help="$ac_help
|
ac_help="$ac_help
|
|
--enable-simple compiles sim with simple execution"
|
|
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 575... |
Line 577... |
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:581: checking host system type" >&5
|
echo "configure:583: 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 596... |
Line 598... |
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:602: checking target system type" >&5
|
echo "configure:604: 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 614... |
Line 616... |
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:620: checking build system type" >&5
|
echo "configure:622: 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 648... |
Line 650... |
# 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:654: checking for a BSD compatible install" >&5
|
echo "configure:656: 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 701... |
Line 703... |
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:707: checking whether build environment is sane" >&5
|
echo "configure:709: 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 758... |
Line 760... |
|
|
# 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:764: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:766: 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 804... |
Line 806... |
|
|
|
|
|
|
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:810: checking for working aclocal" >&5
|
echo "configure:812: 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 817... |
Line 819... |
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:823: checking for working autoconf" >&5
|
echo "configure:825: 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 830... |
Line 832... |
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:836: checking for working automake" >&5
|
echo "configure:838: 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 843... |
Line 845... |
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:849: checking for working autoheader" >&5
|
echo "configure:851: 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 856... |
Line 858... |
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:862: checking for working makeinfo" >&5
|
echo "configure:864: 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 884... |
Line 886... |
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:890: checking host system type" >&5
|
echo "configure:892: 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 919... |
Line 921... |
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:925: checking for $ac_word" >&5
|
echo "configure:927: 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 949... |
Line 951... |
|
|
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:955: checking for $ac_word" >&5
|
echo "configure:957: 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 1000... |
Line 1002... |
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:1006: checking for $ac_word" >&5
|
echo "configure:1008: 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 1032... |
Line 1034... |
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:1038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
echo "configure:1040: 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 1049 "configure"
|
#line 1051 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
main(){return(0);}
|
main(){return(0);}
|
EOF
|
EOF
|
if { (eval echo configure:1054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1056: \"$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 1074... |
Line 1076... |
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:1080: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "configure:1082: 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:1085: checking whether we are using GNU C" >&5
|
echo "configure:1087: 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:1094: \"$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:1096: \"$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 1107... |
Line 1109... |
|
|
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:1113: checking whether ${CC-cc} accepts -g" >&5
|
echo "configure:1115: 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 1139... |
Line 1141... |
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:1145: checking how to run the C preprocessor" >&5
|
echo "configure:1147: 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 1154... |
Line 1156... |
# 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 1160 "configure"
|
#line 1162 "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:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1168: \"$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 1177 "configure"
|
#line 1179 "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:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1185: \"$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 1194 "configure"
|
#line 1196 "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:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1202: \"$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 1220... |
Line 1222... |
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:1226: checking for minix/config.h" >&5
|
echo "configure:1228: 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 1231 "configure"
|
#line 1233 "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:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1238: \"$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 1269... |
Line 1271... |
|
|
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:1275: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:1277: 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 1301... |
Line 1303... |
# 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:1307: checking whether ${CC-cc} needs -traditional" >&5
|
echo "configure:1309: 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 1313 "configure"
|
#line 1315 "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 1325... |
Line 1327... |
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 1331 "configure"
|
#line 1333 "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 1358... |
Line 1360... |
# 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:1364: checking for a BSD compatible install" >&5
|
echo "configure:1366: 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 1413... |
Line 1415... |
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:1419: checking for $ac_word" >&5
|
echo "configure:1421: 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 1443... |
Line 1445... |
|
|
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:1449: checking for $ac_word" >&5
|
echo "configure:1451: 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 1476... |
Line 1478... |
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:1482: checking return type of signal handlers" >&5
|
echo "configure:1484: 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 1487 "configure"
|
#line 1489 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#include
|
#include
|
#ifdef signal
|
#ifdef signal
|
#undef signal
|
#undef signal
|
Line 1498... |
Line 1500... |
|
|
int main() {
|
int main() {
|
int i;
|
int i;
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1506: \"$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 1517... |
Line 1519... |
#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:1523: checking whether stat file-mode macros are broken" >&5
|
echo "configure:1525: 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 1528 "configure"
|
#line 1530 "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 1577... |
Line 1579... |
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:1583: checking for $ac_hdr that defines DIR" >&5
|
echo "configure:1585: 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 1588 "configure"
|
#line 1590 "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:1596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1598: \"$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 1615... |
Line 1617... |
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:1621: checking for opendir in -ldir" >&5
|
echo "configure:1623: 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 1629 "configure"
|
#line 1631 "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:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1642: \"$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 1656... |
Line 1658... |
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:1662: checking for opendir in -lx" >&5
|
echo "configure:1664: 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 1670 "configure"
|
#line 1672 "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:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1683: \"$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 1700... |
Line 1702... |
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:1706: checking for $ac_func" >&5
|
echo "configure:1708: 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 1711 "configure"
|
#line 1713 "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 1728... |
Line 1730... |
$ac_func();
|
$ac_func();
|
#endif
|
#endif
|
|
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1736: \"$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 1753... |
Line 1755... |
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:1759: checking for working strcoll" >&5
|
echo "configure:1761: 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 1767 "configure"
|
#line 1769 "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:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:1779: \"$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 1800... |
Line 1802... |
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:1806: checking for $ac_hdr" >&5
|
echo "configure:1808: 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 1811 "configure"
|
#line 1813 "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:1816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1818: \"$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 1838... |
Line 1840... |
fi
|
fi
|
done
|
done
|
|
|
|
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1844 "configure"
|
#line 1846 "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:1851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1853: \"$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 1861... |
Line 1863... |
|
|
# 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:1867: checking for add_history in -lreadline" >&5
|
echo "configure:1869: 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 1875 "configure"
|
#line 1877 "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:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1888: \"$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 1928... |
Line 1930... |
solaris*) LIBS="-lsocket -lnsl" ;;
|
solaris*) LIBS="-lsocket -lnsl" ;;
|
esac
|
esac
|
|
|
|
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
|
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
|
echo "configure:1934: checking whether to enable profiling" >&5
|
echo "configure:1936: checking whether to enable profiling" >&5
|
# Check whether --enable-profiling or --disable-profiling was given.
|
# Check whether --enable-profiling or --disable-profiling was given.
|
if test "${enable_profiling+set}" = set; then
|
if test "${enable_profiling+set}" = set; then
|
enableval="$enable_profiling"
|
enableval="$enable_profiling"
|
|
|
case "$enableval" in
|
case "$enableval" in
|
Line 1943... |
Line 1945... |
|
|
echo "$ac_t""${enable_profiling-no}" 1>&6
|
echo "$ac_t""${enable_profiling-no}" 1>&6
|
|
|
fast_sim="0"
|
fast_sim="0"
|
echo $ac_n "checking whether to compile fsim""... $ac_c" 1>&6
|
echo $ac_n "checking whether to compile fsim""... $ac_c" 1>&6
|
echo "configure:1949: checking whether to compile fsim" >&5
|
echo "configure:1951: checking whether to compile fsim" >&5
|
# Check whether --enable-fsim or --disable-fsim was given.
|
# Check whether --enable-fsim or --disable-fsim was given.
|
if test "${enable_fsim+set}" = set; then
|
if test "${enable_fsim+set}" = set; then
|
enableval="$enable_fsim"
|
enableval="$enable_fsim"
|
|
|
case "$enableval" in
|
case "$enableval" in
|
Line 1962... |
Line 1964... |
cat >> confdefs.h <
|
cat >> confdefs.h <
|
#define FAST_SIM $fast_sim
|
#define FAST_SIM $fast_sim
|
EOF
|
EOF
|
|
|
|
|
|
simple_execution="0"
|
|
echo $ac_n "checking whether to use simple execution""... $ac_c" 1>&6
|
|
echo "configure:1972: checking whether to use simple execution" >&5
|
|
# Check whether --enable-simple or --disable-simple was given.
|
|
if test "${enable_simple+set}" = set; then
|
|
enableval="$enable_simple"
|
|
|
|
case "$enableval" in
|
|
no) simple_execution="0" ;;
|
|
yes) simple_execution="1" ;;
|
|
esac
|
|
|
|
fi
|
|
|
|
echo "$ac_t""${enable_simple-no}" 1>&6
|
|
|
|
cat >> confdefs.h <
|
|
#define SIMPLE_EXECUTION $simple_execution
|
|
EOF
|
|
|
|
|
|
|
|
if test x$simple_execution = x1; then
|
|
SIMPLE_EXECUTION_TRUE=
|
|
SIMPLE_EXECUTION_FALSE='#'
|
|
else
|
|
SIMPLE_EXECUTION_TRUE='#'
|
|
SIMPLE_EXECUTION_FALSE=
|
|
fi
|
|
|
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:1969: checking for implementation-specific data" >&5
|
echo "configure:2001: 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 2192... |
Line 2224... |
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%@SIMPLE_EXECUTION_TRUE@%$SIMPLE_EXECUTION_TRUE%g
|
|
s%@SIMPLE_EXECUTION_FALSE@%$SIMPLE_EXECUTION_FALSE%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
|