Line 3... |
Line 3... |
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version 2.13
|
# From configure.in for or1ksim-1.2, version 2.14, from autoconf version 2.13
|
|
|
|
|
|
|
|
|
|
|
# serial 40 AC_PROG_LIBTOOL
|
|
|
|
|
|
|
|
|
|
# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
|
|
|
|
|
|
# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
|
|
|
|
|
|
# AC_ENABLE_SHARED - implement the --enable-shared flag
|
|
# Usage: AC_ENABLE_SHARED[(DEFAULT)]
|
|
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
|
# `yes'.
|
|
|
|
|
|
# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
|
|
|
|
|
|
# AC_ENABLE_STATIC - implement the --enable-static flag
|
|
# Usage: AC_ENABLE_STATIC[(DEFAULT)]
|
|
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
|
# `yes'.
|
|
|
|
|
|
# AC_DISABLE_STATIC - set the default static flag to --disable-static
|
|
|
|
|
|
|
|
# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
|
|
# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
|
|
# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
|
|
# `yes'.
|
|
|
|
|
|
# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
|
|
|
|
|
|
# AC_PROG_LD - find the path to the GNU or non-GNU linker
|
|
|
|
|
|
|
|
|
|
# AC_PROG_NM - find the path to a BSD-compatible name lister
|
|
|
|
|
|
# AC_CHECK_LIBM - check for math library
|
|
|
|
|
|
# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
|
|
# the libltdl convenience library and INCLTDL to the include flags for
|
|
# the libltdl header and adds --enable-ltdl-convenience to the
|
|
# configure arguments. Note that LIBLTDL and INCLTDL are not
|
|
# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
|
|
# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
|
|
# with '${top_builddir}/' and INCLTDL will be prefixed with
|
|
# '${top_srcdir}/' (note the single quotes!). If your package is not
|
|
# flat and you're not using automake, define top_builddir and
|
|
# top_srcdir appropriately in the Makefiles.
|
|
|
|
|
|
# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
|
|
# the libltdl installable library and INCLTDL to the include flags for
|
|
# the libltdl header and adds --enable-ltdl-install to the configure
|
|
# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
|
|
# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
|
|
# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
|
|
# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
|
|
# with '${top_srcdir}/' (note the single quotes!). If your package is
|
|
# not flat and you're not using automake, define top_builddir and
|
|
# top_srcdir appropriately in the Makefiles.
|
|
# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
|
|
|
|
|
|
|
|
|
|
# Do all the work for Automake. This macro actually does too much --
|
# Do all the work for Automake. This macro actually does too much --
|
# some checks are only needed if your package does certain things.
|
# some checks are only needed if your package does certain things.
|
# But this isn't really a big deal.
|
# But this isn't really a big deal.
|
|
|
# serial 1
|
# serial 1
|
Line 593... |
Line 515... |
echo "loading site script $ac_site_file"
|
echo "loading site script $ac_site_file"
|
. "$ac_site_file"
|
. "$ac_site_file"
|
fi
|
fi
|
done
|
done
|
|
|
if test -r "$cache_file"; then
|
|
echo "loading cache $cache_file"
|
|
. $cache_file
|
|
else
|
|
echo "creating cache $cache_file"
|
|
> $cache_file
|
|
fi
|
|
|
|
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'
|
Line 649... |
Line 564... |
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:655: checking host system type" >&5
|
echo "configure:570: 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 681... |
Line 596... |
# 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:687: checking for a BSD compatible install" >&5
|
echo "configure:602: 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 734... |
Line 649... |
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:740: checking whether build environment is sane" >&5
|
echo "configure:655: 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 791... |
Line 706... |
|
|
# 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:797: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:712: 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 837... |
Line 752... |
|
|
|
|
|
|
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:843: checking for working aclocal" >&5
|
echo "configure:758: 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 850... |
Line 765... |
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:856: checking for working autoconf" >&5
|
echo "configure:771: 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 863... |
Line 778... |
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:869: checking for working automake" >&5
|
echo "configure:784: 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 876... |
Line 791... |
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:882: checking for working autoheader" >&5
|
echo "configure:797: 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 889... |
Line 804... |
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:895: checking for working makeinfo" >&5
|
echo "configure:810: 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 904... |
Line 819... |
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:910: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
echo "configure:825: 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 942... |
Line 857... |
# 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:948: checking for a BSD compatible install" >&5
|
echo "configure:863: 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 995... |
Line 910... |
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:1001: checking build system type" >&5
|
echo "configure:916: 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 1018... |
Line 933... |
ac_tool_prefix=${host_alias}-
|
ac_tool_prefix=${host_alias}-
|
else
|
else
|
ac_tool_prefix=
|
ac_tool_prefix=
|
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$host_cpu-$host_os-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}$host_cpu-$host_os-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:1027: checking for $ac_word" >&5
|
echo "configure:942: 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 1033... |
Line 948... |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
ac_cv_prog_CC="${ac_tool_prefix}$host_cpu-$host_os-gcc"
|
ac_cv_prog_CC="${ac_tool_prefix}$target-gcc"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
fi
|
fi
|
Line 1050... |
Line 965... |
fi
|
fi
|
|
|
|
|
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 "$host_cpu-$host_os-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 $host_cpu-$host_os-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:1059: checking for $ac_word" >&5
|
echo "configure:974: 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 1065... |
Line 980... |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
ac_cv_prog_CC="$host_cpu-$host_os-gcc"
|
ac_cv_prog_CC="$target-gcc"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
|
test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="cc"
|
Line 1085... |
Line 1000... |
else
|
else
|
CC="cc"
|
CC="cc"
|
fi
|
fi
|
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$host_cpu-$host_os-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}$host_cpu-$host_os-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:1094: checking for $ac_word" >&5
|
echo "configure:1009: 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 1100... |
Line 1015... |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
ac_cv_prog_RANLIB="${ac_tool_prefix}$host_cpu-$host_os-ranlib"
|
ac_cv_prog_RANLIB="${ac_tool_prefix}$target-ranlib"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
fi
|
fi
|
Line 1117... |
Line 1032... |
fi
|
fi
|
|
|
|
|
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 "$host_cpu-$host_os-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 $host_cpu-$host_os-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:1126: checking for $ac_word" >&5
|
echo "configure:1041: 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 1132... |
Line 1047... |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
ac_cv_prog_RANLIB="$host_cpu-$host_os-ranlib"
|
ac_cv_prog_RANLIB="$target-ranlib"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib"
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib"
|
Line 1152... |
Line 1067... |
else
|
else
|
RANLIB="ranlib"
|
RANLIB="ranlib"
|
fi
|
fi
|
fi
|
fi
|
|
|
# Extract the first word of "${ac_tool_prefix}$host_cpu-$host_os-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}$host_cpu-$host_os-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:1161: checking for $ac_word" >&5
|
echo "configure:1076: 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 1167... |
Line 1082... |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
ac_cv_prog_LD="${ac_tool_prefix}$host_cpu-$host_os-ld"
|
ac_cv_prog_LD="${ac_tool_prefix}$target-ld"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
fi
|
fi
|
Line 1184... |
Line 1099... |
fi
|
fi
|
|
|
|
|
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 "$host_cpu-$host_os-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 $host_cpu-$host_os-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:1193: checking for $ac_word" >&5
|
echo "configure:1108: 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 1199... |
Line 1114... |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
|
ac_dummy="$PATH"
|
ac_dummy="$PATH"
|
for ac_dir in $ac_dummy; do
|
for ac_dir in $ac_dummy; do
|
test -z "$ac_dir" && ac_dir=.
|
test -z "$ac_dir" && ac_dir=.
|
if test -f $ac_dir/$ac_word; then
|
if test -f $ac_dir/$ac_word; then
|
ac_cv_prog_LD="$host_cpu-$host_os-ld"
|
ac_cv_prog_LD="$target-ld"
|
break
|
break
|
fi
|
fi
|
done
|
done
|
IFS="$ac_save_ifs"
|
IFS="$ac_save_ifs"
|
test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="ld"
|
test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="ld"
|
Line 1222... |
Line 1137... |
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:1228: checking for $ac_word" >&5
|
echo "configure:1143: 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 1252... |
Line 1167... |
|
|
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:1258: checking for $ac_word" >&5
|
echo "configure:1173: 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 1303... |
Line 1218... |
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:1309: checking for $ac_word" >&5
|
echo "configure:1224: 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 1335... |
Line 1250... |
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:1341: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
echo "configure:1256: 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 1352 "configure"
|
#line 1267 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
main(){return(0);}
|
main(){return(0);}
|
EOF
|
EOF
|
if { (eval echo configure:1357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
if { (eval echo configure:1272: \"$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 1377... |
Line 1292... |
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:1383: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
echo "configure:1298: 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:1388: checking whether we are using GNU C" >&5
|
echo "configure:1303: 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:1397: \"$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:1312: \"$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 1410... |
Line 1325... |
|
|
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:1416: checking whether ${CC-cc} accepts -g" >&5
|
echo "configure:1331: 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 1442... |
Line 1357... |
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:1448: checking for POSIXized ISC" >&5
|
echo "configure:1363: 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 1463... |
Line 1378... |
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:1469: checking how to run the C preprocessor" >&5
|
echo "configure:1384: 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 1478... |
Line 1393... |
# 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 1484 "configure"
|
#line 1399 "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:1490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1405: \"$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 1501 "configure"
|
#line 1416 "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:1507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1422: \"$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 1518 "configure"
|
#line 1433 "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:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1439: \"$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 1543... |
Line 1458... |
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:1549: checking for ANSI C header files" >&5
|
echo "configure:1464: 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 1554 "configure"
|
#line 1469 "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:1562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:1477: \"$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 1573... |
Line 1488... |
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 1579 "configure"
|
#line 1494 "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 1591... |
Line 1506... |
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 1597 "configure"
|
#line 1512 "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 1612... |
Line 1527... |
# /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 1618 "configure"
|
#line 1533 "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:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
if { (eval echo configure:1544: \"$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 1652... |
Line 1567... |
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:1658: checking whether ${CC-cc} needs -traditional" >&5
|
echo "configure:1573: 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 1664 "configure"
|
#line 1579 "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 1676... |
Line 1591... |
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 1682 "configure"
|
#line 1597 "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 1700... |
Line 1615... |
fi
|
fi
|
|
|
|
|
set -- $CFLAGS
|
set -- $CFLAGS
|
COMPILE_OR1K=unknown
|
COMPILE_OR1K=unknown
|
case $host in
|
case $target in
|
or1k*|or32*)
|
or1k*|or32*)
|
CFLAGS="$CFLAGS -nostdlib"
|
CFLAGS="$CFLAGS -nostdlib"
|
COMPILE=or1k
|
COMPILE=or1k
|
;;
|
;;
|
esac
|
esac
|
Line 1721... |
Line 1636... |
|
|
|
|
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:1727: checking for working const" >&5
|
echo "configure:1642: 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 1732 "configure"
|
#line 1647 "configure"
|
#include "confdefs.h"
|
#include "confdefs.h"
|
|
|
int main() {
|
int main() {
|
|
|
/* Ultrix mips cc rejects this. */
|
/* Ultrix mips cc rejects this. */
|
Line 1775... |
Line 1690... |
const int foo = 10;
|
const int foo = 10;
|
}
|
}
|
|
|
; return 0; }
|
; return 0; }
|
EOF
|
EOF
|
if { (eval echo configure:1781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1696: \"$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 1796... |
Line 1711... |
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:1802: checking for inline" >&5
|
echo "configure:1717: 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 1809 "configure"
|
#line 1724 "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:1816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
if { (eval echo configure:1731: \"$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 1837... |
Line 1752... |
;;
|
;;
|
esac
|
esac
|
|
|
|
|
trap '' 1 2 15
|
trap '' 1 2 15
|
cat > confcache <<\EOF
|
|
# This file is a shell script that caches the results of configure
|
|
# tests run on this system so they can be shared between configure
|
|
# scripts and configure runs. It is not useful on other systems.
|
|
# If it contains results you don't want to keep, you may remove or edit it.
|
|
#
|
|
# By default, configure uses ./config.cache as the cache file,
|
|
# creating it if it does not exist already. You can give configure
|
|
# the --cache-file=FILE option to use a different cache file; that is
|
|
# what configure does when it calls configure scripts in
|
|
# subdirectories, so they share the cache.
|
|
# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
|
# config.status only pays attention to the cache file if you give it the
|
|
# --recheck option to rerun configure.
|
|
#
|
|
EOF
|
|
# The following way of writing the cache mishandles newlines in values,
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
|
# So, don't put newlines in cache variables' values.
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
|
(set) 2>&1 |
|
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
*ac_space=\ *)
|
|
# `set' does not quote correctly, so add quotes (double-quote substitution
|
|
# turns \\\\ into \\, and sed turns \\ into \).
|
|
sed -n \
|
|
-e "s/'/'\\\\''/g" \
|
|
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
|
|
;;
|
|
*)
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
|
|
;;
|
|
esac >> confcache
|
|
if cmp -s $cache_file confcache; then
|
|
:
|
|
else
|
|
if test -w $cache_file; then
|
|
echo "updating cache $cache_file"
|
|
cat confcache > $cache_file
|
|
else
|
|
echo "not updating unwritable cache $cache_file"
|
|
fi
|
|
fi
|
|
rm -f confcache
|
|
|
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
# Let make expand exec_prefix.
|
# Let make expand exec_prefix.
|