Line 35... |
Line 35... |
|
|
# Defaults:
|
# Defaults:
|
ac_help=
|
ac_help=
|
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
# Any additions from configure.in:
|
# Any additions from configure.in:
|
ac_help="$ac_help
|
|
--enable-copysec generate section copy code"
|
|
|
|
# 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
|
# dashes changed to underlines.
|
# dashes changed to underlines.
|
build=NONE
|
build=NONE
|
Line 573... |
Line 571... |
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:579: checking host system type" >&5
|
echo "configure:577: 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 605... |
Line 603... |
# 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:611: checking for a BSD compatible install" >&5
|
echo "configure:609: 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 658... |
Line 656... |
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:664: checking whether build environment is sane" >&5
|
echo "configure:662: 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 715... |
Line 713... |
|
|
# 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:721: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:719: 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 761... |
Line 759... |
|
|
|
|
|
|
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:767: checking for working aclocal" >&5
|
echo "configure:765: 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 774... |
Line 772... |
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:780: checking for working autoconf" >&5
|
echo "configure:778: 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 787... |
Line 785... |
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:793: checking for working automake" >&5
|
echo "configure:791: 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 800... |
Line 798... |
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:806: checking for working autoheader" >&5
|
echo "configure:804: 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 813... |
Line 811... |
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:819: checking for working makeinfo" >&5
|
echo "configure:817: 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 828... |
Line 826... |
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:834: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:832: 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 866... |
Line 864... |
# 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:872: checking for a BSD compatible install" >&5
|
echo "configure:870: 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 919... |
Line 917... |
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 build system type""... $ac_c" 1>&6
|
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
echo "configure:925: checking build system type" >&5
|
echo "configure:923: 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 945... |
Line 943... |
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$target-gcc", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}$target-gcc", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}$target-gcc; ac_word=$2
|
set dummy ${ac_tool_prefix}$target-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:951: checking for $ac_word" >&5
|
echo "configure:949: 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 977... |
Line 975... |
if test -z "$ac_cv_prog_CC"; then
|
if test -z "$ac_cv_prog_CC"; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "$target-gcc", so it can be a program name with args.
|
# Extract the first word of "$target-gcc", so it can be a program name with args.
|
set dummy $target-gcc; ac_word=$2
|
set dummy $target-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:983: checking for $ac_word" >&5
|
echo "configure:981: 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 1012... |
Line 1010... |
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$target-ranlib", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}$target-ranlib", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}$target-ranlib; ac_word=$2
|
set dummy ${ac_tool_prefix}$target-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:1018: checking for $ac_word" >&5
|
echo "configure:1016: 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 1044... |
Line 1042... |
if test -z "$ac_cv_prog_RANLIB"; then
|
if test -z "$ac_cv_prog_RANLIB"; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "$target-ranlib", so it can be a program name with args.
|
# Extract the first word of "$target-ranlib", so it can be a program name with args.
|
set dummy $target-ranlib; ac_word=$2
|
set dummy $target-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:1050: checking for $ac_word" >&5
|
echo "configure:1048: 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 1079... |
Line 1077... |
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$target-ld", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}$target-ld", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}$target-ld; ac_word=$2
|
set dummy ${ac_tool_prefix}$target-ld; 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:1085: checking for $ac_word" >&5
|
echo "configure:1083: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$LD"; then
|
if test -n "$LD"; then
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
Line 1111... |
Line 1109... |
if test -z "$ac_cv_prog_LD"; then
|
if test -z "$ac_cv_prog_LD"; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "$target-ld", so it can be a program name with args.
|
# Extract the first word of "$target-ld", so it can be a program name with args.
|
set dummy $target-ld; ac_word=$2
|
set dummy $target-ld; 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:1117: checking for $ac_word" >&5
|
echo "configure:1115: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$LD"; then
|
if test -n "$LD"; then
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
ac_cv_prog_LD="$LD" # Let the user override the test.
|
Line 1146... |
Line 1144... |
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$target-sim", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}$target-sim", so it can be a program name with args.
|
set dummy ${ac_tool_prefix}$target-sim; ac_word=$2
|
set dummy ${ac_tool_prefix}$target-sim; 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:1152: checking for $ac_word" >&5
|
echo "configure:1150: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$SIM"; then
|
if test -n "$SIM"; then
|
ac_cv_prog_SIM="$SIM" # Let the user override the test.
|
ac_cv_prog_SIM="$SIM" # Let the user override the test.
|
Line 1178... |
Line 1176... |
if test -z "$ac_cv_prog_SIM"; then
|
if test -z "$ac_cv_prog_SIM"; then
|
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
# Extract the first word of "$target-sim", so it can be a program name with args.
|
# Extract the first word of "$target-sim", so it can be a program name with args.
|
set dummy $target-sim; ac_word=$2
|
set dummy $target-sim; 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:1184: checking for $ac_word" >&5
|
echo "configure:1182: checking for $ac_word" >&5
|
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
if test -n "$SIM"; then
|
if test -n "$SIM"; then
|
ac_cv_prog_SIM="$SIM" # Let the user override the test.
|
ac_cv_prog_SIM="$SIM" # Let the user override the test.
|
Line 1213... |
Line 1211... |
fi
|
fi
|
|
|
# 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:1219: checking for $ac_word" >&5
|
echo "configure:1217: 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 1243... |
Line 1241... |
|
|
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:1249: checking for $ac_word" >&5
|
echo "configure:1247: 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 1294... |
Line 1292... |
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:1300: checking for $ac_word" >&5
|
echo "configure:1298: 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 1326... |
Line 1324... |
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:1332: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
echo "configure:1330: 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 1343 "configure"
|
#line 1341 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
main(){return(0);}
|
main(){return(0);}
|
EOF
|
EOF
|
if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1346: \"$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 1368... |
Line 1366... |
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:1374: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "configure:1372: 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:1379: checking whether we are using GNU C" >&5
|
echo "configure:1377: 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:1388: \"$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:1386: \"$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 1401... |
Line 1399... |
|
|
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:1407: checking whether ${CC-cc} accepts -g" >&5
|
echo "configure:1405: 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 1433... |
Line 1431... |
CFLAGS=
|
CFLAGS=
|
fi
|
fi
|
fi
|
fi
|
|
|
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
echo "configure:1439: checking for POSIXized ISC" >&5
|
echo "configure:1437: checking for POSIXized ISC" >&5
|
if test -d /etc/conf/kconfig.d &&
|
if test -d /etc/conf/kconfig.d &&
|
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
|
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
|
then
|
then
|
echo "$ac_t""yes" 1>&6
|
echo "$ac_t""yes" 1>&6
|
ISC=yes # If later tests want to check for ISC.
|
ISC=yes # If later tests want to check for ISC.
|
Line 1454... |
Line 1452... |
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
ISC=
|
ISC=
|
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:1460: checking how to run the C preprocessor" >&5
|
echo "configure:1458: 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 1469... |
Line 1467... |
# 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 1475 "configure"
|
#line 1473 "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:1481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1479: \"$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 1492 "configure"
|
#line 1490 "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:1498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1496: \"$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 1509 "configure"
|
#line 1507 "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:1515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1513: \"$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 1534... |
Line 1532... |
ac_cv_prog_CPP="$CPP"
|
ac_cv_prog_CPP="$CPP"
|
fi
|
fi
|
echo "$ac_t""$CPP" 1>&6
|
echo "$ac_t""$CPP" 1>&6
|
|
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
echo "configure:1540: checking for ANSI C header files" >&5
|
echo "configure:1538: checking for ANSI C header files" >&5
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+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 1545 "configure"
|
#line 1543 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#include
|
#include
|
#include
|
#include
|
#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:1553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1551: \"$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*
|
ac_cv_header_stdc=yes
|
ac_cv_header_stdc=yes
|
else
|
else
|
Line 1564... |
Line 1562... |
rm -f conftest*
|
rm -f conftest*
|
|
|
if test $ac_cv_header_stdc = yes; then
|
if test $ac_cv_header_stdc = yes; then
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1570 "configure"
|
#line 1568 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
EOF
|
EOF
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
egrep "memchr" >/dev/null 2>&1; then
|
egrep "memchr" >/dev/null 2>&1; then
|
Line 1582... |
Line 1580... |
fi
|
fi
|
|
|
if test $ac_cv_header_stdc = yes; then
|
if test $ac_cv_header_stdc = yes; then
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1588 "configure"
|
#line 1586 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
EOF
|
EOF
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
egrep "free" >/dev/null 2>&1; then
|
egrep "free" >/dev/null 2>&1; then
|
Line 1603... |
Line 1601... |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
:
|
:
|
else
|
else
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1609 "configure"
|
#line 1607 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
#include
|
#include
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
int main () { int i; for (i = 0; i < 256; i++)
|
int main () { int i; for (i = 0; i < 256; i++)
|
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
exit (0); }
|
exit (0); }
|
|
|
EOF
|
EOF
|
if { (eval echo configure:1620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
then
|
then
|
:
|
:
|
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 1643... |
Line 1641... |
MAKE_SHELL=/bin/sh
|
MAKE_SHELL=/bin/sh
|
|
|
|
|
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:1649: checking whether ${CC-cc} needs -traditional" >&5
|
echo "configure:1647: 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 1655 "configure"
|
#line 1653 "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 1667... |
Line 1665... |
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 1673 "configure"
|
#line 1671 "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 1694... |
Line 1692... |
set -- $CFLAGS
|
set -- $CFLAGS
|
COMPILE_OR1K=unknown
|
COMPILE_OR1K=unknown
|
|
|
TESTS_ENV=
|
TESTS_ENV=
|
|
|
OR1K_LDFLAGS=
|
OR1K_SRCDIR="./${top_srcdir}"
|
case $target in
|
case $target in
|
or1k*|or32*)
|
or1k*|or32*)
|
CFLAGS="$CFLAGS -nostdlib -mhard-div"
|
CFLAGS="$CFLAGS -nostdlib -mhard-div"
|
COMPILE=or1k
|
COMPILE=or1k
|
TESTS_ENV="$SIM"
|
TESTS_ENV="$SIM"
|
OR1K_LDFLAGS="-T\${top_srcdir}/except.ld"
|
|
;;
|
;;
|
esac
|
esac
|
echo $TESTS_ENV
|
echo $TESTS_ENV
|
|
|
|
|
Line 1714... |
Line 1711... |
else
|
else
|
OR1K_EXCEPT_TRUE='#'
|
OR1K_EXCEPT_TRUE='#'
|
OR1K_EXCEPT_FALSE=
|
OR1K_EXCEPT_FALSE=
|
fi
|
fi
|
|
|
copysec=
|
CFLAGS="$CFLAGS -Wall"
|
echo $ac_n "checking whether to enable section copying""... $ac_c" 1>&6
|
|
echo "configure:1722: checking whether to enable section copying" >&5
|
|
# Check whether --enable-copysec or --disable-copysec was given.
|
|
if test "${enable_copysec+set}" = set; then
|
|
enableval="$enable_copysec"
|
|
|
|
case "$enableval" in
|
|
yes) copysec="-DCOPY_SECTIONS" ;;
|
|
esac
|
|
|
|
fi
|
|
|
|
echo "$ac_t""${enable_copysec-no}" 1>&6
|
|
|
|
|
|
CFLAGS="$CFLAGS -Wall $copysec"
|
|
|
|
|
|
INCLUDES="-I\${top_srcdir}/support"
|
INCLUDES="-I\${top_srcdir}/support"
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
echo "configure:1742: checking for working const" >&5
|
echo "configure:1723: checking for working const" >&5
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_const'+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 1747 "configure"
|
#line 1728 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
|
|
/* Ultrix mips cc rejects this. */
|
/* Ultrix mips cc rejects this. */
|
Line 1790... |
Line 1771... |
const int foo = 10;
|
const int foo = 10;
|
}
|
}
|
|
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
ac_cv_c_const=yes
|
ac_cv_c_const=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 1811... |
Line 1792... |
EOF
|
EOF
|
|
|
fi
|
fi
|
|
|
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
echo $ac_n "checking for inline""... $ac_c" 1>&6
|
echo "configure:1817: checking for inline" >&5
|
echo "configure:1798: checking for inline" >&5
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
|
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
else
|
else
|
ac_cv_c_inline=no
|
ac_cv_c_inline=no
|
for ac_kw in inline __inline__ __inline; do
|
for ac_kw in inline __inline__ __inline; do
|
cat > conftest.$ac_ext <
|
cat > conftest.$ac_ext <
|
#line 1824 "configure"
|
#line 1805 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
} $ac_kw foo() {
|
} $ac_kw foo() {
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
rm -rf conftest*
|
rm -rf conftest*
|
ac_cv_c_inline=$ac_kw; break
|
ac_cv_c_inline=$ac_kw; break
|
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 2024... |
Line 2005... |
s%@LD@%$LD%g
|
s%@LD@%$LD%g
|
s%@SIM@%$SIM%g
|
s%@SIM@%$SIM%g
|
s%@CPP@%$CPP%g
|
s%@CPP@%$CPP%g
|
s%@MAKE_SHELL@%$MAKE_SHELL%g
|
s%@MAKE_SHELL@%$MAKE_SHELL%g
|
s%@TESTS_ENV@%$TESTS_ENV%g
|
s%@TESTS_ENV@%$TESTS_ENV%g
|
s%@OR1K_LDFLAGS@%$OR1K_LDFLAGS%g
|
s%@OR1K_SRCDIR@%$OR1K_SRCDIR%g
|
s%@OR1K_EXCEPT_TRUE@%$OR1K_EXCEPT_TRUE%g
|
s%@OR1K_EXCEPT_TRUE@%$OR1K_EXCEPT_TRUE%g
|
s%@OR1K_EXCEPT_FALSE@%$OR1K_EXCEPT_FALSE%g
|
s%@OR1K_EXCEPT_FALSE@%$OR1K_EXCEPT_FALSE%g
|
s%@INCLUDES@%$INCLUDES%g
|
s%@INCLUDES@%$INCLUDES%g
|
|
|
CEOF
|
CEOF
|