|
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
# Guess values for system-dependent variables and create Makefiles. |
|
|
|
# Generated automatically using autoconf version 2.12.2 |
|
|
|
# Generated automatically using autoconf version 2.12 |
|
|
|
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
|
|
# |
|
|
|
# This configure script is free software; the Free Software Foundation |
|
|
|
@ -103,7 +103,6 @@ mandir='${prefix}/man' |
|
|
|
# Initialize some other variables. |
|
|
|
subdirs= |
|
|
|
MFLAGS= MAKEFLAGS= |
|
|
|
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
|
# Maximum number of lines to put in a shell here document. |
|
|
|
ac_max_here_lines=12 |
|
|
|
|
|
|
|
@ -387,7 +386,7 @@ EOF |
|
|
|
verbose=yes ;; |
|
|
|
|
|
|
|
-version | --version | --versio | --versi | --vers) |
|
|
|
echo "configure generated by autoconf version 2.12.2" |
|
|
|
echo "configure generated by autoconf version 2.12" |
|
|
|
exit 0 ;; |
|
|
|
|
|
|
|
-with-* | --with-*) |
|
|
|
@ -557,11 +556,9 @@ ac_ext=c |
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
|
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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
ac_exeext= |
|
|
|
ac_objext=o |
|
|
|
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
|
|
|
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
|
|
|
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
|
|
|
@ -804,26 +801,26 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
# Make sure we can run config.sub. |
|
|
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
|
|
|
if $ac_config_sub sun4 >/dev/null 2>&1; then : |
|
|
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
|
|
|
echo "configure:813: checking host system type" >&5 |
|
|
|
echo "configure:810: checking host system type" >&5 |
|
|
|
|
|
|
|
host_alias=$host |
|
|
|
case "$host_alias" in |
|
|
|
NONE) |
|
|
|
case $nonopt in |
|
|
|
NONE) |
|
|
|
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
|
|
|
if host_alias=`$ac_config_guess`; then : |
|
|
|
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
|
|
|
fi ;; |
|
|
|
*) host_alias=$nonopt ;; |
|
|
|
esac ;; |
|
|
|
esac |
|
|
|
|
|
|
|
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
|
|
|
host=`$ac_config_sub $host_alias` |
|
|
|
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
|
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
@ -932,7 +929,7 @@ fi |
|
|
|
# This can take a while to compute. |
|
|
|
sysdep_dir=$srcdir/sysdeps |
|
|
|
echo $ac_n "checking sysdep dirs""... $ac_c" 1>&6 |
|
|
|
echo "configure:936: checking sysdep dirs" >&5 |
|
|
|
echo "configure:933: checking sysdep dirs" >&5 |
|
|
|
# Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1. |
|
|
|
os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`" |
|
|
|
|
|
|
|
@ -1129,30 +1126,28 @@ echo "$ac_t""$default_sysnames" 1>&6 |
|
|
|
# SunOS /usr/etc/install |
|
|
|
# IRIX /sbin/install |
|
|
|
# AIX /bin/install |
|
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
|
|
# ./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 "configure:1138: checking for a BSD compatible install" >&5 |
|
|
|
echo "configure:1134: checking for a BSD compatible install" >&5 |
|
|
|
if test -z "$INSTALL"; then |
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
# Account for people who put trailing slashes in PATH elements. |
|
|
|
case "$ac_dir/" in |
|
|
|
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
|
|
|
*) |
|
|
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
|
|
# Don't use installbsd from OSF since it installs stuff as root |
|
|
|
# by default. |
|
|
|
for ac_prog in ginstall scoinst install; do |
|
|
|
for ac_prog in ginstall installbsd scoinst install; do |
|
|
|
if test -f $ac_dir/$ac_prog; then |
|
|
|
if test $ac_prog = install && |
|
|
|
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
|
|
|
# AIX install. It has an incompatible calling convention. |
|
|
|
# OSF/1 installbsd also uses dspmsg, but is usable. |
|
|
|
: |
|
|
|
else |
|
|
|
ac_cv_path_install="$ac_dir/$ac_prog -c" |
|
|
|
@ -1189,7 +1184,7 @@ if test "$INSTALL" = "${srcdir}/install-sh -c"; then |
|
|
|
INSTALL='\$(..)./install-sh -c' |
|
|
|
fi |
|
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
|
|
|
echo "configure:1193: checking whether ln -s works" >&5 |
|
|
|
echo "configure:1188: checking whether ln -s works" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1212,7 +1207,7 @@ fi |
|
|
|
|
|
|
|
# These programs are version sensitive. |
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
|
|
|
echo "configure:1216: checking build system type" >&5 |
|
|
|
echo "configure:1211: checking build system type" >&5 |
|
|
|
|
|
|
|
build_alias=$build |
|
|
|
case "$build_alias" in |
|
|
|
@ -1223,7 +1218,7 @@ NONE) |
|
|
|
esac ;; |
|
|
|
esac |
|
|
|
|
|
|
|
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
|
|
|
build=`$ac_config_sub $build_alias` |
|
|
|
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
|
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
|
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
@ -1240,14 +1235,14 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1244: checking for $ac_word" >&5 |
|
|
|
echo "configure:1239: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$CC"; then |
|
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1273,7 +1268,7 @@ if test -z "$CC"; then |
|
|
|
else |
|
|
|
# Found it, now check the version. |
|
|
|
echo $ac_n "checking version of $CC""... $ac_c" 1>&6 |
|
|
|
echo "configure:1277: checking version of $CC" >&5 |
|
|
|
echo "configure:1272: checking version of $CC" >&5 |
|
|
|
ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcstp-]*[0-9.]*\).*$/\1/p'` |
|
|
|
case $ac_prog_version in |
|
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
|
|
|
@ -1293,14 +1288,14 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1297: checking for $ac_word" >&5 |
|
|
|
echo "configure:1292: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_MAKE'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$MAKE"; then |
|
|
|
ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1326,7 +1321,7 @@ if test -z "$MAKE"; then |
|
|
|
else |
|
|
|
# Found it, now check the version. |
|
|
|
echo $ac_n "checking version of $MAKE""... $ac_c" 1>&6 |
|
|
|
echo "configure:1330: checking version of $MAKE" >&5 |
|
|
|
echo "configure:1325: checking version of $MAKE" >&5 |
|
|
|
ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*version \([0-9][0-9.]*\), by.*$/\1/p'` |
|
|
|
case $ac_prog_version in |
|
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
|
|
|
@ -1347,14 +1342,14 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1351: checking for $ac_word" >&5 |
|
|
|
echo "configure:1346: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$MSGFMT"; then |
|
|
|
ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1380,7 +1375,7 @@ if test -z "$MSGFMT"; then |
|
|
|
else |
|
|
|
# Found it, now check the version. |
|
|
|
echo $ac_n "checking version of $MSGFMT""... $ac_c" 1>&6 |
|
|
|
echo "configure:1384: checking version of $MSGFMT" >&5 |
|
|
|
echo "configure:1379: checking version of $MSGFMT" >&5 |
|
|
|
ac_prog_version=`$MSGFMT --version 2>&1 | sed -n 's/^.*GNU gettext.* \([0-9]*\.[0-9.]*\).*$/\1/p'` |
|
|
|
case $ac_prog_version in |
|
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
|
|
|
@ -1400,14 +1395,14 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1404: checking for $ac_word" >&5 |
|
|
|
echo "configure:1399: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$MAKEINFO"; then |
|
|
|
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1433,7 +1428,7 @@ if test -z "$MAKEINFO"; then |
|
|
|
else |
|
|
|
# Found it, now check the version. |
|
|
|
echo $ac_n "checking version of $MAKEINFO""... $ac_c" 1>&6 |
|
|
|
echo "configure:1437: checking version of $MAKEINFO" >&5 |
|
|
|
echo "configure:1432: checking version of $MAKEINFO" >&5 |
|
|
|
ac_prog_version=`$MAKEINFO --version 2>&1 | sed -n 's/^.*GNU texinfo \([0-9][0-9.]*\).*$/\1/p'` |
|
|
|
case $ac_prog_version in |
|
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; |
|
|
|
@ -1462,7 +1457,7 @@ test -n "$aux_missing" && echo "configure: warning: |
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
|
|
|
echo "configure:1466: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
echo "configure:1461: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_works'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1471,15 +1466,15 @@ ac_ext=c |
|
|
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
|
ac_cpp='$CPP $CPPFLAGS' |
|
|
|
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 $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1479 "configure" |
|
|
|
#line 1474 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
main(){return(0);} |
|
|
|
EOF |
|
|
|
if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
if { (eval echo configure:1478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
ac_cv_prog_cc_works=yes |
|
|
|
# If we can't run a trivial program, we are probably using a cross compiler. |
|
|
|
if (./conftest; exit) 2>/dev/null; then |
|
|
|
@ -1504,7 +1499,7 @@ else |
|
|
|
cross_linkable=yes |
|
|
|
fi |
|
|
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
|
|
|
echo "configure:1508: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
echo "configure:1503: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_cross'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1516,7 +1511,7 @@ echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
|
|
|
cross_compiling=$ac_cv_prog_cc_cross |
|
|
|
|
|
|
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
|
|
|
echo "configure:1520: checking whether we are using GNU C" >&5 |
|
|
|
echo "configure:1515: checking whether we are using GNU C" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1525,7 +1520,7 @@ else |
|
|
|
yes; |
|
|
|
#endif |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1529: \"$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:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
|
|
|
ac_cv_prog_gcc=yes |
|
|
|
else |
|
|
|
ac_cv_prog_gcc=no |
|
|
|
@ -1538,7 +1533,7 @@ if test $ac_cv_prog_gcc != yes; then |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
|
|
|
echo "configure:1542: checking build system type" >&5 |
|
|
|
echo "configure:1537: checking build system type" >&5 |
|
|
|
|
|
|
|
build_alias=$build |
|
|
|
case "$build_alias" in |
|
|
|
@ -1549,7 +1544,7 @@ NONE) |
|
|
|
esac ;; |
|
|
|
esac |
|
|
|
|
|
|
|
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
|
|
|
build=`$ac_config_sub $build_alias` |
|
|
|
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
|
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
|
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
@ -1561,14 +1556,14 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1565: checking for $ac_word" >&5 |
|
|
|
echo "configure:1560: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_BUILD_CC'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$BUILD_CC"; then |
|
|
|
ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1592,7 +1587,7 @@ done |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
|
|
|
echo "configure:1596: checking how to run the C preprocessor" >&5 |
|
|
|
echo "configure:1591: checking how to run the C preprocessor" >&5 |
|
|
|
# On Suns, sometimes $CPP names a directory. |
|
|
|
if test -n "$CPP" && test -d "$CPP"; then |
|
|
|
CPP= |
|
|
|
@ -1607,14 +1602,14 @@ else |
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
|
# not just through cpp. |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1611 "configure" |
|
|
|
#line 1606 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
{ (eval echo configure:1612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
else |
|
|
|
@ -1624,31 +1619,14 @@ else |
|
|
|
rm -rf conftest* |
|
|
|
CPP="${CC-cc} -E -traditional-cpp" |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1628 "configure" |
|
|
|
#line 1623 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
else |
|
|
|
echo "$ac_err" >&5 |
|
|
|
echo "configure: failed program was:" >&5 |
|
|
|
cat conftest.$ac_ext >&5 |
|
|
|
rm -rf conftest* |
|
|
|
CPP="${CC-cc} -nologo -E" |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 1645 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#include <assert.h> |
|
|
|
Syntax Error |
|
|
|
EOF |
|
|
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
|
|
{ (eval echo configure:1651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
|
|
{ (eval echo configure:1629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
|
|
ac_err=`grep -v '^ *+' conftest.out` |
|
|
|
if test -z "$ac_err"; then |
|
|
|
: |
|
|
|
else |
|
|
|
@ -1660,8 +1638,6 @@ else |
|
|
|
fi |
|
|
|
rm -f conftest* |
|
|
|
fi |
|
|
|
rm -f conftest* |
|
|
|
fi |
|
|
|
rm -f conftest* |
|
|
|
ac_cv_prog_CPP="$CPP" |
|
|
|
fi |
|
|
|
@ -1682,7 +1658,7 @@ LD=`$CC -print-prog-name=ld` |
|
|
|
|
|
|
|
# Determine whether we are using GNU binutils. |
|
|
|
echo $ac_n "checking whether $AS is GNU as""... $ac_c" 1>&6 |
|
|
|
echo "configure:1686: checking whether $AS is GNU as" >&5 |
|
|
|
echo "configure:1662: checking whether $AS is GNU as" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_prog_as_gnu'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1700,7 +1676,7 @@ rm -f a.out |
|
|
|
gnu_as=$libc_cv_prog_as_gnu |
|
|
|
|
|
|
|
echo $ac_n "checking whether $LD is GNU ld""... $ac_c" 1>&6 |
|
|
|
echo "configure:1704: checking whether $LD is GNU ld" >&5 |
|
|
|
echo "configure:1680: checking whether $LD is GNU ld" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_prog_ld_gnu'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1719,14 +1695,14 @@ gnu_ld=$libc_cv_prog_ld_gnu |
|
|
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
|
|
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1723: checking for $ac_word" >&5 |
|
|
|
echo "configure:1699: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$AR"; then |
|
|
|
ac_cv_prog_AR="$AR" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1750,14 +1726,14 @@ fi |
|
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1754: checking for $ac_word" >&5 |
|
|
|
echo "configure:1730: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$RANLIB"; then |
|
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1781,14 +1757,14 @@ if test -n "$ac_tool_prefix"; then |
|
|
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
|
|
set dummy ranlib; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1785: checking for $ac_word" >&5 |
|
|
|
echo "configure:1761: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$RANLIB"; then |
|
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1815,14 +1791,14 @@ fi |
|
|
|
# Extract the first word of "${ac_tool_prefix}mig", so it can be a program name with args. |
|
|
|
set dummy ${ac_tool_prefix}mig; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1819: checking for $ac_word" >&5 |
|
|
|
echo "configure:1795: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_MIG'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$MIG"; then |
|
|
|
ac_cv_prog_MIG="$MIG" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1855,7 +1831,7 @@ fi |
|
|
|
|
|
|
|
# check if ranlib is necessary |
|
|
|
echo $ac_n "checking whether ranlib is necessary""... $ac_c" 1>&6 |
|
|
|
echo "configure:1859: checking whether ranlib is necessary" >&5 |
|
|
|
echo "configure:1835: checking whether ranlib is necessary" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_ranlib_necessary'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1889,7 +1865,7 @@ fi |
|
|
|
# - two terminals occur directly after each other |
|
|
|
# - the path contains an element with a dot in it |
|
|
|
echo $ac_n "checking LD_LIBRARY_PATH variable""... $ac_c" 1>&6 |
|
|
|
echo "configure:1893: checking LD_LIBRARY_PATH variable" >&5 |
|
|
|
echo "configure:1869: checking LD_LIBRARY_PATH variable" >&5 |
|
|
|
case ${LD_LIBRARY_PATH} in |
|
|
|
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* ) |
|
|
|
ld_library_path_setting="contains current directory" |
|
|
|
@ -1909,7 +1885,7 @@ fi |
|
|
|
# Extract the first word of "bash", so it can be a program name with args. |
|
|
|
set dummy bash; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1913: checking for $ac_word" >&5 |
|
|
|
echo "configure:1889: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_BASH'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1917,11 +1893,8 @@ else |
|
|
|
/*) |
|
|
|
ac_cv_path_BASH="$BASH" # Let the user override the test with a path. |
|
|
|
;; |
|
|
|
?:/*) |
|
|
|
ac_cv_path_BASH="$BASH" # Let the user override the test with a dos path. |
|
|
|
;; |
|
|
|
*) |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -1954,7 +1927,7 @@ if test "$BASH" = no; then |
|
|
|
# Extract the first word of "ksh", so it can be a program name with args. |
|
|
|
set dummy ksh; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:1958: checking for $ac_word" >&5 |
|
|
|
echo "configure:1931: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_KSH'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -1962,11 +1935,8 @@ else |
|
|
|
/*) |
|
|
|
ac_cv_path_KSH="$KSH" # Let the user override the test with a path. |
|
|
|
;; |
|
|
|
?:/*) |
|
|
|
ac_cv_path_KSH="$KSH" # Let the user override the test with a dos path. |
|
|
|
;; |
|
|
|
*) |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -2003,14 +1973,14 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:2007: checking for $ac_word" >&5 |
|
|
|
echo "configure:1977: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
if test -n "$AWK"; then |
|
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
|
else |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -2036,7 +2006,7 @@ do |
|
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
|
|
|
echo "configure:2040: checking for $ac_word" >&5 |
|
|
|
echo "configure:2010: checking for $ac_word" >&5 |
|
|
|
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2044,11 +2014,8 @@ else |
|
|
|
/*) |
|
|
|
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
|
;; |
|
|
|
?:/*) |
|
|
|
ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path. |
|
|
|
;; |
|
|
|
*) |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
|
|
for ac_dir in $PATH; do |
|
|
|
test -z "$ac_dir" && ac_dir=. |
|
|
|
if test -f $ac_dir/$ac_word; then |
|
|
|
@ -2074,7 +2041,7 @@ test -n "$PERL" || PERL="no" |
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6 |
|
|
|
echo "configure:2078: checking for signed size_t type" >&5 |
|
|
|
echo "configure:2045: checking for signed size_t type" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2098,12 +2065,12 @@ EOF |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6 |
|
|
|
echo "configure:2102: checking for libc-friendly stddef.h" >&5 |
|
|
|
echo "configure:2069: checking for libc-friendly stddef.h" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 2107 "configure" |
|
|
|
#line 2074 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
#define __need_size_t |
|
|
|
#define __need_wchar_t |
|
|
|
@ -2118,7 +2085,7 @@ size_t size; wchar_t wchar; |
|
|
|
if (&size == NULL || &wchar == NULL) abort (); |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:2122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
if { (eval echo configure:2089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
libc_cv_friendly_stddef=yes |
|
|
|
else |
|
|
|
@ -2137,7 +2104,7 @@ override stddef.h = # The installed <stddef.h> seems to be libc-friendly." |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6 |
|
|
|
echo "configure:2141: checking whether we need to use -P to assemble .S files" >&5 |
|
|
|
echo "configure:2108: checking whether we need to use -P to assemble .S files" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2160,7 +2127,7 @@ asm-CPPFLAGS = -P # The assembler can't grok cpp's # line directives." |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2164: checking for assembler global-symbol directive" >&5 |
|
|
|
echo "configure:2131: checking for assembler global-symbol directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2190,7 +2157,7 @@ EOF |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2194: checking for .set assembler directive" >&5 |
|
|
|
echo "configure:2161: checking for .set assembler directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2224,7 +2191,7 @@ EOF |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for .symver assembler directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2228: checking for .symver assembler directive" >&5 |
|
|
|
echo "configure:2195: checking for .symver assembler directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_symver_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2243,7 +2210,7 @@ fi |
|
|
|
|
|
|
|
echo "$ac_t""$libc_cv_asm_symver_directive" 1>&6 |
|
|
|
echo $ac_n "checking for ld --version-script""... $ac_c" 1>&6 |
|
|
|
echo "configure:2247: checking for ld --version-script" >&5 |
|
|
|
echo "configure:2214: checking for ld --version-script" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_ld_version_script_option'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2266,7 +2233,7 @@ EOF |
|
|
|
if { ac_try='${CC-cc} $CFLAGS -shared -o conftest.so conftest.o |
|
|
|
-nostartfiles -nostdlib |
|
|
|
-Wl,--version-script,conftest.map |
|
|
|
1>&5'; { (eval echo configure:2270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; |
|
|
|
1>&5'; { (eval echo configure:2237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; |
|
|
|
then |
|
|
|
libc_cv_ld_version_script_option=yes |
|
|
|
else |
|
|
|
@ -2304,7 +2271,7 @@ if test $VERSIONING = no; then |
|
|
|
fi |
|
|
|
if test $elf = yes; then |
|
|
|
echo $ac_n "checking for .previous assembler directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2308: checking for .previous assembler directive" >&5 |
|
|
|
echo "configure:2275: checking for .previous assembler directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_previous_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2312,7 +2279,7 @@ else |
|
|
|
.section foo_section |
|
|
|
.previous |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
libc_cv_asm_previous_directive=yes |
|
|
|
else |
|
|
|
libc_cv_asm_previous_directive=no |
|
|
|
@ -2328,7 +2295,7 @@ EOF |
|
|
|
|
|
|
|
else |
|
|
|
echo $ac_n "checking for .popsection assembler directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2332: checking for .popsection assembler directive" >&5 |
|
|
|
echo "configure:2299: checking for .popsection assembler directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_popsection_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2336,7 +2303,7 @@ else |
|
|
|
.pushsection foo_section |
|
|
|
.popsection |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:2340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'; { (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
libc_cv_asm_popsection_directive=yes |
|
|
|
else |
|
|
|
libc_cv_asm_popsection_directive=no |
|
|
|
@ -2356,12 +2323,12 @@ fi |
|
|
|
|
|
|
|
if test $elf != yes; then |
|
|
|
echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6 |
|
|
|
echo "configure:2360: checking for .init and .fini sections" >&5 |
|
|
|
echo "configure:2327: checking for .init and .fini sections" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 2365 "configure" |
|
|
|
#line 2332 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
|
|
|
|
int main() { |
|
|
|
@ -2370,7 +2337,7 @@ asm (".section .init"); |
|
|
|
asm (".text"); |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:2374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
if { (eval echo configure:2341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
libc_cv_have_initfini=yes |
|
|
|
else |
|
|
|
@ -2398,19 +2365,19 @@ if test $elf = yes; then |
|
|
|
else |
|
|
|
if test $ac_cv_prog_cc_works = yes; then |
|
|
|
echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6 |
|
|
|
echo "configure:2402: checking for _ prefix on C symbol names" >&5 |
|
|
|
echo "configure:2369: checking for _ prefix on C symbol names" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 2407 "configure" |
|
|
|
#line 2374 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
asm ("_glibc_foobar:"); |
|
|
|
int main() { |
|
|
|
glibc_foobar (); |
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:2414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
|
|
|
if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
|
|
|
rm -rf conftest* |
|
|
|
libc_cv_asm_underscores=yes |
|
|
|
else |
|
|
|
@ -2425,17 +2392,17 @@ fi |
|
|
|
echo "$ac_t""$libc_cv_asm_underscores" 1>&6 |
|
|
|
else |
|
|
|
echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6 |
|
|
|
echo "configure:2429: checking for _ prefix on C symbol names" >&5 |
|
|
|
echo "configure:2396: checking for _ prefix on C symbol names" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 2434 "configure" |
|
|
|
#line 2401 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
void underscore_test(void) { |
|
|
|
return; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:2439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
if { (eval echo configure:2406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
if grep _underscore_test conftest* >/dev/null; then |
|
|
|
rm -f conftest* |
|
|
|
libc_cv_asm_underscores=yes |
|
|
|
@ -2467,7 +2434,7 @@ if test $elf = yes; then |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2471: checking for assembler .weak directive" >&5 |
|
|
|
echo "configure:2438: checking for assembler .weak directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2490,7 +2457,7 @@ echo "$ac_t""$libc_cv_asm_weak_directive" 1>&6 |
|
|
|
|
|
|
|
if test $libc_cv_asm_weak_directive = no; then |
|
|
|
echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2494: checking for assembler .weakext directive" >&5 |
|
|
|
echo "configure:2461: checking for assembler .weakext directive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2528,7 +2495,7 @@ EOF |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6 |
|
|
|
echo "configure:2532: checking for ld --no-whole-archive" >&5 |
|
|
|
echo "configure:2499: checking for ld --no-whole-archive" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2539,7 +2506,7 @@ __throw () {} |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} $CFLAGS |
|
|
|
-nostdlib -nostartfiles -Wl,--no-whole-archive |
|
|
|
-o conftest conftest.c 1>&5'; { (eval echo configure:2543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
-o conftest conftest.c 1>&5'; { (eval echo configure:2510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
libc_cv_ld_no_whole_archive=yes |
|
|
|
else |
|
|
|
libc_cv_ld_no_whole_archive=no |
|
|
|
@ -2553,7 +2520,7 @@ if test $libc_cv_ld_no_whole_archive = yes; then |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for gcc -fexceptions""... $ac_c" 1>&6 |
|
|
|
echo "configure:2557: checking for gcc -fexceptions" >&5 |
|
|
|
echo "configure:2524: checking for gcc -fexceptions" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_gcc_exceptions'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2564,7 +2531,7 @@ __throw () {} |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} $CFLAGS |
|
|
|
-nostdlib -nostartfiles -fexceptions |
|
|
|
-o conftest conftest.c 1>&5'; { (eval echo configure:2568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
-o conftest conftest.c 1>&5'; { (eval echo configure:2535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
libc_cv_gcc_exceptions=yes |
|
|
|
else |
|
|
|
libc_cv_gcc_exceptions=no |
|
|
|
@ -2579,14 +2546,14 @@ fi |
|
|
|
|
|
|
|
if test "$base_machine" = alpha ; then |
|
|
|
echo $ac_n "checking for function ..ng prefix""... $ac_c" 1>&6 |
|
|
|
echo "configure:2583: checking for function ..ng prefix" >&5 |
|
|
|
echo "configure:2550: checking for function ..ng prefix" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_gcc_alpha_ng_prefix'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.c <<\EOF |
|
|
|
foo () { } |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo..ng" > /dev/null'; { (eval echo configure:2590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; |
|
|
|
if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo..ng" > /dev/null'; { (eval echo configure:2557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; |
|
|
|
then |
|
|
|
libc_cv_gcc_alpha_ng_prefix=yes |
|
|
|
else |
|
|
|
@ -2613,19 +2580,19 @@ if test "$host_cpu" = powerpc ; then |
|
|
|
# Check for a bug present in at least versions 2.8.x of GCC |
|
|
|
# and versions 1.0.x of EGCS. |
|
|
|
echo $ac_n "checking whether clobbering cr0 causes problems""... $ac_c" 1>&6 |
|
|
|
echo "configure:2617: checking whether clobbering cr0 causes problems" >&5 |
|
|
|
echo "configure:2584: checking whether clobbering cr0 causes problems" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_c_asmcr0_bug'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.$ac_ext <<EOF |
|
|
|
#line 2622 "configure" |
|
|
|
#line 2589 "configure" |
|
|
|
#include "confdefs.h" |
|
|
|
int tester(int x) { asm ("" : : : "cc"); return x & 123; } |
|
|
|
int main() { |
|
|
|
|
|
|
|
; return 0; } |
|
|
|
EOF |
|
|
|
if { (eval echo configure:2629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
if { (eval echo configure:2596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
|
|
rm -rf conftest* |
|
|
|
libc_cv_c_asmcr0_bug='no' |
|
|
|
else |
|
|
|
@ -2647,12 +2614,12 @@ fi |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking for DWARF2 unwind info support""... $ac_c" 1>&6 |
|
|
|
echo "configure:2651: checking for DWARF2 unwind info support" >&5 |
|
|
|
echo "configure:2618: checking for DWARF2 unwind info support" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_gcc_dwarf2_unwind_info'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
cat > conftest.c <<EOF |
|
|
|
#line 2656 "configure" |
|
|
|
#line 2623 "configure" |
|
|
|
static char __EH_FRAME_BEGIN__; |
|
|
|
_start () |
|
|
|
{ |
|
|
|
@ -2679,7 +2646,7 @@ __bzero () {} |
|
|
|
EOF |
|
|
|
if { ac_try='${CC-cc} $CFLAGS -DCHECK__register_frame_info |
|
|
|
-nostdlib -nostartfiles |
|
|
|
-o conftest conftest.c -lgcc >&5'; { (eval echo configure:2683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
-o conftest conftest.c -lgcc >&5'; { (eval echo configure:2650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
libc_cv_gcc_dwarf2_unwind_info=static |
|
|
|
else |
|
|
|
libc_cv_gcc_dwarf2_unwind_info=no |
|
|
|
@ -2687,7 +2654,7 @@ fi |
|
|
|
if test $libc_cv_gcc_dwarf2_unwind_info = no; then |
|
|
|
if { ac_try='${CC-cc} $CFLAGS -DCHECK__register_frame |
|
|
|
-nostdlib -nostartfiles |
|
|
|
-o conftest conftest.c -lgcc >&5'; { (eval echo configure:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
-o conftest conftest.c -lgcc >&5'; { (eval echo configure:2658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then |
|
|
|
libc_cv_gcc_dwarf2_unwind_info=yes |
|
|
|
else |
|
|
|
libc_cv_gcc_dwarf2_unwind_info=no |
|
|
|
@ -2761,7 +2728,7 @@ if test "$uname" = "sysdeps/generic"; then |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking OS release for uname""... $ac_c" 1>&6 |
|
|
|
echo "configure:2765: checking OS release for uname" >&5 |
|
|
|
echo "configure:2732: checking OS release for uname" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2783,7 +2750,7 @@ echo "$ac_t""$libc_cv_uname_release" 1>&6 |
|
|
|
uname_release="$libc_cv_uname_release" |
|
|
|
|
|
|
|
echo $ac_n "checking OS version for uname""... $ac_c" 1>&6 |
|
|
|
echo "configure:2787: checking OS version for uname" >&5 |
|
|
|
echo "configure:2754: checking OS version for uname" >&5 |
|
|
|
if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2805,7 +2772,7 @@ else |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking stdio selection""... $ac_c" 1>&6 |
|
|
|
echo "configure:2809: checking stdio selection" >&5 |
|
|
|
echo "configure:2776: checking stdio selection" >&5 |
|
|
|
|
|
|
|
case $stdio in |
|
|
|
libio) cat >> confdefs.h <<\EOF |
|
|
|
@ -2819,7 +2786,7 @@ echo "$ac_t""$stdio" 1>&6 |
|
|
|
# Test for old glibc 2.0.x headers so that they can be removed properly |
|
|
|
# Search only in includedir. |
|
|
|
echo $ac_n "checking for old glibc 2.0.x headers""... $ac_c" 1>&6 |
|
|
|
echo "configure:2823: checking for old glibc 2.0.x headers" >&5 |
|
|
|
echo "configure:2790: checking for old glibc 2.0.x headers" >&5 |
|
|
|
if eval test -f "${includedir}/elfclass.h" -a -f "${includedir}/fcntlbits.h" |
|
|
|
then |
|
|
|
old_glibc_headers=yes |
|
|
|
@ -2873,7 +2840,7 @@ if test $shared = default; then |
|
|
|
fi |
|
|
|
|
|
|
|
echo $ac_n "checking whether -fPIC is default""... $ac_c" 1>&6 |
|
|
|
echo "configure:2877: checking whether -fPIC is default" >&5 |
|
|
|
echo "configure:2844: checking whether -fPIC is default" >&5 |
|
|
|
if eval "test \"`echo '$''{'pic_default'+set}'`\" = set"; then |
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
|
else |
|
|
|
@ -2940,7 +2907,7 @@ EOF |
|
|
|
# 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) 2>&1 | grep ac_space` in |
|
|
|
case `(ac_space=' '; set) 2>&1` in |
|
|
|
*ac_space=\ *) |
|
|
|
# `set' does not quote correctly, so add quotes (double-quote substitution |
|
|
|
# turns \\\\ into \\, and sed turns \\ into \). |
|
|
|
@ -3007,7 +2974,7 @@ do |
|
|
|
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
|
|
|
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
|
|
|
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.12.2" |
|
|
|
echo "$CONFIG_STATUS generated by autoconf version 2.12" |
|
|
|
exit 0 ;; |
|
|
|
-help | --help | --hel | --he | --h) |
|
|
|
echo "\$ac_cs_usage"; exit 0 ;; |
|
|
|
@ -3027,7 +2994,6 @@ sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
|
|
|
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
|
|
|
$ac_vpsub |
|
|
|
$extrasub |
|
|
|
s%@SHELL@%$SHELL%g |
|
|
|
s%@CFLAGS@%$CFLAGS%g |
|
|
|
s%@CPPFLAGS@%$CPPFLAGS%g |
|
|
|
s%@CXXFLAGS@%$CXXFLAGS%g |
|
|
|
|