Lines Matching +full:libpython +full:- +full:dev
3 # Guess values for system-dependent variables and create Makefiles.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
14 ## -------------------- ##
16 ## -------------------- ##
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 ;; #(
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 --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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.
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"
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 # into an infinite loop, continuously re-executing ourselves.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
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"
203 if (eval "$as_required") 2>/dev/null; then :
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 test -z "$as_dir" && as_dir=.
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
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" ||
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
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 # ----------------------
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
390 # ------------------
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
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
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
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" ||
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
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
505 case `echo -n x` in #(((((
506 -n*)
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
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
522 mkdir conf$$.dir 2>/dev/null
524 if (echo >conf$$.file) 2>/dev/null; then
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'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
536 as_ln_s='cp -pR'
539 as_ln_s='cp -pR'
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
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'
561 test -n "$DJDIR" || exec 7<&0 </dev/null
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
855 cache_file=/dev/null
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)
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"
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.
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"
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
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-
1319 test "$silent" = yes && exec 6>/dev/null
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" ||
1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1358 if test ! -r "$srcdir/$ac_unique_file"; then
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.
1390 # Report the --help message.
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'.
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]
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...'
1512 --with-tcltk-libs='-L...'
1514 --with-dbmliborder=db1:db2:...
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]
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
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.
1566 test -d "$ac_dir" ||
1567 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
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
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
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
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
1757 rm -f conftest.err conftest.i conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
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?" >&5
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\"" >&5
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
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
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
1987 # Order is important - never check a type that is potentially smaller
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
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
2041 # Order is important - never check a type that is potentially smaller
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
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
2298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
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
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
2448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
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`
2482 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2483 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2484 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2485 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2486 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2487 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2488 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
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.
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 ;;
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 newline" >&5
2595 sed -n \
2600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2607 $as_echo "## ----------------- ##
2609 ## ----------------- ##"
2621 if test -n "$ac_subst_files"; then
2622 $as_echo "## ------------------- ##
2624 ## ------------------- ##"
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 &&
2659 rm -f -r conftest* confdefs.h
2694 if test -n "$CONFIG_SITE"; then
2697 -*) ac_site_file1=./$CONFIG_SITE;;
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
2723 if test -r "$cache_file"; then
2724 # Some versions of bash will fail to source /dev/null (special files
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
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
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 the previous run:" >&5
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
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 build" >&5
2797 ## -------------------- ##
2799 ## -------------------- ##
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'
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/..\" \"$srcdir/../..\"" "$LINENO" 5
2842 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&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
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
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 if test -n "$PYTHON_FOR_REGEN"; then
2934 test -z "$as_dir" && as_dir=.
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
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
2966 if test -z "$PYTHON_FOR_BUILD"; then
2968 which $interp >/dev/null 2>&1 || continue
2969 if $interp -c 'import sys;sys.exit(not (sys.version_info[:2] >= (2,7) and sys.version_info[0] < 3))'; then
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
2979 PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp
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.
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}"
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
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
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.
3168 PYTHONFRAMEWORKDIR=no-framework
3218 # --prefix option, but wants to install
3219 # the framework in a non-default location,
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"
3296 *-*-linux*)
3299 *-*-cygwin*)
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*)
3353 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
3391 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3403 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3410 # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them.
3422 Darwin/1[0-9].*)
3430 if test `uname -r` -eq 1; then
3451 # cases for HP-UX, we define it globally.
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,
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}
3540 AIX*) CC=${CC:-xlc_r}
3547 BASECFLAGS="$BASECFLAGS -export pragma"
3548 OPT="$OPT -O"
3549 LDFLAGS="$LDFLAGS -nodup"
3554 OPT="$OPT -O"
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}
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
3611 # configure:4619: cc -c conftest.c >&5
3612 # cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5
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
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
3649 if test -n "$CC"; then
3656 test -z "$as_dir" && as_dir=.
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
3680 if test -z "$ac_cv_prog_CC"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 if test -n "$ac_ct_CC"; then
3696 test -z "$as_dir" && as_dir=.
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
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
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
3742 if test -n "$CC"; then
3749 test -z "$as_dir" && as_dir=.
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
3774 if test -z "$CC"; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 if test -n "$CC"; then
3790 test -z "$as_dir" && as_dir=.
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
3830 if test -z "$CC"; then
3831 if test -n "$ac_tool_prefix"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 if test -n "$CC"; then
3848 test -z "$as_dir" && as_dir=.
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
3871 test -n "$CC" && break
3874 if test -z "$CC"; then
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 if test -n "$ac_ct_CC"; then
3892 test -z "$as_dir" && as_dir=.
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
3915 test -n "$ac_ct_CC" && break
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3934 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&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[^ ]*//'`
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'.
4011 # so that the user can short-circuit this test for compilers unknown to
4015 test -f "$ac_file" || continue
4029 # safe: cross compilers may not add the suffix if given an `-o'
4043 if test -z "$ac_file"; then :
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&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
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
4072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083 test -f "$ac_file" || continue
4092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&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
4150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4153 If you meant to cross compile, use \`--host'.
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
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
4192 test -f "$ac_file" || continue;
4203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&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
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; }
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
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
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
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.
4446 if test -z "$CXX"
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
4482 test -z "$as_dir" && as_dir=.
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
4507 if test -z "$ac_cv_path_CXX"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 test -z "$as_dir" && as_dir=.
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
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 cc) if test -n "$ac_tool_prefix"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4580 test -z "$as_dir" && as_dir=.
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
4605 if test -z "$ac_cv_path_CXX"; then
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 test -z "$as_dir" && as_dir=.
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
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4667 if test -z "$CXX"
4669 if test -n "$ac_tool_prefix"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4679 if test -n "$CXX"; then
4686 test -z "$as_dir" && as_dir=.
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
4709 test -n "$CXX" && break
4712 if test -z "$CXX"; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 if test -n "$ac_ct_CXX"; then
4730 test -z "$as_dir" && as_dir=.
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
4753 test -n "$ac_ct_CXX" && break
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
4788 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
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
4802 if test -n "$CPP" && test -d "$CPP"; then
4805 if test -z "$CPP"; then
4810 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4816 # with a fresh cross-compiler works.
4819 # On the NeXT, cc -E runs the code through the compiler's parser,
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
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4875 # with a fresh cross-compiler works.
4878 # On the NeXT, cc -E runs the code through the compiler's parser,
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
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
4944 test -z "$as_dir" && as_dir=.
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 || break
4964 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4966 if test $ac_count -gt ${ac_path_GREP_max-0}; then
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
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
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
5010 test -z "$as_dir" && as_dir=.
5017 case `"$ac_path_EGREP" --version 2>&1` in
5029 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5030 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5032 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
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
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
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 $EGREP "memchr" >/dev/null 2>&1; then :
5102 rm -f conftest*
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 $EGREP "free" >/dev/null 2>&1; then :
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))
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
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
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
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.
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
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
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"
5325 LIBRARY='libpython$(VERSION).a'
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).
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
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
5395 ac_prog=`$CC -print-prog-name=ld`
5397 case `"$ac_prog" -V 2>&1 < /dev/null` in
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"
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
5445 rm -f core conftest.err conftest.$ac_objext \
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
5484 LDLIBRARY='libpython$(VERSION).so'
5487 LDLIBRARY='libpython$(VERSION).dll.a'
5488 DLLLIBRARY='libpython$(VERSION).dll'
5491 LDLIBRARY='libpython$(VERSION).so'
5492 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
5497 LDLIBRARY='libpython$(VERSION).so'
5498 BLDLIBRARY='-L. -lpython$(VERSION)'
5502 SOVERSION=`echo $SOVERSION|cut -d "." -f 1`
5508 case `uname -m` in
5510 LDLIBRARY='libpython$(VERSION).so'
5513 LDLIBRARY='libpython$(VERSION).sl'
5516 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(VERSION)'
5520 LDLIBRARY='libpython$(VERSION).so'
5521 BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
5525 LDLIBRARY='libpython$(VERSION).so'
5526 BLDLIBRARY='-L. -lpython$(VERSION)'
5527 RUNSHARED=DLL_PATH=`pwd`:${DLL_PATH:-/atheos/sys/libs:/atheos/autolnk/lib}
5530 LDLIBRARY='libpython$(VERSION).dylib'
5531 BLDLIBRARY='-L. -lpython$(VERSION)'
5535 LDLIBRARY='libpython$(VERSION).so'
5544 LDLIBRARY='libpython$(VERSION).dll.a'
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
5564 if test -n "$RANLIB"; then
5571 test -z "$as_dir" && as_dir=.
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
5595 if test -z "$ac_cv_prog_RANLIB"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 if test -n "$ac_ct_RANLIB"; then
5611 test -z "$as_dir" && as_dir=.
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
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5649 if test -n "$ac_tool_prefix"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659 if test -n "$AR"; then
5666 test -z "$as_dir" && as_dir=.
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
5689 test -n "$AR" && break
5692 if test -z "$AR"; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5703 if test -n "$ac_ct_AR"; then
5710 test -z "$as_dir" && as_dir=.
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
5733 test -n "$ac_ct_AR" && break
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5752 if test -z "$ARFLAGS"
5761 if test -e $srcdir/.git
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 if test -n "$HAS_GIT"; then
5777 test -z "$as_dir" && as_dir=.
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
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
5847 test -z "$as_dir" && as_dir=.
5862 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5866 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
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
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
5926 test -z "$as_dir" && as_dir=.
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"
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.
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5985 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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"
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
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}"
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"
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
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
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
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
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.
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 # who want LTO need to use --with-lto themselves.
6446 DEF_MAKE_ALL_RULE="profile-opt"
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.
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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
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
6586 test -z "$as_dir" && as_dir=.
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
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
6629 test -z "$as_dir" && as_dir=.
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
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;}
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 found." "$LINENO" 5
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 found." "$LINENO" 5
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" >&5
6744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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"
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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"
6850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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"
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
6936 if test ! -z "$CXX"
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread support" >&5
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
6967 rm -fr conftest*
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7011 $EGREP "memchr" >/dev/null 2>&1; then :
7016 rm -f conftest*
7022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028 $EGREP "free" >/dev/null 2>&1; then :
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))
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
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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 \
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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 \
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 $EGREP "clock_t" >/dev/null 2>&1; then :
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
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7393 rm -f core conftest.err conftest.$ac_objext \
7397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
7549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 $EGREP "uid_t" >/dev/null 2>&1; then :
7560 rm -f conftest*
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
7575 # There are two separate checks for each of the exact-width integer types we
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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
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
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
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"
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)/$(PYTHONFRAMEWORK)'
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
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)/$(PYTHONFRAMEWORK)'
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 --enable-framework instead. See Mac/README." "$LINENO" 5
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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
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"
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'
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
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)'
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"
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).
8855 # to LIBS. This, in turn, means that applications linking the shared libpython
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
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
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"
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
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
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
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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 \
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
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
9054 rm -f core conftest.err conftest.$ac_objext \
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
9069 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
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
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
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
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
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
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
9272 test -z "$as_dir" && as_dir=.
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
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
9315 test -z "$as_dir" && as_dir=.
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
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
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" >&5
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
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.
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
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.
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" "$LINENO" 5
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
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
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
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
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
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 $EGREP "yes" >/dev/null 2>&1; then :
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
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
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
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
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
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
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
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;;
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
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);
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
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.
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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
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
10215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
10246 $EGREP "yes" >/dev/null 2>&1; then :
10249 rm -f conftest*
10253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 $EGREP "yes" >/dev/null 2>&1; then :
10268 rm -f conftest*
10271 linux-glibc)
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 $EGREP "yes" >/dev/null 2>&1; then :
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
10314 $EGREP "yes" >/dev/null 2>&1; then :
10319 rm -f conftest*
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10332 $EGREP "yes" >/dev/null 2>&1; then :
10336 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
10338 rm -f conftest*
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 $EGREP "yes" >/dev/null 2>&1; then :
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"
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSX 10.5 SDK or later" >&5
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
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"
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.
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10451 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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"
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
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.
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
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.
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10523 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10532 # -I${DLINCLDIR} is added to the compile rule for importdl.o
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
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
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
10668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
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
10693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
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
10718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
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
10743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
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
10768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
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
10793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
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
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
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
10846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
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
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
10886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
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
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
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
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11035 if test -n "$TRUE"; then
11042 test -z "$as_dir" && as_dir=.
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
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
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
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
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
11217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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
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
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
11343 rm -f core conftest.err conftest.$ac_objext \
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
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
11375 rm -f core conftest.err conftest.$ac_objext \
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
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
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
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
11439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
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"
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
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
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"
11712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
11830 rm -f core conftest.err conftest.$ac_objext \
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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) {
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"'.
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/select.h and sys/time.h may both be included" >&5
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
12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
12312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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)];
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 */
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
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
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
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
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
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
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
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
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
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
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
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
12627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
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
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
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
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.
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12886 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
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.
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.
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
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are little-endian IEEE 754 binary64" >&5
12953 $as_echo_n "checking whether C doubles are little-endian IEEE 754 binary64... " >&6; }
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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 binary64" >&5
12995 $as_echo_n "checking whether C doubles are big-endian IEEE 754 binary64... " >&6; }
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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.
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 binary64" >&5
13041 $as_echo_n "checking whether C doubles are ARM mixed-endian IEEE 754 binary64... " >&6; }
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set x87 control word" >&5
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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; }
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) */
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
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
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);
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
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
13307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13379 return res==-1 ? 1 : 0;
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
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
13407 # Check whether --enable-big-digits was given.
13417 as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;;
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
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
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; }
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);
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
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)." "$LINENO" 5 ;;
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not used" >&5
13608 -a "$ac_cv_wchar_t_signed" = "no"
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_UNICODE_TYPE" >&5
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.
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
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
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
13795 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13798 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
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;
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
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);
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
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13913 FILE *f = fopen("/dev/null", "r");
13927 rm -f core conftest.err conftest.$ac_objext \
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
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 \
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
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
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" >&5
14042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052 rm -f conftest.err conftest.i conftest.$ac_ext
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 $EGREP "extern int rl_completion_append_character;" >/dev/null 2>&1; then :
14066 rm -f conftest*
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 $EGREP "extern int rl_completion_suppress_append;" >/dev/null 2>&1; then :
14079 rm -f conftest*
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
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 -lreadline" >&5
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
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_hook" >&5
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
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
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
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
14270 rm -f conftest.err conftest.i conftest.$ac_ext
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279 $EGREP "extern int rl_catch_signals;" >/dev/null 2>&1; then :
14284 rm -f conftest*
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
14300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 if (val1 != -1 && val1 == nice(2))
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
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
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)
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"))
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
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
14556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
14593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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;
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
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
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
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
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
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
14824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm" >&5
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
14850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for immedok" >&5
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
14880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncok" >&5
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
14910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5
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
14940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5
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
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
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
15000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeahead" >&5
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
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
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
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
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
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
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
15085 $as_echo_n "checking for /dev/ptmx... " >&6; }
15091 if test -r "/dev/ptmx"; then
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; }
15115 if test -r "/dev/ptc"; then
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
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"))
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
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"))
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
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
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
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
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"
15387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
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
15429 # Check whether --with-ensurepip was given.
15444 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
15458 # scripts and configure runs, see configure's option --config-cache.
15463 # the --recheck option to rerun configure.
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 newline" >&5
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"
15517 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15518 if test -w "$cache_file"; then
15519 if test "x$cache_file" != "x/dev/null"; 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
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15584 SHELL=\${CONFIG_SHELL-$SHELL}
15588 ## -------------------- ##
15590 ## -------------------- ##
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 ;; #(
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 --'
15624 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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.
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"
15697 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15710 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 # ----------------------
15762 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15775 # ------------------
15779 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15787 as_val=`expr "$@" || test $? -eq 1`
15792 if expr a : '\(a\)' >/dev/null 2>&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" ||
15814 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15838 case `echo -n x` in #(((((
15839 -n*)
15843 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
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
15855 mkdir conf$$.dir 2>/dev/null
15857 if (echo >conf$$.file) 2>/dev/null; then
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'
15866 elif ln conf$$.file conf$$ 2>/dev/null; then
15869 as_ln_s='cp -pR'
15872 as_ln_s='cp -pR'
15874 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15875 rmdir conf$$.dir 2>/dev/null
15879 # -------------
15885 -*) as_dir=./$as_dir;;
15887 test -d "$as_dir" || eval $as_mkdir_p || {
15895 as_dir=`$as_dirname -- "$as_dir" ||
15899 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
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'
15951 ## ----------------------------------- ##
15953 ## ----------------------------------- ##
15971 on `(hostname || uname -n) 2>/dev/null | sed 1q`
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]
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." ;;
16111 exec 6>/dev/null
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
16131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16183 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16190 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16191 test -d "$tmp"
16194 tmp=./conf$$-$RANDOM
16202 if test -n "$CONFIG_FILES"; then
16212 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16229 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
16323 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16355 fi # test -n "$CONFIG_FILES"
16360 if test -n "$CONFIG_HEADERS"; then
16366 # here-document in config.status, that substitutes the proper values into
16373 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16374 if test -z "$ac_tt"; then
16388 sed -n '
16443 prefix = substr(line, 1, index(line, defundef) - 1)
16463 fi # test -n "$CONFIG_HEADERS"
16476 :[FH]-) ac_tag=-:-;;
16494 -) ac_f="$ac_tmp/stdin";;
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";;
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" ||
16539 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
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 --datarootdir setting" >&5
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 \`datarootdir'
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"
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"
16705 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16706 || as_fn_error $? "could not create -" "$LINENO" 5
16733 # output is simply discarded. So we exec the FD to /dev/null,
16741 ac_config_status_args="$ac_config_status_args --quiet"
16742 exec 5>/dev/null
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
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:
16790 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
16794 echo "please run ./configure --enable-optimizations" >&6