Lines Matching +full:ipv4 +full:- +full:no +full:- +full:config +full:- +full:for +full:- +full:cpp
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for python 3.9.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13 ## -------------------- ##
15 ## -------------------- ##
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
29 set -o posix ;; #(
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # there to prevent editors from complaining about space-tab.
91 # Find who we are. Look in the path if we contain no directory separator.
96 for as_dir in $PATH
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 if test ! -f "$as_myself"; then
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 for as_var in BASH_ENV ENV MAIL MAILPATH
138 # into an infinite loop, continuously re-executing ourselves.
140 _as_can_reexec=no; export _as_can_reexec;
142 # neutralization value for shells without unset; and this also
144 # Preserve -v and -x to the replacement shell.
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
173 set -o posix ;; #(
196 test -x / || exit 1"
205 as_have_required=no
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243 # neutralization value for shells without unset; and this also
245 # Preserve -v and -x to the replacement shell.
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 SHELL=${CONFIG_SHELL-/bin/sh}
285 ## --------------------- ##
287 ## --------------------- ##
289 # ---------------
298 # -----------------------
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # -------------
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
332 as_dir=`$as_dirname -- "$as_dir" ||
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364 # -----------------------
368 test -f "$1" && test -x "$1"
371 # ----------------------
389 # ------------------
401 as_val=`expr "$@" || test $? -eq 1`
407 # ----------------------------------------
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
478 s/[$]LINENO.*/&-/
486 s/-\n.*//
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
494 _as_can_reexec=no; export _as_can_reexec
504 case `echo -n x` in #(((((
505 -n*)
513 ECHO_N='-n';;
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
520 rm -f conf$$.dir
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
535 as_ln_s='cp -pR'
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
550 as_test_x='test -x'
553 # Sed expression to map a string onto a valid CPP name.
560 test -n "$DJDIR" || exec 7<&0 </dev/null
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
575 cross_compiling=no
589 # Factoring default headers for most tests.
726 CPP
864 CPP
921 for ac_option
924 if test -n "$ac_prev"; then
939 --)
942 -bindir | --bindir | --bindi | --bind | --bin | --bi)
944 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
947 -build | --build | --buil | --bui | --bu)
949 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
952 -cache-file | --cache-file | --cache-fil | --cache-fi \
953 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
955 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
956 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
959 --config-cache | -C)
960 cache_file=config.cache ;;
962 -datadir | --datadir | --datadi | --datad)
964 -datadir=* | --datadir=* | --datadi=* | --datad=*)
967 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
968 | --dataroo | --dataro | --datar)
970 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
971 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
974 -disable-* | --disable-*)
975 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
988 eval enable_$ac_useropt=no ;;
990 -docdir | --docdir | --docdi | --doc | --do)
992 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
995 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
997 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1000 -enable-* | --enable-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1016 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1017 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1018 | --exec | --exe | --ex)
1020 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1021 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1022 | --exec=* | --exe=* | --ex=*)
1025 -gas | --gas | --ga | --g)
1026 # Obsolete; use --with-gas.
1029 -help | --help | --hel | --he | -h)
1031 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1033 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1036 -host | --host | --hos | --ho)
1038 -host=* | --host=* | --hos=* | --ho=*)
1041 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1043 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1044 | --ht=*)
1047 -includedir | --includedir | --includedi | --included | --include \
1048 | --includ | --inclu | --incl | --inc)
1050 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1051 | --includ=* | --inclu=* | --incl=* | --inc=*)
1054 -infodir | --infodir | --infodi | --infod | --info | --inf)
1056 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1059 -libdir | --libdir | --libdi | --libd)
1061 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1064 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1065 | --libexe | --libex | --libe)
1067 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1068 | --libexe=* | --libex=* | --libe=*)
1071 -localedir | --localedir | --localedi | --localed | --locale)
1073 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1076 -localstatedir | --localstatedir | --localstatedi | --localstated \
1077 | --localstate | --localstat | --localsta | --localst | --locals)
1079 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1080 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1083 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1085 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1088 -nfp | --nfp | --nf)
1089 # Obsolete; use --without-fp.
1090 with_fp=no ;;
1092 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1093 | --no-cr | --no-c | -n)
1096 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1097 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1100 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1101 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1102 | --oldin | --oldi | --old | --ol | --o)
1104 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1105 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1106 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1109 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1111 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1114 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1115 | --program-pre | --program-pr | --program-p)
1117 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1118 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1121 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1122 | --program-suf | --program-su | --program-s)
1124 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1125 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1128 -program-transform-name | --program-transform-name \
1129 | --program-transform-nam | --program-transform-na \
1130 | --program-transform-n | --program-transform- \
1131 | --program-transform | --program-transfor \
1132 | --program-transfo | --program-transf \
1133 | --program-trans | --program-tran \
1134 | --progr-tra | --program-tr | --program-t)
1136 -program-transform-name=* | --program-transform-name=* \
1137 | --program-transform-nam=* | --program-transform-na=* \
1138 | --program-transform-n=* | --program-transform-=* \
1139 | --program-transform=* | --program-transfor=* \
1140 | --program-transfo=* | --program-transf=* \
1141 | --program-trans=* | --program-tran=* \
1142 | --progr-tra=* | --program-tr=* | --program-t=*)
1145 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1147 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1150 -psdir | --psdir | --psdi | --psd | --ps)
1152 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1156 | -silent | --silent | --silen | --sile | --sil)
1159 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1161 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1162 | --sbi=* | --sb=*)
1165 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1166 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1167 | --sharedst | --shareds | --shared | --share | --shar \
1168 | --sha | --sh)
1170 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1171 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1172 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1173 | --sha=* | --sh=*)
1176 -site | --site | --sit)
1178 -site=* | --site=* | --sit=*)
1181 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1183 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1186 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1187 | --syscon | --sysco | --sysc | --sys | --sy)
1189 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1190 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1193 -target | --target | --targe | --targ | --tar | --ta | --t)
1195 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1198 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1201 -version | --version | --versio | --versi | --vers | -V)
1204 -with-* | --with-*)
1205 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1220 -without-* | --without-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1234 eval with_$ac_useropt=no ;;
1236 --x)
1237 # Obsolete; use --with-x.
1240 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1241 | --x-incl | --x-inc | --x-in | --x-i)
1243 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1244 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1247 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1248 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1250 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1251 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1254 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1255 Try \`$0 --help' for more information"
1262 '' | [0-9]* | *[!_$as_cr_alnum]* )
1270 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1271 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1279 if test -n "$ac_prev"; then
1280 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1284 if test -n "$ac_unrecognized_opts"; then
1286 no) ;;
1292 # Check all directory arguments for consistency.
1293 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1314 # used to hold the argument of --host etc.
1330 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1335 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1336 ac_ls_di=`ls -di .` &&
1337 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1344 if test -z "$srcdir"; then
1347 ac_confdir=`$as_dirname -- "$as_myself" ||
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1375 ac_srcdir_defaulted=no
1377 if test ! -r "$srcdir/$ac_unique_file"; then
1383 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1391 # mess up M-x gdb in Emacs.
1395 for ac_var in $ac_precious_vars; do
1403 # Report the --help message.
1414 VAR=VALUE. See below for descriptions of some of the useful variables.
1416 Defaults for the options are specified in brackets.
1419 -h, --help display this help and exit
1420 --help=short display options specific to this package
1421 --help=recursive display the short help of all the included packages
1422 -V, --version display version information and exit
1423 -q, --quiet, --silent do not print \`checking ...' messages
1424 --cache-file=FILE cache test results in FILE [disabled]
1425 -C, --config-cache alias for \`--cache-file=config.cache'
1426 -n, --no-create do not create output files
1427 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1430 --prefix=PREFIX install architecture-independent files in PREFIX
1432 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1437 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1438 for instance \`--prefix=\$HOME'.
1440 For better control, use the options below.
1443 --bindir=DIR user executables [EPREFIX/bin]
1444 --sbindir=DIR system admin executables [EPREFIX/sbin]
1445 --libexecdir=DIR program executables [EPREFIX/libexec]
1446 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1447 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1448 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1449 --libdir=DIR object code libraries [EPREFIX/lib]
1450 --includedir=DIR C header files [PREFIX/include]
1451 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1452 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1453 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1454 --infodir=DIR info documentation [DATAROOTDIR/info]
1455 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1456 --mandir=DIR man documentation [DATAROOTDIR/man]
1457 --docdir=DIR documentation root [DATAROOTDIR/doc/python]
1458 --htmldir=DIR html documentation [DOCDIR]
1459 --dvidir=DIR dvi documentation [DOCDIR]
1460 --pdfdir=DIR pdf documentation [DOCDIR]
1461 --psdir=DIR ps documentation [DOCDIR]
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1472 if test -n "$ac_init_help"; then
1479 --disable-option-checking ignore unrecognized --enable/--with options
1480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1482 --enable-universalsdk[=SDKDIR]
1485 see Mac/README.rst. (default is no)
1486 --enable-framework[=INSTALLDIR]
1490 no)
1491 --enable-shared enable building a shared Python library (default is
1492 no)
1493 --enable-profiling enable C-level code profiling with gprof (default is
1494 no)
1495 --enable-optimizations enable expensive, stable optimizations (PGO, etc.)
1496 (default is no)
1497 --enable-loadable-sqlite-extensions
1499 Doc/library/sqlite3.rst (default is no)
1500 --enable-ipv6 enable ipv6 (with ipv4) support, see
1502 --enable-big-digits[=15|30]
1503 use big digits (30 or 15 bits) for Python longs
1504 (default is system-dependent)]
1507 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1508 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1509 --with-universal-archs=ARCH
1512 --enable-universalsdk is set; options are:
1513 ("universal2", "32-bit", "64-bit", "3-way", "intel",
1514 "intel-32", "intel-64", or "all") see Mac/README.rst
1515 --with-framework-name=FRAMEWORK
1516 specify the name for the python framework on macOS
1517 only valid when --enable-framework is set. see
1519 --with-cxx-main[=COMPILER]
1522 --with-suffix=SUFFIX set executable suffix to SUFFIX (default is '.exe')
1523 --with-pydebug build with Py_DEBUG defined (default is no)
1524 --with-trace-refs enable tracing references for debugging purpose
1525 (default is no)
1526 --with-assertions build with C assertions enabled (default is no)
1527 --with-lto enable Link-Time-Optimization in any build (default
1528 is no)
1529 --with-hash-algorithm=[fnv|siphash24]
1530 select hash algorithm for use in Python/pyhash.c
1532 --with-tzpath=<list of absolute paths separated by pathsep>
1533 Select the default time zone search path for zoneinfo.TZPATH
1535 --with-address-sanitizer
1537 'asan' (default is no)
1538 --with-memory-sanitizer enable MemorySanitizer allocation error detector,
1539 'msan' (default is no)
1540 --with-undefined-behavior-sanitizer
1542 behaviour detector, 'ubsan' (default is no)
1543 --with-libs='lib1 ...' link against additional libs (default is no)
1544 --with-system-expat build pyexpat module using an installed expat
1545 library, see Doc/library/pyexpat.rst (default is no)
1546 --with-system-ffi build _ctypes module using an installed ffi library,
1548 system-dependent)
1549 --with-system-libmpdec build _decimal module using an installed libmpdec
1550 library, see Doc/library/decimal.rst (default is no)
1551 --with-decimal-contextvar
1552 build _decimal module using a coroutine-local rather
1553 than a thread-local context (default is yes)
1554 --with-tcltk-includes='-I...'
1555 override search for Tcl and Tk include files
1556 --with-tcltk-libs='-L...'
1557 override search for Tcl and Tk libs
1558 --with-dbmliborder=db1:db2:...
1559 override order to check db backends for dbm; a valid
1562 --with-doc-strings enable documentation strings (default is yes)
1563 --with-pymalloc enable specialized mallocs (default is yes)
1564 --with-c-locale-coercion
1565 enable C locale coercion to a UTF-8 based locale
1567 --with-valgrind enable Valgrind support (default is no)
1568 --with-dtrace enable DTrace support (default is no)
1569 --with-libm=STRING override libm math library to STRING (default is
1570 system-dependent)
1571 --with-libc=STRING override libc C library to STRING (default is
1572 system-dependent)
1573 --with-platlibdir=DIRNAME
1575 --with-computed-gotos enable computed gotos in evaluation loop (enabled by
1577 --with-ensurepip[=install|upgrade|no]
1580 --with-openssl=DIR override root of the OpenSSL directory to DIR
1581 --with-ssl-default-suites=[python|openssl|STRING]
1587 --with-builtin-hashlib-hashes=md5,sha1,sha256,sha512,sha3,blake2
1592 MACHDEP name for machine-dependent library files
1595 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1597 LIBS libraries to pass to the linker, e.g. -l<library>
1598 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1600 CPP C preprocessor
1602 Python args for PGO generation task
1603 PKG_CONFIG path to pkg-config utility
1605 directories to add to pkg-config's search path
1607 path overriding pkg-config's built-in search path
1618 # If there are subdirs, report their specific --help.
1619 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1620 test -d "$ac_dir" ||
1621 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1629 # A ".." for each directory in $ac_dir_suffix.
1638 # for backward compatibility:
1658 # Check for guested configure.
1659 if test -f "$ac_srcdir/configure.gnu"; then
1661 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1662 elif test -f "$ac_srcdir/configure"; then
1664 $SHELL "$ac_srcdir/configure" --help=recursive
1666 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672 test -n "$ac_init_help" && exit $ac_status
1685 ## ------------------------ ##
1687 ## ------------------------ ##
1690 # --------------------------
1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695 rm -f conftest.$ac_objext
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 if test -s conftest.err; then
1706 grep -v '^ *+' conftest.err >conftest.er1
1708 mv -f conftest.er1 conftest.err
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1712 test -z "$ac_c_werror_flag" ||
1713 test ! -s conftest.err
1714 } && test -s conftest.$ac_objext; then :
1728 # ----------------------
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1765 # -----------------------
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 rm -f conftest.$ac_objext conftest$ac_exeext
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787 test -z "$ac_c_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest$ac_exeext && {
1791 test -x conftest$ac_exeext
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1811 # -------------------------------------------------------
1817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 ac_header_compiler=no
1841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855 ac_header_preproc=no
1857 rm -f conftest.err conftest.i conftest.$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1863 yes:no: )
1864 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1869 no:yes:* )
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1872 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
1873 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1876 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1880 ( $as_echo "## --------------------------------------- ##
1882 ## --------------------------------------- ##"
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1887 $as_echo_n "checking for $2... " >&6; }
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 # ----------------------
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1944 # -------------------------------------------------------
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 eval "$3=no"
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 $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1986 eval "$3=no"
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2029 # --------------------------------------------
2030 # Tries to find the compile-time value of EXPR in a program that includes
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 static int test_array [1 - 2 * !(($2) >= 0)];
2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2073 if test $ac_lo -le $ac_mid; then
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 static int test_array [1 - 2 * !(($2) < 0)];
2097 ac_hi=-1 ac_mid=-1
2099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2116 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2117 if test $ac_mid -le $ac_hi; then
2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2203 rm -f conftest.val
2212 # ----------------------------------
2216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2248 /* The GNU C library defines this for functions which it implements
2266 eval "$3=no"
2268 rm -f core conftest.err conftest.$ac_objext \
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2279 # ---------------------------------------------
2284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2286 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2313 eval "$3=no"
2315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2325 # ----------------------------------------------------
2330 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2332 $as_echo_n "checking for $2.$3... " >&6; }
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 eval "$4=no"
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2380 cat >config.log <<_ACEOF
2390 exec 5>>config.log
2393 ## --------- ##
2395 ## --------- ##
2397 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2398 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2399 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2400 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2401 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2403 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2404 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2407 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2417 for as_dir in $PATH
2420 test -z "$as_dir" && as_dir=.
2430 ## ----------- ##
2432 ## ----------- ##
2438 # Strip out --no-create and --no-recursion so they do not pile up.
2439 # Strip out --silent because we don't want to record it for future runs.
2440 # Also quote any args containing shell meta-characters.
2441 # Make two passes to allow for proper duplicate-argument suppression.
2446 for ac_pass in 1 2
2448 for ac_arg
2451 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2453 | -silent | --silent | --silen | --sile | --sil)
2466 *=* | --config-cache | -C | -disable-* | --disable-* \
2467 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2468 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2469 | -with-* | --with-* | -without-* | --without-* | --x)
2474 -* ) ac_must_keep_next=true ;;
2486 # config.log. We remove comments because anyway the quotes in there
2491 # Save into config.log some information that might help in debugging.
2495 $as_echo "## ---------------- ##
2497 ## ---------------- ##"
2501 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2506 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2519 sed -n \
2524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2531 $as_echo "## ----------------- ##
2533 ## ----------------- ##"
2535 for ac_var in $ac_subst_vars
2545 if test -n "$ac_subst_files"; then
2546 $as_echo "## ------------------- ##
2548 ## ------------------- ##"
2550 for ac_var in $ac_subst_files
2561 if test -s confdefs.h; then
2562 $as_echo "## ----------- ##
2564 ## ----------- ##"
2573 rm -f core *.core core.conftest.* &&
2574 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2577 for ac_signal in 1 2 13 15; do
2583 rm -f -r conftest* confdefs.h
2618 if test -n "$CONFIG_SITE"; then
2619 # We do not want a PATH search for config.site.
2621 -*) ac_site_file1=./$CONFIG_SITE;;
2626 ac_site_file1=$prefix/share/config.site
2627 ac_site_file2=$prefix/etc/config.site
2629 ac_site_file1=$ac_default_prefix/share/config.site
2630 ac_site_file2=$ac_default_prefix/etc/config.site
2632 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2635 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2640 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2643 See \`config.log' for more details" "$LINENO" 5; }
2647 if test -r "$cache_file"; then
2650 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2667 for ac_var in $ac_precious_vars; do
2674 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
2678 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2692 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2702 # Pass precious variables to config.status.
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2717 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
2721 ## -------------------- ##
2723 ## -------------------- ##
2726 ac_cpp='$CPP $CPPFLAGS'
2727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2736 if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
2737 # If we're building out-of-tree, we need to make sure the following
2739 # Objects/ -> typeslots.inc
2740 # Include/ -> Python-ast.h, graminit.h
2741 # Python/ -> importlib.h
2743 # regenerated when building out-of-tree, regardless of whether or not
2744 # the $srcdir counterpart is up-to-date. This is an acceptable trade
2746 BASECPPFLAGS="-IObjects -IInclude -IPython"
2755 if test -e $srcdir/.git
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760 $as_echo_n "checking for $ac_word... " >&6; }
2764 if test -n "$HAS_GIT"; then
2768 for as_dir in $PATH
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
2786 if test -n "$HAS_GIT"; then
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2796 HAS_GIT=no-repository
2800 GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
2801 GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
2802 GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
2814 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2815 if test -f "$ac_dir/install-sh"; then
2817 ac_install_sh="$ac_aux_dir/install-sh -c"
2819 elif test -f "$ac_dir/install.sh"; then
2821 ac_install_sh="$ac_aux_dir/install.sh -c"
2823 elif test -f "$ac_dir/shtool"; then
2825 ac_install_sh="$ac_aux_dir/shtool install -c"
2829 if test -z "$ac_aux_dir"; then
2830 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
2837 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2838 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2842 # Make sure we can run config.sub.
2843 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2844 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2853 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2856 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2857 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2863 *-*-*) ;;
2867 ac_save_IFS=$IFS; IFS='-'
2877 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2888 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2889 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2896 *-*-*) ;;
2900 ac_save_IFS=$IFS; IFS='-'
2910 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2916 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
2917 rm -f pybuilddir.txt
2919 for ac_prog in python$PACKAGE_VERSION python3 python
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2928 if test -n "$PYTHON_FOR_REGEN"; then
2932 for as_dir in $PATH
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 if test -n "$PYTHON_FOR_REGEN"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2958 test -n "$PYTHON_FOR_REGEN" && break
2960 test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python interpreter for cross build" >&5
2966 $as_echo_n "checking for python interpreter for cross build... " >&6; }
2967 if test -z "$PYTHON_FOR_BUILD"; then
2968 for interp in python$PACKAGE_VERSION python3 python; do
2970 …if $interp -c "import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == '$PACKAGE…
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
2980 …dir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && e…
2983 as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
2985 PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
2991 prefix=`echo "$prefix" | sed -e 's/\/$//g'`
2998 # with other autoconf-based packages that include Python.h
2999 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
3011 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
3017 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3024 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3031 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
3045 $as_echo_n "checking for --enable-universalsdk... " >&6; }
3046 # Check whether --enable-universalsdk was given.
3051 # Locate the best usable SDK, see Mac/README for more
3053 enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
3054 if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
3057 if test ! -d "${enableval}"
3065 no)
3071 if test ! -d "${UNIVERSALSDK}"
3073 as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
3086 if test -n "${UNIVERSALSDK}"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3099 # For backward compatibility reasons we prefer to select '32-bit' if available,
3101 UNIVERSAL_ARCHS="32-bit"
3102 if test "`uname -s`" = "Darwin"
3104 if test -n "${UNIVERSALSDK}"
3106 if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
3115 $as_echo_n "checking for --with-universal-archs... " >&6; }
3117 # Check whether --with-universal-archs was given.
3124 if test -n "${UNIVERSALSDK}"
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3134 # Check whether --with-framework-name was given.
3139 PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
3149 # Check whether --enable-framework was given.
3157 no)
3159 PYTHONFRAMEWORKDIR=no-framework
3211 # --prefix option, but wants to install
3212 # the framework in a non-default location,
3227 # Add files for Mac specific code to the list of output
3242 PYTHONFRAMEWORKDIR=no-framework
3280 ## AS_HELP_STRING([--with-dyld],
3283 # Set name for machine-dependent library files
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
3287 if test -z "$MACHDEP"
3289 # avoid using uname for cross builds
3291 # ac_sys_system and ac_sys_release are used for setting
3295 *-*-linux-android*)
3296 ac_sys_system=Linux-android
3298 *-*-linux*)
3301 *-*-cygwin*)
3304 *-*-vxworks*)
3308 # for now, limit cross builds to known configurations
3310 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3314 ac_sys_system=`uname -s`
3316 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
3317 ac_sys_release=`uname -v`
3319 ac_sys_release=`uname -r`
3323 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
3325 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$MACHDEP\"" >&5
3342 *-*-linux*)
3351 *-*-cygwin*)
3354 *-*-vxworks*)
3358 # for now, limit cross builds to known configurations
3360 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3362 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
3367 # features as extensions. For these systems, we skip the definition of
3369 # some feature, make sure there is no alternative way to access this
3371 # need for not defining _XOPEN_SOURCE on all systems matching the
3377 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3381 define_xopen_source=no
3400 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3401 define_xopen_source=no;;
3405 # for Python to use Solaris is simply to leave _XOPEN_SOURCE out
3408 define_xopen_source=no;;
3411 # Reconfirmed for 7.1.4 by Martin v. Loewis.
3412 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3413 define_xopen_source=no;;
3417 define_xopen_source=no;;
3424 # has no effect, don't bother defining them
3426 define_xopen_source=no;;
3427 Darwin/[12][0-9].*)
3428 define_xopen_source=no;;
3433 define_xopen_source=no;;
3435 if test `uname -r` -eq 1; then
3436 define_xopen_source=no
3442 define_xopen_source=no
3447 define_xopen_source=no
3450 # On HP-UX, defining _XOPEN_SOURCE to 600 or greater hides
3453 define_xopen_source=no
3460 # X/Open 7, incorporating POSIX.1-2008
3468 # cases for HP-UX, we define it globally.
3478 # On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
3483 define_stdc_a1=no;;
3493 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
3501 # checks for alternative programs
3504 # for debug/optimization stuff. BASECFLAGS is for flags that are required
3510 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
3512 as_fn_error $? "cached CC is different -- throw away $cache_file
3516 # Don't let AC_PROG_CC set the default CFLAGS. It normally sets -g -O2
3517 # when the compiler supports them, but we don't always want -O2, and
3518 # we set -g later.
3519 if test -z "$CFLAGS"; then
3526 # AC_PROG_CC can handle, see Mac/README for more
3528 if test -z "${CC}"
3533 for as_dir in $PATH
3536 if test -x "${as_dir}/gcc"; then
3537 if test -z "${found_gcc}"; then
3541 if test -x "${as_dir}/clang"; then
3542 if test -z "${found_clang}"; then
3549 if test -n "$found_gcc" -a -n "$found_clang"
3551 if test -n "`"$found_gcc" --version | grep llvm-gcc`"
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected llvm-gcc, falling back to clang" >&5
3554 $as_echo "$as_me: Detected llvm-gcc, falling back to clang" >&6;}
3560 elif test -z "$found_gcc" -a -n "$found_clang"
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: No GCC found, use CLANG" >&5
3563 $as_echo "$as_me: No GCC found, use CLANG" >&6;}
3567 elif test -z "$found_gcc" -a -z "$found_clang"
3569 found_clang=`/usr/bin/xcrun -find clang 2>/dev/null`
3570 if test -n "${found_clang}"
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: Using clang from Xcode.app" >&5
3575 CXX="`/usr/bin/xcrun -find clang++`"
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3587 if test -n "$ac_tool_prefix"; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3595 if test -n "$CC"; then
3599 for as_dir in $PATH
3602 test -z "$as_dir" && as_dir=.
3603 for ac_exec_ext in '' $ac_executable_extensions; do
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 if test -n "$CC"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3626 if test -z "$ac_cv_prog_CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3635 if test -n "$ac_ct_CC"; then
3639 for as_dir in $PATH
3642 test -z "$as_dir" && as_dir=.
3643 for ac_exec_ext in '' $ac_executable_extensions; do
3646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 if test -n "$ac_ct_CC"; then
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3679 if test -z "$CC"; then
3680 if test -n "$ac_tool_prefix"; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test -n "$CC"; then
3692 for as_dir in $PATH
3695 test -z "$as_dir" && as_dir=.
3696 for ac_exec_ext in '' $ac_executable_extensions; do
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 if test -n "$CC"; then
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3714 $as_echo "no" >&6; }
3720 if test -z "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3728 if test -n "$CC"; then
3731 ac_prog_rejected=no
3733 for as_dir in $PATH
3736 test -z "$as_dir" && as_dir=.
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test -n "$CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3776 if test -z "$CC"; then
3777 if test -n "$ac_tool_prefix"; then
3778 for ac_prog in cl.exe
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3787 if test -n "$CC"; then
3791 for as_dir in $PATH
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 if test -n "$CC"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 test -n "$CC" && break
3820 if test -z "$CC"; then
3822 for ac_prog in cl.exe
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3831 if test -n "$ac_ct_CC"; then
3835 for as_dir in $PATH
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 if test -n "$ac_ct_CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 test -n "$ac_ct_CC" && break
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3880 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3882 as_fn_error $? "no acceptable C compiler found in \$PATH
3883 See \`config.log' for more details" "$LINENO" 5; }
3886 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3889 for ac_option in --version -v -V -qversion; do
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3899 if test -s conftest.err; then
3905 rm -f conftest.er1 conftest.err
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 # Try to create an executable without -o first, disregard a.out.
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3928 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 for ac_file in $ac_files
3941 rm -f $ac_rmfiles
3948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3957 # so that the user can short-circuit this test for compilers unknown to
3959 for ac_file in $ac_files ''
3961 test -f "$ac_file" || continue
3970 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3974 # We set ac_cv_exeext here because the later test for it is not
3975 # safe: cross compilers may not add the suffix if given an `-o'
3984 test "$ac_cv_exeext" = no && ac_cv_exeext=
3989 if test -z "$ac_file"; then :
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3998 See \`config.log' for more details" "$LINENO" 5; }
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4004 $as_echo_n "checking for C compiler default output file name... " >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4009 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4012 $as_echo_n "checking for suffix of executables... " >&6; }
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4028 for ac_file in conftest.exe conftest conftest.*; do
4029 test -f "$ac_file" || continue
4038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 See \`config.log' for more details" "$LINENO" 5; }
4043 rm -f conftest conftest$ac_cv_exeext
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4047 rm -f conftest.$ac_ext
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 cross_compiling=no
4096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4099 If you meant to cross compile, use \`--host'.
4100 See \`config.log' for more details" "$LINENO" 5; }
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4107 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4110 $as_echo_n "checking for suffix of object files... " >&6; }
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 rm -f conftest.o conftest.obj
4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4137 for ac_file in conftest.o conftest.obj conftest.*; do
4138 test -f "$ac_file" || continue;
4149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 See \`config.log' for more details" "$LINENO" 5; }
4154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 ac_compiler_gnu=no
4184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4204 ac_cv_prog_cc_g=no
4205 CFLAGS="-g"
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 CFLAGS="-g"
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4264 CFLAGS="-g -O2"
4266 CFLAGS="-g"
4270 CFLAGS="-O2"
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4280 ac_cv_prog_cc_c89=no
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4306 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4309 as 'x'. The following induces an error, until -std is added to get
4310 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4312 that's true only with -std. */
4313 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4315 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4318 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4334 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4335 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4341 rm -f core conftest.err conftest.$ac_objext
4344 rm -f conftest.$ac_ext
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4366 ac_cpp='$CPP $CPPFLAGS'
4367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4372 ac_cpp='$CPP $CPPFLAGS'
4373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4378 # On Suns, sometimes $CPP names a directory.
4379 if test -n "$CPP" && test -d "$CPP"; then
4380 CPP=
4382 if test -z "$CPP"; then
4386 # Double quotes because CPP needs to be expanded
4387 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4390 for ac_c_preproc_warn_flag in '' yes
4393 # with a fresh cross-compiler works.
4396 # On the NeXT, cc -E runs the code through the compiler's parser,
4397 # not just through cpp. "Syntax error" is here to catch this case.
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 rm -f conftest.err conftest.i conftest.$ac_ext
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4429 rm -f conftest.err conftest.i conftest.$ac_ext
4433 rm -f conftest.i conftest.err conftest.$ac_ext
4439 ac_cv_prog_CPP=$CPP
4442 CPP=$ac_cv_prog_CPP
4444 ac_cv_prog_CPP=$CPP
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4447 $as_echo "$CPP" >&6; }
4449 for ac_c_preproc_warn_flag in '' yes
4452 # with a fresh cross-compiler works.
4455 # On the NeXT, cc -E runs the code through the compiler's parser,
4456 # not just through cpp. "Syntax error" is here to catch this case.
4457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 rm -f conftest.err conftest.i conftest.$ac_ext
4476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 rm -f conftest.err conftest.i conftest.$ac_ext
4492 rm -f conftest.i conftest.err conftest.$ac_ext
4496 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4498 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4499 See \`config.log' for more details" "$LINENO" 5; }
4503 ac_cpp='$CPP $CPPFLAGS'
4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4509 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4513 if test -z "$GREP"; then
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4520 test -z "$as_dir" && as_dir=.
4521 for ac_prog in grep ggrep; do
4522 for ac_exec_ext in '' $ac_executable_extensions; do
4525 # Check for GNU ac_path_GREP and select it if it is found.
4526 # Check for GNU $ac_path_GREP
4527 case `"$ac_path_GREP" --version 2>&1` in
4539 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
4542 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4558 if test -z "$ac_cv_path_GREP"; then
4559 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4572 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4577 for ac_i in 1 2 3 4 5 6 7; do
4582 if test -z "$SED"; then
4584 # Loop through the user's path and test for each of PROGNAME-LIST
4586 for as_dir in $PATH
4589 test -z "$as_dir" && as_dir=.
4590 for ac_prog in sed gsed; do
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4594 # Check for GNU ac_path_SED and select it if it is found.
4595 # Check for GNU $ac_path_SED
4596 case `"$ac_path_SED" --version 2>&1` in
4608 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4611 if test $ac_count -gt ${ac_path_SED_max-0}; then
4612 # Best one so far, save it but keep looking for a better one
4617 test $ac_count -gt 10 && break
4619 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4627 if test -z "$ac_cv_path_SED"; then
4628 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4638 rm -f conftest.sed
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-cxx-main=<compiler>" >&5
4644 $as_echo_n "checking for --with-cxx-main=<compiler>... " >&6; }
4646 # Check whether --with-cxx_main was given.
4651 no) with_cxx_main=no
4657 if test -z "$CXX"
4664 with_cxx_main=no
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cxx_main" >&5
4673 if test -z "$CXX"
4676 gcc) if test -n "$ac_tool_prefix"; then
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4690 for as_dir in notfound
4693 test -z "$as_dir" && as_dir=.
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4708 if test -n "$CXX"; then
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4713 $as_echo "no" >&6; }
4718 if test -z "$ac_cv_path_CXX"; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 $as_echo_n "checking for $ac_word... " >&6; }
4733 for as_dir in notfound
4736 test -z "$as_dir" && as_dir=.
4737 for ac_exec_ext in '' $ac_executable_extensions; do
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 if test -n "$ac_pt_CXX"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4774 cc) if test -n "$ac_tool_prefix"; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4778 $as_echo_n "checking for $ac_word... " >&6; }
4788 for as_dir in notfound
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 if test -n "$CXX"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4816 if test -z "$ac_cv_path_CXX"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4831 for as_dir in notfound
4834 test -z "$as_dir" && as_dir=.
4835 for ac_exec_ext in '' $ac_executable_extensions; do
4838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 if test -n "$ac_pt_CXX"; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4854 $as_echo "no" >&6; }
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4872 clang|*/clang) if test -n "$ac_tool_prefix"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876 $as_echo_n "checking for $ac_word... " >&6; }
4886 for as_dir in notfound
4889 test -z "$as_dir" && as_dir=.
4890 for ac_exec_ext in '' $ac_executable_extensions; do
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 if test -n "$CXX"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4914 if test -z "$ac_cv_path_CXX"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4929 for as_dir in notfound
4932 test -z "$as_dir" && as_dir=.
4933 for ac_exec_ext in '' $ac_executable_extensions; do
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 if test -n "$ac_pt_CXX"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4970 icc|*/icc) if test -n "$ac_tool_prefix"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4984 for as_dir in notfound
4987 test -z "$as_dir" && as_dir=.
4988 for ac_exec_ext in '' $ac_executable_extensions; do
4991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 if test -n "$CXX"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5012 if test -z "$ac_cv_path_CXX"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5027 for as_dir in notfound
5030 test -z "$as_dir" && as_dir=.
5031 for ac_exec_ext in '' $ac_executable_extensions; do
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 if test -n "$ac_pt_CXX"; then
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5050 $as_echo "no" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5074 if test -z "$CXX"
5076 if test -n "$ac_tool_prefix"; then
5077 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5086 if test -n "$CXX"; then
5090 for as_dir in $PATH
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107 if test -n "$CXX"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5116 test -n "$CXX" && break
5119 if test -z "$CXX"; then
5121 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5130 if test -n "$ac_ct_CXX"; then
5134 for as_dir in $PATH
5137 test -z "$as_dir" && as_dir=.
5138 for ac_exec_ext in '' $ac_executable_extensions; do
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 if test -n "$ac_ct_CXX"; then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 $as_echo "no" >&6; }
5160 test -n "$ac_ct_CXX" && break
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5183 { $as_echo "$as_me:${as_lineno-$LINENO}:
5196 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler charac…
5200 $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
5217 x86_64-linux-gnu
5219 x86_64-linux-gnux32
5221 i386-linux-gnu
5224 aarch64_ilp32-linux-gnu
5226 aarch64-linux-gnu
5230 aarch64_be_ilp32-linux-gnu
5232 aarch64_be-linux-gnu
5235 alpha-linux-gnu
5238 arm-linux-gnueabihf
5240 armeb-linux-gnueabihf
5244 arm-linux-gnueabi
5246 armeb-linux-gnueabi
5249 hppa-linux-gnu
5251 ia64-linux-gnu
5253 m68k-linux-gnu
5256 mipsisa32r6el-linux-gnu
5258 mipsisa64r6el-linux-gnuabin32
5260 mipsisa64r6el-linux-gnuabi64
5266 mipsisa32r6-linux-gnu
5268 mipsisa64r6-linux-gnuabin32
5270 mipsisa64r6-linux-gnuabi64
5276 mipsel-linux-gnu
5278 mips64el-linux-gnuabin32
5280 mips64el-linux-gnuabi64
5286 mips-linux-gnu
5288 mips64-linux-gnuabin32
5290 mips64-linux-gnuabi64
5295 or1k-linux-gnu
5297 powerpc-linux-gnuspe
5300 powerpc64le-linux-gnu
5302 powerpc64-linux-gnu
5305 powerpc-linux-gnu
5307 s390x-linux-gnu
5309 s390-linux-gnu
5311 sh4-linux-gnu
5313 sparc64-linux-gnu
5315 sparc-linux-gnu
5318 riscv32-linux-gnu
5320 riscv64-linux-gnu
5329 x86_64-kfreebsd-gnu
5331 i386-kfreebsd-gnu
5336 i386-gnu
5347 if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
5348 PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5355 rm -f conftest.c conftest.out
5359 …as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LIN…
5366 MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-as-needed" >&5
5371 $as_echo_n "checking for -Wl,--no-as-needed... " >&6; }
5373 LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 NO_AS_NEEDED="-Wl,--no-as-needed"
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5395 rm -f core conftest.err conftest.$ac_objext \
5401 # checks for UNIX variants that set C preprocessor variables
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5404 $as_echo_n "checking for egrep... " >&6; }
5408 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5409 then ac_cv_path_EGREP="$GREP -E"
5411 if test -z "$EGREP"; then
5413 # Loop through the user's path and test for each of PROGNAME-LIST
5415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5418 test -z "$as_dir" && as_dir=.
5419 for ac_prog in egrep; do
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5423 # Check for GNU ac_path_EGREP and select it if it is found.
5424 # Check for GNU $ac_path_EGREP
5425 case `"$ac_path_EGREP" --version 2>&1` in
5440 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5441 # Best one so far, save it but keep looking for a better one
5446 test $ac_count -gt 10 && break
5448 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5456 if test -z "$ac_cv_path_EGREP"; then
5457 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5471 $as_echo_n "checking for ANSI C header files... " >&6; }
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 ac_cv_header_stdc=no
5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 ac_cv_header_stdc=no
5510 rm -f conftest*
5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 ac_cv_header_stdc=no
5527 rm -f conftest*
5532 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5542 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5556 for (i = 0; i < 256; i++)
5566 ac_cv_header_stdc=no
5568 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5583 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5600 …ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_include…
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 ac_cv_safe_to_define___extensions__=no
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android API level" >&5
5662 $as_echo_n "checking for the Android API level... " >&6; }
5672 if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
5673 ANDROID_API_LEVEL=`sed -n -e '/__ANDROID_API__/d' -e 's/^android_api = //p' conftest.out`
5674 _arm_arch=`sed -n -e '/__ARM_ARCH/d' -e 's/^arm_arch = //p' conftest.out`
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANDROID_API_LEVEL" >&5
5677 if test -z "$ANDROID_API_LEVEL"; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
5688 $as_echo_n "checking for the Android arm ABI... " >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5
5692 BASECFLAGS="${BASECFLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16"
5693 LDFLAGS="${LDFLAGS} -march=armv7-a -Wl,--fix-cortex-a8"
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not Android" >&5
5699 rm -f conftest.c conftest.out
5701 # Check for unsupported systems
5704 echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
5705 echo See README for details.
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
5711 $as_echo_n "checking for --with-suffix... " >&6; }
5713 # Check whether --with-suffix was given.
5717 no) EXEEXT=;;
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
5726 # Test whether we're running on a non-case-sensitive system, in which
5727 # case we give a warning if no ext is given
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
5730 $as_echo_n "checking for case-insensitive build directory... " >&6; }
5731 if test ! -d CaseSensitiveTestDir; then
5735 if test -d casesensitivetestdir
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5750 cc|*/cc) CC="$CC -Ae";;
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
5757 if test -z "$LIBRARY"
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
5776 # on the system - some systems like version suffix, others don't
5796 # LINKCC is the command that links the python executable -- default is $(CC).
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
5803 if test -z "$LINKCC"
5809 # support -N.
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
5816 # EXPORTSYMS holds the list of exported symbols for AIX.
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EXPORTSYMS" >&5
5827 if test $ac_sys_release -ge 5 -o \
5828 $ac_sys_release -eq 4 -a `uname -r` -ge 2 ; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPORTSYMS" >&5
5837 # make sure we default having it set to "no": this is used by
5838 # distutils.unixccompiler to know if it should add --enable-new-dtags
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5843 $as_echo_n "checking for GNU ld... " >&6; }
5846 ac_prog=`$CC -print-prog-name=ld`
5848 case `"$ac_prog" -V 2>&1 < /dev/null` in
5852 GNULD=no;;
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
5858 $as_echo_n "checking for --enable-shared... " >&6; }
5859 # Check whether --enable-shared was given.
5865 if test -z "$enable_shared"
5871 enable_shared="no";;
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
5878 $as_echo_n "checking for --enable-profiling... " >&6; }
5879 # Check whether --enable-profiling was given.
5886 CC="$CC -pg"
5887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 enable_profiling=no
5896 rm -f core conftest.err conftest.$ac_objext \
5900 enable_profiling=no
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
5906 BASECFLAGS="-pg $BASECFLAGS"
5907 LDFLAGS="-pg $LDFLAGS"
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
5915 # will find it with a -framework option). For this reason there is an
5918 # LDLIBRARY, but empty for MacOSX framework builds.
5941 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
5951 BLDLIBRARY='-L. -lpython$(LDVERSION)'
5960 case `uname -m` in
5968 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
5973 BLDLIBRARY='-L. -lpython$(LDVERSION)'
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
6000 if test -n "$ac_tool_prefix"; then
6001 for ac_prog in ar aal
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6010 if test -n "$AR"; then
6014 for as_dir in $PATH
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 if test -n "$AR"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6040 test -n "$AR" && break
6043 if test -z "$AR"; then
6045 for ac_prog in ar aal
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6054 if test -n "$ac_ct_AR"; then
6058 for as_dir in $PATH
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 if test -n "$ac_ct_AR"; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6084 test -n "$ac_ct_AR" && break
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6103 if test -z "$ARFLAGS"
6108 if test -n "$ac_tool_prefix"; then
6109 for ac_prog in readelf
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6118 if test -n "$READELF"; then
6122 for as_dir in $PATH
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6139 if test -n "$READELF"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6148 test -n "$READELF" && break
6151 if test -z "$READELF"; then
6153 for ac_prog in readelf
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6158 $as_echo_n "checking for $ac_word... " >&6; }
6162 if test -n "$ac_ct_READELF"; then
6166 for as_dir in $PATH
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6183 if test -n "$ac_ct_READELF"; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6188 $as_echo "no" >&6; }
6192 test -n "$ac_ct_READELF" && break
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6211 as_fn_error $? "readelf for the host is required for cross builds" "$LINENO" 5
6220 # install -d does not work on HP-UX
6221 if test -z "$INSTALL"
6223 INSTALL="${srcdir}/install-sh -c"
6234 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6241 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6242 if test -z "$INSTALL"; then
6247 for as_dir in $PATH
6250 test -z "$as_dir" && as_dir=.
6251 # Account for people who put trailing slashes in PATH elements.
6258 # OSF1 and SCO ODT 3.0 have their own names for install.
6261 for ac_prog in ginstall scoinst install; do
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6270 # program-specific install script used by HP pwplus--don't use.
6273 rm -rf conftest.one conftest.two conftest.dir
6277 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
6278 test -s conftest.one && test -s conftest.two &&
6279 test -s conftest.dir/conftest.one &&
6280 test -s conftest.dir/conftest.two
6282 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6295 rm -rf conftest.one conftest.two conftest.dir
6302 # value for INSTALL within a source directory, because that will
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6317 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6320 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6321 if test -z "$MKDIR_P"; then
6326 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6329 test -z "$as_dir" && as_dir=.
6330 for ac_prog in mkdir gmkdir; do
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6333 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6347 test -d ./--version && rmdir ./--version
6349 MKDIR_P="$ac_cv_path_mkdir -p"
6352 # value for MKDIR_P within a source directory, because that will
6355 MKDIR_P="$ac_install_sh -d"
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6364 if test -z "$LN" ; then
6366 CYGWIN*) LN="ln -s";;
6371 # For calculating the .so ABI tag.
6375 # Check for --with-pydebug
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
6377 $as_echo_n "checking for --with-pydebug... " >&6; }
6379 # Check whether --with-pydebug was given.
6382 if test "$withval" != no
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6391 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 $as_echo "no" >&6; }; Py_DEBUG='false'
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396 $as_echo "no" >&6; }
6400 # Check for --with-trace-refs
6401 # --with-trace-refs
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-trace-refs" >&5
6403 $as_echo_n "checking for --with-trace-refs... " >&6; }
6405 # Check whether --with-trace-refs was given.
6409 with_trace_refs=no
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_trace_refs" >&5
6422 # Check for --with-assertions.
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-assertions" >&5
6426 $as_echo_n "checking for --with-assertions... " >&6; }
6428 # Check whether --with-assertions was given.
6431 if test "$withval" != no
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: implied by --with-pydebug" >&5
6443 $as_echo "implied by --with-pydebug" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
6454 $as_echo_n "checking for --enable-optimizations... " >&6; }
6455 # Check whether --enable-optimizations was given.
6458 if test "$enableval" != no
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; };
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6477 # who want LTO need to use --with-lto themselves.
6478 DEF_MAKE_ALL_RULE="profile-opt"
6483 REQUIRE_PGO="no"
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PROFILE_TASK" >&5
6490 if test -z "$PROFILE_TASK"
6492 PROFILE_TASK='-m test --pgo'
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
6497 # Make llvm-relatec checks work on systems where llvm tools are not installed with their
6499 # non-suffixed name in their versioned llvm directory.
6508 if test -L "${clang_bin}"
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
6519 $as_echo_n "checking for --with-lto... " >&6; }
6521 # Check whether --with-lto was given.
6524 if test "$withval" != no
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 $as_echo "no" >&6; };
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6543 if test -n "$ac_tool_prefix"; then
6544 # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args.
6545 set dummy ${ac_tool_prefix}llvm-ar; ac_word=$2
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6547 $as_echo_n "checking for $ac_word... " >&6; }
6557 for as_dir in ${llvm_path}
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 if test -n "$LLVM_AR"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_AR" >&5
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6585 if test -z "$ac_cv_path_LLVM_AR"; then
6587 # Extract the first word of "llvm-ar", so it can be a program name with args.
6588 set dummy llvm-ar; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6600 for as_dir in ${llvm_path}
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 if test -n "$ac_pt_LLVM_AR"; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_AR" >&5
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6642 if test -n "${LLVM_AR}" -a -x "${LLVM_AR}"
6646 LLVM_AR_FOUND="not-found"
6648 if test "$ac_sys_system" = "Darwin" -a "${LLVM_AR_FOUND}" = "not-found"
6650 found_llvm_ar=`/usr/bin/xcrun -find llvm-ar 2>/dev/null`
6651 if test -n "${found_llvm_ar}"
6653 LLVM_AR='/usr/bin/xcrun llvm-ar'
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-ar found via xcrun: ${LLVM_AR}" >&5
6656 $as_echo "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
6659 if test $LLVM_AR_FOUND = not-found
6662 …as_fn_error $? "llvm-ar is required for a --with-lto build with clang but could not be found." "$L…
6664 LLVM_AR_ERR=no
6670 LTOFLAGS="-flto -Wl,-export_dynamic"
6673 LTOFLAGS="-flto"
6680 LTOFLAGS="-flto -Wl,-export_dynamic"
6683 LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
6691 # bpo-30345: Add -g to LDFLAGS when compiling with LTO
6693 LTOFLAGS="$LTOFLAGS -g"
6707 if test -n "$ac_tool_prefix"; then
6708 …# Extract the first word of "${ac_tool_prefix}llvm-profdata", so it can be a program name with arg…
6709 set dummy ${ac_tool_prefix}llvm-profdata; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6721 for as_dir in ${llvm_path}
6724 test -z "$as_dir" && as_dir=.
6725 for ac_exec_ext in '' $ac_executable_extensions; do
6728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 if test -n "$LLVM_PROFDATA"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6749 if test -z "$ac_cv_path_LLVM_PROFDATA"; then
6751 # Extract the first word of "llvm-profdata", so it can be a program name with args.
6752 set dummy llvm-profdata; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6764 for as_dir in ${llvm_path}
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6782 if test -n "$ac_pt_LLVM_PROFDATA"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6787 $as_echo "no" >&6; }
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6806 if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
6810 LLVM_PROF_FOUND="not-found"
6812 if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
6814 found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
6815 if test -n "${found_llvm_profdata}"
6817 # llvm-profdata isn't directly in $PATH in some cases.
6819 LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
6822 $as_echo "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
6825 LLVM_PROF_ERR=no
6829 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6830 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6831 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6832 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6833 if test $LLVM_PROF_FOUND = not-found
6838 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6845 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6846 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6847 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6848 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6849 if test "${LLVM_PROF_FOUND}" = "not-found"
6854 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6859 PGO_PROF_GEN_FLAG="-fprofile-generate"
6860 PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
6867 PGO_PROF_GEN_FLAG="-prof-gen"
6868 PGO_PROF_USE_FLAG="-prof-use"
6878 # ------------------------
6879 # (The following bit of code is complicated enough - please keep things
6880 # indented properly. Just pretend you're editing Python code. ;-)
6892 if $CC --version 2>&1 | grep -q clang
6904 if test "${OPT-unset}" = "unset"
6908 # For gcc 4.x we need to use -fwrapv so lets check if its supported
6909 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
6910 WRAP="-fwrapv"
6913 if test -n "${cc_is_clang}"
6915 # Clang also needs -fwrapv
6916 WRAP="-fwrapv"
6917 # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
6918 # see Makefile.pre.in for more information
6919 CFLAGS_ALIASING="-fno-strict-aliasing"
6925 # Optimization messes up debuggers, so turn it off for
6927 if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
6928 OPT="-g -Og -Wall"
6930 OPT="-g -O0 -Wall"
6933 OPT="-g $WRAP -O3 -Wall"
6937 OPT="-O3 -Wall"
6942 SCO_SV*) OPT="$OPT -m486 -DSCO5"
6948 OPT="-O"
6957 # The -arch flags for universal builds on macOS
6964 CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra" >&5
6967 $as_echo_n "checking for -Wextra... " >&6; }
6969 CC="$CC -Wextra -Werror"
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6992 ac_cv_extra_warnings=no
6995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_extra_warnings" >&5
7004 CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
7008 # GCC produce warnings for legal Python code. Enable
7009 # -fno-strict-aliasing on versions of GCC that support but produce
7011 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and needs -fno-strict-aliasi…
7012 $as_echo_n "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6; }
7014 CC="$CC -fno-strict-aliasing"
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 CC="$ac_save_cc -fstrict-aliasing"
7035 CFLAGS="$CFLAGS -Werror -Wstrict-aliasing"
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7051 ac_cv_no_strict_aliasing=no
7058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7062 ac_cv_no_strict_aliasing=no
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
7074 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
7081 ac_cv_disable_unused_result_warning=no
7084 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused result warning" >&5
7087 CC="$CC -Wunused-result -Werror"
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7111 ac_cv_disable_unused_result_warning=no
7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_result_warning" >&5
7126 BASECFLAGS="$BASECFLAGS -Wno-unused-result"
7127 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-result"
7130 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused parameter warning"…
7133 CC="$CC -Wunused-parameter -Werror"
7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7156 ac_cv_disable_unused_parameter_warning=no
7159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_parameter_warning" >&5
7168 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"
7171 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC missing field initializer…
7174 CC="$CC -Wmissing-field-initializers -Werror"
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197 ac_cv_disable_missing_field_initializers=no
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_missing_field_initializers" >&5
7209 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"
7212 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC mixed sign comparison warn…
7215 CC="$CC -Wsign-compare"
7220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 ac_cv_enable_sign_compare_warning=no
7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_sign_compare_warning" >&5
7252 BASECFLAGS="$BASECFLAGS -Wsign-compare"
7255 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC unreachable code warning" …
7258 CC="$CC -Wunreachable-code"
7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7282 ac_cv_enable_unreachable_code_warning=no
7285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7292 # results in non-standard code paths.
7296 # for clang. Try to determine if the compiler is not really gcc and,
7300 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
7302 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
7304 ac_cv_enable_unreachable_code_warning=no
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_unreachable_code_warning" >&5
7309 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC strict-prototypes warning"…
7310 $as_echo_n "checking if we can turn on $CC strict-prototypes warning... " >&6; }
7312 CC="$CC -Werror -Wstrict-prototypes"
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335 ac_cv_enable_strict_prototypes_warning=no
7338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_strict_prototypes_warning" >&5
7347 CFLAGS_NODIST="$CFLAGS_NODIST -Wstrict-prototypes"
7350 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can make implicit function declaration an …
7353 CC="$CC -Werror=implicit-function-declaration"
7357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7376 ac_cv_enable_implicit_function_declaration_error=no
7379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7383 …{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_implicit_function_declaration_error…
7388 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can use visibility in $CC" >&5
7394 CC="$CC -fvisibility=hidden"
7398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7417 ac_cv_enable_visibility=no
7420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_visibility" >&5
7429 CFLAGS_NODIST="$CFLAGS_NODIST -fvisibility=hidden"
7432 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
7437 BASECFLAGS="$BASECFLAGS -mieee"
7443 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
7447 # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
7448 # used to be here, but non-Apple gcc doesn't accept them.
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
7458 CC=gcc-4.0
7459 CPP=cpp-4.0
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7469 32-bit)
7470 UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
7474 64-bit)
7475 UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
7480 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
7481 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
7482 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
7485 UNIVERSAL_ARCH_FLAGS="-arch arm64 -arch x86_64"
7490 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
7491 LIPO_32BIT_FLAGS="-extract i386"
7492 ARCH_RUN_32BIT="/usr/bin/arch -i386"
7494 intel-32)
7495 UNIVERSAL_ARCH_FLAGS="-arch i386"
7499 intel-64)
7500 UNIVERSAL_ARCH_FLAGS="-arch x86_64"
7504 3-way)
7505 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
7506 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
7507 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
7510 …as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|3-way" "$…
7516 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
7517 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
7518 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
7525 # Calculate an appropriate deployment target for this build:
7527 # features are enabled (such as builtin libedit support for readline)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
7540 cur_target_major=`sw_vers -productVersion | \
7541 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
7542 cur_target_minor=`sw_vers -productVersion | \
7543 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
7545 if test ${cur_target_major} -eq 10 && \
7546 test ${cur_target_minor} -ge 3 && \
7547 test ${cur_target_minor} -le 5
7554 all|3-way|intel|64-bit)
7567 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
7579 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if specified universal architectures work" >&5
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7598 … as_fn_error $? "check config.log and use the '--with-universal-archs' option" "$LINENO" 5
7601 rm -f core conftest.err conftest.$ac_objext \
7612 BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
7615 BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
7623 # ICC needs -fp-model strict or floats behave badly
7624 CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
7627 CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
7634 OPT="-DNDEBUG $OPT"
7646 # options before we can check whether -Kpthread improves anything.
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >…
7653 ac_cv_pthread_is_default=no
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7675 ac_cv_kthread=no
7676 ac_cv_pthread=no
7679 ac_cv_pthread_is_default=no
7681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
7694 ac_cv_kpthread=no
7696 # -Kpthread, if available, provides the right #defines
7698 # Some compilers won't report that they do not support -Kpthread,
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
7702 $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; }
7707 CC="$CC -Kpthread"
7709 ac_cv_kpthread=no
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731 ac_cv_kpthread=no
7733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
7744 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
7746 # -Kthread, if available, provides the right #defines
7748 # Some compilers won't report that they do not support -Kthread,
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
7752 $as_echo_n "checking whether $CC accepts -Kthread... " >&6; }
7757 CC="$CC -Kthread"
7759 ac_cv_kthread=no
7761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 ac_cv_kthread=no
7783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
7794 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
7796 # -pthread, if available, provides the right #defines
7798 # Some compilers won't report that they do not support -pthread,
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
7802 $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
7807 CC="$CC -pthread"
7809 ac_cv_pthread=no
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 ac_cv_pthread=no
7833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
7844 # If we have set a CC compiler flag for thread support then
7845 # check if it works for CXX, too.
7846 ac_cv_cxx_thread=no
7847 if test ! -z "$CXX"
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread suppor…
7850 $as_echo_n "checking whether $CXX also accepts flags for thread support... " >&6; }
7855 CXX="$CXX -Kpthread"
7859 CXX="$CXX -Kthread"
7863 CXX="$CXX -pthread"
7870 $CXX -c conftest.$ac_ext 2>&5
7871 if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
7872 && test -s conftest$ac_exeext && ./conftest$ac_exeext
7876 ac_cv_cxx_thread=no
7878 rm -fr conftest*
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
7886 # checks for header files
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7888 $as_echo_n "checking for ANSI C header files... " >&6; }
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 ac_cv_header_stdc=no
7912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7925 ac_cv_header_stdc=no
7927 rm -f conftest*
7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7942 ac_cv_header_stdc=no
7944 rm -f conftest*
7949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7973 for (i = 0; i < 256; i++)
7983 ac_cv_header_stdc=no
7985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7999 for ac_header in asm/types.h crypt.h conio.h direct.h dlfcn.h errno.h \
8025 ac_header_dirent=no
8026 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8029 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8050 eval "$as_ac_Header=no"
8052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8066 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8069 $as_echo_n "checking for library containing opendir... " >&6; }
8074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8092 for ac_lib in '' dir; do
8093 if test -z "$ac_lib"; then
8096 ac_res=-l$ac_lib
8097 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8102 rm -f core conftest.err conftest.$ac_objext \
8111 ac_cv_search_opendir=no
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8119 if test "$ac_res" != no; then :
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8126 $as_echo_n "checking for library containing opendir... " >&6; }
8131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 for ac_lib in '' x; do
8150 if test -z "$ac_lib"; then
8153 ac_res=-l$ac_lib
8154 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8159 rm -f core conftest.err conftest.$ac_objext \
8168 ac_cv_search_opendir=no
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8176 if test "$ac_res" != no; then :
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 ac_cv_header_sys_types_h_makedev=no
8204 rm -f core conftest.err conftest.$ac_objext \
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
8211 if test $ac_cv_header_sys_types_h_makedev = no; then
8221 if test $ac_cv_header_sys_mkdev_h = no; then
8234 # bluetooth/bluetooth.h has been known to not compile with -std=c99.
8237 CFLAGS="-std=c99 $CFLAGS"
8238 for ac_header in bluetooth/bluetooth.h
8253 for ac_header in net/if.h
8280 for ac_header in linux/netlink.h
8302 for ac_header in linux/qrtr.h
8323 for ac_header in linux/vm_sockets.h
8342 for ac_header in linux/can.h linux/can/bcm.h linux/can/j1939.h linux/can/raw.h
8361 # checks for typedefs
8362 was_it_defined=no
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
8364 $as_echo_n "checking for clock_t in time.h... " >&6; }
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8380 rm -f conftest*
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
8386 $as_echo_n "checking for makedev... " >&6; }
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 ac_cv_has_makedev=no
8413 rm -f core conftest.err conftest.$ac_objext \
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_makedev" >&5
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for le64toh" >&5
8425 $as_echo_n "checking for le64toh... " >&6; }
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 ac_cv_has_le64toh=no
8450 rm -f core conftest.err conftest.$ac_objext \
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_le64toh" >&5
8461 # Don't use largefile support for GNU/Hurd
8463 use_lfs=no
8484 # Add some code to confdefs.h so that the test for off_t works on SCO
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8542 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 ac_cv_type_uid_t=no
8557 rm -f conftest*
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8562 if test $ac_cv_type_uid_t = no; then
8588 # ANSI C requires sizeof(char) == 1, so no need to check it
8590 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8605 See \`config.log' for more details" "$LINENO" 5; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
8635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8638 See \`config.log' for more details" "$LINENO" 5; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
8656 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
8668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8671 See \`config.log' for more details" "$LINENO" 5; }
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
8689 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8704 See \`config.log' for more details" "$LINENO" 5; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
8734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8737 See \`config.log' for more details" "$LINENO" 5; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
8755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8770 See \`config.log' for more details" "$LINENO" 5; }
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8803 See \`config.log' for more details" "$LINENO" 5; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
8833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8836 See \`config.log' for more details" "$LINENO" 5; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
8854 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
8866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8869 See \`config.log' for more details" "$LINENO" 5; }
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
8887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
8899 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8902 See \`config.log' for more details" "$LINENO" 5; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
8920 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
8932 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8935 See \`config.log' for more details" "$LINENO" 5; }
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
8955 $as_echo_n "checking for long double... " >&6; }
8962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
8982 ac_cv_type_long_double=no
8984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
8996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
9008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9011 See \`config.log' for more details" "$LINENO" 5; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
9030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
9042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9045 See \`config.log' for more details" "$LINENO" 5; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
9064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
9081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9084 See \`config.log' for more details" "$LINENO" 5; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
9104 if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
9105 "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9113 $as_echo "no" >&6; }
9117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
9137 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9140 See \`config.log' for more details" "$LINENO" 5; }
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
9161 then CC="$CC -Kpthread"
9163 then CC="$CC -Kthread"
9165 then CC="$CC -pthread"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
9169 $as_echo_n "checking for pthread_t... " >&6; }
9170 have_pthread_t=no
9171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5
9192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
9209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9212 See \`config.log' for more details" "$LINENO" 5; }
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
9234 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_key_t" >&5
9247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9250 See \`config.log' for more details" "$LINENO" 5; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_key_t" >&5
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_key_t is compatible with int" >&5
9269 if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9284 ac_pthread_key_t_is_arithmetic_type=no
9287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pthread_key_t_is_arithmetic_type" >&5
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 $as_echo "no" >&6; }
9304 OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
9315 LIBTOOL_CRUFT="-framework System -lcc_dynamic"
9319 LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
9321 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
9322 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
9324 gcc_version=`gcc -dumpversion`
9327 LIBTOOL_CRUFT="-lcc_dynamic"
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9351 ac_osx_32bit=no
9353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9388 LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
9389 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
9390 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
9393 $as_echo_n "checking for --enable-framework... " >&6; }
9396 BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
9397 # -F. is needed to allow linking to the framework while
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9406 …as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only …
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9410 $as_echo "no" >&6; }
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
9414 $as_echo_n "checking for dyld... " >&6; }
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
9421 $as_echo "always on for Darwin" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9425 $as_echo "no" >&6; }
9438 # -- usually .so, .sl on HP-UX, .dll on Cygwin
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the extension of shared libraries" >&5
9441 if test -z "$SHLIB_SUFFIX"; then
9444 case `uname -m` in
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIB_SUFFIX" >&5
9457 # -- "cc -G" on SunOS 5.x.
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
9462 if test -z "$LDSHARED"
9466 BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
9467 LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
9471 LDSHARED='$(CC) -shared'
9472 LDCXXSHARED='$(CXX) -shared'
9474 LDSHARED='$(CC) -G'
9475 LDCXXSHARED='$(CXX) -G'
9479 LDSHARED='$(CC) -shared'
9480 LDCXXSHARED='$(CXX) -shared'
9482 LDSHARED='$(CC) -b'
9483 LDCXXSHARED='$(CXX) -b'
9486 LDSHARED='$(CC) -bundle'
9487 LDCXXSHARED='$(CXX) -bundle'
9494 # No framework. Ignore undefined symbols, assuming they come from Python
9495 LDSHARED="$LDSHARED -undefined suppress"
9496 LDCXXSHARED="$LDCXXSHARED -undefined suppress"
9499 LDSHARED='$(CC) -bundle'
9500 LDCXXSHARED='$(CXX) -bundle'
9507 # No framework, use the Python app as bundle-loader
9508 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
9509 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9510 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9513 # Use -undefined dynamic_lookup whenever possible (10.3 and later).
9517 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
9519 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
9520 if test ${dep_target_major} -eq 10 && \
9521 test ${dep_target_minor} -le 2
9523 # building for OS X 10.0 through 10.2
9524 LDSHARED='$(CC) -bundle'
9525 LDCXXSHARED='$(CXX) -bundle'
9532 # No framework, use the Python app as bundle-loader
9533 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
9534 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9535 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9538 # building for OS X 10.3 and later
9539 LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
9540 LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
9545 LDSHARED='$(CC) -shared'
9546 LDCXXSHARED='$(CXX) -shared';;
9548 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9550 LDSHARED='$(CC) -shared'
9551 LDCXXSHARED='$(CXX) -shared'
9553 LDSHARED="ld -Bshareable"
9556 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9558 LDSHARED='$(CC) -shared $(CCSHARED)'
9559 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
9561 case `uname -r` in
9562 [01].* | 2.[0-7] | 2.[0-7].*)
9563 LDSHARED="ld -Bshareable ${LDFLAGS}"
9566 LDSHARED='$(CC) -shared $(CCSHARED)'
9567 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
9572 LDSHARED='$(CC) -shared'
9573 LDCXXSHARED='$(CXX) -shared';;
9576 LDSHARED='$(CC) -shared'
9577 LDCXXSHARED='$(CXX) -shared'
9579 LDSHARED='$(CC) -G'
9580 LDCXXSHARED='$(CXX) -G'
9583 LDSHARED='$(CC) -Wl,-G,-Bexport'
9584 LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
9586 LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
9587 LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
9593 LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
9594 BLDSHARED=${BLDSHARED-$LDSHARED}
9596 # library (module) -- this is only needed for a few systems
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
9599 if test -z "$CCSHARED"
9603 then CCSHARED="-fPIC";
9604 elif test `uname -p` = sparc;
9605 then CCSHARED="-xcode=pic32";
9606 else CCSHARED="-Kpic";
9609 then CCSHARED="-fPIC";
9612 Linux-android*) ;;
9613 Linux*|GNU*) CCSHARED="-fPIC";;
9614 FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
9617 then CCSHARED="-fPIC"
9618 else CCSHARED="-KPIC"
9622 then CCSHARED="-fPIC"
9623 else CCSHARED="-Kpic -belf"
9626 CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
9632 # the python executable -- this is only needed for a few systems
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
9635 if test -z "$LINKFORSHARED"
9638 AIX*) LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
9640 LINKFORSHARED="-Wl,-E -Wl,+s";;
9641 # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
9642 Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
9643 Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
9644 # -u libsys_s pulls in all symbols in libsys
9646 LINKFORSHARED="$extra_undefs -framework CoreFoundation"
9649 # small for the default recursion limit. Increase the stack size
9653 LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED"
9660 OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
9661 SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
9662 ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
9664 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9666 LINKFORSHARED="-Wl,--export-dynamic"
9670 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
9672 LINKFORSHARED="-Xlinker --export-dynamic"
9676 if test $enable_shared = "no"
9678 LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
9681 # -Wl,-E causes the symbols to be added to the dynamic
9683 # is loaded. -N 2048K causes the stack size to be set
9686 LINKFORSHARED='-Wl,-E -N 2048K';;
9688 LINKFORSHARED='--export-dynamic';;
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
9712 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
9713 # library (with --enable-shared).
9714 # For platforms on which shared libraries are not allowed to have unresolved
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
9731 # checks for libraries
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5
9733 $as_echo_n "checking for sendfile in -lsendfile... " >&6; }
9738 LIBS="-lsendfile $LIBS"
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9760 ac_cv_lib_sendfile_sendfile=no
9762 rm -f core conftest.err conftest.$ac_objext \
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" >&5
9773 LIBS="-lsendfile $LIBS"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9778 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9783 LIBS="-ldl $LIBS"
9784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 ac_cv_lib_dl_dlopen=no
9807 rm -f core conftest.err conftest.$ac_objext \
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9818 LIBS="-ldl $LIBS"
9821 # Dynamic linking for SunOS/Solaris and SYSV
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9823 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9828 LIBS="-ldld $LIBS"
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9850 ac_cv_lib_dld_shl_load=no
9852 rm -f core conftest.err conftest.$ac_objext \
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9863 LIBS="-ldld $LIBS"
9866 # Dynamic linking for HP-UX
9868 # checks for uuid.h location
9869 for ac_header in uuid/uuid.h uuid.h
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe" >&5
9884 $as_echo_n "checking for uuid_generate_time_safe... " >&6; }
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9908 $as_echo "no" >&6; }
9911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9913 # AIX provides support for RFC4122 (uuid) in libc.a starting with AIX 6.1 (anno 2007)
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_create" >&5
9916 $as_echo_n "checking for uuid_create... " >&6; }
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9940 $as_echo "no" >&6; }
9943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9945 # Little-endian FreeBSD, OpenBSD and NetBSD needs encoding into an octet
9946 # stream in big-endian byte-order
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_enc_be" >&5
9948 $as_echo_n "checking for uuid_enc_be... " >&6; }
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9972 $as_echo "no" >&6; }
9975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
9981 $as_echo_n "checking for library containing sem_init... " >&6; }
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 for ac_lib in '' pthread rt posix4; do
10005 if test -z "$ac_lib"; then
10008 ac_res=-l$ac_lib
10009 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10014 rm -f core conftest.err conftest.$ac_objext \
10023 ac_cv_search_sem_init=no
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
10031 if test "$ac_res" != no; then :
10037 # check if we need libintl for locale functions
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
10039 $as_echo_n "checking for textdomain in -lintl... " >&6; }
10044 LIBS="-lintl $LIBS"
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 ac_cv_lib_intl_textdomain=no
10068 rm -f core conftest.err conftest.$ac_objext \
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
10078 LIBS="-lintl $LIBS"
10082 # checks for system dependent C++ extensions support
10084 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
10085 $as_echo_n "checking for genuine AIX C++ extensions support... " >&6; }
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10110 $as_echo "no" >&6; }
10113 rm -f core conftest.err conftest.$ac_objext \
10117 # as a baseline for bdist module packages
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the system builddate" >&5
10119 $as_echo_n "checking for the system builddate... " >&6; }
10120 AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F: '{ print $NF }')
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_BUILDDATE" >&5
10132 # check for systems that require aligned memory access
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking aligned memory access is required" >&5
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 for (i=0; i < 16; i++)
10158 ac_cv_aligned_required=no
10162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_aligned_required" >&5
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-hash-algorithm" >&5
10181 $as_echo_n "checking for --with-hash-algorithm... " >&6; }
10183 # Check whether --with-hash_algorithm was given.
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
10210 if test -z "$1"; then
10211 # Empty string is allowed: it indicates no system TZPATH
10216 if ( echo $1 | grep -qE '(^|:)([^/]|$)' ); then
10217 as_fn_error $? "--with-tzpath must contain only absolute paths, not $1" "$LINENO" 5
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tzpath" >&5
10224 $as_echo_n "checking for --with-tzpath... " >&6; }
10226 # Check whether --with-tzpath was given.
10231 as_fn_error $? "--with-tzpath requires a value" "$LINENO" 5
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$TZPATH\"" >&5
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-address-sanitizer" >&5
10250 $as_echo_n "checking for --with-address-sanitizer... " >&6; }
10252 # Check whether --with-address_sanitizer was given.
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10257 BASECFLAGS="-fsanitize=address -fno-omit-frame-pointer $BASECFLAGS"
10258 LDFLAGS="-fsanitize=address $LDFLAGS"
10260 with_pymalloc="no"
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10264 $as_echo "no" >&6; }
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-memory-sanitizer" >&5
10269 $as_echo_n "checking for --with-memory-sanitizer... " >&6; }
10271 # Check whether --with-memory_sanitizer was given.
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10276 BASECFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer $BASECFLAGS"
10277 LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 $LDFLAGS"
10279 with_pymalloc="no"
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10283 $as_echo "no" >&6; }
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-undefined-behavior-sanitizer" >&5
10288 $as_echo_n "checking for --with-undefined-behavior-sanitizer... " >&6; }
10290 # Check whether --with-undefined_behavior_sanitizer was given.
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10295 BASECFLAGS="-fsanitize=undefined $BASECFLAGS"
10296 LDFLAGS="-fsanitize=undefined $LDFLAGS"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10300 $as_echo "no" >&6; }
10304 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
10306 $as_echo_n "checking for t_open in -lnsl... " >&6; }
10311 LIBS="-lnsl $LIBS"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10333 ac_cv_lib_nsl_t_open=no
10335 rm -f core conftest.err conftest.$ac_objext \
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
10342 LIBS="-lnsl $LIBS"
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
10346 $as_echo_n "checking for socket in -lsocket... " >&6; }
10351 LIBS="-lsocket $LIBS $LIBS"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10373 ac_cv_lib_socket_socket=no
10375 rm -f core conftest.err conftest.$ac_objext \
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
10382 LIBS="-lsocket $LIBS"
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
10387 $as_echo_n "checking for --with-libs... " >&6; }
10389 # Check whether --with-libs was given.
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10398 $as_echo "no" >&6; }
10410 if test -n "$ac_tool_prefix"; then
10411 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10412 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10414 $as_echo_n "checking for $ac_word... " >&6; }
10424 for as_dir in $PATH
10427 test -z "$as_dir" && as_dir=.
10428 for ac_exec_ext in '' $ac_executable_extensions; do
10431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10442 if test -n "$PKG_CONFIG"; then
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10447 $as_echo "no" >&6; }
10452 if test -z "$ac_cv_path_PKG_CONFIG"; then
10454 # Extract the first word of "pkg-config", so it can be a program name with args.
10455 set dummy pkg-config; ac_word=$2
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 $as_echo_n "checking for $ac_word... " >&6; }
10467 for as_dir in $PATH
10470 test -z "$as_dir" && as_dir=.
10471 for ac_exec_ext in '' $ac_executable_extensions; do
10474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10485 if test -n "$ac_pt_PKG_CONFIG"; then
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490 $as_echo "no" >&6; }
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10509 if test -n "$PKG_CONFIG"; then
10511 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version…
10512 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10513 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10518 $as_echo "no" >&6; }
10523 # Check for use of the system expat library
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
10525 $as_echo_n "checking for --with-system-expat... " >&6; }
10527 # Check whether --with-system_expat was given.
10531 with_system_expat="no"
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
10538 # Check for use of the system libffi library
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-ffi" >&5
10540 $as_echo_n "checking for --with-system-ffi... " >&6; }
10542 # Check whether --with-system_ffi was given.
10552 with_system_ffi="no"
10554 yes|no)
10557 as_fn_error $? "--with-system-ffi accepts no arguments" "$LINENO" 5
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10567 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with(out)-system-ffi is ignored on this platfo…
10568 $as_echo "$as_me: WARNING: --with(out)-system-ffi is ignored on this platform" >&2;}
10573 if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
10574 … LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
10580 # Check for use of the system libmpdec library
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
10582 $as_echo_n "checking for --with-system-libmpdec... " >&6; }
10584 # Check whether --with-system_libmpdec was given.
10588 with_system_libmpdec="no"
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
10595 # Check whether _decimal should use a coroutine-local or thread-local context
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-decimal-contextvar" >&5
10597 $as_echo_n "checking for --with-decimal-contextvar... " >&6; }
10599 # Check whether --with-decimal_contextvar was given.
10607 if test "$with_decimal_contextvar" != "no"
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_decimal_contextvar" >&5
10617 # Check for support for loadable sqlite extensions
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
10619 $as_echo_n "checking for --enable-loadable-sqlite-extensions... " >&6; }
10620 # Check whether --enable-loadable-sqlite-extensions was given.
10624 enable_loadable_sqlite_extensions="no"
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_loadable_sqlite_extensions" >&5
10631 # Check for --with-tcltk-includes=path and --with-tcltk-libs=path
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-includes" >&5
10635 $as_echo_n "checking for --with-tcltk-includes... " >&6; }
10637 # Check whether --with-tcltk-includes was given.
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_includes" >&5
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-libs" >&5
10647 $as_echo_n "checking for --with-tcltk-libs... " >&6; }
10649 # Check whether --with-tcltk-libs was given.
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_libs" >&5
10662 …as_fn_error $? "use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither" "$LIN…
10671 # Check for --with-dbmliborder
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
10673 $as_echo_n "checking for --with-dbmliborder... " >&6; }
10675 # Check whether --with-dbmliborder was given.
10680 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
10682 for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do
10685 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
10694 # Templates for things AC_DEFINEd more than once.
10695 # For a single AC_DEFINE, no template is needed.
10705 CFLAGS="$CFLAGS -D_REENTRANT"
10709 CC="$CC -Kpthread"
10711 CXX="$CXX -Kpthread"
10716 CC="$CC -Kthread"
10718 CXX="$CXX -Kthread"
10723 CC="$CC -pthread"
10725 CXX="$CXX -pthread"
10729 if test ! -z "$withval" -a -d "$withval"
10730 then LDFLAGS="$LDFLAGS -L$withval"
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
10737 $as_echo_n "checking for _POSIX_THREADS in unistd.h... " >&6; }
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 unistd_defines_pthreads=no
10753 rm -f conftest*
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
10760 # Just looking for pthread_create in libpthread is not enough:
10764 LIBS="$LIBS -lpthread"
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10766 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
10800 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
10805 LIBS="-lpthreads $LIBS"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 ac_cv_lib_pthreads_pthread_create=no
10829 rm -f core conftest.err conftest.$ac_objext \
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
10838 LIBS="$LIBS -lpthreads"
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
10843 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
10848 LIBS="-lc_r $LIBS"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10870 ac_cv_lib_c_r_pthread_create=no
10872 rm -f core conftest.err conftest.$ac_objext \
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
10881 LIBS="$LIBS -lc_r"
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
10886 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; }
10891 LIBS="-lpthread $LIBS"
10892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 ac_cv_lib_pthread___pthread_create_system=no
10915 rm -f core conftest.err conftest.$ac_objext \
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
10924 LIBS="$LIBS -lpthread"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
10929 $as_echo_n "checking for pthread_create in -lcma... " >&6; }
10934 LIBS="-lcma $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10956 ac_cv_lib_cma_pthread_create=no
10958 rm -f core conftest.err conftest.$ac_objext \
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
10967 LIBS="$LIBS -lcma"
10985 rm -f core conftest.err conftest.$ac_objext \
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
10989 $as_echo_n "checking for usconfig in -lmpc... " >&6; }
10994 LIBS="-lmpc $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11016 ac_cv_lib_mpc_usconfig=no
11018 rm -f core conftest.err conftest.$ac_objext \
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
11026 LIBS="$LIBS -lmpc"
11034 if test "$unistd_defines_pthreads" = "no"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
11062 ac_cv_pthread_system_supported=no
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11075 if (pthread_attr_init(&attr)) exit(-1);
11076 if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1);
11077 if (pthread_create(&id, &attr, foo, NULL)) exit(-1);
11084 ac_cv_pthread_system_supported=no
11086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
11100 for ac_func in pthread_sigmask
11117 for ac_func in pthread_getcpuclockid
11131 # Check for enable-ipv6
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
11134 $as_echo_n "checking if --enable-ipv6 is specified... " >&6; }
11135 # Check whether --enable-ipv6 was given.
11138 no)
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11140 $as_echo "no" >&6; }
11141 ipv6=no
11143 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174 $as_echo "no" >&6; }
11175 ipv6=no
11178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11207 $as_echo "no" >&6; }
11208 ipv6=no
11211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11224 ipv6trylibc=no
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
11229 for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 rm -f conftest*
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 rm -f conftest*
11267 linux-glibc)
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 rm -f conftest*
11284 linux-inet6)
11285 if test -d /usr/inet6; then
11289 BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
11293 if test -f /etc/netconfig; then
11294 if $GREP -q tcp6 /etc/netconfig; then
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 rm -f conftest*
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
11334 rm -f conftest*
11338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 rm -f conftest*
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
11364 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
11365 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
11366 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
11372 echo 'Fatal: no $ipv6lib library found. cannot continue.'
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_FD_FRAMES" >&5
11381 $as_echo_n "checking for CAN_RAW_FD_FRAMES... " >&6; }
11382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11405 $as_echo "no" >&6; }
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_JOIN_FILTERS" >&5
11411 $as_echo_n "checking for CAN_RAW_JOIN_FILTERS... " >&6; }
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11435 $as_echo "no" >&6; }
11438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11440 # Check for --with-doc-strings
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
11442 $as_echo_n "checking for --with-doc-strings... " >&6; }
11444 # Check whether --with-doc-strings was given.
11450 if test -z "$with_doc_strings"
11453 if test "$with_doc_strings" != "no"
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
11462 # Check for Python-specific malloc support
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
11464 $as_echo_n "checking for --with-pymalloc... " >&6; }
11466 # Check whether --with-pymalloc was given.
11472 if test -z "$with_pymalloc"
11476 if test "$with_pymalloc" != "no"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
11485 # Check for --with-c-locale-coercion
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-c-locale-coercion" >&5
11487 $as_echo_n "checking for --with-c-locale-coercion... " >&6; }
11489 # Check whether --with-c-locale-coercion was given.
11495 if test -z "$with_c_locale_coercion"
11499 if test "$with_c_locale_coercion" != "no"
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5
11508 # Check for Valgrind support
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
11510 $as_echo_n "checking for --with-valgrind... " >&6; }
11512 # Check whether --with-valgrind was given.
11516 with_valgrind=no
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
11521 if test "$with_valgrind" != no; then
11533 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
11536 # Check for DTrace support
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
11538 $as_echo_n "checking for --with-dtrace... " >&6; }
11540 # Check whether --with-dtrace was given.
11544 with_dtrace=no
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11563 $as_echo_n "checking for $ac_word... " >&6; }
11573 for as_dir in $PATH
11576 test -z "$as_dir" && as_dir=.
11577 for ac_exec_ext in '' $ac_executable_extensions; do
11580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11587 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not found"
11592 if test -n "$DTRACE"; then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11597 $as_echo "no" >&6; }
11611 # generation flag '-G'. We check for presence of this flag, rather than
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DTrace probes require linking" >&5
11618 ac_cv_dtrace_link=no
11620 "$DTRACE" $DFLAGS -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dtrace_link" >&5
11631 # -I${DLINCLDIR} is added to the compile rule for importdl.o
11637 for ac_func in dlopen
11649 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
11654 if test -z "$DYNLOADFILE"
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
11683 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
11688 if test -z "$MACHDEP_OBJS"
11694 if test -z "$MACHDEP_OBJS"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5
11702 # checks for library functions
11703 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
11740 # Force lchmod off for Linux. Linux disallows changing the mode of symbolic
11744 for ac_func in lchmod
11767 # For some functions, having a definition is not sufficient, since
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
11770 $as_echo_n "checking for chroot... " >&6; }
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11790 $as_echo "no" >&6; }
11793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
11795 $as_echo_n "checking for link... " >&6; }
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11815 $as_echo "no" >&6; }
11818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
11820 $as_echo_n "checking for symlink... " >&6; }
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11840 $as_echo "no" >&6; }
11843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
11845 $as_echo_n "checking for fchdir... " >&6; }
11846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11865 $as_echo "no" >&6; }
11868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
11870 $as_echo_n "checking for fsync... " >&6; }
11871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11890 $as_echo "no" >&6; }
11893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
11895 $as_echo_n "checking for fdatasync... " >&6; }
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11915 $as_echo "no" >&6; }
11918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
11920 $as_echo_n "checking for epoll... " >&6; }
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11940 $as_echo "no" >&6; }
11943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
11945 $as_echo_n "checking for epoll_create1... " >&6; }
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11965 $as_echo "no" >&6; }
11968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
11970 $as_echo_n "checking for kqueue... " >&6; }
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11993 $as_echo "no" >&6; }
11996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prlimit" >&5
11998 $as_echo_n "checking for prlimit... " >&6; }
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021 $as_echo "no" >&6; }
12024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _dyld_shared_cache_contains_path" >&5
12026 $as_echo_n "checking for _dyld_shared_cache_contains_path... " >&6; }
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 #include <mach-o/dyld.h>
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12046 $as_echo "no" >&6; }
12049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
12052 $as_echo_n "checking for memfd_create... " >&6; }
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12079 $as_echo "no" >&6; }
12082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12085 # functions ctermid_r, setgroups in the library, but no prototype
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
12091 $as_echo_n "checking for ctermid_r... " >&6; }
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12113 $as_echo "no" >&6; }
12116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
12119 $as_echo_n "checking for flock declaration... " >&6; }
12123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12138 ac_cv_flock_decl=no
12141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
12147 for ac_func in flock
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
12157 $as_echo_n "checking for flock in -lbsd... " >&6; }
12162 LIBS="-lbsd $LIBS"
12163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 ac_cv_lib_bsd_flock=no
12186 rm -f core conftest.err conftest.$ac_objext \
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
12208 $as_echo_n "checking for getpagesize... " >&6; }
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 $as_echo "no" >&6; }
12233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
12236 $as_echo_n "checking for broken unsetenv... " >&6; }
12237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12252 $as_echo "no" >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12263 for ac_prog in true
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12268 $as_echo_n "checking for $ac_word... " >&6; }
12272 if test -n "$TRUE"; then
12276 for as_dir in $PATH
12279 test -z "$as_dir" && as_dir=.
12280 for ac_exec_ext in '' $ac_executable_extensions; do
12283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12293 if test -n "$TRUE"; then
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12298 $as_echo "no" >&6; }
12302 test -n "$TRUE" && break
12304 test -n "$TRUE" || TRUE="/bin/true"
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
12308 $as_echo_n "checking for inet_aton in -lc... " >&6; }
12313 LIBS="-lc $LIBS"
12314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 ac_cv_lib_c_inet_aton=no
12337 rm -f core conftest.err conftest.$ac_objext \
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
12347 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
12352 LIBS="-lresolv $LIBS"
12353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12374 ac_cv_lib_resolv_inet_aton=no
12376 rm -f core conftest.err conftest.$ac_objext \
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
12387 LIBS="-lresolv $LIBS"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
12398 $as_echo_n "checking for chflags... " >&6; }
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 ac_cv_have_chflags=no
12423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
12436 ac_cv_have_chflags="no"
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
12447 $as_echo_n "checking for lchflags... " >&6; }
12454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 ac_cv_have_lchflags=no
12472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
12485 ac_cv_have_lchflags="no"
12499 CFLAGS="${CFLAGS} -Wl,-search_paths_first"
12500 LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L/usr/local/lib"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
12505 $as_echo_n "checking for inflateCopy in -lz... " >&6; }
12510 LIBS="-lz $LIBS"
12511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 ac_cv_lib_z_inflateCopy=no
12534 rm -f core conftest.err conftest.$ac_objext \
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
12555 $as_echo_n "checking for hstrerror... " >&6; }
12556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12580 rm -f core conftest.err conftest.$ac_objext \
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
12584 $as_echo_n "checking for inet_aton... " >&6; }
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12609 $as_echo "no" >&6; }
12612 rm -f core conftest.err conftest.$ac_objext \
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
12616 $as_echo_n "checking for inet_pton... " >&6; }
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12641 $as_echo "no" >&6; }
12644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
12648 $as_echo_n "checking for setgroups... " >&6; }
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12673 $as_echo "no" >&6; }
12676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12678 # check for openpty and forkpty
12680 for ac_func in openpty
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
12690 $as_echo_n "checking for openpty in -lutil... " >&6; }
12695 LIBS="-lutil $LIBS"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 ac_cv_lib_util_openpty=no
12719 rm -f core conftest.err conftest.$ac_objext \
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
12727 LIBS="$LIBS -lutil"
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
12730 $as_echo_n "checking for openpty in -lbsd... " >&6; }
12735 LIBS="-lbsd $LIBS"
12736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 ac_cv_lib_bsd_openpty=no
12759 rm -f core conftest.err conftest.$ac_objext \
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
12767 LIBS="$LIBS -lbsd"
12777 for ac_func in forkpty
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
12787 $as_echo_n "checking for forkpty in -lutil... " >&6; }
12792 LIBS="-lutil $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 ac_cv_lib_util_forkpty=no
12816 rm -f core conftest.err conftest.$ac_objext \
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
12824 LIBS="$LIBS -lutil"
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
12827 $as_echo_n "checking for forkpty in -lbsd... " >&6; }
12832 LIBS="-lbsd $LIBS"
12833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 ac_cv_lib_bsd_forkpty=no
12856 rm -f core conftest.err conftest.$ac_objext \
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
12864 LIBS="$LIBS -lbsd"
12875 # check for long file support functions
12876 for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
12916 for ac_func in getpgrp
12923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12944 for ac_func in setpgrp
12951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12973 # We search for both crypt and crypt_r as one or the other may be defined
12974 # This gets us our -lcrypt in LIBS when required on the target platform.
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12976 $as_echo_n "checking for library containing crypt... " >&6; }
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 for ac_lib in '' crypt; do
13000 if test -z "$ac_lib"; then
13003 ac_res=-l$ac_lib
13004 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13009 rm -f core conftest.err conftest.$ac_objext \
13018 ac_cv_search_crypt=no
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13026 if test "$ac_res" != no; then :
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
13032 $as_echo_n "checking for library containing crypt_r... " >&6; }
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 for ac_lib in '' crypt; do
13056 if test -z "$ac_lib"; then
13059 ac_res=-l$ac_lib
13060 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13065 rm -f core conftest.err conftest.$ac_objext \
13074 ac_cv_search_crypt_r=no
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
13082 if test "$ac_res" != no; then :
13090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 #define _GNU_SOURCE /* Required for crypt_r()'s prototype in glibc. */
13112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13117 for ac_func in clock_gettime
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13128 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13133 LIBS="-lrt $LIBS"
13134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 ac_cv_lib_rt_clock_gettime=no
13157 rm -f core conftest.err conftest.$ac_objext \
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13165 LIBS="$LIBS -lrt"
13179 for ac_func in clock_getres
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
13190 $as_echo_n "checking for clock_getres in -lrt... " >&6; }
13195 LIBS="-lrt $LIBS"
13196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13217 ac_cv_lib_rt_clock_getres=no
13219 rm -f core conftest.err conftest.$ac_objext \
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
13237 for ac_func in clock_settime
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lrt" >&5
13248 $as_echo_n "checking for clock_settime in -lrt... " >&6; }
13253 LIBS="-lrt $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13275 ac_cv_lib_rt_clock_settime=no
13277 rm -f core conftest.err conftest.$ac_objext \
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_settime" >&5
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5
13296 $as_echo_n "checking for major... " >&6; }
13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13329 $as_echo "no" >&6; }
13332 rm -f core conftest.err conftest.$ac_objext \
13336 # for [no]getaddrinfo in netdb.h.
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
13338 $as_echo_n "checking for getaddrinfo... " >&6; }
13339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 have_getaddrinfo=no
13360 rm -f core conftest.err conftest.$ac_objext \
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getaddrinfo" >&5
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
13374 ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 for (passive = 0; passive <= 1; passive++) {
13405 for (ai = aitop; ai; ai = ai->ai_next) {
13406 if (ai->ai_addr == NULL ||
13407 ai->ai_addrlen == 0 ||
13408 getnameinfo(ai->ai_addr, ai->ai_addrlen,
13413 switch (ai->ai_family) {
13473 ac_cv_buggy_getaddrinfo=no
13477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
13488 if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
13493 echo ' or you can specify "--disable-ipv6"'.
13502 for ac_func in getnameinfo
13514 # checks for structures
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
13520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 ac_cv_header_time=no
13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
13555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
13616 $as_echo_n "checking for tzname... " >&6; }
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 ac_cv_var_tzname=no
13640 rm -f core conftest.err conftest.$ac_objext \
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
13753 $as_echo_n "checking for time.h that defines altzone... " >&6; }
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 ac_cv_header_time_altzone=no
13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
13786 was_it_defined=no
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/select.h and sys/time.h may both be i…
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
13817 $as_echo_n "checking for addrinfo... " >&6; }
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 ac_cv_struct_addrinfo=no
13837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
13849 $as_echo_n "checking for sockaddr_storage... " >&6; }
13853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 ac_cv_struct_sockaddr_storage=no
13871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_alg" >&5
13883 $as_echo_n "checking for sockaddr_alg... " >&6; }
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 ac_cv_struct_sockaddr_alg=no
13906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_alg" >&5
13917 # checks for compiler characteristics
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
13924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 static int test_array [1 - 2 * !(((char) -1) < 0)];
13939 ac_cv_c_char_unsigned=no
13943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13953 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 an arm of an if-expression whose if-part is not a constant
13979 pcpcc = &g + (g ? g-g : 0);
13992 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13997 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14003 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14005 struct s *b = &bx; b->j = 5;
14007 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14021 ac_cv_c_const=no
14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14027 if test $ac_cv_c_const = no; then
14034 works=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
14036 $as_echo_n "checking for working signed char... " >&6; }
14037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
14060 have_prototypes=no
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
14062 $as_echo_n "checking for prototypes... " >&6; }
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_prototypes" >&5
14084 works=no
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
14086 $as_echo_n "checking for variable length prototypes and stdarg.h... " >&6; }
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
14120 # check for socketpair
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
14122 $as_echo_n "checking for socketpair... " >&6; }
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14145 $as_echo "no" >&6; }
14148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14174 $as_echo "no" >&6; }
14177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14179 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14225 $as_echo "no" >&6; }
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
14228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14262 $as_echo "no" >&6; }
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14297 $as_echo "no" >&6; }
14300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311 for ac_func in gethostbyname
14331 # checks for system services
14334 # Linux requires this for correct f.p. operations
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
14340 $as_echo_n "checking for __fpu_control in -lieee... " >&6; }
14345 LIBS="-lieee $LIBS"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14367 ac_cv_lib_ieee___fpu_control=no
14369 rm -f core conftest.err conftest.$ac_objext \
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
14380 LIBS="-lieee $LIBS"
14388 # check for --with-libm=...
14392 *) LIBM=-lm
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
14395 $as_echo_n "checking for --with-libm=STRING... " >&6; }
14397 # Check whether --with-libm was given.
14400 if test "$withval" = no
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
14408 else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
14416 # check for --with-libc=...
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
14419 $as_echo_n "checking for --with-libc=STRING... " >&6; }
14421 # Check whether --with-libc was given.
14424 if test "$withval" = no
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
14432 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
14441 # * Check for gcc x64 inline assembler *
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
14445 $as_echo_n "checking for x64 gcc inline assembler... " >&6; }
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 have_gcc_asm_for_x64=no
14464 rm -f core conftest.err conftest.$ac_objext \
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x64" >&5
14476 # * Check for various properties of floating point *
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14503 ax_cv_c_float_words_bigendian=no
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
14521 no)
14527 ax_cv_c_float_words_bigendian=no (or yes) according to your system.
14538 elif test "$ax_cv_c_float_words_bigendian" = "no"
14544 # Some ARM platforms use a mixed-endian representation for doubles.
14545 # While Python doesn't currently have full support for these platforms
14546 # (see e.g., issue 1762561), we can at least make sure that float <-> string
14556 # correctly-rounded string <-> double conversion functions from
14557 # Python/dtoa.c, which in turn require that the FPU uses 53-bit
14559 # rounding precision of 64 bits. For gcc/x86, we can fix this by
14562 # This inline assembler syntax may also work for suncc and icc,
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 have_gcc_asm_for_x87=no
14587 rm -f core conftest.err conftest.$ac_objext \
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x87" >&5
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14618 have_gcc_asm_for_mc68881=no
14620 rm -f core conftest.err conftest.$ac_objext \
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_mc68881" >&5
14631 # Detect whether system arithmetic is subject to x87-style double
14634 # mode is round-to-nearest and double rounding issues are present, and
14635 # 0 otherwise. See http://bugs.python.org/issue2937 for more info.
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
14637 $as_echo_n "checking for x87-style double rounding... " >&6; }
14642 ac_cv_x87_double_rounding=no
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14651 /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
14652 x = 0.99999999999999989; /* 1-2**-53 */
14656 /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
14668 ac_cv_x87_double_rounding=no
14672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
14687 # * Check for mathematical functions *
14693 for ac_func in acosh asinh atanh copysign erf erfc expm1 finite gamma
14705 for ac_func in hypot lgamma log1p log2 round tgamma
14752 # For multiprocessing module, check that sem_open
14753 # actually works. For FreeBSD versions <= 7.2,
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 ac_cv_posix_semaphores_enabled=no
14791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
14800 if test $ac_cv_posix_semaphores_enabled = no
14807 # Multiprocessing check for broken sem_getvalue
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
14809 $as_echo_n "checking for broken sem_getvalue... " >&6; }
14816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 return res==-1 ? 1 : 0;
14842 ac_cv_broken_sem_getvalue=no
14846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
14952 # determine what size digit to use for Python's longs
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
14954 $as_echo_n "checking digit size for Python's longs... " >&6; }
14955 # Check whether --enable-big-digits was given.
14960 no)
14965 …as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$…
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
14977 $as_echo "no value specified" >&6; }
14981 # check for wchar.h
14991 wchar_h="no"
15001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
15014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15017 See \`config.log' for more details" "$LINENO" 5; }
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UCS-4 tcl" >&5
15037 $as_echo_n "checking for UCS-4 tcl... " >&6; }
15038 have_ucs4_tcl=no
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ucs4_tcl" >&5
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
15093 ac_cv_wchar_t_signed=no
15095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
15108 if test "$ac_cv_sizeof_wchar_t" -ge 2 \
15109 -a "$ac_cv_wchar_t_signed" = "no"
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15118 $as_echo "no" >&6; }
15121 # check for endianness
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 # Check for potential -arch flags. It is not universal unless
15140 # there are at least two -arch flags with different values.
15143 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15144 if test -n "$ac_prev"; then
15147 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15156 elif test "x$ac_word" = "x-arch"; then
15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 ac_cv_c_bigendian=no
15205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 ac_cv_c_bigendian=no
15248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 ac_cv_c_bigendian=no
15295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15311 return u.c[sizeof (long int) - 1] == 1;
15318 ac_cv_c_bigendian=no
15322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15334 no)
15343 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15347 # ABI version string for Python extension modules. This appears between the
15352 # * The Python implementation (always 'cpython-' for us)
15354 # * --with-pydebug (adds a 'd')
15356 # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc,
15357 # would get a shared library ABI version tag of 'cpython-32dmu' and shared
15358 # libraries would be named 'foo.cpython-32dmu.so'.
15360 # In Python 3.2 and older, --with-wide-unicode added a 'u' flag.
15361 # In Python 3.7 and older, --with-pymalloc added a 'm' flag.
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ABIFLAGS" >&5
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABIFLAGS" >&5
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
15369 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
15374 if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
15377 …ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATF…
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
15401 if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin"; then
15402 LIBPYTHON="-lpython${VERSION}${ABIFLAGS}"
15412 # Check for --with-platlibdir
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-platlibdir" >&5
15417 $as_echo_n "checking for --with-platlibdir... " >&6; }
15419 # Check whether --with-platlibdir was given.
15423 # --with-platlibdir
15424 # --with-platlibdir=
15425 # --without-platlibdir
15426 if test -n "$withval" -a "$withval" != yes -a "$withval" != no
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15434 $as_echo "no" >&6; }
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15438 $as_echo "no" >&6; }
15445 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}"
15447 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
15462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15467 exit(((-1)>>3 == -1) ? 0 : 1);
15474 ac_cv_rshift_extends_sign=no
15476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
15484 if test "$ac_cv_rshift_extends_sign" = no
15491 # check for getc_unlocked and related locking functions
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
15493 $as_echo_n "checking for getc_unlocked() and friends... " >&6; }
15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 ac_cv_have_getc_unlocked=no
15519 rm -f core conftest.err conftest.$ac_objext \
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
15539 py_cv_lib_readline=no
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
15542 for py_libtermcap in "" tinfo ncursesw ncurses curses termcap; do
15543 if test -z "$py_libtermcap"; then
15544 READLINE_LIBS="-lreadline"
15546 READLINE_LIBS="-lreadline -l$py_libtermcap"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 rm -f core conftest.err conftest.$ac_objext \
15578 if test $py_cv_lib_readline = no; then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
15589 # check for readline 2.2
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 have_readline=no
15600 rm -f conftest.err conftest.i conftest.$ac_ext
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15614 rm -f conftest*
15616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 rm -f conftest*
15631 # check for readline 4.0
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -lreadline" >&5
15633 $as_echo_n "checking for rl_pre_input_hook in -lreadline... " >&6; }
15638 LIBS="-lreadline $READLINE_LIBS $LIBS"
15639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 ac_cv_lib_readline_rl_pre_input_hook=no
15662 rm -f core conftest.err conftest.$ac_objext \
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_pre_input_hook" >&5
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -lreadl…
15677 $as_echo_n "checking for rl_completion_display_matches_hook in -lreadline... " >&6; }
15682 LIBS="-lreadline $READLINE_LIBS $LIBS"
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15704 ac_cv_lib_readline_rl_completion_display_matches_hook=no
15706 rm -f core conftest.err conftest.$ac_objext \
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_display_matches_…
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -lreadline" >&5
15721 $as_echo_n "checking for rl_resize_terminal in -lreadline... " >&6; }
15726 LIBS="-lreadline $READLINE_LIBS $LIBS"
15727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 ac_cv_lib_readline_rl_resize_terminal=no
15750 rm -f core conftest.err conftest.$ac_objext \
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_resize_terminal" >&5
15763 # check for readline 4.2
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
15765 $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
15770 LIBS="-lreadline $READLINE_LIBS $LIBS"
15771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 ac_cv_lib_readline_rl_completion_matches=no
15794 rm -f core conftest.err conftest.$ac_objext \
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15815 have_readline=no
15818 rm -f conftest.err conftest.i conftest.$ac_ext
15821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 rm -f conftest*
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lreadline" >&5
15837 $as_echo_n "checking for append_history in -lreadline... " >&6; }
15842 LIBS="-lreadline $READLINE_LIBS $LIBS"
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 ac_cv_lib_readline_append_history=no
15866 rm -f core conftest.err conftest.$ac_objext \
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_append_history" >&5
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
15883 $as_echo_n "checking for broken nice()... " >&6; }
15889 ac_cv_broken_nice=no
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 if (val1 != -1 && val1 == nice(2))
15908 ac_cv_broken_nice=no
15910 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
15926 $as_echo_n "checking for broken poll()... " >&6; }
15931 ac_cv_broken_poll=no
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958 ac_cv_broken_poll=no
15960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
15977 $as_echo_n "checking for working tzset()... " >&6; }
15983 ac_cv_working_tzset=no
15985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16002 tm->tm_zone does not exist since it is the alternative way
16009 time_t groundhogday = 1044144000; /* GMT-based */
16014 if (localtime(&groundhogday)->tm_hour != 0)
16017 /* For UTC, tzname[1] is sometimes "", sometimes " " */
16025 if (localtime(&groundhogday)->tm_hour != 19)
16032 putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
16034 if (localtime(&groundhogday)->tm_hour != 11)
16042 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
16044 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
16055 ac_cv_working_tzset=no
16057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
16072 # Look for subsecond timestamps in struct stat
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
16074 $as_echo_n "checking for tv_nsec in struct stat... " >&6; }
16078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095 ac_cv_stat_tv_nsec=no
16097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
16109 # Look for BSD style subsecond timestamps in struct stat
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
16111 $as_echo_n "checking for tv_nsec2 in struct stat... " >&6; }
16115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16132 ac_cv_stat_tv_nsec2=no
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
16148 if test "$cross_compiling" = no; then
16149 CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
16152 for ac_header in curses.h ncurses.h
16167 for ac_header in term.h
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 ac_cv_mvwdelch_is_expression=no
16210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
16232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 w->_flags = 0;
16252 ac_cv_window_has_flags=no
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_pad" >&5
16269 $as_echo_n "checking for is_pad... " >&6; }
16270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16293 $as_echo "no" >&6; }
16296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_term_resized" >&5
16299 $as_echo_n "checking for is_term_resized... " >&6; }
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16319 $as_echo "no" >&6; }
16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resize_term" >&5
16325 $as_echo_n "checking for resize_term... " >&6; }
16326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16345 $as_echo "no" >&6; }
16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm" >&5
16351 $as_echo_n "checking for resizeterm... " >&6; }
16352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16371 $as_echo "no" >&6; }
16374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for immedok" >&5
16377 $as_echo_n "checking for immedok... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16401 $as_echo "no" >&6; }
16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncok" >&5
16407 $as_echo_n "checking for syncok... " >&6; }
16408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16431 $as_echo "no" >&6; }
16434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5
16437 $as_echo_n "checking for wchgat... " >&6; }
16438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16461 $as_echo "no" >&6; }
16464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5
16467 $as_echo_n "checking for filter... " >&6; }
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16491 $as_echo "no" >&6; }
16494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for has_key" >&5
16497 $as_echo_n "checking for has_key... " >&6; }
16498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16521 $as_echo "no" >&6; }
16524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeahead" >&5
16527 $as_echo_n "checking for typeahead... " >&6; }
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16551 $as_echo "no" >&6; }
16554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_env" >&5
16557 $as_echo_n "checking for use_env... " >&6; }
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16581 $as_echo "no" >&6; }
16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
16589 $as_echo "$as_me: checking for device files" >&6;}
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
16594 $as_echo_n "checking for /dev/ptmx... " >&6; }
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
16597 …as_fn_error $? "set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling" …
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
16601 $as_echo_n "checking for /dev/ptc... " >&6; }
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
16604 …as_fn_error $? "set ac_cv_file__dev_ptc to yes/no in your CONFIG_SITE file when cross compiling" "…
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
16609 $as_echo_n "checking for /dev/ptmx... " >&6; }
16614 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16615 if test -r "/dev/ptmx"; then
16618 ac_cv_file__dev_ptmx=no
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
16633 $as_echo_n "checking for /dev/ptc... " >&6; }
16638 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16639 if test -r "/dev/ptc"; then
16642 ac_cv_file__dev_ptc=no
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
16659 LIBS="$LIBS -framework CoreFoundation"
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support" >&5
16663 $as_echo_n "checking for %zd printf() format support... " >&6; }
16668 ac_cv_have_size_t_format="cross -- assuming yes"
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
16703 if (strcmp(buffer, "-123"))
16713 ac_cv_have_size_t_format=no
16715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t_format" >&5
16722 if test "$ac_cv_have_size_t_format" != no ; then
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken mbstowcs" >&5
16747 $as_echo_n "checking for broken mbstowcs... " >&6; }
16752 ac_cv_broken_mbstowcs=no
16754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 size_t len = -1;
16768 ac_cv_broken_mbstowcs=no
16772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_mbstowcs" >&5
16787 # Check for --with-computed-gotos
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
16789 $as_echo_n "checking for --with-computed-gotos... " >&6; }
16791 # Check whether --with-computed-gotos was given.
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16802 if test "$withval" = no
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16808 $as_echo "no" >&6; }
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
16813 $as_echo "no value specified" >&6; }
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
16824 ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
16826 ac_cv_computed_gotos=no
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16847 ac_cv_computed_gotos=no
16849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
16873 for h in `(cd $srcdir;echo Python/thread_*.h)`
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
16881 $as_echo_n "checking for build directories... " >&6; }
16882 for dir in $SRCDIRS; do
16883 if test ! -d $dir; then
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16890 # Availability of -O2:
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
16892 $as_echo_n "checking for -O2... " >&6; }
16894 CFLAGS="-O2"
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 have_O2=no
16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_O2" >&5
16917 # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect:
16918 # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memmove bug" >&5
16920 $as_echo_n "checking for glibc _FORTIFY_SOURCE/memmove bug... " >&6; }
16922 CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
16923 if test "$have_O2" = no; then
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949 have_glibc_memmove_bug=no
16953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
16969 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-const bug" >&5
16973 $as_echo_n "checking for gcc ipa-pure-const bug... " >&6; }
16975 CFLAGS="-O2"
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17000 have_ipa_pure_const_bug=no
17004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_const_bug" >&5
17020 # Check for stdatomic.h
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdatomic.h" >&5
17022 $as_echo_n "checking for stdatomic.h... " >&6; }
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 have_stdatomic_h=no
17044 rm -f core conftest.err conftest.$ac_objext \
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_stdatomic_h" >&5
17056 # Check for GCC >= 4.7 __atomic builtins
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC >= 4.7 __atomic builtins" >&5
17058 $as_echo_n "checking for GCC >= 4.7 __atomic builtins... " >&6; }
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 have_builtin_atomic=no
17076 rm -f core conftest.err conftest.$ac_objext \
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_atomic" >&5
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
17090 $as_echo_n "checking for ensurepip... " >&6; }
17092 # Check whether --with-ensurepip was given.
17104 no) :
17105 ENSUREPIP=no ;; #(
17107 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the dirent structure of a d_type field" >&5
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 have_dirent_d_type=no
17134 rm -f core conftest.err conftest.$ac_objext \
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dirent_d_type" >&5
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Linux getrandom() syscall" >&5
17147 $as_echo_n "checking for the Linux getrandom() syscall... " >&6; }
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* ignore the result, Python checks for ENOSYS and EAGAIN at runtime */
17170 have_getrandom_syscall=no
17172 rm -f core conftest.err conftest.$ac_objext \
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom_syscall" >&5
17184 # the test was written for the Solaris function of <sys/random.h>
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the getrandom() function" >&5
17186 $as_echo_n "checking for the getrandom() function... " >&6; }
17187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* ignore the result, Python checks for ENOSYS at runtime */
17207 have_getrandom=no
17209 rm -f core conftest.err conftest.$ac_objext \
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom" >&5
17220 # checks for POSIX shared memory, used by Modules/_multiprocessing/posixshmem.c
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
17225 $as_echo_n "checking for library containing shm_open... " >&6; }
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 for ac_lib in '' rt; do
17249 if test -z "$ac_lib"; then
17252 ac_res=-l$ac_lib
17253 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17258 rm -f core conftest.err conftest.$ac_objext \
17267 ac_cv_search_shm_open=no
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
17275 if test "$ac_res" != no; then :
17280 if test "$ac_cv_search_shm_open" = "-lrt"; then
17285 for ac_header in sys/mman.h
17297 # temporarily override ac_includes_default for AC_CHECK_FUNCS below
17306 for ac_func in shm_open shm_unlink
17322 # Check for usable OpenSSL
17326 # Check whether --with-openssl was given.
17330 "" | y | ye | yes | n | no)
17331 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
17339 # if pkg-config is installed and openssl has installed a .pc file,
17341 if test -n "$ac_tool_prefix"; then
17342 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17343 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17345 $as_echo_n "checking for $ac_word... " >&6; }
17349 if test -n "$PKG_CONFIG"; then
17353 for as_dir in $PATH
17356 test -z "$as_dir" && as_dir=.
17357 for ac_exec_ext in '' $ac_executable_extensions; do
17359 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17370 if test -n "$PKG_CONFIG"; then
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17375 $as_echo "no" >&6; }
17380 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17382 # Extract the first word of "pkg-config", so it can be a program name with args.
17383 set dummy pkg-config; ac_word=$2
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17385 $as_echo_n "checking for $ac_word... " >&6; }
17389 if test -n "$ac_ct_PKG_CONFIG"; then
17393 for as_dir in $PATH
17396 test -z "$as_dir" && as_dir=.
17397 for ac_exec_ext in '' $ac_executable_extensions; do
17399 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17410 if test -n "$ac_ct_PKG_CONFIG"; then
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17415 $as_echo "no" >&6; }
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
17434 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
17436 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
17437 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
17442 # no such luck; use some default ssldirs
17457 for ssldir in $ssldirs; do
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
17459 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
17460 if test -f "$ssldir/include/openssl/ssl.h"; then
17461 OPENSSL_INCLUDES="-I$ssldir/include"
17462 OPENSSL_LDFLAGS="-L$ssldir/lib"
17463 OPENSSL_LIBS="-lssl -lcrypto"
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17470 $as_echo "no" >&6; }
17474 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
17481 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL wo…
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17512 $as_echo "no" >&6; }
17513 have_openssl=no
17516 rm -f core conftest.err conftest.$ac_objext \
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X509_VERIFY_PARAM_set1_host in libssl" >&5
17529 $as_echo_n "checking for X509_VERIFY_PARAM_set1_host in libssl... " >&6; }
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 ac_cv_has_x509_verify_param_set1_host=no
17566 rm -f core conftest.err conftest.$ac_objext \
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_x509_verify_param_set1_host" >&5
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-ssl-default-suites" >&5
17586 $as_echo_n "checking for --with-ssl-default-suites... " >&6; }
17588 # Check whether --with-ssl-default-suites was given.
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: python" >&5
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-builtin-hashlib-hashes" >&5
17628 $as_echo_n "checking for --with-builtin-hashlib-hashes... " >&6; }
17630 # Check whether --with-builtin-hashlib-hashes was given.
17637 no)
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_hashlib_hashes" >&5
17661 …fig_files="$ac_config_files Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh"
17668 # scripts and configure runs, see configure's option --config-cache.
17672 # config.status only pays attention to the cache file if you give it
17673 # the --recheck option to rerun configure.
17682 # but we know of no workaround that is simple, portable, and efficient.
17687 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17692 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
17706 # `set' does not quote correctly, so add quotes: double-quote
17708 sed -n \
17714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17728 if test -w "$cache_file"; then
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17732 if test ! -f "$cache_file" || test -h "$cache_file"; then
17737 mv -f confcache "$cache_file"$$ &&
17738 mv -f "$cache_file"$$ "$cache_file" ;; #(
17740 mv -f confcache "$cache_file" ;;
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17749 rm -f confcache
17755 DEFS=-DHAVE_CONFIG_H
17760 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17776 : "${CONFIG_STATUS=./config.status}"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17787 # Compiler output produced by configure, useful for debugging
17788 # configure, is in config.log if it exists.
17794 SHELL=\${CONFIG_SHELL-$SHELL}
17798 ## -------------------- ##
17800 ## -------------------- ##
17803 DUALCASE=1; export DUALCASE # for MKS sh
17804 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17807 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17809 alias -g '${1+"$@"}'='"$@"'
17812 case `(set -o) 2>/dev/null` in #(
17814 set -o posix ;; #(
17829 # but without wasting forks for bash or zsh.
17830 if test -z "$BASH_VERSION$ZSH_VERSION" \
17831 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17832 as_echo='print -r --'
17833 as_echo_n='print -rn --'
17838 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17839 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17840 as_echo_n='/usr/ucb/echo -n'
17850 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17853 as_echo_n='sh -c $as_echo_n_body as_echo'
17856 as_echo='sh -c $as_echo_body as_echo'
17862 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17863 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17871 # there to prevent editors from complaining about space-tab.
17876 # Find who we are. Look in the path if we contain no directory separator.
17881 for as_dir in $PATH
17884 test -z "$as_dir" && as_dir=.
17885 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17896 if test ! -f "$as_myself"; then
17902 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17905 for as_var in BASH_ENV ENV MAIL MAILPATH
17924 # ----------------------------------------
17930 as_status=$1; test $as_status -eq 0 && as_status=1
17932 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17933 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17941 # -----------------------
17949 # -----------------
17950 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17959 # ---------------
17967 # ----------------------
17985 # ------------------
17997 as_val=`expr "$@" || test $? -eq 1`
18009 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18015 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18021 as_me=`$as_basename -- "$0" ||
18048 case `echo -n x` in #(((((
18049 -n*)
18057 ECHO_N='-n';;
18060 rm -f conf$$ conf$$.exe conf$$.file
18061 if test -d conf$$.dir; then
18062 rm -f conf$$.dir/conf$$.file
18064 rm -f conf$$.dir
18068 if ln -s conf$$.file conf$$ 2>/dev/null; then
18069 as_ln_s='ln -s'
18071 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18072 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18073 # In both cases, we have to default to `cp -pR'.
18074 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18075 as_ln_s='cp -pR'
18079 as_ln_s='cp -pR'
18082 as_ln_s='cp -pR'
18084 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18089 # -------------
18095 -*) as_dir=./$as_dir;;
18097 test -d "$as_dir" || eval $as_mkdir_p || {
18105 as_dir=`$as_dirname -- "$as_dir" ||
18128 test -d "$as_dir" && break
18130 test -z "$as_dirs" || eval "mkdir $as_dirs"
18131 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18135 if mkdir -p . 2>/dev/null; then
18136 as_mkdir_p='mkdir -p "$as_dir"'
18138 test -d ./-p && rmdir ./-p
18144 # -----------------------
18148 test -f "$1" && test -x "$1"
18150 as_test_x='test -x'
18153 # Sed expression to map a string onto a valid CPP name.
18161 ## ----------------------------------- ##
18163 ## ----------------------------------- ##
18181 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18196 # Files that config.status was made for.
18210 -h, --help print this help, then exit
18211 -V, --version print version number and configuration settings, then exit
18212 --config print configuration, then exit
18213 -q, --quiet, --silent
18215 -d, --debug don't remove temporary files
18216 --recheck update $as_me by reconfiguring in the same conditions
18217 --file=FILE[:TEMPLATE]
18219 --header=FILE[:TEMPLATE]
18234 python config.status 3.9
18239 This config.status script is free software; the Free Software Foundation
18246 test -n "\$AWK" || AWK=awk
18255 --*=?*)
18260 --*=)
18274 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18276 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18278 --config | --confi | --conf | --con | --co | --c )
18280 --debug | --debu | --deb | --de | --d | -d )
18282 --file | --fil | --fi | --f )
18290 --header | --heade | --head | --hea )
18297 --he | --h)
18298 # Conflict between --help and --header
18300 Try \`$0 --help' for more information.";;
18301 --help | --hel | -h )
18303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18304 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18308 -*) as_fn_error $? "unrecognized option: \`$1'
18309 Try \`$0 --help' for more information." ;;
18322 ac_configure_extra_args="$ac_configure_extra_args --silent"
18328 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18338 exec 5>>config.log
18341 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18354 for ac_config_target in $ac_config_targets
18364 "Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
18365 "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
18375 # We use the long form for the default assignment because of an extremely
18382 # Have a temporary directory for convenience. Make it in the build tree
18383 # simply because there is no reason against having it here, and in addition,
18385 # Hook for its removal unless debugging.
18393 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18397 # Create a (secure) tmp directory for tmp files.
18400 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18401 test -d "$tmp"
18404 tmp=./conf$$-$RANDOM
18409 # Set up the scripts for CONFIG_FILES section.
18410 # No need to generate them if there are no CONFIG_FILES.
18411 # This happens for instance with `./config.status config.h'.
18412 if test -n "$CONFIG_FILES"; then
18417 # But we know of no other shell where ac_cr would be empty at this
18439 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18441 for ac_last_try in false false false false false :; do
18445 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18454 rm -f conf$$subs.sh
18459 sed -n '
18502 rm -f conf$$subs.awk
18506 for (key in S) S_is_set[key] = 1
18515 for (i = 2; i < nfields; i++) {
18538 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18565 fi # test -n "$CONFIG_FILES"
18567 # Set up the scripts for CONFIG_HEADERS section.
18568 # No need to generate them if there are no CONFIG_HEADERS.
18569 # This happens for instance with `./config.status Makefile'.
18570 if test -n "$CONFIG_HEADERS"; then
18576 # here-document in config.status, that substitutes the proper values into
18577 # config.h.in to produce config.h.
18582 for ac_last_try in false false :; do
18583 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18584 if test -z "$ac_tt"; then
18593 # For the awk script, D is an array of macro values keyed by name,
18598 sed -n '
18638 for (key in D) D_is_set[key] = 1
18653 prefix = substr(line, 1, index(line, defundef) - 1)
18659 # Replace #undef with comments. This is necessary, for example,
18672 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18673 fi # test -n "$CONFIG_HEADERS"
18678 for ac_tag
18686 :[FH]-) ac_tag=-:-;;
18701 for ac_f
18704 -) ac_f="$ac_tmp/stdin";;
18705 *) # Look for the file first in the build tree, then in the source tree
18706 # (if the path is not absolute). The absolute path cannot be DOS-style,
18708 test -f "$ac_f" ||
18711 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18721 # /* config.h. Generated by config.status. */
18725 if test x"$ac_file" != x-; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18739 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18745 ac_dir=`$as_dirname -- "$ac_file" ||
18775 # A ".." for each directory in $ac_dir_suffix.
18784 # for backward compatibility:
18835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18838 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
18839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18876 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18880 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18882 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18883 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
18888 rm -f "$ac_tmp/stdin"
18890 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18891 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18899 if test x"$ac_file" != x-; then
18902 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18903 } >"$ac_tmp/config.h" \
18905 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18909 rm -f "$ac_file"
18910 mv "$ac_tmp/config.h" "$ac_file" \
18915 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18916 || as_fn_error $? "could not create -" "$LINENO" 5
18928 done # for ac_tag
18939 # configure is writing to config.log, and then calls config.status.
18940 # config.status does its own redirection, appending to config.log.
18941 # Unfortunately, on DOS this fails, as config.log is still kept open
18942 # by configure, so config.status won't be able to write to it; its
18944 # effectively closing config.log, so it can be properly (re)opened and
18945 # appended to by config.status. When coming back to configure, we
18951 ac_config_status_args="$ac_config_status_args --quiet"
18954 exec 5>>config.log
18959 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18966 if test ! -f Modules/Setup.local
18968 echo "# Edit this file for local setup changes" >Modules/Setup.local
18972 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
18973 -s Modules \
18975 mv config.c Modules
18977 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
18981 echo "please run ./configure --enable-optimizations" >&6