mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Regenerated: autoconf sysdeps/unix/configure.in
This commit is contained in:
parent
c28fb3c893
commit
f55814ff6c
182
configure
vendored
182
configure
vendored
@ -424,12 +424,12 @@ trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2
|
||||
# 2 errors and warnings
|
||||
# 3 some systems may open it to /dev/tty
|
||||
# 4 used on the Kubota Titan
|
||||
# 4 checking for... messages and results
|
||||
# 6 checking for... messages and results
|
||||
# 5 compiler messages saved in config.log
|
||||
if test "$silent" = yes; then
|
||||
exec 4>/dev/null
|
||||
exec 6>/dev/null
|
||||
else
|
||||
exec 4>&1
|
||||
exec 6>&1
|
||||
fi
|
||||
exec 5>./config.log
|
||||
|
||||
@ -682,7 +682,7 @@ 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>&4
|
||||
echo $ac_n "checking host system type""... $ac_c" 1>&6
|
||||
|
||||
host_alias=$host
|
||||
case "$host_alias" in
|
||||
@ -700,7 +700,7 @@ 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/'`
|
||||
echo "$ac_t""$host" 1>&4
|
||||
echo "$ac_t""$host" 1>&6
|
||||
|
||||
# We keep the original values in `$config_*' and never modify them, so we
|
||||
# can write them unchanged into config.make. Everything else uses
|
||||
@ -749,9 +749,9 @@ esac
|
||||
|
||||
# Compute the list of sysdep directories for this configuration.
|
||||
sysdep_dir=$srcdir/sysdeps
|
||||
echo $ac_n "checking sysdep dirs""... $ac_c" 1>&4
|
||||
echo $ac_n "checking sysdep dirs""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_sysdirs'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
# 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'`"
|
||||
@ -916,7 +916,7 @@ done
|
||||
libc_cv_sysdirs="$sysnames"
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_sysdirs" 1>&4
|
||||
echo "$ac_t""$libc_cv_sysdirs" 1>&6
|
||||
sysnames="$libc_cv_sysdirs"
|
||||
|
||||
# Find a good install program. We prefer a C program (faster),
|
||||
@ -929,10 +929,10 @@ echo "$ac_t""$libc_cv_sysdirs" 1>&4
|
||||
# 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>&4
|
||||
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
||||
if test -z "$INSTALL"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
||||
for ac_dir in $PATH; do
|
||||
@ -970,7 +970,7 @@ fi
|
||||
INSTALL="$ac_install_sh"
|
||||
fi
|
||||
fi
|
||||
echo "$ac_t""$INSTALL" 1>&4
|
||||
echo "$ac_t""$INSTALL" 1>&6
|
||||
|
||||
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
||||
# It thinks the first close brace ends the variable substitution.
|
||||
@ -982,9 +982,9 @@ if test "$INSTALL" = "${srcdir}/install-sh"; then
|
||||
# The makefiles need to use a different form to find it in $srcdir.
|
||||
INSTALL='$(..)./install-sh'
|
||||
fi
|
||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4
|
||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
rm -f conftestdata
|
||||
if ln -s X conftestdata 2>/dev/null
|
||||
@ -997,18 +997,18 @@ fi
|
||||
fi
|
||||
LN_S="$ac_cv_prog_LN_S"
|
||||
if test "$ac_cv_prog_LN_S" = "ln -s"; then
|
||||
echo "$ac_t""yes" 1>&4
|
||||
echo "$ac_t""yes" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
for ac_prog in msgfmt gmsgfmt
|
||||
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>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
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.
|
||||
@ -1026,9 +1026,9 @@ fi
|
||||
fi
|
||||
MSGFMT="$ac_cv_prog_MSGFMT"
|
||||
if test -n "$MSGFMT"; then
|
||||
echo "$ac_t""$MSGFMT" 1>&4
|
||||
echo "$ac_t""$MSGFMT" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
test -n "$MSGFMT" && break
|
||||
@ -1036,7 +1036,7 @@ done
|
||||
test -n "$MSGFMT" || MSGFMT=":"
|
||||
|
||||
|
||||
echo $ac_n "checking build system type""... $ac_c" 1>&4
|
||||
echo $ac_n "checking build system type""... $ac_c" 1>&6
|
||||
|
||||
build_alias=$build
|
||||
case "$build_alias" in
|
||||
@ -1051,7 +1051,7 @@ 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/'`
|
||||
echo "$ac_t""$build" 1>&4
|
||||
echo "$ac_t""$build" 1>&6
|
||||
|
||||
if test $host != $build; then
|
||||
ac_tool_prefix=${host_alias}-
|
||||
@ -1061,9 +1061,9 @@ fi
|
||||
|
||||
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
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.
|
||||
@ -1082,21 +1082,21 @@ fi
|
||||
fi
|
||||
CC="$ac_cv_prog_CC"
|
||||
if test -n "$CC"; then
|
||||
echo "$ac_t""$CC" 1>&4
|
||||
echo "$ac_t""$CC" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
|
||||
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&4
|
||||
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
||||
# On Suns, sometimes $CPP names a directory.
|
||||
if test -n "$CPP" && test -d "$CPP"; then
|
||||
CPP=
|
||||
fi
|
||||
if test -z "$CPP"; then
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
# This must be in double quotes, not single quotes, because CPP may get
|
||||
# substituted into the Makefile and "${CC-cc}" will confuse make.
|
||||
@ -1143,13 +1143,13 @@ fi
|
||||
else
|
||||
ac_cv_prog_CPP="$CPP"
|
||||
fi
|
||||
echo "$ac_t""$CPP" 1>&4
|
||||
echo "$ac_t""$CPP" 1>&6
|
||||
|
||||
# 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>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
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.
|
||||
@ -1168,18 +1168,18 @@ fi
|
||||
fi
|
||||
AR="$ac_cv_prog_AR"
|
||||
if test -n "$AR"; then
|
||||
echo "$ac_t""$AR" 1>&4
|
||||
echo "$ac_t""$AR" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
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>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
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.
|
||||
@ -1197,9 +1197,9 @@ fi
|
||||
fi
|
||||
RANLIB="$ac_cv_prog_RANLIB"
|
||||
if test -n "$RANLIB"; then
|
||||
echo "$ac_t""$RANLIB" 1>&4
|
||||
echo "$ac_t""$RANLIB" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
|
||||
@ -1207,9 +1207,9 @@ if test -z "$ac_cv_prog_RANLIB"; then
|
||||
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>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
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.
|
||||
@ -1228,9 +1228,9 @@ fi
|
||||
fi
|
||||
RANLIB="$ac_cv_prog_RANLIB"
|
||||
if test -n "$RANLIB"; then
|
||||
echo "$ac_t""$RANLIB" 1>&4
|
||||
echo "$ac_t""$RANLIB" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
else
|
||||
@ -1240,9 +1240,9 @@ fi
|
||||
|
||||
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
if test -n "$OBJDUMP"; then
|
||||
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
|
||||
@ -1261,18 +1261,18 @@ fi
|
||||
fi
|
||||
OBJDUMP="$ac_cv_prog_OBJDUMP"
|
||||
if test -n "$OBJDUMP"; then
|
||||
echo "$ac_t""$OBJDUMP" 1>&4
|
||||
echo "$ac_t""$OBJDUMP" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}objcopy; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
if test -n "$OBJCOPY"; then
|
||||
ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
|
||||
@ -1291,9 +1291,9 @@ fi
|
||||
fi
|
||||
OBJCOPY="$ac_cv_prog_OBJCOPY"
|
||||
if test -n "$OBJCOPY"; then
|
||||
echo "$ac_t""$OBJCOPY" 1>&4
|
||||
echo "$ac_t""$OBJCOPY" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
|
||||
@ -1302,9 +1302,9 @@ for ac_prog in mawk gawk nawk awk
|
||||
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>&4
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
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.
|
||||
@ -1322,18 +1322,18 @@ fi
|
||||
fi
|
||||
AWK="$ac_cv_prog_AWK"
|
||||
if test -n "$AWK"; then
|
||||
echo "$ac_t""$AWK" 1>&4
|
||||
echo "$ac_t""$AWK" 1>&6
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
test -n "$AWK" && break
|
||||
done
|
||||
|
||||
|
||||
echo $ac_n "checking for signed size_t type""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for signed size_t type""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_signed_size_t'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
echo '#include <stddef.h>
|
||||
FOOBAR __SIZE_TYPE__ FOOBAR' > conftest.c
|
||||
@ -1346,7 +1346,7 @@ fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_signed_size_t" 1>&4
|
||||
echo "$ac_t""$libc_cv_signed_size_t" 1>&6
|
||||
if test $libc_cv_signed_size_t = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#undef __SIZE_TYPE__
|
||||
@ -1354,9 +1354,9 @@ if test $libc_cv_signed_size_t = yes; then
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for libc-friendly stddef.h""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1363 "configure"
|
||||
@ -1386,15 +1386,15 @@ rm -f conftest*
|
||||
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_friendly_stddef" 1>&4
|
||||
echo "$ac_t""$libc_cv_friendly_stddef" 1>&6
|
||||
if test $libc_cv_friendly_stddef = yes; then
|
||||
config_vars="$config_vars
|
||||
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>&4
|
||||
echo $ac_n "checking whether we need to use -P to assemble .S files""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_need_minus_P'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.S <<EOF
|
||||
#include "confdefs.h"
|
||||
@ -1408,15 +1408,15 @@ fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_need_minus_P" 1>&4
|
||||
echo "$ac_t""$libc_cv_need_minus_P" 1>&6
|
||||
if test $libc_cv_need_minus_P = yes; then
|
||||
config_vars="$config_vars
|
||||
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>&4
|
||||
echo $ac_n "checking for assembler global-symbol directive""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_asm_global_directive'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
libc_cv_asm_global_directive=UNKNOWN
|
||||
for ac_globl in .globl .global; do
|
||||
@ -1433,7 +1433,7 @@ EOF
|
||||
done
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_asm_global_directive" 1>&4
|
||||
echo "$ac_t""$libc_cv_asm_global_directive" 1>&6
|
||||
if test $libc_cv_asm_global_directive = UNKNOWN; then
|
||||
{ echo "configure: error: cannot determine asm global directive" 1>&2; exit 1; }
|
||||
else
|
||||
@ -1443,9 +1443,9 @@ EOF
|
||||
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for .set assembler directive""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_asm_set_directive'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.s <<EOF
|
||||
.text
|
||||
@ -1468,7 +1468,7 @@ fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_asm_set_directive" 1>&4
|
||||
echo "$ac_t""$libc_cv_asm_set_directive" 1>&6
|
||||
if test $libc_cv_asm_set_directive = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_ASM_SET_DIRECTIVE 1
|
||||
@ -1477,9 +1477,9 @@ EOF
|
||||
fi
|
||||
|
||||
if test $elf != yes; then
|
||||
echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for .init and .fini sections""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1486 "configure"
|
||||
@ -1502,7 +1502,7 @@ rm -f conftest*
|
||||
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_have_initfini" 1>&4
|
||||
echo "$ac_t""$libc_cv_have_initfini" 1>&6
|
||||
if test $libc_cv_have_initfini = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_INITFINI 1
|
||||
@ -1514,9 +1514,9 @@ fi
|
||||
if test $elf = yes; then
|
||||
libc_cv_asm_underscores=no
|
||||
else
|
||||
echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for _ prefix on C symbol names""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 1523 "configure"
|
||||
@ -1538,7 +1538,7 @@ rm -f conftest*
|
||||
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_asm_underscores" 1>&4
|
||||
echo "$ac_t""$libc_cv_asm_underscores" 1>&6
|
||||
fi
|
||||
if test $libc_cv_asm_underscores = no; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
@ -1552,9 +1552,9 @@ if test $elf = yes; then
|
||||
libc_cv_asm_weak_directive=yes
|
||||
libc_cv_asm_weakext_directive=no
|
||||
else
|
||||
echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for assembler .weak directive""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_asm_weak_directive'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.s <<EOF
|
||||
.text
|
||||
@ -1571,12 +1571,12 @@ EOF
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_asm_weak_directive" 1>&4
|
||||
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>&4
|
||||
echo $ac_n "checking for assembler .weakext directive""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_asm_weakext_directive'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.s <<EOF
|
||||
.text
|
||||
@ -1593,7 +1593,7 @@ EOF
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_asm_weakext_directive" 1>&4
|
||||
echo "$ac_t""$libc_cv_asm_weakext_directive" 1>&6
|
||||
|
||||
fi # no .weak
|
||||
fi # not ELF
|
||||
@ -1610,9 +1610,9 @@ EOF
|
||||
|
||||
fi
|
||||
|
||||
echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for ld --no-whole-archive""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.c <<\EOF
|
||||
main () { exit (0); }
|
||||
@ -1626,7 +1626,7 @@ fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&4
|
||||
echo "$ac_t""$libc_cv_ld_no_whole_archive" 1>&6
|
||||
|
||||
### End of automated tests.
|
||||
### Now run sysdeps configure fragments.
|
||||
@ -1640,7 +1640,7 @@ libc_link_sources=
|
||||
uname=
|
||||
for dir in $sysnames; do
|
||||
if test -r $sysdep_dir/$dir/configure; then
|
||||
echo "$ac_t""running configure fragment for $dir" 1>&4
|
||||
echo "$ac_t""running configure fragment for $dir" 1>&6
|
||||
. $sysdep_dir/$dir/configure
|
||||
fi
|
||||
|
||||
@ -1665,9 +1665,9 @@ if test "$uname" = generic; then
|
||||
config_release=`echo $config_os | sed s/$uname_sysname//`
|
||||
fi
|
||||
|
||||
echo $ac_n "checking OS release for uname""... $ac_c" 1>&4
|
||||
echo $ac_n "checking OS release for uname""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_uname_release'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
kernel_release=`echo "$kernel_id" | sed 's/^[^0-9.]*\([0-9.]*\).*$/\1/'`
|
||||
if test x`echo "$config_release" | sed "s/^$kernel_release//"` \
|
||||
@ -1683,12 +1683,12 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_uname_release" 1>&4
|
||||
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>&4
|
||||
echo $ac_n "checking OS version for uname""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_uname_version'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
kernel_version=`echo "$kernel_id" | sed 's/^[^#]*#\([0-9]*\).*$/\1/'`
|
||||
if test -n "$kernel_version"; then
|
||||
@ -1698,7 +1698,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_uname_version" 1>&4
|
||||
echo "$ac_t""$libc_cv_uname_version" 1>&6
|
||||
uname_version="$libc_cv_uname_version"
|
||||
|
||||
config_uname=config-name.h:config-name.in
|
||||
@ -1707,7 +1707,7 @@ else
|
||||
config_uname=
|
||||
fi
|
||||
|
||||
echo $ac_n "checking stdio selection""... $ac_c" 1>&4
|
||||
echo $ac_n "checking stdio selection""... $ac_c" 1>&6
|
||||
|
||||
case $stdio in
|
||||
libio) cat >> confdefs.h <<\EOF
|
||||
@ -1716,7 +1716,7 @@ EOF
|
||||
;;
|
||||
default) stdio=stdio ;;
|
||||
esac
|
||||
echo "$ac_t""$stdio" 1>&4
|
||||
echo "$ac_t""$stdio" 1>&6
|
||||
|
||||
|
||||
if test $gnu_ld = yes; then
|
||||
|
16
sysdeps/generic/configure
vendored
16
sysdeps/generic/configure
vendored
@ -3,9 +3,9 @@ if test -z "$inhibit_glue"; then
|
||||
# For signame.c, used in make_siglist.
|
||||
for ac_func in psignal
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 12 "configure"
|
||||
@ -14,7 +14,9 @@ else
|
||||
which can conflict with char $ac_func(); below. */
|
||||
#include <assert.h>
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
char $ac_func();
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char $ac_func();
|
||||
|
||||
int main() { return 0; }
|
||||
int t() {
|
||||
@ -30,7 +32,7 @@ $ac_func();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if eval $ac_link; then
|
||||
if { (eval echo configure:36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
@ -41,14 +43,14 @@ rm -f conftest*
|
||||
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&4
|
||||
ac_tr_func=HAVE_`echo $ac_func | tr '[a-z]' '[A-Z]'`
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
||||
cat >> confdefs.h <<EOF
|
||||
#define $ac_tr_func 1
|
||||
EOF
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&4
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
done
|
||||
|
||||
|
4
sysdeps/mach/configure
vendored
4
sysdeps/mach/configure
vendored
@ -5,8 +5,8 @@
|
||||
ac_help="$ac_help
|
||||
--with-mach=DIRECTORY find Mach kernel source code in DIRECTORY [../mach]"
|
||||
# Check whether --with-mach or --without-mach was given.
|
||||
withval="$with_mach"
|
||||
if test -n "$withval"; then
|
||||
if test "${with_mach+set}" = set; then
|
||||
withval="$with_mach"
|
||||
case z"$with_mach" in
|
||||
z | zno | zyes) ;; # Not specified, or specified with no value.
|
||||
z*) config_vars="$config_vars
|
||||
|
4
sysdeps/mach/hurd/configure
vendored
4
sysdeps/mach/hurd/configure
vendored
@ -5,8 +5,8 @@
|
||||
ac_help="$ac_help
|
||||
--with-hurd=DIRECTORY find Hurd source code in DIRECTORY [../hurd]"
|
||||
# Check whether --with-hurd or --without-hurd was given.
|
||||
withval="$with_hurd"
|
||||
if test -n "$withval"; then
|
||||
if test "${with_hurd+set}" = set; then
|
||||
withval="$with_hurd"
|
||||
case z"$with_hurd" in
|
||||
z | zno | zyes) ;; # Not specified, or specified with no value.
|
||||
z*) config_vars="$config_vars
|
||||
|
24
sysdeps/unix/common/configure
vendored
24
sysdeps/unix/common/configure
vendored
@ -2,9 +2,9 @@
|
||||
if test -z "$inhibit_glue"; then
|
||||
|
||||
# Find out what this system calls `sys_siglist'.
|
||||
echo $ac_n "checking for sys_siglist""... $ac_c" 1>&4
|
||||
echo $ac_n "checking for sys_siglist""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_check_symbol_sys_siglist'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 11 "configure"
|
||||
@ -15,7 +15,7 @@ int t() {
|
||||
extern char *sys_siglist[]; puts(*sys_siglist);
|
||||
; return 0; }
|
||||
EOF
|
||||
if eval $ac_link; then
|
||||
if { (eval echo configure:19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_check_symbol_sys_siglist=yes
|
||||
else
|
||||
@ -33,10 +33,10 @@ if test "$ac_cv_check_symbol_sys_siglist" = yes; then
|
||||
EOF
|
||||
|
||||
fi
|
||||
echo "$ac_t""$ac_cv_check_symbol_sys_siglist" 1>&4
|
||||
echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&4
|
||||
echo "$ac_t""$ac_cv_check_symbol_sys_siglist" 1>&6
|
||||
echo $ac_n "checking for _sys_siglist""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_check_symbol__sys_siglist'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 43 "configure"
|
||||
@ -47,7 +47,7 @@ int t() {
|
||||
extern char *_sys_siglist[]; puts(*_sys_siglist);
|
||||
; return 0; }
|
||||
EOF
|
||||
if eval $ac_link; then
|
||||
if { (eval echo configure:51: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_check_symbol__sys_siglist=yes
|
||||
else
|
||||
@ -65,13 +65,13 @@ if test "$ac_cv_check_symbol__sys_siglist" = yes; then
|
||||
EOF
|
||||
|
||||
fi
|
||||
echo "$ac_t""$ac_cv_check_symbol__sys_siglist" 1>&4
|
||||
echo "$ac_t""$ac_cv_check_symbol__sys_siglist" 1>&6
|
||||
|
||||
# Find out the name of the table the system's <ctype.h> uses for character
|
||||
# classification. This is used by sysdeps/unix/common/glue-ctype.c.
|
||||
echo $ac_n "checking ctype array name for glue""... $ac_c" 1>&4
|
||||
echo $ac_n "checking ctype array name for glue""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'libc_cv_ctype_glue'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&4
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
for ctype in _ctype_ __ctype_ __ctype _ctype__ _ctype _locp; do
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
@ -83,7 +83,7 @@ int t() {
|
||||
$ctype[13];
|
||||
; return 0; }
|
||||
EOF
|
||||
if eval $ac_link; then
|
||||
if { (eval echo configure:87: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
libc_cv_ctype_glue="$ctype"; break
|
||||
fi
|
||||
@ -92,7 +92,7 @@ rm -f conftest*
|
||||
done
|
||||
fi
|
||||
|
||||
echo "$ac_t""$libc_cv_ctype_glue" 1>&4
|
||||
echo "$ac_t""$libc_cv_ctype_glue" 1>&6
|
||||
cat >> confdefs.h <<EOF
|
||||
#define HAVE_`echo $libc_cv_ctype_glue | tr 'a-z' 'A-Z'` 1
|
||||
EOF
|
||||
|
58
sysdeps/unix/configure
vendored
Executable file
58
sysdeps/unix/configure
vendored
Executable file
@ -0,0 +1,58 @@
|
||||
# Local configure fragment for sysdeps/unix.
|
||||
|
||||
if test -z "$inhibit_glue"; then
|
||||
# For make_errlist.c, used in make_errlist.
|
||||
for ac_func in strerror
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 13 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
#include <assert.h>
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
builtin and then its argument prototype would still apply. */
|
||||
char $ac_func();
|
||||
|
||||
int main() { return 0; }
|
||||
int t() {
|
||||
|
||||
/* The GNU C library defines this for functions which it implements
|
||||
to always fail with ENOSYS. Some functions are actually named
|
||||
something starting with __ and the normal name is an alias. */
|
||||
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
||||
choke me
|
||||
#else
|
||||
$ac_func();
|
||||
#endif
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=no"
|
||||
fi
|
||||
rm -f conftest*
|
||||
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
||||
cat >> confdefs.h <<EOF
|
||||
#define $ac_tr_func 1
|
||||
EOF
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
done
|
||||
|
||||
fi
|
Loading…
Reference in New Issue
Block a user