mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
Reran autoconf.
This commit is contained in:
parent
59bb0800df
commit
a1795032ca
@ -404,9 +404,6 @@
|
||||
/* Define if you have the readlink function. */
|
||||
#undef HAVE_READLINK
|
||||
|
||||
/* Define if you have the rint function. */
|
||||
#undef HAVE_RINT
|
||||
|
||||
/* Define if you have the select function. */
|
||||
#undef HAVE_SELECT
|
||||
|
||||
|
128
configure
vendored
128
configure
vendored
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
# From configure.in Revision: 1.142
|
||||
# From configure.in Revision: 1.145
|
||||
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated automatically using autoconf version 2.13
|
||||
@ -5084,66 +5084,14 @@ fi
|
||||
# checks for system services
|
||||
# (none yet)
|
||||
|
||||
# Cope with the DB mess. If we detect libdba, assume it's a version 2
|
||||
# or later DB and should be linked first (before the DB 1.xx stuff in glibc).
|
||||
# Also define an appropriate symbol so we can conditionalize code in the
|
||||
# dbmmodule; the API has changed since 1.xx.
|
||||
echo $ac_n "checking for __db_mutex_lock in -ldba""... $ac_c" 1>&6
|
||||
echo "configure:5093: checking for __db_mutex_lock in -ldba" >&5
|
||||
ac_lib_var=`echo dba'_'__db_mutex_lock | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-ldba $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5101 "configure"
|
||||
#include "confdefs.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 __db_mutex_lock();
|
||||
|
||||
int main() {
|
||||
__db_mutex_lock()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=no"
|
||||
fi
|
||||
rm -f conftest*
|
||||
LIBS="$ac_save_LIBS"
|
||||
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
ac_tr_lib=HAVE_LIB`echo dba | sed -e 's/[^a-zA-Z0-9_]/_/g' \
|
||||
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
|
||||
cat >> confdefs.h <<EOF
|
||||
#define $ac_tr_lib 1
|
||||
EOF
|
||||
|
||||
LIBS="-ldba $LIBS"
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
|
||||
|
||||
# Linux requires this for correct f.p. operations
|
||||
echo $ac_n "checking for __fpu_control""... $ac_c" 1>&6
|
||||
echo "configure:5142: checking for __fpu_control" >&5
|
||||
echo "configure:5090: checking for __fpu_control" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func___fpu_control'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5147 "configure"
|
||||
#line 5095 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char __fpu_control(); below. */
|
||||
@ -5166,7 +5114,7 @@ __fpu_control();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func___fpu_control=yes"
|
||||
else
|
||||
@ -5184,7 +5132,7 @@ if eval "test \"`echo '$ac_cv_func_'__fpu_control`\" = yes"; then
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
echo $ac_n "checking for __fpu_control in -lieee""... $ac_c" 1>&6
|
||||
echo "configure:5188: checking for __fpu_control in -lieee" >&5
|
||||
echo "configure:5136: checking for __fpu_control in -lieee" >&5
|
||||
ac_lib_var=`echo ieee'_'__fpu_control | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -5192,7 +5140,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lieee $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5196 "configure"
|
||||
#line 5144 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
@ -5203,7 +5151,7 @@ int main() {
|
||||
__fpu_control()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
@ -5236,7 +5184,7 @@ fi
|
||||
|
||||
# Check for --with-fpectl
|
||||
echo $ac_n "checking for --with-fpectl""... $ac_c" 1>&6
|
||||
echo "configure:5240: checking for --with-fpectl" >&5
|
||||
echo "configure:5188: checking for --with-fpectl" >&5
|
||||
# Check whether --with-fpectl or --without-fpectl was given.
|
||||
if test "${with_fpectl+set}" = set; then
|
||||
withval="$with_fpectl"
|
||||
@ -5261,7 +5209,7 @@ BeOS) ;;
|
||||
*) LIBM=-lm
|
||||
esac
|
||||
echo $ac_n "checking for --with-libm=STRING""... $ac_c" 1>&6
|
||||
echo "configure:5265: checking for --with-libm=STRING" >&5
|
||||
echo "configure:5213: checking for --with-libm=STRING" >&5
|
||||
# Check whether --with-libm or --without-libm was given.
|
||||
if test "${with_libm+set}" = set; then
|
||||
withval="$with_libm"
|
||||
@ -5282,7 +5230,7 @@ fi
|
||||
# check for --with-libc=...
|
||||
|
||||
echo $ac_n "checking for --with-libc=STRING""... $ac_c" 1>&6
|
||||
echo "configure:5286: checking for --with-libc=STRING" >&5
|
||||
echo "configure:5234: checking for --with-libc=STRING" >&5
|
||||
# Check whether --with-libc or --without-libc was given.
|
||||
if test "${with_libc+set}" = set; then
|
||||
withval="$with_libc"
|
||||
@ -5306,12 +5254,12 @@ LIBS="$LIBS $LIBM"
|
||||
for ac_func in hypot
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:5310: checking for $ac_func" >&5
|
||||
echo "configure:5258: checking for $ac_func" >&5
|
||||
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 5315 "configure"
|
||||
#line 5263 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
@ -5334,7 +5282,7 @@ $ac_func();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
@ -5364,7 +5312,7 @@ LIBS=$LIBS_SAVE
|
||||
|
||||
# check for getopt
|
||||
echo $ac_n "checking for genuine getopt""... $ac_c" 1>&6
|
||||
echo "configure:5368: checking for genuine getopt" >&5
|
||||
echo "configure:5316: checking for genuine getopt" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getopt'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -5372,7 +5320,7 @@ else
|
||||
ac_cv_func_getopt=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5376 "configure"
|
||||
#line 5324 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
extern int optind, opterr, getopt();
|
||||
@ -5384,7 +5332,7 @@ int main() {
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_func_getopt=yes
|
||||
else
|
||||
@ -5402,7 +5350,7 @@ test $ac_cv_func_getopt = no && LIBOBJS="$LIBOBJS getopt.o"
|
||||
|
||||
# check whether malloc(0) returns NULL or not
|
||||
echo $ac_n "checking what malloc(0) returns""... $ac_c" 1>&6
|
||||
echo "configure:5406: checking what malloc(0) returns" >&5
|
||||
echo "configure:5354: checking what malloc(0) returns" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_malloc_zero'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -5410,7 +5358,7 @@ else
|
||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5414 "configure"
|
||||
#line 5362 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_STDLIB
|
||||
@ -5429,7 +5377,7 @@ main() {
|
||||
exit(0);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:5433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:5381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_malloc_zero=nonnull
|
||||
else
|
||||
@ -5455,17 +5403,17 @@ fi
|
||||
# check for wchar.h
|
||||
ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for wchar.h""... $ac_c" 1>&6
|
||||
echo "configure:5459: checking for wchar.h" >&5
|
||||
echo "configure:5407: checking for wchar.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5464 "configure"
|
||||
#line 5412 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <wchar.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:5417: \"$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
|
||||
rm -rf conftest*
|
||||
@ -5495,12 +5443,12 @@ fi
|
||||
# check for usable wchar_t
|
||||
usable_wchar_t="unkown"
|
||||
echo $ac_n "checking for usable wchar_t""... $ac_c" 1>&6
|
||||
echo "configure:5499: checking for usable wchar_t" >&5
|
||||
echo "configure:5447: checking for usable wchar_t" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5504 "configure"
|
||||
#line 5452 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include "wchar.h"
|
||||
@ -5514,7 +5462,7 @@ main() {
|
||||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:5518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:5466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
cat >> confdefs.h <<\EOF
|
||||
#define HAVE_USABLE_WCHAR_T 1
|
||||
@ -5533,14 +5481,14 @@ echo "$ac_t""$usable_wchar_t" 1>&6
|
||||
|
||||
# check for endianness
|
||||
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
||||
echo "configure:5537: checking whether byte ordering is bigendian" >&5
|
||||
echo "configure:5485: checking whether byte ordering is bigendian" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
ac_cv_c_bigendian=unknown
|
||||
# See if sys/param.h defines the BYTE_ORDER macro.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5544 "configure"
|
||||
#line 5492 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -5551,11 +5499,11 @@ int main() {
|
||||
#endif
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:5503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
# It does; now see whether it defined to BIG_ENDIAN or not.
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5559 "configure"
|
||||
#line 5507 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -5566,7 +5514,7 @@ int main() {
|
||||
#endif
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:5518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ac_cv_c_bigendian=yes
|
||||
else
|
||||
@ -5586,7 +5534,7 @@ if test "$cross_compiling" = yes; then
|
||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5590 "configure"
|
||||
#line 5538 "configure"
|
||||
#include "confdefs.h"
|
||||
main () {
|
||||
/* Are we little or big endian? From Harbison&Steele. */
|
||||
@ -5599,7 +5547,7 @@ main () {
|
||||
exit (u.c[sizeof (long) - 1] == 1);
|
||||
}
|
||||
EOF
|
||||
if { (eval echo configure:5603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:5551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_c_bigendian=no
|
||||
else
|
||||
@ -5626,7 +5574,7 @@ fi
|
||||
# Check whether right shifting a negative integer extends the sign bit
|
||||
# or fills with zeros (like the Cray J90, according to Tim Peters).
|
||||
echo $ac_n "checking whether right shift extends the sign bit""... $ac_c" 1>&6
|
||||
echo "configure:5630: checking whether right shift extends the sign bit" >&5
|
||||
echo "configure:5578: checking whether right shift extends the sign bit" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_rshift_extends_sign'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
@ -5635,7 +5583,7 @@ if test "$cross_compiling" = yes; then
|
||||
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5639 "configure"
|
||||
#line 5587 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main()
|
||||
@ -5644,7 +5592,7 @@ int main()
|
||||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:5648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:5596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
ac_cv_rshift_extends_sign=yes
|
||||
else
|
||||
@ -5676,12 +5624,12 @@ cat >> confdefs.h <<\EOF
|
||||
#endif
|
||||
EOF
|
||||
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
|
||||
echo "configure:5680: checking for socklen_t" >&5
|
||||
echo "configure:5628: checking for socklen_t" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5685 "configure"
|
||||
#line 5633 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/types.h>
|
||||
#if STDC_HEADERS
|
||||
@ -5813,6 +5761,7 @@ ac_given_srcdir=$srcdir
|
||||
trap 'rm -fr `echo "Makefile \
|
||||
Objects/Makefile \
|
||||
Parser/Makefile \
|
||||
Grammar/Makefile \
|
||||
Python/Makefile \
|
||||
Modules/Makefile.pre \
|
||||
Modules/Setup.config config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||
@ -5926,6 +5875,7 @@ cat >> $CONFIG_STATUS <<EOF
|
||||
CONFIG_FILES=\${CONFIG_FILES-"Makefile \
|
||||
Objects/Makefile \
|
||||
Parser/Makefile \
|
||||
Grammar/Makefile \
|
||||
Python/Makefile \
|
||||
Modules/Makefile.pre \
|
||||
Modules/Setup.config"}
|
||||
|
Loading…
Reference in New Issue
Block a user