• Home
  • Raw
  • Download

Lines Matching +full:ipv4 +full:- +full:no +full:- +full:config +full:- +full:for +full:- +full:cpp

3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for python 2.7.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
14 ## -------------------- ##
16 ## -------------------- ##
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
30 set -o posix ;; #(
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh -c $as_echo_n_body as_echo'
72 as_echo='sh -c $as_echo_body as_echo'
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # there to prevent editors from complaining about space-tab.
92 # Find who we are. Look in the path if we contain no directory separator.
97 for as_dir in $PATH
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 if test ! -f "$as_myself"; then
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121 for as_var in BASH_ENV ENV MAIL MAILPATH
139 # into an infinite loop, continuously re-executing ourselves.
141 _as_can_reexec=no; export _as_can_reexec;
143 # neutralization value for shells without unset; and this also
145 # Preserve -v and -x to the replacement shell.
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
174 set -o posix ;; #(
197 test -x / || exit 1"
206 as_have_required=no
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir=.
220 for as_base in sh bash ksh sh5; do
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244 # neutralization value for shells without unset; and this also
246 # Preserve -v and -x to the replacement shell.
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
280 SHELL=${CONFIG_SHELL-/bin/sh}
286 ## --------------------- ##
288 ## --------------------- ##
290 # ---------------
299 # -----------------------
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # -------------
323 -*) as_dir=./$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
333 as_dir=`$as_dirname -- "$as_dir" ||
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365 # -----------------------
369 test -f "$1" && test -x "$1"
372 # ----------------------
390 # ------------------
402 as_val=`expr "$@" || test $? -eq 1`
408 # ----------------------------------------
414 as_status=$1; test $as_status -eq 0 && as_status=1
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
442 as_me=`$as_basename -- "$0" ||
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
479 s/[$]LINENO.*/&-/
487 s/-\n.*//
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
495 _as_can_reexec=no; export _as_can_reexec
505 case `echo -n x` in #(((((
506 -n*)
514 ECHO_N='-n';;
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
521 rm -f conf$$.dir
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
536 as_ln_s='cp -pR'
539 as_ln_s='cp -pR'
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
547 test -d ./-p && rmdir ./-p
551 as_test_x='test -x'
554 # Sed expression to map a string onto a valid CPP name.
561 test -n "$DJDIR" || exec 7<&0 </dev/null
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 cross_compiling=no
590 # Factoring default headers for most tests.
706 CPP
842 CPP
899 for ac_option
902 if test -n "$ac_prev"; then
917 --)
920 -bindir | --bindir | --bindi | --bind | --bin | --bi)
922 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
925 -build | --build | --buil | --bui | --bu)
927 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
930 -cache-file | --cache-file | --cache-fil | --cache-fi \
931 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
933 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
934 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
937 --config-cache | -C)
938 cache_file=config.cache ;;
940 -datadir | --datadir | --datadi | --datad)
942 -datadir=* | --datadir=* | --datadi=* | --datad=*)
945 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
946 | --dataroo | --dataro | --datar)
948 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
949 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
952 -disable-* | --disable-*)
953 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
966 eval enable_$ac_useropt=no ;;
968 -docdir | --docdir | --docdi | --doc | --do)
970 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
973 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
975 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
978 -enable-* | --enable-*)
979 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
984 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
994 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
995 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
996 | --exec | --exe | --ex)
998 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
999 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1000 | --exec=* | --exe=* | --ex=*)
1003 -gas | --gas | --ga | --g)
1004 # Obsolete; use --with-gas.
1007 -help | --help | --hel | --he | -h)
1009 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1011 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1014 -host | --host | --hos | --ho)
1016 -host=* | --host=* | --hos=* | --ho=*)
1019 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1021 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1022 | --ht=*)
1025 -includedir | --includedir | --includedi | --included | --include \
1026 | --includ | --inclu | --incl | --inc)
1028 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1029 | --includ=* | --inclu=* | --incl=* | --inc=*)
1032 -infodir | --infodir | --infodi | --infod | --info | --inf)
1034 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1037 -libdir | --libdir | --libdi | --libd)
1039 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1042 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1043 | --libexe | --libex | --libe)
1045 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1046 | --libexe=* | --libex=* | --libe=*)
1049 -localedir | --localedir | --localedi | --localed | --locale)
1051 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1054 -localstatedir | --localstatedir | --localstatedi | --localstated \
1055 | --localstate | --localstat | --localsta | --localst | --locals)
1057 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1058 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1061 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1063 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1066 -nfp | --nfp | --nf)
1067 # Obsolete; use --without-fp.
1068 with_fp=no ;;
1070 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1071 | --no-cr | --no-c | -n)
1074 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1075 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1078 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1079 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1080 | --oldin | --oldi | --old | --ol | --o)
1082 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1083 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1084 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1087 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1089 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1092 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1093 | --program-pre | --program-pr | --program-p)
1095 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1096 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1099 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1100 | --program-suf | --program-su | --program-s)
1102 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1103 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1106 -program-transform-name | --program-transform-name \
1107 | --program-transform-nam | --program-transform-na \
1108 | --program-transform-n | --program-transform- \
1109 | --program-transform | --program-transfor \
1110 | --program-transfo | --program-transf \
1111 | --program-trans | --program-tran \
1112 | --progr-tra | --program-tr | --program-t)
1114 -program-transform-name=* | --program-transform-name=* \
1115 | --program-transform-nam=* | --program-transform-na=* \
1116 | --program-transform-n=* | --program-transform-=* \
1117 | --program-transform=* | --program-transfor=* \
1118 | --program-transfo=* | --program-transf=* \
1119 | --program-trans=* | --program-tran=* \
1120 | --progr-tra=* | --program-tr=* | --program-t=*)
1123 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1125 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1128 -psdir | --psdir | --psdi | --psd | --ps)
1130 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1133 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1134 | -silent | --silent | --silen | --sile | --sil)
1137 -runstatedir | --runstatedir | --runstatedi | --runstated \
1138 | --runstate | --runstat | --runsta | --runst | --runs \
1139 | --run | --ru | --r)
1141 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1142 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1143 | --run=* | --ru=* | --r=*)
1146 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1148 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1149 | --sbi=* | --sb=*)
1152 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1153 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1154 | --sharedst | --shareds | --shared | --share | --shar \
1155 | --sha | --sh)
1157 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1158 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1159 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1160 | --sha=* | --sh=*)
1163 -site | --site | --sit)
1165 -site=* | --site=* | --sit=*)
1168 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1170 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1173 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1174 | --syscon | --sysco | --sysc | --sys | --sy)
1176 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1177 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1180 -target | --target | --targe | --targ | --tar | --ta | --t)
1182 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1185 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1188 -version | --version | --versio | --versi | --vers | -V)
1191 -with-* | --with-*)
1192 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207 -without-* | --without-*)
1208 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1221 eval with_$ac_useropt=no ;;
1223 --x)
1224 # Obsolete; use --with-x.
1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1228 | --x-incl | --x-inc | --x-in | --x-i)
1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1241 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1242 Try \`$0 --help' for more information"
1249 '' | [0-9]* | *[!_$as_cr_alnum]* )
1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266 if test -n "$ac_prev"; then
1267 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1271 if test -n "$ac_unrecognized_opts"; then
1273 no) ;;
1279 # Check all directory arguments for consistency.
1280 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1297 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1301 # used to hold the argument of --host etc.
1317 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1322 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1323 ac_ls_di=`ls -di .` &&
1324 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331 if test -z "$srcdir"; then
1334 ac_confdir=`$as_dirname -- "$as_myself" ||
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1362 ac_srcdir_defaulted=no
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 # mess up M-x gdb in Emacs.
1382 for ac_var in $ac_precious_vars; do
1390 # Report the --help message.
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking ...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/python]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --build=BUILD configure for building on BUILD [guessed]
1456 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1457 --target=TARGET configure for building compilers for TARGET [HOST]
1461 if test -n "$ac_init_help"; then
1468 --disable-option-checking ignore unrecognized --enable/--with options
1469 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1470 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1471 --enable-universalsdk[=SDKDIR]
1473 --enable-framework[=INSTALLDIR]
1475 --enable-shared disable/enable building shared python library
1476 --enable-profiling enable C-level code profiling
1477 --enable-optimizations Enable expensive optimizations (PGO, maybe LTO,
1479 --enable-toolbox-glue disable/enable MacOSX glue code for extensions
1480 --enable-ipv6 Enable ipv6 (with ipv4) support
1481 --disable-ipv6 Disable ipv6 support
1482 --enable-big-digits[=BITS]
1483 use big digits for Python longs [[BITS=30]]
1484 --enable-unicode[=ucs[24]]
1488 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1489 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1490 --with-universal-archs=ARCH
1491 select architectures for universal build ("32-bit",
1492 "64-bit", "3-way", "intel", "intel-32", "intel-64",
1494 --with-framework-name=FRAMEWORK
1496 with --enable-framework
1497 --without-gcc never use gcc
1498 --with-icc build with icc
1499 --with-cxx-main=<compiler>
1502 --with-suffix=.exe set executable suffix
1503 --with-pydebug build with Py_DEBUG defined
1504 --with-lto Enable Link Time Optimization in PGO builds.
1506 --with-libs='lib1 ...' link against additional libs
1507 --with-system-expat build pyexpat module using an installed expat
1509 --with-system-ffi build _ctypes module using an installed ffi library
1510 --with-tcltk-includes='-I...'
1511 override search for Tcl and Tk include files
1512 --with-tcltk-libs='-L...'
1513 override search for Tcl and Tk libs
1514 --with-dbmliborder=db1:db2:...
1515 order to check db backends for dbm. Valid value is a
1518 --with-signal-module disable/enable signal module
1519 --with-dec-threads use DEC Alpha/OSF1 thread-safe libraries
1520 --with(out)-threads[=DIRECTORY]
1522 --with(out)-thread[=DIRECTORY]
1523 deprecated; use --with(out)-threads
1524 --with-pth use GNU pth threading libraries
1525 --with(out)-doc-strings disable/enable documentation strings
1526 --with(out)-tsc enable/disable timestamp counter profile
1527 --with(out)-pymalloc disable/enable specialized mallocs
1528 --with-valgrind Enable Valgrind support
1529 --with-wctype-functions use wctype.h functions
1530 --with-fpectl enable SIGFPE catching
1531 --with-libm=STRING math library
1532 --with-libc=STRING C library
1533 --with(out)-computed-gotos
1536 --with(out)-ensurepip=[=OPTION]
1538 "no"
1543 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1545 LIBS libraries to pass to the linker, e.g. -l<library>
1546 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1548 CPP C preprocessor
1549 PKG_CONFIG path to pkg-config utility
1551 directories to add to pkg-config's search path
1553 path overriding pkg-config's built-in search path
1564 # If there are subdirs, report their specific --help.
1565 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1566 test -d "$ac_dir" ||
1567 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1575 # A ".." for each directory in $ac_dir_suffix.
1584 # for backward compatibility:
1604 # Check for guested configure.
1605 if test -f "$ac_srcdir/configure.gnu"; then
1607 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1608 elif test -f "$ac_srcdir/configure"; then
1610 $SHELL "$ac_srcdir/configure" --help=recursive
1612 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1618 test -n "$ac_init_help" && exit $ac_status
1631 ## ------------------------ ##
1633 ## ------------------------ ##
1636 # --------------------------
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test -z "$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.$ac_objext; then :
1674 # ----------------------
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 if test -s conftest.err; then
1689 grep -v '^ *+' conftest.err >conftest.er1
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1711 # -------------------------------------------------------
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1720 $as_echo_n "checking for $2... " >&6; }
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 ac_header_compiler=no
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 ac_header_preproc=no
1757 rm -f conftest.err conftest.i conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1763 yes:no: )
1764 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1769 no:yes:* )
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1772 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
1773 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1776 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780 ( $as_echo "## --------------------------------------- ##
1782 ## --------------------------------------- ##"
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787 $as_echo_n "checking for $2... " >&6; }
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 # ----------------------
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844 # -------------------------------------------------------
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 eval "$3=no"
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1875 # -----------------------
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 rm -f conftest.$ac_objext conftest$ac_exeext
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 if test -s conftest.err; then
1891 grep -v '^ *+' conftest.err >conftest.er1
1893 mv -f conftest.er1 conftest.err
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test -z "$ac_c_werror_flag" ||
1898 test ! -s conftest.err
1899 } && test -s conftest$ac_exeext && {
1901 test -x conftest$ac_exeext
1914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1921 # -------------------------------------------
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928 $as_echo_n "checking for $2... " >&6; }
1932 eval "$3=no"
1933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 # ------------------------------------
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1982 $as_echo_n "checking for uint$2_t... " >&6; }
1986 eval "$3=no"
1987 # Order is important - never check a type that is potentially smaller
1989 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 if eval test \"x\$"$3"\" = x"no"; then :
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 # -----------------------------------
2034 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
2036 $as_echo_n "checking for int$2_t... " >&6; }
2040 eval "$3=no"
2041 # Order is important - never check a type that is potentially smaller
2043 for ac_type in int$2_t 'int' 'long int' \
2045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 enum { N = $2 / 2 - 1 };
2052 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 enum { N = $2 / 2 - 1 };
2068 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
2069 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
2087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 if eval test \"x\$"$3"\" = x"no"; then :
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105 # --------------------------------------------
2106 # Tries to find the compile-time value of EXPR in a program that includes
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 static int test_array [1 - 2 * !(($2) >= 0)];
2131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2149 if test $ac_lo -le $ac_mid; then
2155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 static int test_array [1 - 2 * !(($2) < 0)];
2173 ac_hi=-1 ac_mid=-1
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2192 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2193 if test $ac_mid -le $ac_hi; then
2199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2279 rm -f conftest.val
2288 # ----------------------------------
2292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2294 $as_echo_n "checking for $2... " >&6; }
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2324 /* The GNU C library defines this for functions which it implements
2342 eval "$3=no"
2344 rm -f core conftest.err conftest.$ac_objext \
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2355 # ----------------------------------------------------
2360 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2362 $as_echo_n "checking for $2.$3... " >&6; }
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 eval "$4=no"
2400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2412 # ---------------------------------------------
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 eval "$3=no"
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 cat >config.log <<_ACEOF
2466 exec 5>>config.log
2469 ## --------- ##
2471 ## --------- ##
2473 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2474 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2475 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2476 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2477 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2479 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2480 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2493 for as_dir in $PATH
2496 test -z "$as_dir" && as_dir=.
2506 ## ----------- ##
2508 ## ----------- ##
2514 # Strip out --no-create and --no-recursion so they do not pile up.
2515 # Strip out --silent because we don't want to record it for future runs.
2516 # Also quote any args containing shell meta-characters.
2517 # Make two passes to allow for proper duplicate-argument suppression.
2522 for ac_pass in 1 2
2524 for ac_arg
2527 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2529 | -silent | --silent | --silen | --sile | --sil)
2542 *=* | --config-cache | -C | -disable-* | --disable-* \
2543 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2544 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2545 | -with-* | --with-* | -without-* | --without-* | --x)
2550 -* ) ac_must_keep_next=true ;;
2562 # config.log. We remove comments because anyway the quotes in there
2567 # Save into config.log some information that might help in debugging.
2571 $as_echo "## ---------------- ##
2573 ## ---------------- ##"
2577 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2582 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2595 sed -n \
2600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2607 $as_echo "## ----------------- ##
2609 ## ----------------- ##"
2611 for ac_var in $ac_subst_vars
2621 if test -n "$ac_subst_files"; then
2622 $as_echo "## ------------------- ##
2624 ## ------------------- ##"
2626 for ac_var in $ac_subst_files
2637 if test -s confdefs.h; then
2638 $as_echo "## ----------- ##
2640 ## ----------- ##"
2649 rm -f core *.core core.conftest.* &&
2650 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2653 for ac_signal in 1 2 13 15; do
2659 rm -f -r conftest* confdefs.h
2694 if test -n "$CONFIG_SITE"; then
2695 # We do not want a PATH search for config.site.
2697 -*) ac_site_file1=./$CONFIG_SITE;;
2702 ac_site_file1=$prefix/share/config.site
2703 ac_site_file2=$prefix/etc/config.site
2705 ac_site_file1=$ac_default_prefix/share/config.site
2706 ac_site_file2=$ac_default_prefix/etc/config.site
2708 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2711 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2716 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2719 See \`config.log' for more details" "$LINENO" 5; }
2723 if test -r "$cache_file"; then
2726 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 for ac_var in $ac_precious_vars; do
2750 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
2754 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2764 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2768 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2778 # Pass precious variables to config.status.
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2793 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
2797 ## -------------------- ##
2799 ## -------------------- ##
2802 ac_cpp='$CPP $CPPFLAGS'
2803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2814 if test -f "$ac_dir/install-sh"; then
2816 ac_install_sh="$ac_aux_dir/install-sh -c"
2818 elif test -f "$ac_dir/install.sh"; then
2820 ac_install_sh="$ac_aux_dir/install.sh -c"
2822 elif test -f "$ac_dir/shtool"; then
2824 ac_install_sh="$ac_aux_dir/shtool install -c"
2828 if test -z "$ac_aux_dir"; then
2829 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
2836 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2837 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2841 # Make sure we can run config.sub.
2842 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2843 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2852 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2855 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2856 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2862 *-*-*) ;;
2866 ac_save_IFS=$IFS; IFS='-'
2876 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2887 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2888 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2895 *-*-*) ;;
2899 ac_save_IFS=$IFS; IFS='-'
2909 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2915 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
2916 rm -f pybuilddir.txt
2918 for ac_prog in python$PACKAGE_VERSION python3 python
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2927 if test -n "$PYTHON_FOR_REGEN"; then
2931 for as_dir in $PATH
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$PYTHON_FOR_REGEN"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2957 test -n "$PYTHON_FOR_REGEN" && break
2959 test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python interpreter for cross build" >&5
2965 $as_echo_n "checking for python interpreter for cross build... " >&6; }
2966 if test -z "$PYTHON_FOR_BUILD"; then
2967 for interp in python$PACKAGE_VERSION python2 python; do
2969 …if $interp -c 'import sys;sys.exit(not (sys.version_info[:2] >= (2,7) and sys.version_info[0] < 3)…
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
2979 …dir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && e…
2982 as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
2984 PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
2990 prefix=`echo "$prefix" | sed -e 's/\/$//g'`
2997 # with other autoconf-based packages that include Python.h
2998 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
3009 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
3015 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3022 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3035 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
3049 $as_echo_n "checking for --enable-universalsdk... " >&6; }
3050 # Check whether --enable-universalsdk was given.
3055 # Locate the best usable SDK, see Mac/README.txt for more
3057 enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
3058 if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
3061 if test ! -d "${enableval}"
3069 no)
3075 if test ! -d "${UNIVERSALSDK}"
3077 as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
3090 if test -n "${UNIVERSALSDK}"
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096 $as_echo "no" >&6; }
3103 # For backward compatibility reasons we prefer to select '32-bit' if available,
3105 UNIVERSAL_ARCHS="32-bit"
3106 if test "`uname -s`" = "Darwin"
3108 if test -n "${UNIVERSALSDK}"
3110 if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
3119 $as_echo_n "checking for --with-universal-archs... " >&6; }
3121 # Check whether --with-universal-archs was given.
3128 if test -n "${UNIVERSALSDK}"
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3138 # Check whether --with-framework-name was given.
3144 as_fn_error $? "--with-framework-name without --enable-framework. See Mac/README" "$LINENO" 5
3148 PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
3158 # Check whether --enable-framework was given.
3166 no)
3168 PYTHONFRAMEWORKDIR=no-framework
3218 # --prefix option, but wants to install
3219 # the framework in a non-default location,
3234 # Add files for Mac specific code to the list of output
3251 PYTHONFRAMEWORKDIR=no-framework
3281 ## AS_HELP_STRING([--with-dyld],
3284 # Set name for machine-dependent library files
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
3288 if test -z "$MACHDEP"
3290 # avoid using uname for cross builds
3292 # ac_sys_system and ac_sys_release are only used for setting
3293 # `define_xopen_source' in the case statement below. For the
3296 *-*-linux*)
3299 *-*-cygwin*)
3303 # for now, limit cross builds to known configurations
3305 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3309 ac_sys_system=`uname -s`
3311 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
3312 ac_sys_release=`uname -v`
3314 ac_sys_release=`uname -r`
3318 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
3320 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
3336 *-*-linux*)
3345 *-*-cygwin*)
3349 # for now, limit cross builds to known configurations
3351 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3353 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
3358 # features as extensions. For these systems, we skip the definition of
3360 # some feature, make sure there is no alternative way to access this
3362 # need for not defining _XOPEN_SOURCE on all systems matching the
3368 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3372 define_xopen_source=no
3391 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3392 define_xopen_source=no;;
3396 # for Python to use Solaris is simply to leave _XOPEN_SOURCE out
3399 define_xopen_source=no;;
3402 # Reconfirmed for 7.1.4 by Martin v. Loewis.
3403 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3404 define_xopen_source=no;;
3408 define_xopen_source=no;;
3410 # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them.
3412 define_xopen_source=no;;
3419 # has no effect, don't bother defining them
3421 define_xopen_source=no;;
3422 Darwin/1[0-9].*)
3423 define_xopen_source=no;;
3428 define_xopen_source=no;;
3430 if test `uname -r` -eq 1; then
3431 define_xopen_source=no
3437 define_xopen_source=no
3451 # cases for HP-UX, we define it globally.
3468 # thus supply support for various ABI/ISA combinations. The MACHDEP
3472 if test ! -z "$SGI_ABI"
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP" >&5
3482 PLATDIR=plat-$MACHDEP
3484 # And add extra plat-mac for darwin
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EXTRAPLATDIR" >&5
3489 if test -z "$EXTRAPLATDIR"
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRAPLATDIR" >&5
3505 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
3513 # checks for alternative programs
3516 # for debug/optimization stuff. BASECFLAGS is for flags that are required
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --without-gcc" >&5
3524 $as_echo_n "checking for --without-gcc... " >&6; }
3526 # Check whether --with-gcc was given.
3530 no) CC=${CC:-cc}
3533 without_gcc=no;;
3540 AIX*) CC=${CC:-xlc_r}
3547 BASECFLAGS="$BASECFLAGS -export pragma"
3548 OPT="$OPT -O"
3549 LDFLAGS="$LDFLAGS -nodup"
3553 without_gcc=no
3554 OPT="$OPT -O"
3563 *) without_gcc=no;;
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $without_gcc" >&5
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-icc" >&5
3571 $as_echo_n "checking for --with-icc... " >&6; }
3573 # Check whether --with-icc was given.
3577 no) CC=${CC:-cc}
3578 with_icc=no;;
3587 with_icc=no
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_icc" >&5
3594 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
3596 as_fn_error $? "cached CC is different -- throw away $cache_file
3606 # #error This header file is to be used only for c99 mode compilations
3609 # When autoconf tests for such a header, like stdint.h, this happens:
3611 # configure:4619: cc -c conftest.c >&5
3612 # cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5
3613 # #error directive: This header file is to be used only for c99 mode
3616 # #error This header file is to be used only for c99 mode compilations
3622 # Therefore, we use `-diag_error 1035` to have the compiler treat the
3623 # warning as an error, which causes cc to return a non-zero result,
3625 CFLAGS="$CFLAGS -diag_error 1035"
3628 if test -z "$CXX"; then
3637 ac_cpp='$CPP $CPPFLAGS'
3638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 if test -n "$ac_tool_prefix"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test -n "$CC"; then
3653 for as_dir in $PATH
3656 test -z "$as_dir" && as_dir=.
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 if test -n "$CC"; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3680 if test -z "$ac_cv_prog_CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3685 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test -n "$ac_ct_CC"; then
3693 for as_dir in $PATH
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 if test -n "$ac_ct_CC"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3733 if test -z "$CC"; then
3734 if test -n "$ac_tool_prefix"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3742 if test -n "$CC"; then
3746 for as_dir in $PATH
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3774 if test -z "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3782 if test -n "$CC"; then
3785 ac_prog_rejected=no
3787 for as_dir in $PATH
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 if test -n "$CC"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3830 if test -z "$CC"; then
3831 if test -n "$ac_tool_prefix"; then
3832 for ac_prog in cl.exe
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3837 $as_echo_n "checking for $ac_word... " >&6; }
3841 if test -n "$CC"; then
3845 for as_dir in $PATH
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 if test -n "$CC"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$CC" && break
3874 if test -z "$CC"; then
3876 for ac_prog in cl.exe
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3885 if test -n "$ac_ct_CC"; then
3889 for as_dir in $PATH
3892 test -z "$as_dir" && as_dir=.
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 if test -n "$ac_ct_CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3915 test -n "$ac_ct_CC" && break
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3934 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 as_fn_error $? "no acceptable C compiler found in \$PATH
3937 See \`config.log' for more details" "$LINENO" 5; }
3940 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3943 for ac_option in --version -v -V -qversion; do
3949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 if test -s conftest.err; then
3959 rm -f conftest.er1 conftest.err
3960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3977 # Try to create an executable without -o first, disregard a.out.
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3982 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3988 for ac_file in $ac_files
3995 rm -f $ac_rmfiles
4002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4009 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4011 # so that the user can short-circuit this test for compilers unknown to
4013 for ac_file in $ac_files ''
4015 test -f "$ac_file" || continue
4024 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4028 # We set ac_cv_exeext here because the later test for it is not
4029 # safe: cross compilers may not add the suffix if given an `-o'
4038 test "$ac_cv_exeext" = no && ac_cv_exeext=
4043 if test -z "$ac_file"; then :
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 See \`config.log' for more details" "$LINENO" 5; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4058 $as_echo_n "checking for C compiler default output file name... " >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4063 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4066 $as_echo_n "checking for suffix of executables... " >&6; }
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4079 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4082 for ac_file in conftest.exe conftest conftest.*; do
4083 test -f "$ac_file" || continue
4092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4095 See \`config.log' for more details" "$LINENO" 5; }
4097 rm -f conftest conftest$ac_cv_exeext
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4101 rm -f conftest.$ac_ext
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 cross_compiling=no
4150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 If you meant to cross compile, use \`--host'.
4154 See \`config.log' for more details" "$LINENO" 5; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4161 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4164 $as_echo_n "checking for suffix of object files... " >&6; }
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 rm -f conftest.o conftest.obj
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 for ac_file in conftest.o conftest.obj conftest.*; do
4192 test -f "$ac_file" || continue;
4203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4206 See \`config.log' for more details" "$LINENO" 5; }
4208 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 ac_compiler_gnu=no
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4252 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4258 ac_cv_prog_cc_g=no
4259 CFLAGS="-g"
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290 CFLAGS="-g"
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4318 CFLAGS="-g -O2"
4320 CFLAGS="-g"
4324 CFLAGS="-O2"
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4330 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4334 ac_cv_prog_cc_c89=no
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4363 as 'x'. The following induces an error, until -std is added to get
4364 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4366 that's true only with -std. */
4367 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4372 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4388 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4389 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4395 rm -f core conftest.err conftest.$ac_objext
4398 rm -f conftest.$ac_ext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4420 ac_cpp='$CPP $CPPFLAGS'
4421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 if test ! -z "$preset_cflags"
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-cxx-main=<compiler>" >&5
4433 $as_echo_n "checking for --with-cxx-main=<compiler>... " >&6; }
4435 # Check whether --with-cxx_main was given.
4440 no) with_cxx_main=no
4446 if test -z "$CXX"
4453 with_cxx_main=no
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cxx_main" >&5
4462 if test -z "$CXX"
4465 gcc) if test -n "$ac_tool_prefix"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4479 for as_dir in notfound
4482 test -z "$as_dir" && as_dir=.
4483 for ac_exec_ext in '' $ac_executable_extensions; do
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 if test -n "$CXX"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4507 if test -z "$ac_cv_path_CXX"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4522 for as_dir in notfound
4525 test -z "$as_dir" && as_dir=.
4526 for ac_exec_ext in '' $ac_executable_extensions; do
4529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 if test -n "$ac_pt_CXX"; then
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4545 $as_echo "no" >&6; }
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4563 cc) if test -n "$ac_tool_prefix"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4577 for as_dir in notfound
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 if test -n "$CXX"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4605 if test -z "$ac_cv_path_CXX"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4620 for as_dir in notfound
4623 test -z "$as_dir" && as_dir=.
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4638 if test -n "$ac_pt_CXX"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4667 if test -z "$CXX"
4669 if test -n "$ac_tool_prefix"; then
4670 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4679 if test -n "$CXX"; then
4683 for as_dir in $PATH
4686 test -z "$as_dir" && as_dir=.
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 if test -n "$CXX"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 $as_echo "no" >&6; }
4709 test -n "$CXX" && break
4712 if test -z "$CXX"; then
4714 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4719 $as_echo_n "checking for $ac_word... " >&6; }
4723 if test -n "$ac_ct_CXX"; then
4727 for as_dir in $PATH
4730 test -z "$as_dir" && as_dir=.
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 if test -n "$ac_ct_CXX"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4753 test -n "$ac_ct_CXX" && break
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
4788 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
4792 # checks for UNIX variants that set C preprocessor variables
4795 ac_cpp='$CPP $CPPFLAGS'
4796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4801 # On Suns, sometimes $CPP names a directory.
4802 if test -n "$CPP" && test -d "$CPP"; then
4803 CPP=
4805 if test -z "$CPP"; then
4809 # Double quotes because CPP needs to be expanded
4810 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4813 for ac_c_preproc_warn_flag in '' yes
4816 # with a fresh cross-compiler works.
4819 # On the NeXT, cc -E runs the code through the compiler's parser,
4820 # not just through cpp. "Syntax error" is here to catch this case.
4821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 rm -f conftest.err conftest.i conftest.$ac_ext
4840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4852 rm -f conftest.err conftest.i conftest.$ac_ext
4856 rm -f conftest.i conftest.err conftest.$ac_ext
4862 ac_cv_prog_CPP=$CPP
4865 CPP=$ac_cv_prog_CPP
4867 ac_cv_prog_CPP=$CPP
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4870 $as_echo "$CPP" >&6; }
4872 for ac_c_preproc_warn_flag in '' yes
4875 # with a fresh cross-compiler works.
4878 # On the NeXT, cc -E runs the code through the compiler's parser,
4879 # not just through cpp. "Syntax error" is here to catch this case.
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 rm -f conftest.err conftest.i conftest.$ac_ext
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 rm -f conftest.err conftest.i conftest.$ac_ext
4915 rm -f conftest.i conftest.err conftest.$ac_ext
4919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4921 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4922 See \`config.log' for more details" "$LINENO" 5; }
4926 ac_cpp='$CPP $CPPFLAGS'
4927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4933 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4937 if test -z "$GREP"; then
4939 # Loop through the user's path and test for each of PROGNAME-LIST
4941 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4944 test -z "$as_dir" && as_dir=.
4945 for ac_prog in grep ggrep; do
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4949 # Check for GNU ac_path_GREP and select it if it is found.
4950 # Check for GNU $ac_path_GREP
4951 case `"$ac_path_GREP" --version 2>&1` in
4963 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
4966 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4967 # Best one so far, save it but keep looking for a better one
4972 test $ac_count -gt 10 && break
4974 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4982 if test -z "$ac_cv_path_GREP"; then
4983 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4996 $as_echo_n "checking for egrep... " >&6; }
5000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5001 then ac_cv_path_EGREP="$GREP -E"
5003 if test -z "$EGREP"; then
5005 # Loop through the user's path and test for each of PROGNAME-LIST
5007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5010 test -z "$as_dir" && as_dir=.
5011 for ac_prog in egrep; do
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5015 # Check for GNU ac_path_EGREP and select it if it is found.
5016 # Check for GNU $ac_path_EGREP
5017 case `"$ac_path_EGREP" --version 2>&1` in
5032 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5033 # Best one so far, save it but keep looking for a better one
5038 test $ac_count -gt 10 && break
5040 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5048 if test -z "$ac_cv_path_EGREP"; then
5049 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5063 $as_echo_n "checking for ANSI C header files... " >&6; }
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5085 ac_cv_header_stdc=no
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5100 ac_cv_header_stdc=no
5102 rm -f conftest*
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5117 ac_cv_header_stdc=no
5119 rm -f conftest*
5124 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5134 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5148 for (i = 0; i < 256; i++)
5158 ac_cv_header_stdc=no
5160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5175 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5192 …ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_include…
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5234 ac_cv_safe_to_define___extensions__=no
5236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5253 # Check for unsupported systems
5256 echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
5257 echo See README for details.
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
5263 $as_echo_n "checking for --with-suffix... " >&6; }
5265 # Check whether --with-suffix was given.
5269 no) EXEEXT=;;
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
5278 # Test whether we're running on a non-case-sensitive system, in which
5279 # case we give a warning if no ext is given
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
5282 $as_echo_n "checking for case-insensitive build directory... " >&6; }
5283 if test ! -d CaseSensitiveTestDir; then
5287 if test -d casesensitivetestdir
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5302 gcc) CC="$CC -D_HAVE_BSDI";;
5309 cc|*/cc) CC="$CC -Ae";;
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
5323 if test -z "$LIBRARY"
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
5342 # on the system - some systems like version suffix, others don't
5356 # LINKCC is the command that links the python executable -- default is $(CC).
5360 # This is altered for AIX in order to build the export list before
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
5365 if test -z "$LINKCC"
5371 if test $ac_sys_release -ge 5 -o \
5372 $ac_sys_release -eq 4 -a `uname -r` -ge 2 ; then
5378 # support -N.
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
5386 # make sure we default having it set to "no": this is used by
5387 # distutils.unixccompiler to know if it should add --enable-new-dtags
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5392 $as_echo_n "checking for GNU ld... " >&6; }
5395 ac_prog=`$CC -print-prog-name=ld`
5397 case `"$ac_prog" -V 2>&1 < /dev/null` in
5401 GNULD=no;;
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
5407 $as_echo_n "checking for --enable-shared... " >&6; }
5408 # Check whether --enable-shared was given.
5414 if test -z "$enable_shared"
5420 enable_shared="no";;
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
5427 $as_echo_n "checking for --enable-profiling... " >&6; }
5428 # Check whether --enable-profiling was given.
5435 CC="$CC -pg"
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 enable_profiling=no
5445 rm -f core conftest.err conftest.$ac_objext \
5449 enable_profiling=no
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
5455 BASECFLAGS="-pg $BASECFLAGS"
5456 LDFLAGS="-pg $LDFLAGS"
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
5464 # will find it with a -framework option). For this reason there is an
5467 # LDLIBRARY, but empty for MacOSX framework builds.
5492 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
5498 BLDLIBRARY='-L. -lpython$(VERSION)'
5502 SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
5508 case `uname -m` in
5516 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
5521 BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
5526 BLDLIBRARY='-L. -lpython$(VERSION)'
5527 RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
5531 BLDLIBRARY='-L. -lpython$(VERSION)'
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
5556 if test -n "$ac_tool_prefix"; then
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5560 $as_echo_n "checking for $ac_word... " >&6; }
5564 if test -n "$RANLIB"; then
5568 for as_dir in $PATH
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585 if test -n "$RANLIB"; then
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5590 $as_echo "no" >&6; }
5595 if test -z "$ac_cv_prog_RANLIB"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 $as_echo_n "checking for $ac_word... " >&6; }
5604 if test -n "$ac_ct_RANLIB"; then
5608 for as_dir in $PATH
5611 test -z "$as_dir" && as_dir=.
5612 for ac_exec_ext in '' $ac_executable_extensions; do
5615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 if test -n "$ac_ct_RANLIB"; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5649 if test -n "$ac_tool_prefix"; then
5650 for ac_prog in ar aal
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5659 if test -n "$AR"; then
5663 for as_dir in $PATH
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 if test -n "$AR"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5689 test -n "$AR" && break
5692 if test -z "$AR"; then
5694 for ac_prog in ar aal
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5703 if test -n "$ac_ct_AR"; then
5707 for as_dir in $PATH
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 if test -n "$ac_ct_AR"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5733 test -n "$ac_ct_AR" && break
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5752 if test -z "$ARFLAGS"
5761 if test -e $srcdir/.git
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5766 $as_echo_n "checking for $ac_word... " >&6; }
5770 if test -n "$HAS_GIT"; then
5774 for as_dir in $PATH
5777 test -z "$as_dir" && as_dir=.
5778 for ac_exec_ext in '' $ac_executable_extensions; do
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
5792 if test -n "$HAS_GIT"; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5802 HAS_GIT=no-repository
5806 GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
5807 GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
5808 GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
5817 # install -d does not work on BSDI or HP-UX
5818 if test -z "$INSTALL"
5820 INSTALL="${srcdir}/install-sh -c"
5831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
5838 $as_echo_n "checking for a BSD-compatible install... " >&6; }
5839 if test -z "$INSTALL"; then
5844 for as_dir in $PATH
5847 test -z "$as_dir" && as_dir=.
5848 # Account for people who put trailing slashes in PATH elements.
5855 # OSF1 and SCO ODT 3.0 have their own names for install.
5858 for ac_prog in ginstall scoinst install; do
5859 for ac_exec_ext in '' $ac_executable_extensions; do
5867 # program-specific install script used by HP pwplus--don't use.
5870 rm -rf conftest.one conftest.two conftest.dir
5874 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5875 test -s conftest.one && test -s conftest.two &&
5876 test -s conftest.dir/conftest.one &&
5877 test -s conftest.dir/conftest.two
5879 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5892 rm -rf conftest.one conftest.two conftest.dir
5899 # value for INSTALL within a source directory, because that will
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
5908 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5910 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5912 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5914 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5917 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5918 if test -z "$MKDIR_P"; then
5923 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5926 test -z "$as_dir" && as_dir=.
5927 for ac_prog in mkdir gmkdir; do
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5930 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5944 test -d ./--version && rmdir ./--version
5946 MKDIR_P="$ac_cv_path_mkdir -p"
5949 # value for MKDIR_P within a source directory, because that will
5952 MKDIR_P="$ac_install_sh -d"
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5961 if test -z "$LN" ; then
5963 BeOS*) LN="ln -s";;
5964 CYGWIN*) LN="ln -s";;
5965 atheos*) LN="ln -s";;
5970 # Check for --with-pydebug
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
5972 $as_echo_n "checking for --with-pydebug... " >&6; }
5974 # Check whether --with-pydebug was given.
5977 if test "$withval" != no
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5985 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }; Py_DEBUG='false'
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5998 # ------------------------
5999 # (The following bit of code is complicated enough - please keep things
6000 # indented properly. Just pretend you're editing Python code. ;-)
6010 if test "${OPT-unset}" = "unset"
6015 STRICT_PROTO="-Wstrict-prototypes"
6017 # For gcc 4.x we need to use -fwrapv so lets check if its supported
6018 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
6019 WRAP="-fwrapv"
6022 # Clang also needs -fwrapv
6024 *clang*) WRAP="-fwrapv"
6031 # Optimization messes up debuggers, so turn it off for
6033 OPT="-g -O0 -Wall $STRICT_PROTO"
6035 OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
6039 OPT="-O3 -Wall $STRICT_PROTO"
6043 SCO_SV*) OPT="$OPT -m486 -DSCO5"
6049 OPT="-O"
6056 # The -arch flags for universal builds on OSX
6065 # so use -fno-strict-aliasing if supported.
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -fno-strict-aliasing" >&5
6067 $as_echo_n "checking whether $CC accepts -fno-strict-aliasing... " >&6; }
6069 CC="$CC -fno-strict-aliasing"
6073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6087 ac_cv_no_strict_aliasing_ok=no
6089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing_ok" >&5
6097 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
6100 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
6105 BASECFLAGS="$BASECFLAGS -mieee"
6111 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
6115 # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
6116 # used to be here, but non-Apple gcc doesn't accept them.
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
6126 CC=gcc-4.0
6127 CPP=cpp-4.0
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6137 32-bit)
6138 UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
6142 64-bit)
6143 UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
6148 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
6149 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
6150 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
6153 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
6154 LIPO_32BIT_FLAGS="-extract i386"
6155 ARCH_RUN_32BIT="/usr/bin/arch -i386"
6157 intel-32)
6158 UNIVERSAL_ARCH_FLAGS="-arch i386"
6162 intel-64)
6163 UNIVERSAL_ARCH_FLAGS="-arch x86_64"
6167 3-way)
6168 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
6169 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
6170 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
6173 … as_fn_error $? "proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way" "$LINENO" 5
6179 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
6180 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
6181 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
6188 # Calculate an appropriate deployment target for this build:
6190 # features are enabled (such as builtin libedit support for readline)
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
6203 cur_target_major=`sw_vers -productVersion | \
6204 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
6205 cur_target_minor=`sw_vers -productVersion | \
6206 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
6208 if test ${cur_target_major} -eq 10 && \
6209 test ${cur_target_minor} -ge 3 && \
6210 test ${cur_target_minor} -le 5
6217 all|3-way|intel|64-bit)
6230 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
6245 BASECFLAGS="$BASECFLAGS -mieee"
6253 BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
6256 BASECFLAGS="$BASECFLAGS -ieee -std"
6259 BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
6265 # ICC needs -fp-model strict or floats behave badly
6268 BASECFLAGS="$BASECFLAGS -fp-model strict"
6275 OPT="-DNDEBUG $OPT"
6283 # disable check for icc since it seems to pass, but generates a warning
6286 ac_cv_opt_olimit_ok=no
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -OPT:Olimit=0" >&5
6290 $as_echo_n "checking whether $CC accepts -OPT:Olimit=0... " >&6; }
6295 CC="$CC -OPT:Olimit=0"
6296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6310 ac_cv_opt_olimit_ok=no
6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_opt_olimit_ok" >&5
6322 # olimit_ok test is "no". Is it "yes" in some other Darwin-esque
6327 # eradicated in the 3.x line. For now, make sure it isn't picked
6329 AIX*|SunOS*|HP-UX*|IRIX*)
6332 BASECFLAGS="$BASECFLAGS -OPT:Olimit=0"
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Olimit 1500" >&5
6337 $as_echo_n "checking whether $CC accepts -Olimit 1500... " >&6; }
6342 CC="$CC -Olimit 1500"
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 ac_cv_olimit_ok=no
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_olimit_ok" >&5
6368 # Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.
6369 HP-UX*)
6372 BASECFLAGS="$BASECFLAGS -Olimit 1500"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc supports ParseTuple __format__" >&5
6384 CFLAGS="$CFLAGS -Werror -Wformat"
6385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409 $as_echo "no" >&6; }
6412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
6422 $as_echo_n "checking for --enable-optimizations... " >&6; }
6423 # Check whether --enable-optimizations was given.
6426 if test "$enableval" != no
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; };
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6445 # who want LTO need to use --with-lto themselves.
6446 DEF_MAKE_ALL_RULE="profile-opt"
6451 REQUIRE_PGO="no"
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
6459 $as_echo_n "checking for --with-lto... " >&6; }
6461 # Check whether --with-lto was given.
6464 if test "$withval" != no
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; };
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6483 LTOFLAGS="-flto"
6488 LTOFLAGS="-flto"
6491 LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
6499 # bpo-30345: Add -g to LDFLAGS when compiling with LTO
6501 LTOFLAGS="$LTOFLAGS -g"
6514 # non-suffixed name in their versioned llvm directory.
6522 if test -L "${clang_bin}"
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
6539 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
6540 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
6547 *-*-*) ;;
6551 ac_save_IFS=$IFS; IFS='-'
6561 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
6566 test -n "$target_alias" &&
6569 program_prefix=${target_alias}-
6570 # Extract the first word of "$target_alias-llvm-profdata", so it can be a program name with args.
6571 set dummy $target_alias-llvm-profdata; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6583 for as_dir in ${llvm_path}
6586 test -z "$as_dir" && as_dir=.
6587 for ac_exec_ext in '' $ac_executable_extensions; do
6590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 if test -n "$LLVM_PROFDATA"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6606 $as_echo "no" >&6; }
6610 if test -z "$ac_cv_path_LLVM_PROFDATA"; then
6613 # Extract the first word of "llvm-profdata", so it can be a program name with args.
6614 set dummy llvm-profdata; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6626 for as_dir in ${llvm_path}
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 test -z "$ac_cv_path_ac_pt_LLVM_PROFDATA" && ac_cv_path_ac_pt_LLVM_PROFDATA="''"
6645 if test -n "$ac_pt_LLVM_PROFDATA"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6662 if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
6666 LLVM_PROF_FOUND="not-found"
6668 if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
6670 found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
6671 if test -n "${found_llvm_profdata}"
6673 # llvm-profdata isn't directly in $PATH in some cases.
6675 LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
6678 $as_echo "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
6681 LLVM_PROF_ERR=no
6685 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6686 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6687 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6688 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6689 if test $LLVM_PROF_FOUND = not-found
6694 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6701 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6702 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6703 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6704 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6705 if test "${LLVM_PROF_FOUND}" = "not-found"
6710 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6715 PGO_PROF_GEN_FLAG="-fprofile-generate"
6716 PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
6723 PGO_PROF_GEN_FLAG="-prof-gen"
6724 PGO_PROF_USE_FLAG="-prof-use"
6735 # options before we can check whether -Kpthread improves anything.
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >…
6742 ac_cv_pthread_is_default=no
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 ac_cv_kthread=no
6765 ac_cv_pthread=no
6768 ac_cv_pthread_is_default=no
6770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
6783 ac_cv_kpthread=no
6785 # -Kpthread, if available, provides the right #defines
6787 # Some compilers won't report that they do not support -Kpthread,
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
6791 $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; }
6796 CC="$CC -Kpthread"
6798 ac_cv_kpthread=no
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6820 ac_cv_kpthread=no
6822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
6833 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
6835 # -Kthread, if available, provides the right #defines
6837 # Some compilers won't report that they do not support -Kthread,
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
6841 $as_echo_n "checking whether $CC accepts -Kthread... " >&6; }
6846 CC="$CC -Kthread"
6848 ac_cv_kthread=no
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 ac_cv_kthread=no
6872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
6883 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
6885 # -pthread, if available, provides the right #defines
6887 # Some compilers won't report that they do not support -pthread,
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
6891 $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
6896 CC="$CC -pthread"
6898 ac_cv_pthread=no
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 ac_cv_pthread=no
6922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
6933 # If we have set a CC compiler flag for thread support then
6934 # check if it works for CXX, too.
6935 ac_cv_cxx_thread=no
6936 if test ! -z "$CXX"
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread suppor…
6939 $as_echo_n "checking whether $CXX also accepts flags for thread support... " >&6; }
6944 CXX="$CXX -Kpthread"
6948 CXX="$CXX -Kthread"
6952 CXX="$CXX -pthread"
6959 $CXX -c conftest.$ac_ext 2>&5
6960 if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
6961 && test -s conftest$ac_exeext && ./conftest$ac_exeext
6965 ac_cv_cxx_thread=no
6967 rm -fr conftest*
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
6975 # checks for header files
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6977 $as_echo_n "checking for ANSI C header files... " >&6; }
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6999 ac_cv_header_stdc=no
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7014 ac_cv_header_stdc=no
7016 rm -f conftest*
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7031 ac_cv_header_stdc=no
7033 rm -f conftest*
7038 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7062 for (i = 0; i < 256; i++)
7072 ac_cv_header_stdc=no
7074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7088 for ac_header in asm/types.h crypt.h conio.h direct.h dlfcn.h errno.h \
7112 ac_header_dirent=no
7113 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
7116 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7137 eval "$as_ac_Header=no"
7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7153 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7156 $as_echo_n "checking for library containing opendir... " >&6; }
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 for ac_lib in '' dir; do
7180 if test -z "$ac_lib"; then
7183 ac_res=-l$ac_lib
7184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7189 rm -f core conftest.err conftest.$ac_objext \
7198 ac_cv_search_opendir=no
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7206 if test "$ac_res" != no; then :
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7213 $as_echo_n "checking for library containing opendir... " >&6; }
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7236 for ac_lib in '' x; do
7237 if test -z "$ac_lib"; then
7240 ac_res=-l$ac_lib
7241 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7246 rm -f core conftest.err conftest.$ac_objext \
7255 ac_cv_search_opendir=no
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7263 if test "$ac_res" != no; then :
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7289 ac_cv_header_sys_types_h_makedev=no
7291 rm -f core conftest.err conftest.$ac_objext \
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7298 if test $ac_cv_header_sys_types_h_makedev = no; then
7308 if test $ac_cv_header_sys_mkdev_h = no; then
7322 for ac_header in linux/netlink.h
7343 # checks for typedefs
7344 was_it_defined=no
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
7346 $as_echo_n "checking for clock_t in time.h... " >&6; }
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7362 rm -f conftest*
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
7369 $as_echo_n "checking for makedev... " >&6; }
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7391 ac_cv_has_makedev=no
7393 rm -f core conftest.err conftest.$ac_objext \
7395 if test "$ac_cv_has_makedev" = "no"; then
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414 ac_cv_has_makedev=no
7416 rm -f core conftest.err conftest.$ac_objext \
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_makedev" >&5
7435 # and _LARGEFILE64_SOURCE is not defined, the headers refer to 64-bit
7437 # work-around, disable LFS on such configurations
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Solaris LFS bug" >&5
7442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7458 sol_lfs_bug=no
7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sol_lfs_bug" >&5
7466 use_lfs=no
7487 # Add some code to confdefs.h so that the test for off_t works on SCO
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7545 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7558 ac_cv_type_uid_t=no
7560 rm -f conftest*
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7565 if test $ac_cv_type_uid_t = no; then
7575 # There are two separate checks for each of the exact-width integer types we
7591 no|yes) ;; #(
7613 no|yes) ;; #(
7635 no|yes) ;; #(
7654 no|yes) ;; #(
7673 # ANSI C requires sizeof(char) == 1, so no need to check it
7675 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
7687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7690 See \`config.log' for more details" "$LINENO" 5; }
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
7708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
7720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7723 See \`config.log' for more details" "$LINENO" 5; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
7741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
7753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7756 See \`config.log' for more details" "$LINENO" 5; }
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
7774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
7786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7789 See \`config.log' for more details" "$LINENO" 5; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
7807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
7819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7822 See \`config.log' for more details" "$LINENO" 5; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
7840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
7852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7855 See \`config.log' for more details" "$LINENO" 5; }
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
7873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
7885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7888 See \`config.log' for more details" "$LINENO" 5; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
7906 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
7918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7921 See \`config.log' for more details" "$LINENO" 5; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
7939 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
7951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7954 See \`config.log' for more details" "$LINENO" 5; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long support" >&5
7973 $as_echo_n "checking for long long support... " >&6; }
7974 have_long_long=no
7975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_long" >&5
7999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
8011 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8014 See \`config.log' for more details" "$LINENO" 5; }
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double support" >&5
8034 $as_echo_n "checking for long double support... " >&6; }
8035 have_long_double=no
8036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_double" >&5
8060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8075 See \`config.log' for more details" "$LINENO" 5; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Bool support" >&5
8095 $as_echo_n "checking for _Bool support... " >&6; }
8096 have_c99_bool=no
8097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_c99_bool" >&5
8121 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
8133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8136 See \`config.log' for more details" "$LINENO" 5; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
8169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
8181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8184 See \`config.log' for more details" "$LINENO" 5; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
8205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
8222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8225 See \`config.log' for more details" "$LINENO" 5; }
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
8247 if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
8248 "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
8284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8287 See \`config.log' for more details" "$LINENO" 5; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
8308 then CC="$CC -Kpthread"
8310 then CC="$CC -Kthread"
8312 then CC="$CC -pthread"
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
8315 $as_echo_n "checking for pthread_t... " >&6; }
8316 have_pthread_t=no
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5
8338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
8355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8358 See \`config.log' for more details" "$LINENO" 5; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-toolbox-glue" >&5
8379 $as_echo_n "checking for --enable-toolbox-glue... " >&6; }
8380 # Check whether --enable-toolbox-glue was given.
8386 if test -z "$enable_toolbox_glue"
8392 enable_toolbox_glue="no";;
8398 extra_undefs="-u _PyMac_Error"
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_toolbox_glue" >&5
8415 OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
8426 LIBTOOL_CRUFT="-framework System -lcc_dynamic"
8430 LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
8432 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
8433 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
8435 gcc_version=`gcc -dumpversion`
8438 LIBTOOL_CRUFT="-lcc_dynamic"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 ac_osx_32bit=no
8464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8496 LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
8497 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
8498 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
8502 $as_echo_n "checking for --enable-framework... " >&6; }
8505 BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
8506 # -F. is needed to allow linking to the framework while
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8515 …as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8519 $as_echo "no" >&6; }
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
8523 $as_echo_n "checking for dyld... " >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
8530 $as_echo "always on for Darwin" >&6; }
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8534 $as_echo "no" >&6; }
8546 # -- usually .so, .sl on HP-UX, .dll on Cygwin
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SO" >&5
8549 if test -z "$SO"
8553 case `uname -m` in
8567 echo '+ Do you really mean to change the extension for shared libraries? +'
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SO" >&5
8582 # -- "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
8587 if test -z "$LDSHARED"
8591 BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
8592 LDSHARED="\$(BINLIBDEST)/config/ld_so_aix \$(CC) -bI:\$(BINLIBDEST)/config/python.exp"
8596 LDSHARED="\$(BINLIBDEST)/config/ld_so_beos \$(LIBDIR)/$LDLIBRARY"
8598 IRIX/5*) LDSHARED="ld -shared";;
8599 IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
8602 LDSHARED='$(CC) -shared'
8603 LDCXXSHARED='$(CXX) -shared'
8605 LDSHARED='$(CC) -G'
8606 LDCXXSHARED='$(CXX) -G'
8610 LDSHARED='$(CC) -shared'
8611 LDCXXSHARED='$(CXX) -shared'
8613 LDSHARED='ld -b'
8615 OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
8617 LDSHARED='$(CC) -bundle'
8618 LDCXXSHARED='$(CXX) -bundle'
8625 # No framework. Ignore undefined symbols, assuming they come from Python
8626 LDSHARED="$LDSHARED -undefined suppress"
8627 LDCXXSHARED="$LDCXXSHARED -undefined suppress"
8630 LDSHARED='$(CC) -bundle'
8631 LDCXXSHARED='$(CXX) -bundle'
8638 # No framework, use the Python app as bundle-loader
8639 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
8640 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
8641 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
8644 # Use -undefined dynamic_lookup whenever possible (10.3 and later).
8648 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
8650 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
8651 if test ${dep_target_major} -eq 10 && \
8652 test ${dep_target_minor} -le 2
8654 # building for OS X 10.0 through 10.2
8655 LDSHARED='$(CC) -bundle'
8656 LDCXXSHARED='$(CXX) -bundle'
8663 # No framework, use the Python app as bundle-loader
8664 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
8665 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
8666 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
8669 # building for OS X 10.3 and later
8670 LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
8671 LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
8676 LDSHARED='$(CC) -shared'
8677 LDCXXSHARED='$(CXX) -shared';;
8679 LDSHARED="gcc -shared"
8680 LDCXXSHARED="g++ -shared";;
8682 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
8684 LDSHARED='$(CC) -shared'
8685 LDCXXSHARED='$(CXX) -shared'
8687 LDSHARED="ld -Bshareable"
8690 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
8692 LDSHARED='$(CC) -shared $(CCSHARED)'
8693 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
8695 case `uname -r` in
8696 [01].* | 2.[0-7] | 2.[0-7].*)
8697 LDSHARED="ld -Bshareable ${LDFLAGS}"
8700 LDSHARED='$(CC) -shared $(CCSHARED)'
8701 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
8706 LDSHARED='$(CC) -shared'
8707 LDCXXSHARED='$(CXX) -shared';;
8710 LDSHARED='$(CC) -shared'
8711 LDCXXSHARED='$(CXX) -shared'
8713 LDSHARED='$(CC) -G'
8714 LDCXXSHARED='$(CXX) -G'
8717 LDSHARED='$(CC) -Wl,-G,-Bexport'
8718 LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
8720 LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
8721 LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
8723 LDSHARED="gcc -shared"
8724 LDCXXSHARED="g++ -shared";;
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
8730 LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
8731 BLDSHARED=${BLDSHARED-$LDSHARED}
8733 # library (module) -- this is only needed for a few systems
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
8736 if test -z "$CCSHARED"
8740 then CCSHARED="-fPIC";
8741 elif test `uname -p` = sparc;
8742 then CCSHARED="-xcode=pic32";
8743 else CCSHARED="-Kpic";
8746 then CCSHARED="-fPIC";
8749 Linux*|GNU*) CCSHARED="-fPIC";;
8750 BSD/OS*/4*) CCSHARED="-fpic";;
8751 FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
8754 then CCSHARED="-fPIC"
8755 else CCSHARED="-KPIC"
8759 then CCSHARED="-fPIC"
8760 else CCSHARED="-Kpic -belf"
8763 *gcc*) CCSHARED="-shared";;
8766 atheos*) CCSHARED="-fPIC";;
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
8772 # the python executable -- this is only needed for a few systems
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
8775 if test -z "$LINKFORSHARED"
8778 AIX*) LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
8780 LINKFORSHARED="-Wl,-E -Wl,+s";;
8781 # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
8782 BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
8783 Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
8784 # -u libsys_s pulls in all symbols in libsys
8786 # -u _PyMac_Error is needed to pull in the mac toolbox glue,
8790 # -prebind is no longer used, because it actually seems to give a
8800 OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
8801 SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
8802 ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
8804 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
8806 LINKFORSHARED="-Wl,--export-dynamic"
8810 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
8812 LINKFORSHARED="-Xlinker --export-dynamic"
8816 if test $enable_shared = "no"
8818 LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
8821 # -Wl,-E causes the symbols to be added to the dynamic
8823 # is loaded. -N 2048K causes the stack size to be set
8826 LINKFORSHARED='-Wl,-E -N 2048K';;
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
8850 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
8851 # library (with --enable-shared).
8852 # For platforms on which shared libraries are not allowed to have unresolved
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
8869 # checks for libraries
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
8871 $as_echo_n "checking for dlopen in -ldl... " >&6; }
8876 LIBS="-ldl $LIBS"
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8898 ac_cv_lib_dl_dlopen=no
8900 rm -f core conftest.err conftest.$ac_objext \
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
8911 LIBS="-ldl $LIBS"
8914 # Dynamic linking for SunOS/Solaris and SYSV
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
8916 $as_echo_n "checking for shl_load in -ldld... " >&6; }
8921 LIBS="-ldld $LIBS"
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 ac_cv_lib_dld_shl_load=no
8945 rm -f core conftest.err conftest.$ac_objext \
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
8956 LIBS="-ldld $LIBS"
8959 # Dynamic linking for HP-UX
8961 # only check for sem_init if thread support is requested
8962 if test "$with_threads" = "yes" -o -z "$with_threads"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
8964 $as_echo_n "checking for library containing sem_init... " >&6; }
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8987 for ac_lib in '' pthread rt posix4; do
8988 if test -z "$ac_lib"; then
8991 ac_res=-l$ac_lib
8992 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8997 rm -f core conftest.err conftest.$ac_objext \
9006 ac_cv_search_sem_init=no
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
9014 if test "$ac_res" != no; then :
9023 # check if we need libintl for locale functions
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
9025 $as_echo_n "checking for textdomain in -lintl... " >&6; }
9030 LIBS="-lintl $LIBS"
9031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 ac_cv_lib_intl_textdomain=no
9054 rm -f core conftest.err conftest.$ac_objext \
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
9067 # checks for system dependent C++ extensions support
9069 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
9070 $as_echo_n "checking for genuine AIX C++ extensions support... " >&6; }
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9098 rm -f core conftest.err conftest.$ac_objext \
9103 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
9106 $as_echo_n "checking for t_open in -lnsl... " >&6; }
9111 LIBS="-lnsl $LIBS"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 ac_cv_lib_nsl_t_open=no
9135 rm -f core conftest.err conftest.$ac_objext \
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
9142 LIBS="-lnsl $LIBS"
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
9146 $as_echo_n "checking for socket in -lsocket... " >&6; }
9151 LIBS="-lsocket $LIBS $LIBS"
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 ac_cv_lib_socket_socket=no
9175 rm -f core conftest.err conftest.$ac_objext \
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
9182 LIBS="-lsocket $LIBS"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnet" >&5
9189 $as_echo_n "checking for socket in -lnet... " >&6; }
9194 LIBS="-lnet $LIBS $LIBS"
9195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9216 ac_cv_lib_net_socket=no
9218 rm -f core conftest.err conftest.$ac_objext \
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_socket" >&5
9225 LIBS="-lnet $LIBS"
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
9232 $as_echo_n "checking for --with-libs... " >&6; }
9234 # Check whether --with-libs was given.
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9243 $as_echo "no" >&6; }
9255 if test -n "$ac_tool_prefix"; then
9256 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9257 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9259 $as_echo_n "checking for $ac_word... " >&6; }
9269 for as_dir in $PATH
9272 test -z "$as_dir" && as_dir=.
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 if test -n "$PKG_CONFIG"; then
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292 $as_echo "no" >&6; }
9297 if test -z "$ac_cv_path_PKG_CONFIG"; then
9299 # Extract the first word of "pkg-config", so it can be a program name with args.
9300 set dummy pkg-config; ac_word=$2
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9302 $as_echo_n "checking for $ac_word... " >&6; }
9312 for as_dir in $PATH
9315 test -z "$as_dir" && as_dir=.
9316 for ac_exec_ext in '' $ac_executable_extensions; do
9319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9330 if test -n "$ac_pt_PKG_CONFIG"; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9335 $as_echo "no" >&6; }
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
9354 if test -n "$PKG_CONFIG"; then
9356 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version…
9357 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9358 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363 $as_echo "no" >&6; }
9368 # Check for use of the system expat library
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
9370 $as_echo_n "checking for --with-system-expat... " >&6; }
9372 # Check whether --with-system_expat was given.
9376 with_system_expat="no"
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
9383 # Check for use of the system libffi library
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-ffi" >&5
9385 $as_echo_n "checking for --with-system-ffi... " >&6; }
9387 # Check whether --with-system_ffi was given.
9391 with_system_ffi="no"
9395 if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
9396 … LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
9405 # Check for --with-tcltk-includes=path and --with-tcltk-libs=path
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-includes" >&5
9409 $as_echo_n "checking for --with-tcltk-includes... " >&6; }
9411 # Check whether --with-tcltk-includes was given.
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_includes" >&5
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-libs" >&5
9421 $as_echo_n "checking for --with-tcltk-libs... " >&6; }
9423 # Check whether --with-tcltk-libs was given.
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_libs" >&5
9436 …as_fn_error $? "use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither" "$LIN…
9445 # Check for --with-dbmliborder
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
9447 $as_echo_n "checking for --with-dbmliborder... " >&6; }
9449 # Check whether --with-dbmliborder was given.
9454 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
9456 for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do
9459 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-signal-module" >&5
9472 $as_echo_n "checking for --with-signal-module... " >&6; }
9474 # Check whether --with-signal-module was given.
9480 if test -z "$with_signal_module"
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_signal_module" >&5
9494 # This is used to generate Setup.config
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dec-threads" >&5
9499 $as_echo_n "checking for --with-dec-threads... " >&6; }
9502 # Check whether --with-dec-threads was given.
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
9507 LDLAST=-threads
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9513 $as_echo "no" >&6; }
9517 # Templates for things AC_DEFINEd more than once.
9518 # For a single AC_DEFINE, no template is needed.
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-threads" >&5
9524 $as_echo_n "checking for --with-threads... " >&6; }
9526 # Check whether --with-threads was given.
9532 # --with-thread is deprecated, but check for it anyway
9534 # Check whether --with-thread was given.
9540 if test -z "$with_threads"
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_threads" >&5
9547 if test "$with_threads" = "no"
9561 CC="$CC -Kpthread"
9563 CXX="$CXX -Kpthread"
9571 CC="$CC -Kthread"
9573 CXX="$CXX -Kthread"
9581 CC="$CC -pthread"
9583 CXX="$CXX -pthread"
9590 if test ! -z "$with_threads" -a -d "$with_threads"
9591 then LDFLAGS="$LDFLAGS -L$with_threads"
9593 if test ! -z "$withval" -a -d "$withval"
9594 then LDFLAGS="$LDFLAGS -L$withval"
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
9601 $as_echo_n "checking for _POSIX_THREADS in unistd.h... " >&6; }
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 unistd_defines_pthreads=no
9617 rm -f conftest*
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
9633 LIBS="$LIBS -lthreads"
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pth" >&5
9650 $as_echo_n "checking for --with-pth... " >&6; }
9652 # Check whether --with-pth was given.
9654 withval=$with_pth; { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
9661 LIBS="-lpth $LIBS"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9665 $as_echo "no" >&6; }
9667 # Just looking for pthread_create in libpthread is not enough:
9671 LIBS="$LIBS -lpthread"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9673 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
9730 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
9735 LIBS="-lpthreads $LIBS"
9736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757 ac_cv_lib_pthreads_pthread_create=no
9759 rm -f core conftest.err conftest.$ac_objext \
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
9769 LIBS="$LIBS -lpthreads"
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
9774 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
9779 LIBS="-lc_r $LIBS"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 ac_cv_lib_c_r_pthread_create=no
9803 rm -f core conftest.err conftest.$ac_objext \
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
9813 LIBS="$LIBS -lc_r"
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
9818 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; }
9823 LIBS="-lpthread $LIBS"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 ac_cv_lib_pthread___pthread_create_system=no
9847 rm -f core conftest.err conftest.$ac_objext \
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
9857 LIBS="$LIBS -lpthread"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
9862 $as_echo_n "checking for pthread_create in -lcma... " >&6; }
9867 LIBS="-lcma $LIBS"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 ac_cv_lib_cma_pthread_create=no
9891 rm -f core conftest.err conftest.$ac_objext \
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
9901 LIBS="$LIBS -lcma"
9924 rm -f core conftest.err conftest.$ac_objext \
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
9936 $as_echo_n "checking for usconfig in -lmpc... " >&6; }
9941 LIBS="-lmpc $LIBS"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 ac_cv_lib_mpc_usconfig=no
9965 rm -f core conftest.err conftest.$ac_objext \
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
9974 LIBS="$LIBS -lmpc"
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthread" >&5
9982 $as_echo_n "checking for thr_create in -lthread... " >&6; }
9987 LIBS="-lthread $LIBS"
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 ac_cv_lib_thread_thr_create=no
10011 rm -f core conftest.err conftest.$ac_objext \
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create" >&5
10020 LIBS="$LIBS -lthread"
10030 # needs this '-threads' argument during linking.
10032 OSF1) LDLAST=-threads;;
10038 if test "$unistd_defines_pthreads" = "no"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
10066 ac_cv_pthread_system_supported=no
10068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 if (pthread_attr_init(&attr)) exit(-1);
10080 if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1);
10081 if (pthread_create(&id, &attr, foo, NULL)) exit(-1);
10088 ac_cv_pthread_system_supported=no
10090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
10104 for ac_func in pthread_sigmask
10121 for ac_func in pthread_atfork
10135 # Check for enable-ipv6
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
10138 $as_echo_n "checking if --enable-ipv6 is specified... " >&6; }
10139 # Check whether --enable-ipv6 was given.
10142 no)
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10144 $as_echo "no" >&6; }
10145 ipv6=no
10147 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10178 $as_echo "no" >&6; }
10179 ipv6=no
10182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10211 $as_echo "no" >&6; }
10212 ipv6=no
10215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10228 ipv6trylibc=no
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
10233 for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249 rm -f conftest*
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 rm -f conftest*
10271 linux-glibc)
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10285 rm -f conftest*
10288 linux-inet6)
10289 if test -d /usr/inet6; then
10293 BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
10297 if test -f /etc/netconfig; then
10298 if $GREP -q tcp6 /etc/netconfig; then
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 rm -f conftest*
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
10338 rm -f conftest*
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10356 rm -f conftest*
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
10368 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
10369 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
10370 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
10376 echo 'Fatal: no $ipv6lib library found. cannot continue.'
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSX 10.5 SDK or later" >&5
10385 $as_echo_n "checking for OSX 10.5 SDK or later... " >&6; }
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10415 # Check for --with-doc-strings
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
10417 $as_echo_n "checking for --with-doc-strings... " >&6; }
10419 # Check whether --with-doc-strings was given.
10425 if test -z "$with_doc_strings"
10428 if test "$with_doc_strings" != "no"
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
10437 # Check for Python-specific malloc support
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tsc" >&5
10439 $as_echo_n "checking for --with-tsc... " >&6; }
10441 # Check whether --with-tsc was given.
10444 if test "$withval" != no
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10451 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10452 $as_echo "no" >&6; }
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10456 $as_echo "no" >&6; }
10460 # Check for Python-specific malloc support
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
10462 $as_echo_n "checking for --with-pymalloc... " >&6; }
10464 # Check whether --with-pymalloc was given.
10470 if test -z "$with_pymalloc"
10473 if test "$with_pymalloc" != "no"
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
10482 # Check for Valgrind support
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
10484 $as_echo_n "checking for --with-valgrind... " >&6; }
10486 # Check whether --with-valgrind was given.
10490 with_valgrind=no
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
10495 if test "$with_valgrind" != no; then
10509 # Check for --with-wctype-functions
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-wctype-functions" >&5
10511 $as_echo_n "checking for --with-wctype-functions... " >&6; }
10513 # Check whether --with-wctype-functions was given.
10516 if test "$withval" != no
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10523 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10524 $as_echo "no" >&6; }
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10528 $as_echo "no" >&6; }
10532 # -I${DLINCLDIR} is added to the compile rule for importdl.o
10538 for ac_func in dlopen
10550 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
10555 if test -z "$DYNLOADFILE"
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
10588 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
10593 if test -z "$MACHDEP_OBJS"
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MACHDEP_OBJS" >&5
10602 # checks for library functions
10603 for ac_func in alarm setitimer getitimer bind_textdomain_codeset chown \
10631 # Force lchmod off for Linux. Linux disallows changing the mode of symbolic
10642 # For some functions, having a definition is not sufficient, since
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
10645 $as_echo_n "checking for chroot... " >&6; }
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10665 $as_echo "no" >&6; }
10668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
10670 $as_echo_n "checking for link... " >&6; }
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10690 $as_echo "no" >&6; }
10693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
10695 $as_echo_n "checking for symlink... " >&6; }
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10715 $as_echo "no" >&6; }
10718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
10720 $as_echo_n "checking for fchdir... " >&6; }
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10740 $as_echo "no" >&6; }
10743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
10745 $as_echo_n "checking for fsync... " >&6; }
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10765 $as_echo "no" >&6; }
10768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
10770 $as_echo_n "checking for fdatasync... " >&6; }
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10790 $as_echo "no" >&6; }
10793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
10795 $as_echo_n "checking for epoll... " >&6; }
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10815 $as_echo "no" >&6; }
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
10820 $as_echo_n "checking for kqueue... " >&6; }
10821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10843 $as_echo "no" >&6; }
10846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10848 # functions ctermid_r, setgroups in the library, but no prototype
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
10854 $as_echo_n "checking for ctermid_r... " >&6; }
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10876 $as_echo "no" >&6; }
10879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
10882 $as_echo_n "checking for flock declaration... " >&6; }
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 ac_cv_flock_decl=no
10904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
10910 for ac_func in flock
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
10920 $as_echo_n "checking for flock in -lbsd... " >&6; }
10925 LIBS="-lbsd $LIBS"
10926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 ac_cv_lib_bsd_flock=no
10949 rm -f core conftest.err conftest.$ac_objext \
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
10971 $as_echo_n "checking for getpagesize... " >&6; }
10972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10993 $as_echo "no" >&6; }
10996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
10999 $as_echo_n "checking for broken unsetenv... " >&6; }
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11015 $as_echo "no" >&6; }
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11026 for ac_prog in true
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11031 $as_echo_n "checking for $ac_word... " >&6; }
11035 if test -n "$TRUE"; then
11039 for as_dir in $PATH
11042 test -z "$as_dir" && as_dir=.
11043 for ac_exec_ext in '' $ac_executable_extensions; do
11046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11056 if test -n "$TRUE"; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11061 $as_echo "no" >&6; }
11065 test -n "$TRUE" && break
11067 test -n "$TRUE" || TRUE="/bin/true"
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
11071 $as_echo_n "checking for inet_aton in -lc... " >&6; }
11076 LIBS="-lc $LIBS"
11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11098 ac_cv_lib_c_inet_aton=no
11100 rm -f core conftest.err conftest.$ac_objext \
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
11110 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
11115 LIBS="-lresolv $LIBS"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 ac_cv_lib_resolv_inet_aton=no
11139 rm -f core conftest.err conftest.$ac_objext \
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
11150 LIBS="-lresolv $LIBS"
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
11161 $as_echo_n "checking for chflags... " >&6; }
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 ac_cv_have_chflags=no
11186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
11199 ac_cv_have_chflags="no"
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
11210 $as_echo_n "checking for lchflags... " >&6; }
11217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 ac_cv_have_lchflags=no
11235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
11248 ac_cv_have_lchflags="no"
11262 CFLAGS="${CFLAGS} -Wl,-search_paths_first"
11263 LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L/usr/local/lib"
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
11268 $as_echo_n "checking for inflateCopy in -lz... " >&6; }
11273 LIBS="-lz $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 ac_cv_lib_z_inflateCopy=no
11297 rm -f core conftest.err conftest.$ac_objext \
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
11318 $as_echo_n "checking for hstrerror... " >&6; }
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11340 $as_echo "no" >&6; }
11343 rm -f core conftest.err conftest.$ac_objext \
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
11347 $as_echo_n "checking for inet_aton... " >&6; }
11348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11372 $as_echo "no" >&6; }
11375 rm -f core conftest.err conftest.$ac_objext \
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
11379 $as_echo_n "checking for inet_pton... " >&6; }
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11404 $as_echo "no" >&6; }
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
11411 $as_echo_n "checking for setgroups... " >&6; }
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11436 $as_echo "no" >&6; }
11439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11441 # check for openpty and forkpty
11443 for ac_func in openpty
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
11453 $as_echo_n "checking for openpty in -lutil... " >&6; }
11458 LIBS="-lutil $LIBS"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 ac_cv_lib_util_openpty=no
11482 rm -f core conftest.err conftest.$ac_objext \
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
11490 LIBS="$LIBS -lutil"
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
11493 $as_echo_n "checking for openpty in -lbsd... " >&6; }
11498 LIBS="-lbsd $LIBS"
11499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 ac_cv_lib_bsd_openpty=no
11522 rm -f core conftest.err conftest.$ac_objext \
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
11530 LIBS="$LIBS -lbsd"
11540 for ac_func in forkpty
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
11550 $as_echo_n "checking for forkpty in -lutil... " >&6; }
11555 LIBS="-lutil $LIBS"
11556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 ac_cv_lib_util_forkpty=no
11579 rm -f core conftest.err conftest.$ac_objext \
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
11587 LIBS="$LIBS -lutil"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
11590 $as_echo_n "checking for forkpty in -lbsd... " >&6; }
11595 LIBS="-lbsd $LIBS"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 ac_cv_lib_bsd_forkpty=no
11619 rm -f core conftest.err conftest.$ac_objext \
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
11627 LIBS="$LIBS -lbsd"
11638 # Stuff for expat.
11639 for ac_func in memmove
11651 # check for long file support functions
11652 for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
11705 for ac_func in getpgrp
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11733 for ac_func in setpgrp
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11761 for ac_func in gettimeofday
11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5
11794 $as_echo_n "checking for major... " >&6; }
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11827 $as_echo "no" >&6; }
11830 rm -f core conftest.err conftest.$ac_objext \
11834 # for [no]getaddrinfo in netdb.h.
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
11836 $as_echo_n "checking for getaddrinfo... " >&6; }
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 have_getaddrinfo=no
11858 rm -f core conftest.err conftest.$ac_objext \
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getaddrinfo" >&5
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
11872 ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11893 for (passive = 0; passive <= 1; passive++) {
11903 for (ai = aitop; ai; ai = ai->ai_next) {
11904 if (ai->ai_addr == NULL ||
11905 ai->ai_addrlen == 0 ||
11906 getnameinfo(ai->ai_addr, ai->ai_addrlen,
11911 switch (ai->ai_family) {
11971 ac_cv_buggy_getaddrinfo=no
11975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
11986 if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes
11991 echo ' or you can specify "--disable-ipv6"'.
12000 for ac_func in getnameinfo
12012 # checks for structures
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 ac_cv_header_time=no
12038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
12114 $as_echo_n "checking for tzname... " >&6; }
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 ac_cv_var_tzname=no
12138 rm -f core conftest.err conftest.$ac_objext \
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
12212 $as_echo_n "checking for time.h that defines altzone... " >&6; }
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12231 ac_cv_header_time_altzone=no
12233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
12245 was_it_defined=no
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/select.h and sys/time.h may both be i…
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
12276 $as_echo_n "checking for addrinfo... " >&6; }
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 ac_cv_struct_addrinfo=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
12308 $as_echo_n "checking for sockaddr_storage... " >&6; }
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 ac_cv_struct_sockaddr_storage=no
12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
12341 # checks for compiler characteristics
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12354 static int test_array [1 - 2 * !(((char) -1) < 0)];
12363 ac_cv_c_char_unsigned=no
12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12377 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 an arm of an if-expression whose if-part is not a constant
12403 pcpcc = &g + (g ? g-g : 0);
12416 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12421 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12427 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12429 struct s *b = &bx; b->j = 5;
12431 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12445 ac_cv_c_const=no
12447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12451 if test $ac_cv_c_const = no; then
12458 works=no
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
12460 $as_echo_n "checking for working volatile... " >&6; }
12461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
12484 works=no
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
12486 $as_echo_n "checking for working signed char... " >&6; }
12487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
12510 have_prototypes=no
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
12512 $as_echo_n "checking for prototypes... " >&6; }
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_prototypes" >&5
12534 works=no
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
12536 $as_echo_n "checking for variable length prototypes and stdarg.h... " >&6; }
12537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
12570 # check for socketpair
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
12572 $as_echo_n "checking for socketpair... " >&6; }
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12595 $as_echo "no" >&6; }
12598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12624 $as_echo "no" >&6; }
12627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12629 va_list_is_array=no
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_list is an array" >&5
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $va_list_is_array" >&5
12663 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
12675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12746 $as_echo "no" >&6; }
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12781 $as_echo "no" >&6; }
12784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12795 for ac_func in gethostbyname
12815 # checks for system services
12818 # Linux requires this for correct f.p. operations
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
12824 $as_echo_n "checking for __fpu_control in -lieee... " >&6; }
12829 LIBS="-lieee $LIBS"
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 ac_cv_lib_ieee___fpu_control=no
12853 rm -f core conftest.err conftest.$ac_objext \
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
12864 LIBS="-lieee $LIBS"
12872 # Check for --with-fpectl
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-fpectl" >&5
12874 $as_echo_n "checking for --with-fpectl... " >&6; }
12876 # Check whether --with-fpectl was given.
12879 if test "$withval" != no
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12886 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12887 $as_echo "no" >&6; }
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12891 $as_echo "no" >&6; }
12895 # check for --with-libm=...
12900 *) LIBM=-lm
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
12903 $as_echo_n "checking for --with-libm=STRING... " >&6; }
12905 # Check whether --with-libm was given.
12908 if test "$withval" = no
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
12916 else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
12924 # check for --with-libc=...
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
12927 $as_echo_n "checking for --with-libc=STRING... " >&6; }
12929 # Check whether --with-libc was given.
12932 if test "$withval" = no
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
12940 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
12949 # * Check for various properties of floating point *
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are little-endian IEEE 754 bina…
12953 $as_echo_n "checking whether C doubles are little-endian IEEE 754 binary64... " >&6; }
12959 ac_cv_little_endian_double=no
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 ac_cv_little_endian_double=no
12979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_little_endian_double" >&5
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are big-endian IEEE 754 binary6…
12995 $as_echo_n "checking whether C doubles are big-endian IEEE 754 binary64... " >&6; }
13001 ac_cv_big_endian_double=no
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 ac_cv_big_endian_double=no
13021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_big_endian_double" >&5
13036 # Some ARM platforms use a mixed-endian representation for doubles.
13037 # While Python doesn't currently have full support for these platforms
13038 # (see e.g., issue 1762561), we can at least make sure that float <-> string
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are ARM mixed-endian IEEE 754 b…
13041 $as_echo_n "checking whether C doubles are ARM mixed-endian IEEE 754 binary64... " >&6; }
13047 ac_cv_mixed_endian_double=no
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 ac_cv_mixed_endian_double=no
13067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mixed_endian_double" >&5
13083 # correctly-rounded string <-> double conversion functions from
13084 # Python/dtoa.c, which in turn require that the FPU uses 53-bit
13086 # rounding precision of 64 bits. For gcc/x86, we can fix this by
13089 # This inline assembler syntax may also work for suncc and icc,
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 have_gcc_asm_for_x87=no
13114 rm -f core conftest.err conftest.$ac_objext \
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x87" >&5
13125 # Detect whether system arithmetic is subject to x87-style double
13128 # mode is round-to-nearest and double rounding issues are present, and
13129 # 0 otherwise. See http://bugs.python.org/issue2937 for more info.
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
13131 $as_echo_n "checking for x87-style double rounding... " >&6; }
13136 ac_cv_x87_double_rounding=no
13138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13145 /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
13146 x = 0.99999999999999989; /* 1-2**-53 */
13150 /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
13162 ac_cv_x87_double_rounding=no
13166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
13181 # * Check for mathematical functions *
13187 # On FreeBSD 6.2, it appears that tanh(-0.) returns 0. instead of
13188 # -0. on some architectures.
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tanh preserves the sign of zero" >&5
13196 ac_cv_tanh_preserves_zero_sign=no
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 and tanh(-0.) == -0. */
13207 if (atan2(0., -1.) == atan2(-0., -1.) ||
13208 atan2(tanh(-0.), -1.) == atan2(-0., -1.)) exit(0);
13216 ac_cv_tanh_preserves_zero_sign=no
13218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tanh_preserves_zero_sign" >&5
13233 for ac_func in acosh asinh atanh copysign erf erfc expm1 finite gamma
13245 for ac_func in hypot lgamma log1p round tgamma
13294 # For multiprocessing module, check that sem_open
13295 # actually works. For FreeBSD versions <= 7.2,
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 ac_cv_posix_semaphores_enabled=no
13333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
13342 if test $ac_cv_posix_semaphores_enabled = no
13349 # Multiprocessing check for broken sem_getvalue
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
13351 $as_echo_n "checking for broken sem_getvalue... " >&6; }
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 return res==-1 ? 1 : 0;
13384 ac_cv_broken_sem_getvalue=no
13388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
13404 # determine what size digit to use for Python's longs
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
13406 $as_echo_n "checking digit size for Python's longs... " >&6; }
13407 # Check whether --enable-big-digits was given.
13412 no)
13417 …as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$…
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
13429 $as_echo "no value specified" >&6; }
13433 # check for wchar.h
13443 wchar_h="no"
13453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
13466 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13469 See \`config.log' for more details" "$LINENO" 5; }
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UCS-4 tcl" >&5
13489 $as_echo_n "checking for UCS-4 tcl... " >&6; }
13490 have_ucs4_tcl=no
13491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ucs4_tcl" >&5
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
13545 ac_cv_wchar_t_signed=no
13547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what type to use for unicode" >&5
13558 $as_echo_n "checking what type to use for unicode... " >&6; }
13559 # Check whether --enable-unicode was given.
13569 # Without any arguments, Py_UNICODE defaults to two-byte mode
13588 no) ;; # To allow --disable-unicode
13589 *) as_fn_error $? "invalid value for --enable-unicode. Use either ucs2 or ucs4 (lowercase)." "$LINE…
13595 if test "$enable_unicode" = "no"
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not used" >&5
13608 -a "$ac_cv_wchar_t_signed" = "no"
13627 PY_UNICODE_TYPE="no type found"
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_UNICODE_TYPE" >&5
13633 # check for endianness
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13651 # Check for potential -arch flags. It is not universal unless
13652 # there are at least two -arch flags with different values.
13655 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13656 if test -n "$ac_prev"; then
13659 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13668 elif test "x$ac_word" = "x-arch"; then
13673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13715 ac_cv_c_bigendian=no
13717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758 ac_cv_c_bigendian=no
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13800 ac_cv_c_bigendian=no
13807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 return u.c[sizeof (long int) - 1] == 1;
13830 ac_cv_c_bigendian=no
13834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13846 no)
13855 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 exit(((-1)>>3 == -1) ? 0 : 1);
13882 ac_cv_rshift_extends_sign=no
13884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
13892 if test "$ac_cv_rshift_extends_sign" = no
13899 # check for getc_unlocked and related locking functions
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
13901 $as_echo_n "checking for getc_unlocked() and friends... " >&6; }
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13925 ac_cv_have_getc_unlocked=no
13927 rm -f core conftest.err conftest.$ac_objext \
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
13947 py_cv_lib_readline=no
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
13950 for py_libtermcap in "" ncursesw ncurses curses termcap; do
13951 if test -z "$py_libtermcap"; then
13952 READLINE_LIBS="-lreadline"
13954 READLINE_LIBS="-lreadline -l$py_libtermcap"
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13978 rm -f core conftest.err conftest.$ac_objext \
13986 if test $py_cv_lib_readline = no; then
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
13997 # check for readline 2.1
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_callback_handler_install in -lreadline" >&5
13999 $as_echo_n "checking for rl_callback_handler_install in -lreadline... " >&6; }
14004 LIBS="-lreadline $READLINE_LIBS $LIBS"
14005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 ac_cv_lib_readline_rl_callback_handler_install=no
14028 rm -f core conftest.err conftest.$ac_objext \
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_callback_handler_install" >…
14041 # check for readline 2.2
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049 have_readline=no
14052 rm -f conftest.err conftest.i conftest.$ac_ext
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 rm -f conftest*
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 rm -f conftest*
14083 # check for readline 4.0
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -lreadline" >&5
14085 $as_echo_n "checking for rl_pre_input_hook in -lreadline... " >&6; }
14090 LIBS="-lreadline $READLINE_LIBS $LIBS"
14091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 ac_cv_lib_readline_rl_pre_input_hook=no
14114 rm -f core conftest.err conftest.$ac_objext \
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_pre_input_hook" >&5
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -lreadl…
14129 $as_echo_n "checking for rl_completion_display_matches_hook in -lreadline... " >&6; }
14134 LIBS="-lreadline $READLINE_LIBS $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 ac_cv_lib_readline_rl_completion_display_matches_hook=no
14158 rm -f core conftest.err conftest.$ac_objext \
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_display_matches_…
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -lreadline" >&5
14173 $as_echo_n "checking for rl_resize_terminal in -lreadline... " >&6; }
14178 LIBS="-lreadline $READLINE_LIBS $LIBS"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 ac_cv_lib_readline_rl_resize_terminal=no
14202 rm -f core conftest.err conftest.$ac_objext \
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_resize_terminal" >&5
14215 # check for readline 4.2
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
14217 $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
14222 LIBS="-lreadline $READLINE_LIBS $LIBS"
14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244 ac_cv_lib_readline_rl_completion_matches=no
14246 rm -f core conftest.err conftest.$ac_objext \
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267 have_readline=no
14270 rm -f conftest.err conftest.i conftest.$ac_ext
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14284 rm -f conftest*
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
14292 $as_echo_n "checking for broken nice()... " >&6; }
14298 ac_cv_broken_nice=no
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 if (val1 != -1 && val1 == nice(2))
14315 ac_cv_broken_nice=no
14317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
14333 $as_echo_n "checking for broken poll()... " >&6; }
14338 ac_cv_broken_poll=no
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 ac_cv_broken_poll=no
14367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
14416 $as_echo_n "checking for tzname... " >&6; }
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14438 ac_cv_var_tzname=no
14440 rm -f core conftest.err conftest.$ac_objext \
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
14455 $as_echo_n "checking for working tzset()... " >&6; }
14461 ac_cv_working_tzset=no
14463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 tm->tm_zone does not exist since it is the alternative way
14487 time_t groundhogday = 1044144000; /* GMT-based */
14492 if (localtime(&groundhogday)->tm_hour != 0)
14495 /* For UTC, tzname[1] is sometimes "", sometimes " " */
14503 if (localtime(&groundhogday)->tm_hour != 19)
14510 putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
14512 if (localtime(&groundhogday)->tm_hour != 11)
14520 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
14522 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
14533 ac_cv_working_tzset=no
14535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
14550 # Look for subsecond timestamps in struct stat
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
14552 $as_echo_n "checking for tv_nsec in struct stat... " >&6; }
14556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 ac_cv_stat_tv_nsec=no
14575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
14587 # Look for BSD style subsecond timestamps in struct stat
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
14589 $as_echo_n "checking for tv_nsec2 in struct stat... " >&6; }
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14610 ac_cv_stat_tv_nsec2=no
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
14626 CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
14628 for ac_header in curses.h ncurses.h
14643 for ac_header in term.h
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 ac_cv_mvwdelch_is_expression=no
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719 w->_flags = 0;
14728 ac_cv_window_has_flags=no
14730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_pad" >&5
14745 $as_echo_n "checking for is_pad... " >&6; }
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14769 $as_echo "no" >&6; }
14772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_term_resized" >&5
14775 $as_echo_n "checking for is_term_resized... " >&6; }
14776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14795 $as_echo "no" >&6; }
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resize_term" >&5
14801 $as_echo_n "checking for resize_term... " >&6; }
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14821 $as_echo "no" >&6; }
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm" >&5
14827 $as_echo_n "checking for resizeterm... " >&6; }
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14847 $as_echo "no" >&6; }
14850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for immedok" >&5
14853 $as_echo_n "checking for immedok... " >&6; }
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14877 $as_echo "no" >&6; }
14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncok" >&5
14883 $as_echo_n "checking for syncok... " >&6; }
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14907 $as_echo "no" >&6; }
14910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5
14913 $as_echo_n "checking for wchgat... " >&6; }
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14937 $as_echo "no" >&6; }
14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5
14943 $as_echo_n "checking for filter... " >&6; }
14944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14967 $as_echo "no" >&6; }
14970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for has_key" >&5
14973 $as_echo_n "checking for has_key... " >&6; }
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997 $as_echo "no" >&6; }
15000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeahead" >&5
15003 $as_echo_n "checking for typeahead... " >&6; }
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15027 $as_echo "no" >&6; }
15030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_env" >&5
15033 $as_echo_n "checking for use_env... " >&6; }
15034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15057 $as_echo "no" >&6; }
15060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
15065 $as_echo "$as_me: checking for device files" >&6;}
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
15070 $as_echo_n "checking for /dev/ptmx... " >&6; }
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
15073 …as_fn_error $? "set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling" …
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
15077 $as_echo_n "checking for /dev/ptc... " >&6; }
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
15080 …as_fn_error $? "set ac_cv_file__dev_ptc to yes/no in your CONFIG_SITE file when cross compiling" "…
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
15085 $as_echo_n "checking for /dev/ptmx... " >&6; }
15090 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
15091 if test -r "/dev/ptmx"; then
15094 ac_cv_file__dev_ptmx=no
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
15109 $as_echo_n "checking for /dev/ptc... " >&6; }
15114 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
15115 if test -r "/dev/ptc"; then
15118 ac_cv_file__dev_ptc=no
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %lld and %llu printf() format support" >&5
15136 $as_echo_n "checking for %lld and %llu printf() format support... " >&6; }
15141 ac_cv_have_long_long_format="cross -- assuming no"
15144 CFLAGS="$CFLAGS -Werror -Wformat"
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 sprintf(buffer, "%lld", (long long)-123);
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15192 if (sprintf(buffer, "%lld", (long long)-123) < 0)
15194 if (strcmp(buffer, "-123"))
15209 ac_cv_have_long_long_format=no
15211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_long_long_format" >&5
15231 LIBS="$LIBS -framework CoreFoundation"
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support" >&5
15236 $as_echo_n "checking for %zd printf() format support... " >&6; }
15241 ac_cv_have_size_t_format="cross -- assuming yes"
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
15276 if (strcmp(buffer, "-123"))
15286 ac_cv_have_size_t_format=no
15288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t_format" >&5
15295 if test "$ac_cv_have_size_t_format" != no ; then
15329 for h in `(cd $srcdir;echo Python/thread_*.h)`
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
15337 $as_echo_n "checking for build directories... " >&6; }
15338 for dir in $SRCDIRS; do
15339 if test ! -d $dir; then
15345 # Check for --with-computed-gotos
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
15347 $as_echo_n "checking for --with-computed-gotos... " >&6; }
15349 # Check whether --with-computed-gotos was given.
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15360 if test "$withval" = no
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15366 $as_echo "no" >&6; }
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
15371 $as_echo "no value specified" >&6; }
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
15382 ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
15384 ac_cv_computed_gotos=no
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15405 ac_cv_computed_gotos=no
15407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
15427 $as_echo_n "checking for ensurepip... " >&6; }
15429 # Check whether --with-ensurepip was given.
15433 with_ensurepip=no
15441 no) :
15442 ENSUREPIP=no ;; #(
15444 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
15451 ac_config_files="$ac_config_files Makefile.pre Modules/Setup.config Misc/python.pc"
15458 # scripts and configure runs, see configure's option --config-cache.
15462 # config.status only pays attention to the cache file if you give it
15463 # the --recheck option to rerun configure.
15472 # but we know of no workaround that is simple, portable, and efficient.
15477 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15482 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
15496 # `set' does not quote correctly, so add quotes: double-quote
15498 sed -n \
15504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15518 if test -w "$cache_file"; then
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15522 if test ! -f "$cache_file" || test -h "$cache_file"; then
15527 mv -f confcache "$cache_file"$$ &&
15528 mv -f "$cache_file"$$ "$cache_file" ;; #(
15530 mv -f confcache "$cache_file" ;;
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15539 rm -f confcache
15545 DEFS=-DHAVE_CONFIG_H
15550 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15566 : "${CONFIG_STATUS=./config.status}"
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15577 # Compiler output produced by configure, useful for debugging
15578 # configure, is in config.log if it exists.
15584 SHELL=\${CONFIG_SHELL-$SHELL}
15588 ## -------------------- ##
15590 ## -------------------- ##
15593 DUALCASE=1; export DUALCASE # for MKS sh
15594 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15597 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15599 alias -g '${1+"$@"}'='"$@"'
15602 case `(set -o) 2>/dev/null` in #(
15604 set -o posix ;; #(
15619 # but without wasting forks for bash or zsh.
15620 if test -z "$BASH_VERSION$ZSH_VERSION" \
15621 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15622 as_echo='print -r --'
15623 as_echo_n='print -rn --'
15628 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15629 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15630 as_echo_n='/usr/ucb/echo -n'
15640 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15643 as_echo_n='sh -c $as_echo_n_body as_echo'
15646 as_echo='sh -c $as_echo_body as_echo'
15652 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15653 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15661 # there to prevent editors from complaining about space-tab.
15666 # Find who we are. Look in the path if we contain no directory separator.
15671 for as_dir in $PATH
15674 test -z "$as_dir" && as_dir=.
15675 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15686 if test ! -f "$as_myself"; then
15692 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15695 for as_var in BASH_ENV ENV MAIL MAILPATH
15714 # ----------------------------------------
15720 as_status=$1; test $as_status -eq 0 && as_status=1
15722 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15723 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15731 # -----------------------
15739 # -----------------
15740 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15749 # ---------------
15757 # ----------------------
15775 # ------------------
15787 as_val=`expr "$@" || test $? -eq 1`
15799 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15805 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15811 as_me=`$as_basename -- "$0" ||
15838 case `echo -n x` in #(((((
15839 -n*)
15847 ECHO_N='-n';;
15850 rm -f conf$$ conf$$.exe conf$$.file
15851 if test -d conf$$.dir; then
15852 rm -f conf$$.dir/conf$$.file
15854 rm -f conf$$.dir
15858 if ln -s conf$$.file conf$$ 2>/dev/null; then
15859 as_ln_s='ln -s'
15861 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15862 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15863 # In both cases, we have to default to `cp -pR'.
15864 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15865 as_ln_s='cp -pR'
15869 as_ln_s='cp -pR'
15872 as_ln_s='cp -pR'
15874 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15879 # -------------
15885 -*) as_dir=./$as_dir;;
15887 test -d "$as_dir" || eval $as_mkdir_p || {
15895 as_dir=`$as_dirname -- "$as_dir" ||
15918 test -d "$as_dir" && break
15920 test -z "$as_dirs" || eval "mkdir $as_dirs"
15921 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15925 if mkdir -p . 2>/dev/null; then
15926 as_mkdir_p='mkdir -p "$as_dir"'
15928 test -d ./-p && rmdir ./-p
15934 # -----------------------
15938 test -f "$1" && test -x "$1"
15940 as_test_x='test -x'
15943 # Sed expression to map a string onto a valid CPP name.
15951 ## ----------------------------------- ##
15953 ## ----------------------------------- ##
15971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15986 # Files that config.status was made for.
16000 -h, --help print this help, then exit
16001 -V, --version print version number and configuration settings, then exit
16002 --config print configuration, then exit
16003 -q, --quiet, --silent
16005 -d, --debug don't remove temporary files
16006 --recheck update $as_me by reconfiguring in the same conditions
16007 --file=FILE[:TEMPLATE]
16009 --header=FILE[:TEMPLATE]
16024 python config.status 2.7
16029 This config.status script is free software; the Free Software Foundation
16036 test -n "\$AWK" || AWK=awk
16045 --*=?*)
16050 --*=)
16064 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16066 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16068 --config | --confi | --conf | --con | --co | --c )
16070 --debug | --debu | --deb | --de | --d | -d )
16072 --file | --fil | --fi | --f )
16080 --header | --heade | --head | --hea )
16087 --he | --h)
16088 # Conflict between --help and --header
16090 Try \`$0 --help' for more information.";;
16091 --help | --hel | -h )
16093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16094 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16098 -*) as_fn_error $? "unrecognized option: \`$1'
16099 Try \`$0 --help' for more information." ;;
16112 ac_configure_extra_args="$ac_configure_extra_args --silent"
16118 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16128 exec 5>>config.log
16131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16144 for ac_config_target in $ac_config_targets
16154 "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;;
16165 # We use the long form for the default assignment because of an extremely
16172 # Have a temporary directory for convenience. Make it in the build tree
16173 # simply because there is no reason against having it here, and in addition,
16175 # Hook for its removal unless debugging.
16183 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16187 # Create a (secure) tmp directory for tmp files.
16190 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16191 test -d "$tmp"
16194 tmp=./conf$$-$RANDOM
16199 # Set up the scripts for CONFIG_FILES section.
16200 # No need to generate them if there are no CONFIG_FILES.
16201 # This happens for instance with `./config.status config.h'.
16202 if test -n "$CONFIG_FILES"; then
16207 # But we know of no other shell where ac_cr would be empty at this
16229 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16231 for ac_last_try in false false false false false :; do
16235 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16244 rm -f conf$$subs.sh
16249 sed -n '
16292 rm -f conf$$subs.awk
16296 for (key in S) S_is_set[key] = 1
16305 for (i = 2; i < nfields; i++) {
16328 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16355 fi # test -n "$CONFIG_FILES"
16357 # Set up the scripts for CONFIG_HEADERS section.
16358 # No need to generate them if there are no CONFIG_HEADERS.
16359 # This happens for instance with `./config.status Makefile'.
16360 if test -n "$CONFIG_HEADERS"; then
16366 # here-document in config.status, that substitutes the proper values into
16367 # config.h.in to produce config.h.
16372 for ac_last_try in false false :; do
16373 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16374 if test -z "$ac_tt"; then
16383 # For the awk script, D is an array of macro values keyed by name,
16388 sed -n '
16428 for (key in D) D_is_set[key] = 1
16443 prefix = substr(line, 1, index(line, defundef) - 1)
16449 # Replace #undef with comments. This is necessary, for example,
16462 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16463 fi # test -n "$CONFIG_HEADERS"
16468 for ac_tag
16476 :[FH]-) ac_tag=-:-;;
16491 for ac_f
16494 -) ac_f="$ac_tmp/stdin";;
16495 *) # Look for the file first in the build tree, then in the source tree
16496 # (if the path is not absolute). The absolute path cannot be DOS-style,
16498 test -f "$ac_f" ||
16501 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16511 # /* config.h. Generated by config.status. */
16515 if test x"$ac_file" != x-; then
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16529 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16535 ac_dir=`$as_dirname -- "$ac_file" ||
16565 # A ".." for each directory in $ac_dir_suffix.
16574 # for backward compatibility:
16625 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16628 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
16629 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16651 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16666 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16669 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16670 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16671 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16672 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16673 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
16678 rm -f "$ac_tmp/stdin"
16680 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16681 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16689 if test x"$ac_file" != x-; then
16692 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16693 } >"$ac_tmp/config.h" \
16695 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16699 rm -f "$ac_file"
16700 mv "$ac_tmp/config.h" "$ac_file" \
16705 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16706 || as_fn_error $? "could not create -" "$LINENO" 5
16718 done # for ac_tag
16729 # configure is writing to config.log, and then calls config.status.
16730 # config.status does its own redirection, appending to config.log.
16731 # Unfortunately, on DOS this fails, as config.log is still kept open
16732 # by configure, so config.status won't be able to write to it; its
16734 # effectively closing config.log, so it can be properly (re)opened and
16735 # appended to by config.status. When coming back to configure, we
16741 ac_config_status_args="$ac_config_status_args --quiet"
16744 exec 5>>config.log
16749 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16756 if test ! -f Modules/Setup
16762 if test ! -f Modules/Setup.local
16764 echo "# Edit this file for local setup changes" >Modules/Setup.local
16768 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
16769 -s Modules Modules/Setup.config \
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16776 Support for BeOS is deprecated as of Python 2.6.
16777 See PEP 11 for the gory details.
16781 Support for BeOS is deprecated as of Python 2.6.
16782 See PEP 11 for the gory details.
16788 mv config.c Modules
16790 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
16794 echo "please run ./configure --enable-optimizations" >&6