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.7.
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.
723 CPP
859 CPP
916 for ac_option
919 if test -n "$ac_prev"; then
934 --)
937 -bindir | --bindir | --bindi | --bind | --bin | --bi)
939 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
942 -build | --build | --buil | --bui | --bu)
944 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
947 -cache-file | --cache-file | --cache-fil | --cache-fi \
948 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
951 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
954 --config-cache | -C)
955 cache_file=config.cache ;;
957 -datadir | --datadir | --datadi | --datad)
959 -datadir=* | --datadir=* | --datadi=* | --datad=*)
962 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
963 | --dataroo | --dataro | --datar)
965 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
966 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
969 -disable-* | --disable-*)
970 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
983 eval enable_$ac_useropt=no ;;
985 -docdir | --docdir | --docdi | --doc | --do)
987 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
990 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
992 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
995 -enable-* | --enable-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1011 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1012 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1013 | --exec | --exe | --ex)
1015 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1016 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1017 | --exec=* | --exe=* | --ex=*)
1020 -gas | --gas | --ga | --g)
1021 # Obsolete; use --with-gas.
1024 -help | --help | --hel | --he | -h)
1026 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1028 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1031 -host | --host | --hos | --ho)
1033 -host=* | --host=* | --hos=* | --ho=*)
1036 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1038 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1039 | --ht=*)
1042 -includedir | --includedir | --includedi | --included | --include \
1043 | --includ | --inclu | --incl | --inc)
1045 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1046 | --includ=* | --inclu=* | --incl=* | --inc=*)
1049 -infodir | --infodir | --infodi | --infod | --info | --inf)
1051 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1054 -libdir | --libdir | --libdi | --libd)
1056 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1059 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1060 | --libexe | --libex | --libe)
1062 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1063 | --libexe=* | --libex=* | --libe=*)
1066 -localedir | --localedir | --localedi | --localed | --locale)
1068 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1071 -localstatedir | --localstatedir | --localstatedi | --localstated \
1072 | --localstate | --localstat | --localsta | --localst | --locals)
1074 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1075 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1078 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1080 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1083 -nfp | --nfp | --nf)
1084 # Obsolete; use --without-fp.
1085 with_fp=no ;;
1087 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1088 | --no-cr | --no-c | -n)
1091 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1092 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1095 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1096 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1097 | --oldin | --oldi | --old | --ol | --o)
1099 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1100 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1101 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1104 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1106 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1109 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1110 | --program-pre | --program-pr | --program-p)
1112 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1113 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1116 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1117 | --program-suf | --program-su | --program-s)
1119 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1120 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1123 -program-transform-name | --program-transform-name \
1124 | --program-transform-nam | --program-transform-na \
1125 | --program-transform-n | --program-transform- \
1126 | --program-transform | --program-transfor \
1127 | --program-transfo | --program-transf \
1128 | --program-trans | --program-tran \
1129 | --progr-tra | --program-tr | --program-t)
1131 -program-transform-name=* | --program-transform-name=* \
1132 | --program-transform-nam=* | --program-transform-na=* \
1133 | --program-transform-n=* | --program-transform-=* \
1134 | --program-transform=* | --program-transfor=* \
1135 | --program-transfo=* | --program-transf=* \
1136 | --program-trans=* | --program-tran=* \
1137 | --progr-tra=* | --program-tr=* | --program-t=*)
1140 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1142 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1145 -psdir | --psdir | --psdi | --psd | --ps)
1147 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1150 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1151 | -silent | --silent | --silen | --sile | --sil)
1154 -runstatedir | --runstatedir | --runstatedi | --runstated \
1155 | --runstate | --runstat | --runsta | --runst | --runs \
1156 | --run | --ru | --r)
1158 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1159 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1160 | --run=* | --ru=* | --r=*)
1163 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1165 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1166 | --sbi=* | --sb=*)
1169 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1170 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1171 | --sharedst | --shareds | --shared | --share | --shar \
1172 | --sha | --sh)
1174 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1175 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1176 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1177 | --sha=* | --sh=*)
1180 -site | --site | --sit)
1182 -site=* | --site=* | --sit=*)
1185 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1187 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1190 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1191 | --syscon | --sysco | --sysc | --sys | --sy)
1193 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1194 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1197 -target | --target | --targe | --targ | --tar | --ta | --t)
1199 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1202 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1205 -version | --version | --versio | --versi | --vers | -V)
1208 -with-* | --with-*)
1209 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1214 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224 -without-* | --without-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1238 eval with_$ac_useropt=no ;;
1240 --x)
1241 # Obsolete; use --with-x.
1244 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1245 | --x-incl | --x-inc | --x-in | --x-i)
1247 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1248 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1251 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1252 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1254 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1255 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1258 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1259 Try \`$0 --help' for more information"
1266 '' | [0-9]* | *[!_$as_cr_alnum]* )
1274 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1275 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283 if test -n "$ac_prev"; then
1284 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1288 if test -n "$ac_unrecognized_opts"; then
1290 no) ;;
1296 # Check all directory arguments for consistency.
1297 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1318 # used to hold the argument of --host etc.
1334 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1339 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1340 ac_ls_di=`ls -di .` &&
1341 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1348 if test -z "$srcdir"; then
1351 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1379 ac_srcdir_defaulted=no
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1387 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1395 # mess up M-x gdb in Emacs.
1399 for ac_var in $ac_precious_vars; do
1407 # Report the --help message.
1418 VAR=VALUE. See below for descriptions of some of the useful variables.
1420 Defaults for the options are specified in brackets.
1423 -h, --help display this help and exit
1424 --help=short display options specific to this package
1425 --help=recursive display the short help of all the included packages
1426 -V, --version display version information and exit
1427 -q, --quiet, --silent do not print \`checking ...' messages
1428 --cache-file=FILE cache test results in FILE [disabled]
1429 -C, --config-cache alias for \`--cache-file=config.cache'
1430 -n, --no-create do not create output files
1431 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1434 --prefix=PREFIX install architecture-independent files in PREFIX
1436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1442 for instance \`--prefix=\$HOME'.
1444 For better control, use the options below.
1447 --bindir=DIR user executables [EPREFIX/bin]
1448 --sbindir=DIR system admin executables [EPREFIX/sbin]
1449 --libexecdir=DIR program executables [EPREFIX/libexec]
1450 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1451 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1452 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1453 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1454 --libdir=DIR object code libraries [EPREFIX/lib]
1455 --includedir=DIR C header files [PREFIX/include]
1456 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1457 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1458 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1459 --infodir=DIR info documentation [DATAROOTDIR/info]
1460 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1461 --mandir=DIR man documentation [DATAROOTDIR/man]
1462 --docdir=DIR documentation root [DATAROOTDIR/doc/python]
1463 --htmldir=DIR html documentation [DOCDIR]
1464 --dvidir=DIR dvi documentation [DOCDIR]
1465 --pdfdir=DIR pdf documentation [DOCDIR]
1466 --psdir=DIR ps documentation [DOCDIR]
1472 --build=BUILD configure for building on BUILD [guessed]
1473 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1474 --target=TARGET configure for building compilers for TARGET [HOST]
1478 if test -n "$ac_init_help"; then
1485 --disable-option-checking ignore unrecognized --enable/--with options
1486 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1487 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1488 --enable-universalsdk[=SDKDIR]
1490 --enable-framework[=INSTALLDIR]
1492 --enable-shared disable/enable building shared python library
1493 --enable-profiling enable C-level code profiling
1494 --enable-optimizations Enable expensive, stable optimizations (PGO, etc).
1496 --enable-loadable-sqlite-extensions
1498 --enable-ipv6 Enable ipv6 (with ipv4) support
1499 --disable-ipv6 Disable ipv6 support
1500 --enable-big-digits[=BITS]
1501 use big digits for Python longs [[BITS=30]]
1504 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1505 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1506 --with-universal-archs=ARCH
1507 select architectures for universal build ("32-bit",
1508 "64-bit", "3-way", "intel", "intel-32", "intel-64",
1510 --with-framework-name=FRAMEWORK
1512 with --enable-framework
1513 --without-gcc never use gcc
1514 --with-icc build with icc
1515 --with-cxx-main=<compiler>
1518 --with-suffix=.exe set executable suffix
1519 --with-pydebug build with Py_DEBUG defined
1520 --with-assertions build with C assertions enabled
1521 --with-lto Enable Link Time Optimization in any build. Disabled
1523 --with-hash-algorithm=[fnv|siphash24]
1525 --with-address-sanitizer
1527 --with-memory-sanitizer enable MemorySanitizer (msan)
1528 --with-undefined-behavior-sanitizer
1530 --with-libs='lib1 ...' link against additional libs
1531 --with-system-expat build pyexpat module using an installed expat
1533 --with-system-ffi build _ctypes module using an installed ffi library
1534 --with-system-libmpdec build _decimal module using an installed libmpdec
1536 --with-tcltk-includes='-I...'
1537 override search for Tcl and Tk include files
1538 --with-tcltk-libs='-L...'
1539 override search for Tcl and Tk libs
1540 --with-dbmliborder=db1:db2:...
1541 order to check db backends for dbm. Valid value is a
1544 --with(out)-doc-strings disable/enable documentation strings
1545 --with(out)-pymalloc disable/enable specialized mallocs
1546 --with(out)-c-locale-coercion
1547 disable/enable C locale coercion to a UTF-8 based
1549 --with-valgrind Enable Valgrind support
1550 --with(out)-dtrace disable/enable DTrace support
1551 --with-libm=STRING math library
1552 --with-libc=STRING C library
1553 --with(out)-computed-gotos
1556 --with(out)-ensurepip=[=upgrade]
1558 --with-openssl=DIR root of the OpenSSL directory
1559 --with-ssl-default-suites=[python|openssl|STRING]
1566 MACHDEP name for machine-dependent library files
1569 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1571 LIBS libraries to pass to the linker, e.g. -l<library>
1572 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1574 CPP C preprocessor
1575 PKG_CONFIG path to pkg-config utility
1577 directories to add to pkg-config's search path
1579 path overriding pkg-config's built-in search path
1590 # If there are subdirs, report their specific --help.
1591 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592 test -d "$ac_dir" ||
1593 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601 # A ".." for each directory in $ac_dir_suffix.
1610 # for backward compatibility:
1630 # Check for guested configure.
1631 if test -f "$ac_srcdir/configure.gnu"; then
1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634 elif test -f "$ac_srcdir/configure"; then
1636 $SHELL "$ac_srcdir/configure" --help=recursive
1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1644 test -n "$ac_init_help" && exit $ac_status
1657 ## ------------------------ ##
1659 ## ------------------------ ##
1662 # --------------------------
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.$ac_objext; then :
1700 # ----------------------
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1737 # -----------------------
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext conftest$ac_exeext
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test -z "$ac_c_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest$ac_exeext && {
1763 test -x conftest$ac_exeext
1776 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1783 # -------------------------------------------------------
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 ac_header_compiler=no
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 ac_header_preproc=no
1829 rm -f conftest.err conftest.i conftest.$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1835 yes:no: )
1836 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1841 no:yes:* )
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1844 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
1845 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1848 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852 ( $as_echo "## --------------------------------------- ##
1854 ## --------------------------------------- ##"
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 # ----------------------
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 # -------------------------------------------------------
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 eval "$3=no"
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1947 # -------------------------------------------
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1958 eval "$3=no"
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 # --------------------------------------------
2002 # Tries to find the compile-time value of EXPR in a program that includes
2007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2016 static int test_array [1 - 2 * !(($2) >= 0)];
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2045 if test $ac_lo -le $ac_mid; then
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 static int test_array [1 - 2 * !(($2) < 0)];
2069 ac_hi=-1 ac_mid=-1
2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2088 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2089 if test $ac_mid -le $ac_hi; then
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2175 rm -f conftest.val
2184 # ----------------------------------
2188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2190 $as_echo_n "checking for $2... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2220 /* The GNU C library defines this for functions which it implements
2238 eval "$3=no"
2240 rm -f core conftest.err conftest.$ac_objext \
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 # ---------------------------------------------
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 eval "$3=no"
2287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2297 # ----------------------------------------------------
2302 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2304 $as_echo_n "checking for $2.$3... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 eval "$4=no"
2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352 cat >config.log <<_ACEOF
2362 exec 5>>config.log
2365 ## --------- ##
2367 ## --------- ##
2369 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2370 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2371 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2372 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2373 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2375 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2376 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2379 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2389 for as_dir in $PATH
2392 test -z "$as_dir" && as_dir=.
2402 ## ----------- ##
2404 ## ----------- ##
2410 # Strip out --no-create and --no-recursion so they do not pile up.
2411 # Strip out --silent because we don't want to record it for future runs.
2412 # Also quote any args containing shell meta-characters.
2413 # Make two passes to allow for proper duplicate-argument suppression.
2418 for ac_pass in 1 2
2420 for ac_arg
2423 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2424 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2425 | -silent | --silent | --silen | --sile | --sil)
2438 *=* | --config-cache | -C | -disable-* | --disable-* \
2439 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2440 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2441 | -with-* | --with-* | -without-* | --without-* | --x)
2446 -* ) ac_must_keep_next=true ;;
2458 # config.log. We remove comments because anyway the quotes in there
2463 # Save into config.log some information that might help in debugging.
2467 $as_echo "## ---------------- ##
2469 ## ---------------- ##"
2473 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2478 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2491 sed -n \
2496 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2503 $as_echo "## ----------------- ##
2505 ## ----------------- ##"
2507 for ac_var in $ac_subst_vars
2517 if test -n "$ac_subst_files"; then
2518 $as_echo "## ------------------- ##
2520 ## ------------------- ##"
2522 for ac_var in $ac_subst_files
2533 if test -s confdefs.h; then
2534 $as_echo "## ----------- ##
2536 ## ----------- ##"
2545 rm -f core *.core core.conftest.* &&
2546 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2549 for ac_signal in 1 2 13 15; do
2555 rm -f -r conftest* confdefs.h
2590 if test -n "$CONFIG_SITE"; then
2591 # We do not want a PATH search for config.site.
2593 -*) ac_site_file1=./$CONFIG_SITE;;
2598 ac_site_file1=$prefix/share/config.site
2599 ac_site_file2=$prefix/etc/config.site
2601 ac_site_file1=$ac_default_prefix/share/config.site
2602 ac_site_file2=$ac_default_prefix/etc/config.site
2604 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2607 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2612 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2615 See \`config.log' for more details" "$LINENO" 5; }
2619 if test -r "$cache_file"; then
2622 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2639 for ac_var in $ac_precious_vars; do
2646 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
2650 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2660 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2664 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2674 # Pass precious variables to config.status.
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2689 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
2693 ## -------------------- ##
2695 ## -------------------- ##
2698 ac_cpp='$CPP $CPPFLAGS'
2699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2708 if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
2709 # If we're building out-of-tree, we need to make sure the following
2711 # Objects/ -> typeslots.inc
2712 # Include/ -> Python-ast.h, graminit.h
2713 # Python/ -> importlib.h
2715 # regenerated when building out-of-tree, regardless of whether or not
2716 # the $srcdir counterpart is up-to-date. This is an acceptable trade
2718 BASECPPFLAGS="-IObjects -IInclude -IPython"
2727 if test -e $srcdir/.git
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test -n "$HAS_GIT"; then
2740 for as_dir in $PATH
2743 test -z "$as_dir" && as_dir=.
2744 for ac_exec_ext in '' $ac_executable_extensions; do
2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
2758 if test -n "$HAS_GIT"; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2763 $as_echo "no" >&6; }
2768 HAS_GIT=no-repository
2772 GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
2773 GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
2774 GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
2786 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2787 if test -f "$ac_dir/install-sh"; then
2789 ac_install_sh="$ac_aux_dir/install-sh -c"
2791 elif test -f "$ac_dir/install.sh"; then
2793 ac_install_sh="$ac_aux_dir/install.sh -c"
2795 elif test -f "$ac_dir/shtool"; then
2797 ac_install_sh="$ac_aux_dir/shtool install -c"
2801 if test -z "$ac_aux_dir"; then
2802 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
2809 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2810 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2814 # Make sure we can run config.sub.
2815 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2816 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2825 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2828 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2829 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2835 *-*-*) ;;
2839 ac_save_IFS=$IFS; IFS='-'
2849 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2860 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2861 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2868 *-*-*) ;;
2872 ac_save_IFS=$IFS; IFS='-'
2882 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2888 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
2889 rm -f pybuilddir.txt
2891 for ac_prog in python$PACKAGE_VERSION python3 python
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test -n "$PYTHON_FOR_REGEN"; then
2904 for as_dir in $PATH
2907 test -z "$as_dir" && as_dir=.
2908 for ac_exec_ext in '' $ac_executable_extensions; do
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$PYTHON_FOR_REGEN"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2930 test -n "$PYTHON_FOR_REGEN" && break
2932 test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python interpreter for cross build" >&5
2938 $as_echo_n "checking for python interpreter for cross build... " >&6; }
2939 if test -z "$PYTHON_FOR_BUILD"; then
2940 for interp in python$PACKAGE_VERSION python3 python; do
2942 …if $interp -c "import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == '$PACKAGE…
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
2952 …dir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && e…
2955 as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
2957 PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
2963 prefix=`echo "$prefix" | sed -e 's/\/$//g'`
2970 # with other autoconf-based packages that include Python.h
2971 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
2983 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
2989 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
2996 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3003 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
3017 $as_echo_n "checking for --enable-universalsdk... " >&6; }
3018 # Check whether --enable-universalsdk was given.
3023 # Locate the best usable SDK, see Mac/README for more
3025 enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
3026 if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
3029 if test ! -d "${enableval}"
3037 no)
3043 if test ! -d "${UNIVERSALSDK}"
3045 as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
3058 if test -n "${UNIVERSALSDK}"
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3071 # For backward compatibility reasons we prefer to select '32-bit' if available,
3073 UNIVERSAL_ARCHS="32-bit"
3074 if test "`uname -s`" = "Darwin"
3076 if test -n "${UNIVERSALSDK}"
3078 if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
3087 $as_echo_n "checking for --with-universal-archs... " >&6; }
3089 # Check whether --with-universal-archs was given.
3096 if test -n "${UNIVERSALSDK}"
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3106 # Check whether --with-framework-name was given.
3111 PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
3121 # Check whether --enable-framework was given.
3129 no)
3131 PYTHONFRAMEWORKDIR=no-framework
3183 # --prefix option, but wants to install
3184 # the framework in a non-default location,
3199 # Add files for Mac specific code to the list of output
3214 PYTHONFRAMEWORKDIR=no-framework
3252 ## AS_HELP_STRING([--with-dyld],
3255 # Set name for machine-dependent library files
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
3259 if test -z "$MACHDEP"
3261 # avoid using uname for cross builds
3263 # ac_sys_system and ac_sys_release are used for setting
3267 *-*-linux-android*)
3268 ac_sys_system=Linux-android
3270 *-*-linux*)
3273 *-*-cygwin*)
3277 # for now, limit cross builds to known configurations
3279 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3283 ac_sys_system=`uname -s`
3285 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
3286 ac_sys_release=`uname -v`
3288 ac_sys_release=`uname -r`
3292 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
3294 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
3308 *-*-linux*)
3317 *-*-cygwin*)
3321 # for now, limit cross builds to known configurations
3323 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3325 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
3330 # features as extensions. For these systems, we skip the definition of
3332 # some feature, make sure there is no alternative way to access this
3334 # need for not defining _XOPEN_SOURCE on all systems matching the
3340 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3344 define_xopen_source=no
3363 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3364 define_xopen_source=no;;
3368 # for Python to use Solaris is simply to leave _XOPEN_SOURCE out
3371 define_xopen_source=no;;
3374 # Reconfirmed for 7.1.4 by Martin v. Loewis.
3375 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3376 define_xopen_source=no;;
3380 define_xopen_source=no;;
3387 # has no effect, don't bother defining them
3389 define_xopen_source=no;;
3390 Darwin/1[0-9].*)
3391 define_xopen_source=no;;
3396 define_xopen_source=no;;
3398 if test `uname -r` -eq 1; then
3399 define_xopen_source=no
3405 define_xopen_source=no
3412 # X/Open 7, incorporating POSIX.1-2008
3420 # cases for HP-UX, we define it globally.
3430 # On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
3435 define_stdc_a1=no;;
3445 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
3453 # checks for alternative programs
3456 # for debug/optimization stuff. BASECFLAGS is for flags that are required
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --without-gcc" >&5
3464 $as_echo_n "checking for --without-gcc... " >&6; }
3466 # Check whether --with-gcc was given.
3470 no) CC=${CC:-cc}
3473 without_gcc=no;;
3480 AIX*) CC=${CC:-xlc_r}
3482 *) without_gcc=no;;
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $without_gcc" >&5
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-icc" >&5
3490 $as_echo_n "checking for --with-icc... " >&6; }
3492 # Check whether --with-icc was given.
3496 no) CC=${CC:-cc}
3497 with_icc=no;;
3506 with_icc=no
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_icc" >&5
3513 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
3515 as_fn_error $? "cached CC is different -- throw away $cache_file
3519 # Don't let AC_PROG_CC set the default CFLAGS. It normally sets -g -O2
3520 # when the compiler supports them, but we don't always want -O2, and
3521 # we set -g later.
3522 if test -z "$CFLAGS"; then
3529 # AC_PROG_CC can handle, see Mac/README for more
3531 if test -z "${CC}"
3536 for as_dir in $PATH
3539 if test -x "${as_dir}/gcc"; then
3540 if test -z "${found_gcc}"; then
3544 if test -x "${as_dir}/clang"; then
3545 if test -z "${found_clang}"; then
3552 if test -n "$found_gcc" -a -n "$found_clang"
3554 if test -n "`"$found_gcc" --version | grep llvm-gcc`"
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected llvm-gcc, falling back to clang" >&5
3557 $as_echo "$as_me: Detected llvm-gcc, falling back to clang" >&6;}
3563 elif test -z "$found_gcc" -a -n "$found_clang"
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: No GCC found, use CLANG" >&5
3566 $as_echo "$as_me: No GCC found, use CLANG" >&6;}
3570 elif test -z "$found_gcc" -a -z "$found_clang"
3572 found_clang=`/usr/bin/xcrun -find clang 2>/dev/null`
3573 if test -n "${found_clang}"
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: Using clang from Xcode.app" >&5
3578 CXX="`/usr/bin/xcrun -find clang++`"
3586 ac_cpp='$CPP $CPPFLAGS'
3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 if test -n "$ac_tool_prefix"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3598 if test -n "$CC"; then
3602 for as_dir in $PATH
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 if test -n "$CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3629 if test -z "$ac_cv_prog_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test -n "$ac_ct_CC"; then
3642 for as_dir in $PATH
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 if test -n "$ac_ct_CC"; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3682 if test -z "$CC"; then
3683 if test -n "$ac_tool_prefix"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3691 if test -n "$CC"; then
3695 for as_dir in $PATH
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 if test -n "$CC"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3723 if test -z "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3727 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test -n "$CC"; then
3734 ac_prog_rejected=no
3736 for as_dir in $PATH
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 if test -n "$CC"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3779 if test -z "$CC"; then
3780 if test -n "$ac_tool_prefix"; then
3781 for ac_prog in cl.exe
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test -n "$CC"; then
3794 for as_dir in $PATH
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3820 test -n "$CC" && break
3823 if test -z "$CC"; then
3825 for ac_prog in cl.exe
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3834 if test -n "$ac_ct_CC"; then
3838 for as_dir in $PATH
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 if test -n "$ac_ct_CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$ac_ct_CC" && break
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3883 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3885 as_fn_error $? "no acceptable C compiler found in \$PATH
3886 See \`config.log' for more details" "$LINENO" 5; }
3889 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3892 for ac_option in --version -v -V -qversion; do
3898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3902 if test -s conftest.err; then
3908 rm -f conftest.er1 conftest.err
3909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 # Try to create an executable without -o first, disregard a.out.
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3931 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3937 for ac_file in $ac_files
3944 rm -f $ac_rmfiles
3951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3958 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # so that the user can short-circuit this test for compilers unknown to
3962 for ac_file in $ac_files ''
3964 test -f "$ac_file" || continue
3973 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3977 # We set ac_cv_exeext here because the later test for it is not
3978 # safe: cross compilers may not add the suffix if given an `-o'
3987 test "$ac_cv_exeext" = no && ac_cv_exeext=
3992 if test -z "$ac_file"; then :
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 See \`config.log' for more details" "$LINENO" 5; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4007 $as_echo_n "checking for C compiler default output file name... " >&6; }
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4012 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4015 $as_echo_n "checking for suffix of executables... " >&6; }
4021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4031 for ac_file in conftest.exe conftest conftest.*; do
4032 test -f "$ac_file" || continue
4041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4044 See \`config.log' for more details" "$LINENO" 5; }
4046 rm -f conftest conftest$ac_cv_exeext
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4050 rm -f conftest.$ac_ext
4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 cross_compiling=no
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details" "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4110 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4113 $as_echo_n "checking for suffix of object files... " >&6; }
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 rm -f conftest.o conftest.obj
4134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4140 for ac_file in conftest.o conftest.obj conftest.*; do
4141 test -f "$ac_file" || continue;
4152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4155 See \`config.log' for more details" "$LINENO" 5; }
4157 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 ac_compiler_gnu=no
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4201 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4207 ac_cv_prog_cc_g=no
4208 CFLAGS="-g"
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 CFLAGS="-g"
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4267 CFLAGS="-g -O2"
4269 CFLAGS="-g"
4273 CFLAGS="-O2"
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4279 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4283 ac_cv_prog_cc_c89=no
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4309 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4312 as 'x'. The following induces an error, until -std is added to get
4313 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4315 that's true only with -std. */
4316 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4318 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4321 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4337 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4338 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4344 rm -f core conftest.err conftest.$ac_objext
4347 rm -f conftest.$ac_ext
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4369 ac_cpp='$CPP $CPPFLAGS'
4370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4375 ac_cpp='$CPP $CPPFLAGS'
4376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4381 # On Suns, sometimes $CPP names a directory.
4382 if test -n "$CPP" && test -d "$CPP"; then
4383 CPP=
4385 if test -z "$CPP"; then
4389 # Double quotes because CPP needs to be expanded
4390 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4393 for ac_c_preproc_warn_flag in '' yes
4396 # with a fresh cross-compiler works.
4399 # On the NeXT, cc -E runs the code through the compiler's parser,
4400 # not just through cpp. "Syntax error" is here to catch this case.
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 rm -f conftest.err conftest.i conftest.$ac_ext
4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4432 rm -f conftest.err conftest.i conftest.$ac_ext
4436 rm -f conftest.i conftest.err conftest.$ac_ext
4442 ac_cv_prog_CPP=$CPP
4445 CPP=$ac_cv_prog_CPP
4447 ac_cv_prog_CPP=$CPP
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4450 $as_echo "$CPP" >&6; }
4452 for ac_c_preproc_warn_flag in '' yes
4455 # with a fresh cross-compiler works.
4458 # On the NeXT, cc -E runs the code through the compiler's parser,
4459 # not just through cpp. "Syntax error" is here to catch this case.
4460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 rm -f conftest.err conftest.i conftest.$ac_ext
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 rm -f conftest.err conftest.i conftest.$ac_ext
4495 rm -f conftest.i conftest.err conftest.$ac_ext
4499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4501 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4502 See \`config.log' for more details" "$LINENO" 5; }
4506 ac_cpp='$CPP $CPPFLAGS'
4507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4512 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4516 if test -z "$GREP"; then
4518 # Loop through the user's path and test for each of PROGNAME-LIST
4520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4523 test -z "$as_dir" && as_dir=.
4524 for ac_prog in grep ggrep; do
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4528 # Check for GNU ac_path_GREP and select it if it is found.
4529 # Check for GNU $ac_path_GREP
4530 case `"$ac_path_GREP" --version 2>&1` in
4542 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
4545 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4546 # Best one so far, save it but keep looking for a better one
4551 test $ac_count -gt 10 && break
4553 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 if test -z "$ac_cv_path_GREP"; then
4562 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4575 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4580 for ac_i in 1 2 3 4 5 6 7; do
4585 if test -z "$SED"; then
4587 # Loop through the user's path and test for each of PROGNAME-LIST
4589 for as_dir in $PATH
4592 test -z "$as_dir" && as_dir=.
4593 for ac_prog in sed gsed; do
4594 for ac_exec_ext in '' $ac_executable_extensions; do
4597 # Check for GNU ac_path_SED and select it if it is found.
4598 # Check for GNU $ac_path_SED
4599 case `"$ac_path_SED" --version 2>&1` in
4611 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4614 if test $ac_count -gt ${ac_path_SED_max-0}; then
4615 # Best one so far, save it but keep looking for a better one
4620 test $ac_count -gt 10 && break
4622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4630 if test -z "$ac_cv_path_SED"; then
4631 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4641 rm -f conftest.sed
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-cxx-main=<compiler>" >&5
4647 $as_echo_n "checking for --with-cxx-main=<compiler>... " >&6; }
4649 # Check whether --with-cxx_main was given.
4654 no) with_cxx_main=no
4660 if test -z "$CXX"
4667 with_cxx_main=no
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cxx_main" >&5
4676 if test -z "$CXX"
4679 gcc) if test -n "$ac_tool_prefix"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4683 $as_echo_n "checking for $ac_word... " >&6; }
4693 for as_dir in notfound
4696 test -z "$as_dir" && as_dir=.
4697 for ac_exec_ext in '' $ac_executable_extensions; do
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4711 if test -n "$CXX"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4716 $as_echo "no" >&6; }
4721 if test -z "$ac_cv_path_CXX"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4736 for as_dir in notfound
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 if test -n "$ac_pt_CXX"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4777 cc) if test -n "$ac_tool_prefix"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4791 for as_dir in notfound
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 if test -n "$CXX"; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4819 if test -z "$ac_cv_path_CXX"; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 $as_echo_n "checking for $ac_word... " >&6; }
4834 for as_dir in notfound
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 if test -n "$ac_pt_CXX"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4875 clang|*/clang) if test -n "$ac_tool_prefix"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4889 for as_dir in notfound
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 if test -n "$CXX"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4917 if test -z "$ac_cv_path_CXX"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4932 for as_dir in notfound
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 if test -n "$ac_pt_CXX"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4973 icc|*/icc) if test -n "$ac_tool_prefix"; then
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4987 for as_dir in notfound
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5005 if test -n "$CXX"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5015 if test -z "$ac_cv_path_CXX"; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5030 for as_dir in notfound
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 if test -n "$ac_pt_CXX"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5077 if test -z "$CXX"
5079 if test -n "$ac_tool_prefix"; then
5080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5089 if test -n "$CXX"; then
5093 for as_dir in $PATH
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 if test -n "$CXX"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5119 test -n "$CXX" && break
5122 if test -z "$CXX"; then
5124 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test -n "$ac_ct_CXX"; then
5137 for as_dir in $PATH
5140 test -z "$as_dir" && as_dir=.
5141 for ac_exec_ext in '' $ac_executable_extensions; do
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154 if test -n "$ac_ct_CXX"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 test -n "$ac_ct_CXX" && break
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5186 { $as_echo "$as_me:${as_lineno-$LINENO}:
5199 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler charac…
5203 $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
5220 x86_64-linux-gnu
5222 x86_64-linux-gnux32
5224 i386-linux-gnu
5227 aarch64_ilp32-linux-gnu
5229 aarch64-linux-gnu
5233 aarch64_be_ilp32-linux-gnu
5235 aarch64_be-linux-gnu
5238 alpha-linux-gnu
5241 arm-linux-gnueabihf
5243 armeb-linux-gnueabihf
5247 arm-linux-gnueabi
5249 armeb-linux-gnueabi
5252 hppa-linux-gnu
5254 ia64-linux-gnu
5256 m68k-linux-gnu
5259 mipsisa32r6el-linux-gnu
5261 mipsisa64r6el-linux-gnuabin32
5263 mipsisa64r6el-linux-gnuabi64
5269 mipsisa32r6-linux-gnu
5271 mipsisa64r6-linux-gnuabin32
5273 mipsisa64r6-linux-gnuabi64
5279 mipsel-linux-gnu
5281 mips64el-linux-gnuabin32
5283 mips64el-linux-gnuabi64
5289 mips-linux-gnu
5291 mips64-linux-gnuabin32
5293 mips64-linux-gnuabi64
5298 or1k-linux-gnu
5300 powerpc-linux-gnuspe
5303 powerpc64le-linux-gnu
5305 powerpc64-linux-gnu
5308 powerpc-linux-gnu
5310 s390x-linux-gnu
5312 s390-linux-gnu
5314 sh4-linux-gnu
5316 sparc64-linux-gnu
5318 sparc-linux-gnu
5321 riscv32-linux-gnu
5323 riscv64-linux-gnu
5332 x86_64-kfreebsd-gnu
5334 i386-kfreebsd-gnu
5339 i386-gnu
5348 if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
5349 PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5356 rm -f conftest.c conftest.out
5360 …as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LIN…
5367 MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-as-needed" >&5
5372 $as_echo_n "checking for -Wl,--no-as-needed... " >&6; }
5374 LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
5376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 NO_AS_NEEDED="-Wl,--no-as-needed"
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5396 rm -f core conftest.err conftest.$ac_objext \
5402 # checks for UNIX variants that set C preprocessor variables
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5405 $as_echo_n "checking for egrep... " >&6; }
5409 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5410 then ac_cv_path_EGREP="$GREP -E"
5412 if test -z "$EGREP"; then
5414 # Loop through the user's path and test for each of PROGNAME-LIST
5416 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5419 test -z "$as_dir" && as_dir=.
5420 for ac_prog in egrep; do
5421 for ac_exec_ext in '' $ac_executable_extensions; do
5424 # Check for GNU ac_path_EGREP and select it if it is found.
5425 # Check for GNU $ac_path_EGREP
5426 case `"$ac_path_EGREP" --version 2>&1` in
5441 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5442 # Best one so far, save it but keep looking for a better one
5447 test $ac_count -gt 10 && break
5449 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5457 if test -z "$ac_cv_path_EGREP"; then
5458 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5472 $as_echo_n "checking for ANSI C header files... " >&6; }
5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494 ac_cv_header_stdc=no
5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 ac_cv_header_stdc=no
5511 rm -f conftest*
5517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 ac_cv_header_stdc=no
5528 rm -f conftest*
5533 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5557 for (i = 0; i < 256; i++)
5567 ac_cv_header_stdc=no
5569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5584 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5601 …ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_include…
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 ac_cv_safe_to_define___extensions__=no
5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android API level" >&5
5663 $as_echo_n "checking for the Android API level... " >&6; }
5673 if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
5674 ANDROID_API_LEVEL=`sed -n -e '/__ANDROID_API__/d' -e 's/^android_api = //p' conftest.out`
5675 _arm_arch=`sed -n -e '/__ARM_ARCH/d' -e 's/^arm_arch = //p' conftest.out`
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANDROID_API_LEVEL" >&5
5678 if test -z "$ANDROID_API_LEVEL"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
5689 $as_echo_n "checking for the Android arm ABI... " >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5
5693 BASECFLAGS="${BASECFLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16"
5694 LDFLAGS="${LDFLAGS} -march=armv7-a -Wl,--fix-cortex-a8"
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not Android" >&5
5700 rm -f conftest.c conftest.out
5702 # Check for unsupported systems
5705 echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
5706 echo See README for details.
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
5712 $as_echo_n "checking for --with-suffix... " >&6; }
5714 # Check whether --with-suffix was given.
5718 no) EXEEXT=;;
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
5727 # Test whether we're running on a non-case-sensitive system, in which
5728 # case we give a warning if no ext is given
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
5731 $as_echo_n "checking for case-insensitive build directory... " >&6; }
5732 if test ! -d CaseSensitiveTestDir; then
5736 if test -d casesensitivetestdir
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 $as_echo "no" >&6; }
5751 cc|*/cc) CC="$CC -Ae";;
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
5758 if test -z "$LIBRARY"
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
5777 # on the system - some systems like version suffix, others don't
5797 # LINKCC is the command that links the python executable -- default is $(CC).
5801 # This is altered for AIX in order to build the export list before
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
5806 if test -z "$LINKCC"
5812 if test $ac_sys_release -ge 5 -o \
5813 $ac_sys_release -eq 4 -a `uname -r` -ge 2 ; then
5819 # support -N.
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
5827 # make sure we default having it set to "no": this is used by
5828 # distutils.unixccompiler to know if it should add --enable-new-dtags
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5833 $as_echo_n "checking for GNU ld... " >&6; }
5836 ac_prog=`$CC -print-prog-name=ld`
5838 case `"$ac_prog" -V 2>&1 < /dev/null` in
5842 GNULD=no;;
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
5848 $as_echo_n "checking for --enable-shared... " >&6; }
5849 # Check whether --enable-shared was given.
5855 if test -z "$enable_shared"
5861 enable_shared="no";;
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
5868 $as_echo_n "checking for --enable-profiling... " >&6; }
5869 # Check whether --enable-profiling was given.
5876 CC="$CC -pg"
5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 enable_profiling=no
5886 rm -f core conftest.err conftest.$ac_objext \
5890 enable_profiling=no
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
5896 BASECFLAGS="-pg $BASECFLAGS"
5897 LDFLAGS="-pg $LDFLAGS"
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
5905 # will find it with a -framework option). For this reason there is an
5908 # LDLIBRARY, but empty for MacOSX framework builds.
5931 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
5941 BLDLIBRARY='-L. -lpython$(LDVERSION)'
5950 case `uname -m` in
5958 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
5963 BLDLIBRARY='-L. -lpython$(LDVERSION)'
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
5990 if test -n "$ac_tool_prefix"; then
5991 for ac_prog in ar aal
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
6000 if test -n "$AR"; then
6004 for as_dir in $PATH
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 if test -n "$AR"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$AR" && break
6033 if test -z "$AR"; then
6035 for ac_prog in ar aal
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6044 if test -n "$ac_ct_AR"; then
6048 for as_dir in $PATH
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 if test -n "$ac_ct_AR"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$ac_ct_AR" && break
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6093 if test -z "$ARFLAGS"
6098 if test -n "$ac_tool_prefix"; then
6099 for ac_prog in readelf
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6108 if test -n "$READELF"; then
6112 for as_dir in $PATH
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 if test -n "$READELF"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6138 test -n "$READELF" && break
6141 if test -z "$READELF"; then
6143 for ac_prog in readelf
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6152 if test -n "$ac_ct_READELF"; then
6156 for as_dir in $PATH
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173 if test -n "$ac_ct_READELF"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6182 test -n "$ac_ct_READELF" && break
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6201 as_fn_error $? "readelf for the host is required for cross builds" "$LINENO" 5
6210 # install -d does not work on HP-UX
6211 if test -z "$INSTALL"
6213 INSTALL="${srcdir}/install-sh -c"
6224 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6231 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6232 if test -z "$INSTALL"; then
6237 for as_dir in $PATH
6240 test -z "$as_dir" && as_dir=.
6241 # Account for people who put trailing slashes in PATH elements.
6248 # OSF1 and SCO ODT 3.0 have their own names for install.
6251 for ac_prog in ginstall scoinst install; do
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6260 # program-specific install script used by HP pwplus--don't use.
6263 rm -rf conftest.one conftest.two conftest.dir
6267 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
6268 test -s conftest.one && test -s conftest.two &&
6269 test -s conftest.dir/conftest.one &&
6270 test -s conftest.dir/conftest.two
6272 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6285 rm -rf conftest.one conftest.two conftest.dir
6292 # value for INSTALL within a source directory, because that will
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6301 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6303 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6305 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6307 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6310 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6311 if test -z "$MKDIR_P"; then
6316 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6319 test -z "$as_dir" && as_dir=.
6320 for ac_prog in mkdir gmkdir; do
6321 for ac_exec_ext in '' $ac_executable_extensions; do
6323 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6337 test -d ./--version && rmdir ./--version
6339 MKDIR_P="$ac_cv_path_mkdir -p"
6342 # value for MKDIR_P within a source directory, because that will
6345 MKDIR_P="$ac_install_sh -d"
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6354 if test -z "$LN" ; then
6356 CYGWIN*) LN="ln -s";;
6361 # For calculating the .so ABI tag.
6365 # Check for --with-pydebug
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
6367 $as_echo_n "checking for --with-pydebug... " >&6; }
6369 # Check whether --with-pydebug was given.
6372 if test "$withval" != no
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6381 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6382 $as_echo "no" >&6; }; Py_DEBUG='false'
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6390 # Check for --with-assertions. Py_DEBUG implies assertions, but also changes
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-assertions" >&5
6394 $as_echo_n "checking for --with-assertions... " >&6; }
6396 # Check whether --with-assertions was given.
6399 if test "$withval" != no
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: implied by --with-pydebug" >&5
6411 $as_echo "implied by --with-pydebug" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
6422 $as_echo_n "checking for --enable-optimizations... " >&6; }
6423 # Check whether --enable-optimizations was given.
6426 if test "$enableval" != no
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6434 $as_echo "no" >&6; };
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6445 # who want LTO need to use --with-lto themselves.
6446 DEF_MAKE_ALL_RULE="profile-opt"
6451 REQUIRE_PGO="no"
6455 # Make llvm-relatec checks work on systems where llvm tools are not installed with their
6457 # non-suffixed name in their versioned llvm directory.
6466 if test -L "${clang_bin}"
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
6477 $as_echo_n "checking for --with-lto... " >&6; }
6479 # Check whether --with-lto was given.
6482 if test "$withval" != no
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; };
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
6509 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
6510 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
6517 *-*-*) ;;
6521 ac_save_IFS=$IFS; IFS='-'
6531 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
6536 test -n "$target_alias" &&
6539 program_prefix=${target_alias}-
6540 # Extract the first word of "$target_alias-llvm-ar", so it can be a program name with args.
6541 set dummy $target_alias-llvm-ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6553 for as_dir in ${llvm_path}
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6571 if test -n "$LLVM_AR"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_AR" >&5
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6580 if test -z "$ac_cv_path_LLVM_AR"; then
6583 # Extract the first word of "llvm-ar", so it can be a program name with args.
6584 set dummy llvm-ar; ac_word=$2
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586 $as_echo_n "checking for $ac_word... " >&6; }
6596 for as_dir in ${llvm_path}
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 test -z "$ac_cv_path_ac_pt_LLVM_AR" && ac_cv_path_ac_pt_LLVM_AR="''"
6615 if test -n "$ac_pt_LLVM_AR"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_AR" >&5
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6632 if test -n "${LLVM_AR}" -a -x "${LLVM_AR}"
6636 LLVM_AR_FOUND="not-found"
6638 if test "$ac_sys_system" = "Darwin" -a "${LLVM_AR_FOUND}" = "not-found"
6640 found_llvm_ar=`/usr/bin/xcrun -find llvm-ar 2>/dev/null`
6641 if test -n "${found_llvm_ar}"
6643 LLVM_AR='/usr/bin/xcrun llvm-ar'
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-ar found via xcrun: ${LLVM_AR}" >&5
6646 $as_echo "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
6649 if test $LLVM_AR_FOUND = not-found
6652 …as_fn_error $? "llvm-ar is required for a --with-lto build with clang but could not be found." "$L…
6654 LLVM_AR_ERR=no
6660 LTOFLAGS="-flto -Wl,-export_dynamic"
6663 LTOFLAGS="-flto"
6670 LTOFLAGS="-flto -Wl,-export_dynamic"
6673 LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
6681 # bpo-30345: Add -g to LDFLAGS when compiling with LTO
6683 LTOFLAGS="$LTOFLAGS -g"
6697 # Extract the first word of "$target_alias-llvm-profdata", so it can be a program name with args.
6698 set dummy $target_alias-llvm-profdata; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6710 for as_dir in ${llvm_path}
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 if test -n "$LLVM_PROFDATA"; then
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 $as_echo "no" >&6; }
6737 if test -z "$ac_cv_path_LLVM_PROFDATA"; then
6740 # Extract the first word of "llvm-profdata", so it can be a program name with args.
6741 set dummy llvm-profdata; ac_word=$2
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 $as_echo_n "checking for $ac_word... " >&6; }
6753 for as_dir in ${llvm_path}
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 test -z "$ac_cv_path_ac_pt_LLVM_PROFDATA" && ac_cv_path_ac_pt_LLVM_PROFDATA="''"
6772 if test -n "$ac_pt_LLVM_PROFDATA"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6789 if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
6793 LLVM_PROF_FOUND="not-found"
6795 if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
6797 found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
6798 if test -n "${found_llvm_profdata}"
6800 # llvm-profdata isn't directly in $PATH in some cases.
6802 LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
6805 $as_echo "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
6808 LLVM_PROF_ERR=no
6812 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6813 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6814 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6815 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6816 if test $LLVM_PROF_FOUND = not-found
6821 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6828 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6829 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6830 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6831 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6832 if test "${LLVM_PROF_FOUND}" = "not-found"
6837 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6842 PGO_PROF_GEN_FLAG="-fprofile-generate"
6843 PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
6850 PGO_PROF_GEN_FLAG="-prof-gen"
6851 PGO_PROF_USE_FLAG="-prof-use"
6861 # ------------------------
6862 # (The following bit of code is complicated enough - please keep things
6863 # indented properly. Just pretend you're editing Python code. ;-)
6874 if test "${OPT-unset}" = "unset"
6878 # For gcc 4.x we need to use -fwrapv so lets check if its supported
6879 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
6880 WRAP="-fwrapv"
6888 if $CC --version 2>&1 | grep -q clang
6896 if test -n "${cc_is_clang}"
6898 # Clang also needs -fwrapv
6899 WRAP="-fwrapv"
6900 # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
6901 # see Makefile.pre.in for more information
6902 CFLAGS_ALIASING="-fno-strict-aliasing"
6908 # Optimization messes up debuggers, so turn it off for
6910 if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
6911 OPT="-g -Og -Wall"
6913 OPT="-g -O0 -Wall"
6916 OPT="-g $WRAP -O3 -Wall"
6920 OPT="-O3 -Wall"
6925 SCO_SV*) OPT="$OPT -m486 -DSCO5"
6931 OPT="-O"
6940 # The -arch flags for universal builds on OSX
6947 CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra" >&5
6950 $as_echo_n "checking for -Wextra... " >&6; }
6952 CC="$CC -Wextra -Werror"
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 ac_cv_extra_warnings=no
6978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_extra_warnings" >&5
6987 CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
6991 # GCC produce warnings for legal Python code. Enable
6992 # -fno-strict-aliasing on versions of GCC that support but produce
6994 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and needs -fno-strict-aliasi…
6995 $as_echo_n "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6; }
6997 CC="$CC -fno-strict-aliasing"
7002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 CC="$ac_save_cc -fstrict-aliasing"
7018 CFLAGS="$CFLAGS -Werror -Wstrict-aliasing"
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 ac_cv_no_strict_aliasing=no
7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7045 ac_cv_no_strict_aliasing=no
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
7057 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
7064 ac_cv_disable_unused_result_warning=no
7067 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused result warning" >&5
7070 CC="$CC -Wunused-result -Werror"
7075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 ac_cv_disable_unused_result_warning=no
7097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_result_warning" >&5
7109 BASECFLAGS="$BASECFLAGS -Wno-unused-result"
7110 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-result"
7113 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused parameter warning"…
7116 CC="$CC -Wunused-parameter -Werror"
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 ac_cv_disable_unused_parameter_warning=no
7142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_parameter_warning" >&5
7151 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"
7154 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC missing field initializer…
7157 CC="$CC -Wmissing-field-initializers -Werror"
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 ac_cv_disable_missing_field_initializers=no
7183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_missing_field_initializers" >&5
7192 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"
7195 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC invalid function cast war…
7198 CC="$CC -Wcast-function-type -Werror"
7202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7221 ac_cv_disable_cast_function_type=no
7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_cast_function_type" >&5
7233 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-cast-function-type"
7236 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC mixed sign comparison warn…
7239 CC="$CC -Wsign-compare"
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 ac_cv_enable_sign_compare_warning=no
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_sign_compare_warning" >&5
7276 BASECFLAGS="$BASECFLAGS -Wsign-compare"
7279 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC unreachable code warning" …
7282 CC="$CC -Wunreachable-code"
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 ac_cv_enable_unreachable_code_warning=no
7309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7316 # results in non-standard code paths.
7320 # for clang. Try to determine if the compiler is not really gcc and,
7324 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
7326 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
7328 ac_cv_enable_unreachable_code_warning=no
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_unreachable_code_warning" >&5
7333 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC strict-prototypes warning"…
7334 $as_echo_n "checking if we can turn on $CC strict-prototypes warning... " >&6; }
7336 CC="$CC -Werror -Wstrict-prototypes"
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7359 ac_cv_enable_strict_prototypes_warning=no
7362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_strict_prototypes_warning" >&5
7371 CFLAGS_NODIST="$CFLAGS_NODIST -Wstrict-prototypes"
7374 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can make implicit function declaration an …
7377 CC="$CC -Werror=implicit-function-declaration"
7381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7400 ac_cv_enable_implicit_function_declaration_error=no
7403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7407 …{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_implicit_function_declaration_error…
7412 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
7415 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
7420 BASECFLAGS="$BASECFLAGS -mieee"
7426 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
7431 # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
7432 # used to be here, but non-Apple gcc doesn't accept them.
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
7442 CC=gcc-4.0
7443 CPP=cpp-4.0
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7453 32-bit)
7454 UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
7458 64-bit)
7459 UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
7464 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
7465 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
7466 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
7469 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
7470 LIPO_32BIT_FLAGS="-extract i386"
7471 ARCH_RUN_32BIT="/usr/bin/arch -i386"
7473 intel-32)
7474 UNIVERSAL_ARCH_FLAGS="-arch i386"
7478 intel-64)
7479 UNIVERSAL_ARCH_FLAGS="-arch x86_64"
7483 3-way)
7484 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
7485 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
7486 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
7489 … as_fn_error $? "proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way" "$LINENO" 5
7495 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
7496 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
7497 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
7504 # Calculate an appropriate deployment target for this build:
7506 # features are enabled (such as builtin libedit support for readline)
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
7519 cur_target_major=`sw_vers -productVersion | \
7520 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
7521 cur_target_minor=`sw_vers -productVersion | \
7522 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
7524 if test ${cur_target_major} -eq 10 && \
7525 test ${cur_target_minor} -ge 3 && \
7526 test ${cur_target_minor} -le 5
7533 all|3-way|intel|64-bit)
7546 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
7566 BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
7569 BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
7575 # ICC needs -fp-model strict or floats behave badly
7578 CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
7585 OPT="-DNDEBUG $OPT"
7597 # options before we can check whether -Kpthread improves anything.
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >…
7604 ac_cv_pthread_is_default=no
7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7626 ac_cv_kthread=no
7627 ac_cv_pthread=no
7630 ac_cv_pthread_is_default=no
7632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
7645 ac_cv_kpthread=no
7647 # -Kpthread, if available, provides the right #defines
7649 # Some compilers won't report that they do not support -Kpthread,
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
7653 $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; }
7658 CC="$CC -Kpthread"
7660 ac_cv_kpthread=no
7662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 ac_cv_kpthread=no
7684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
7695 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
7697 # -Kthread, if available, provides the right #defines
7699 # Some compilers won't report that they do not support -Kthread,
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
7703 $as_echo_n "checking whether $CC accepts -Kthread... " >&6; }
7708 CC="$CC -Kthread"
7710 ac_cv_kthread=no
7712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 ac_cv_kthread=no
7734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
7745 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
7747 # -pthread, if available, provides the right #defines
7749 # Some compilers won't report that they do not support -pthread,
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
7753 $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
7758 CC="$CC -pthread"
7760 ac_cv_pthread=no
7762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 ac_cv_pthread=no
7784 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
7795 # If we have set a CC compiler flag for thread support then
7796 # check if it works for CXX, too.
7797 ac_cv_cxx_thread=no
7798 if test ! -z "$CXX"
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread suppor…
7801 $as_echo_n "checking whether $CXX also accepts flags for thread support... " >&6; }
7806 CXX="$CXX -Kpthread"
7810 CXX="$CXX -Kthread"
7814 CXX="$CXX -pthread"
7821 $CXX -c conftest.$ac_ext 2>&5
7822 if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
7823 && test -s conftest$ac_exeext && ./conftest$ac_exeext
7827 ac_cv_cxx_thread=no
7829 rm -fr conftest*
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
7837 # checks for header files
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7839 $as_echo_n "checking for ANSI C header files... " >&6; }
7843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7861 ac_cv_header_stdc=no
7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 ac_cv_header_stdc=no
7878 rm -f conftest*
7884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 ac_cv_header_stdc=no
7895 rm -f conftest*
7900 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7924 for (i = 0; i < 256; i++)
7934 ac_cv_header_stdc=no
7936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 for ac_header in asm/types.h crypt.h conio.h direct.h dlfcn.h errno.h \
7976 ac_header_dirent=no
7977 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
7980 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001 eval "$as_ac_Header=no"
8003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8017 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8020 $as_echo_n "checking for library containing opendir... " >&6; }
8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8043 for ac_lib in '' dir; do
8044 if test -z "$ac_lib"; then
8047 ac_res=-l$ac_lib
8048 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8053 rm -f core conftest.err conftest.$ac_objext \
8062 ac_cv_search_opendir=no
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8070 if test "$ac_res" != no; then :
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8077 $as_echo_n "checking for library containing opendir... " >&6; }
8082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8100 for ac_lib in '' x; do
8101 if test -z "$ac_lib"; then
8104 ac_res=-l$ac_lib
8105 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8110 rm -f core conftest.err conftest.$ac_objext \
8119 ac_cv_search_opendir=no
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8127 if test "$ac_res" != no; then :
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
8139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 ac_cv_header_sys_types_h_makedev=no
8155 rm -f core conftest.err conftest.$ac_objext \
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
8162 if test $ac_cv_header_sys_types_h_makedev = no; then
8172 if test $ac_cv_header_sys_mkdev_h = no; then
8185 # bluetooth/bluetooth.h has been known to not compile with -std=c99.
8188 CFLAGS="-std=c99 $CFLAGS"
8189 for ac_header in bluetooth/bluetooth.h
8204 for ac_header in net/if.h
8231 for ac_header in linux/netlink.h
8252 for ac_header in linux/vm_sockets.h
8271 for ac_header in linux/can.h linux/can/raw.h linux/can/bcm.h
8290 # checks for typedefs
8291 was_it_defined=no
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
8293 $as_echo_n "checking for clock_t in time.h... " >&6; }
8294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 rm -f conftest*
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
8315 $as_echo_n "checking for makedev... " >&6; }
8316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 ac_cv_has_makedev=no
8342 rm -f core conftest.err conftest.$ac_objext \
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_makedev" >&5
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for le64toh" >&5
8354 $as_echo_n "checking for le64toh... " >&6; }
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8377 ac_cv_has_le64toh=no
8379 rm -f core conftest.err conftest.$ac_objext \
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_le64toh" >&5
8390 # Don't use largefile support for GNU/Hurd
8392 use_lfs=no
8413 # Add some code to confdefs.h so that the test for off_t works on SCO
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8471 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8484 ac_cv_type_uid_t=no
8486 rm -f conftest*
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8491 if test $ac_cv_type_uid_t = no; then
8517 # ANSI C requires sizeof(char) == 1, so no need to check it
8519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8534 See \`config.log' for more details" "$LINENO" 5; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8552 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
8564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8567 See \`config.log' for more details" "$LINENO" 5; }
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
8585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
8597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8600 See \`config.log' for more details" "$LINENO" 5; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
8618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8633 See \`config.log' for more details" "$LINENO" 5; }
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
8663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8666 See \`config.log' for more details" "$LINENO" 5; }
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
8684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8699 See \`config.log' for more details" "$LINENO" 5; }
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8717 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8732 See \`config.log' for more details" "$LINENO" 5; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
8762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8765 See \`config.log' for more details" "$LINENO" 5; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
8783 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
8795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8798 See \`config.log' for more details" "$LINENO" 5; }
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
8816 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
8828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8831 See \`config.log' for more details" "$LINENO" 5; }
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
8849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
8861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8864 See \`config.log' for more details" "$LINENO" 5; }
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double support" >&5
8883 $as_echo_n "checking for long double support... " >&6; }
8884 have_long_double=no
8885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_long_double" >&5
8909 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
8921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8924 See \`config.log' for more details" "$LINENO" 5; }
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
8944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
8956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8959 See \`config.log' for more details" "$LINENO" 5; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
8978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
8995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8998 See \`config.log' for more details" "$LINENO" 5; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
9018 if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
9019 "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
9051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9054 See \`config.log' for more details" "$LINENO" 5; }
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
9075 then CC="$CC -Kpthread"
9077 then CC="$CC -Kthread"
9079 then CC="$CC -pthread"
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
9083 $as_echo_n "checking for pthread_t... " >&6; }
9084 have_pthread_t=no
9085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5
9106 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
9123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9126 See \`config.log' for more details" "$LINENO" 5; }
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
9148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_key_t" >&5
9161 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9164 See \`config.log' for more details" "$LINENO" 5; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_key_t" >&5
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_key_t is compatible with int" >&5
9183 if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9198 ac_pthread_key_t_is_arithmetic_type=no
9201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pthread_key_t_is_arithmetic_type" >&5
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9211 $as_echo "no" >&6; }
9218 OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
9229 LIBTOOL_CRUFT="-framework System -lcc_dynamic"
9233 LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
9235 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
9236 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
9238 gcc_version=`gcc -dumpversion`
9241 LIBTOOL_CRUFT="-lcc_dynamic"
9248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9265 ac_osx_32bit=no
9267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9299 LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
9300 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
9301 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
9304 $as_echo_n "checking for --enable-framework... " >&6; }
9307 BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
9308 # -F. is needed to allow linking to the framework while
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9317 …as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only …
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9321 $as_echo "no" >&6; }
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
9325 $as_echo_n "checking for dyld... " >&6; }
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
9332 $as_echo "always on for Darwin" >&6; }
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9336 $as_echo "no" >&6; }
9349 # -- usually .so, .sl on HP-UX, .dll on Cygwin
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the extension of shared libraries" >&5
9352 if test -z "$SHLIB_SUFFIX"; then
9355 case `uname -m` in
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIB_SUFFIX" >&5
9368 # -- "cc -G" on SunOS 5.x.
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
9373 if test -z "$LDSHARED"
9377 BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
9378 LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
9382 LDSHARED='$(CC) -shared'
9383 LDCXXSHARED='$(CXX) -shared'
9385 LDSHARED='$(CC) -G'
9386 LDCXXSHARED='$(CXX) -G'
9390 LDSHARED='$(CC) -shared'
9391 LDCXXSHARED='$(CXX) -shared'
9393 LDSHARED='$(CC) -b'
9394 LDCXXSHARED='$(CXX) -b'
9397 LDSHARED='$(CC) -bundle'
9398 LDCXXSHARED='$(CXX) -bundle'
9405 # No framework. Ignore undefined symbols, assuming they come from Python
9406 LDSHARED="$LDSHARED -undefined suppress"
9407 LDCXXSHARED="$LDCXXSHARED -undefined suppress"
9410 LDSHARED='$(CC) -bundle'
9411 LDCXXSHARED='$(CXX) -bundle'
9418 # No framework, use the Python app as bundle-loader
9419 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
9420 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9421 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9424 # Use -undefined dynamic_lookup whenever possible (10.3 and later).
9428 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
9430 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
9431 if test ${dep_target_major} -eq 10 && \
9432 test ${dep_target_minor} -le 2
9434 # building for OS X 10.0 through 10.2
9435 LDSHARED='$(CC) -bundle'
9436 LDCXXSHARED='$(CXX) -bundle'
9443 # No framework, use the Python app as bundle-loader
9444 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
9445 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9446 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9449 # building for OS X 10.3 and later
9450 LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
9451 LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
9456 LDSHARED='$(CC) -shared'
9457 LDCXXSHARED='$(CXX) -shared';;
9459 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9461 LDSHARED='$(CC) -shared'
9462 LDCXXSHARED='$(CXX) -shared'
9464 LDSHARED="ld -Bshareable"
9467 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9469 LDSHARED='$(CC) -shared $(CCSHARED)'
9470 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
9472 case `uname -r` in
9473 [01].* | 2.[0-7] | 2.[0-7].*)
9474 LDSHARED="ld -Bshareable ${LDFLAGS}"
9477 LDSHARED='$(CC) -shared $(CCSHARED)'
9478 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
9483 LDSHARED='$(CC) -shared'
9484 LDCXXSHARED='$(CXX) -shared';;
9487 LDSHARED='$(CC) -shared'
9488 LDCXXSHARED='$(CXX) -shared'
9490 LDSHARED='$(CC) -G'
9491 LDCXXSHARED='$(CXX) -G'
9494 LDSHARED='$(CC) -Wl,-G,-Bexport'
9495 LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
9497 LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
9498 LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
9504 LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
9505 BLDSHARED=${BLDSHARED-$LDSHARED}
9507 # library (module) -- this is only needed for a few systems
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
9510 if test -z "$CCSHARED"
9514 then CCSHARED="-fPIC";
9515 elif test `uname -p` = sparc;
9516 then CCSHARED="-xcode=pic32";
9517 else CCSHARED="-Kpic";
9520 then CCSHARED="-fPIC";
9523 Linux-android*) ;;
9524 Linux*|GNU*) CCSHARED="-fPIC";;
9525 FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
9528 then CCSHARED="-fPIC"
9529 else CCSHARED="-KPIC"
9533 then CCSHARED="-fPIC"
9534 else CCSHARED="-Kpic -belf"
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
9541 # the python executable -- this is only needed for a few systems
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
9544 if test -z "$LINKFORSHARED"
9547 AIX*) LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
9549 LINKFORSHARED="-Wl,-E -Wl,+s";;
9550 # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
9551 Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
9552 Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
9553 # -u libsys_s pulls in all symbols in libsys
9555 LINKFORSHARED="$extra_undefs -framework CoreFoundation"
9558 # small for the default recursion limit. Increase the stack size
9560 LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED"
9567 OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
9568 SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
9569 ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
9571 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9573 LINKFORSHARED="-Wl,--export-dynamic"
9577 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
9579 LINKFORSHARED="-Xlinker --export-dynamic"
9583 if test $enable_shared = "no"
9585 LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
9588 # -Wl,-E causes the symbols to be added to the dynamic
9590 # is loaded. -N 2048K causes the stack size to be set
9593 LINKFORSHARED='-Wl,-E -N 2048K';;
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
9617 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
9618 # library (with --enable-shared).
9619 # For platforms on which shared libraries are not allowed to have unresolved
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
9636 # checks for libraries
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5
9638 $as_echo_n "checking for sendfile in -lsendfile... " >&6; }
9643 LIBS="-lsendfile $LIBS"
9644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 ac_cv_lib_sendfile_sendfile=no
9667 rm -f core conftest.err conftest.$ac_objext \
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" >&5
9678 LIBS="-lsendfile $LIBS"
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9683 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9688 LIBS="-ldl $LIBS"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9710 ac_cv_lib_dl_dlopen=no
9712 rm -f core conftest.err conftest.$ac_objext \
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9723 LIBS="-ldl $LIBS"
9726 # Dynamic linking for SunOS/Solaris and SYSV
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
9728 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9733 LIBS="-ldld $LIBS"
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9755 ac_cv_lib_dld_shl_load=no
9757 rm -f core conftest.err conftest.$ac_objext \
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
9768 LIBS="-ldld $LIBS"
9771 # Dynamic linking for HP-UX
9773 # checks for uuid.h location
9774 for ac_header in uuid/uuid.h uuid.h
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe" >&5
9789 $as_echo_n "checking for uuid_generate_time_safe... " >&6; }
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9813 $as_echo "no" >&6; }
9816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9818 # AIX provides support for RFC4122 (uuid) in libc.a starting with AIX 6.1 (anno 2007)
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_create" >&5
9821 $as_echo_n "checking for uuid_create... " >&6; }
9822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9845 $as_echo "no" >&6; }
9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9850 # Little-endian FreeBSD, OpenBSD and NetBSD needs encoding into an octet
9851 # stream in big-endian byte-order
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_enc_be" >&5
9853 $as_echo_n "checking for uuid_enc_be... " >&6; }
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877 $as_echo "no" >&6; }
9880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
9886 $as_echo_n "checking for library containing sem_init... " >&6; }
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 for ac_lib in '' pthread rt posix4; do
9910 if test -z "$ac_lib"; then
9913 ac_res=-l$ac_lib
9914 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9919 rm -f core conftest.err conftest.$ac_objext \
9928 ac_cv_search_sem_init=no
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
9936 if test "$ac_res" != no; then :
9942 # check if we need libintl for locale functions
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
9944 $as_echo_n "checking for textdomain in -lintl... " >&6; }
9949 LIBS="-lintl $LIBS"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 ac_cv_lib_intl_textdomain=no
9973 rm -f core conftest.err conftest.$ac_objext \
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
9983 LIBS="-lintl $LIBS"
9987 # checks for system dependent C++ extensions support
9989 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
9990 $as_echo_n "checking for genuine AIX C++ extensions support... " >&6; }
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10015 $as_echo "no" >&6; }
10018 rm -f core conftest.err conftest.$ac_objext \
10023 # check for systems that require aligned memory access
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking aligned memory access is required" >&5
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 for (i=0; i < 16; i++)
10049 ac_cv_aligned_required=no
10053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_aligned_required" >&5
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-hash-algorithm" >&5
10072 $as_echo_n "checking for --with-hash-algorithm... " >&6; }
10074 # Check whether --with-hash_algorithm was given.
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-address-sanitizer" >&5
10100 $as_echo_n "checking for --with-address-sanitizer... " >&6; }
10102 # Check whether --with-address_sanitizer was given.
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10107 BASECFLAGS="-fsanitize=address -fno-omit-frame-pointer $BASECFLAGS"
10108 LDFLAGS="-fsanitize=address $LDFLAGS"
10110 with_pymalloc="no"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10114 $as_echo "no" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-memory-sanitizer" >&5
10119 $as_echo_n "checking for --with-memory-sanitizer... " >&6; }
10121 # Check whether --with-memory_sanitizer was given.
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10126 BASECFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer $BASECFLAGS"
10127 LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 $LDFLAGS"
10129 with_pymalloc="no"
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10133 $as_echo "no" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-undefined-behavior-sanitizer" >&5
10138 $as_echo_n "checking for --with-undefined-behavior-sanitizer... " >&6; }
10140 # Check whether --with-undefined_behavior_sanitizer was given.
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10145 BASECFLAGS="-fsanitize=undefined $BASECFLAGS"
10146 LDFLAGS="-fsanitize=undefined $LDFLAGS"
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10150 $as_echo "no" >&6; }
10154 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
10156 $as_echo_n "checking for t_open in -lnsl... " >&6; }
10161 LIBS="-lnsl $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 ac_cv_lib_nsl_t_open=no
10185 rm -f core conftest.err conftest.$ac_objext \
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
10192 LIBS="-lnsl $LIBS"
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
10196 $as_echo_n "checking for socket in -lsocket... " >&6; }
10201 LIBS="-lsocket $LIBS $LIBS"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10223 ac_cv_lib_socket_socket=no
10225 rm -f core conftest.err conftest.$ac_objext \
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
10232 LIBS="-lsocket $LIBS"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
10237 $as_echo_n "checking for --with-libs... " >&6; }
10239 # Check whether --with-libs was given.
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10248 $as_echo "no" >&6; }
10260 if test -n "$ac_tool_prefix"; then
10261 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10262 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10264 $as_echo_n "checking for $ac_word... " >&6; }
10274 for as_dir in $PATH
10277 test -z "$as_dir" && as_dir=.
10278 for ac_exec_ext in '' $ac_executable_extensions; do
10281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10292 if test -n "$PKG_CONFIG"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10297 $as_echo "no" >&6; }
10302 if test -z "$ac_cv_path_PKG_CONFIG"; then
10304 # Extract the first word of "pkg-config", so it can be a program name with args.
10305 set dummy pkg-config; ac_word=$2
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10307 $as_echo_n "checking for $ac_word... " >&6; }
10317 for as_dir in $PATH
10320 test -z "$as_dir" && as_dir=.
10321 for ac_exec_ext in '' $ac_executable_extensions; do
10324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 if test -n "$ac_pt_PKG_CONFIG"; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10340 $as_echo "no" >&6; }
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10359 if test -n "$PKG_CONFIG"; then
10361 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version…
10362 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10363 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10368 $as_echo "no" >&6; }
10373 # Check for use of the system expat library
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
10375 $as_echo_n "checking for --with-system-expat... " >&6; }
10377 # Check whether --with-system_expat was given.
10381 with_system_expat="no"
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
10388 # Check for use of the system libffi library
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-ffi" >&5
10390 $as_echo_n "checking for --with-system-ffi... " >&6; }
10392 # Check whether --with-system_ffi was given.
10402 with_system_ffi="no"
10404 yes|no)
10407 as_fn_error $? "--with-system-ffi accepts no arguments" "$LINENO" 5
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10417 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with(out)-system-ffi is ignored on this platfo…
10418 $as_echo "$as_me: WARNING: --with(out)-system-ffi is ignored on this platform" >&2;}
10423 if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
10424 … LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
10430 # Check for use of the system libmpdec library
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
10432 $as_echo_n "checking for --with-system-libmpdec... " >&6; }
10434 # Check whether --with-system_libmpdec was given.
10438 with_system_libmpdec="no"
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
10445 # Check for support for loadable sqlite extensions
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
10447 $as_echo_n "checking for --enable-loadable-sqlite-extensions... " >&6; }
10448 # Check whether --enable-loadable-sqlite-extensions was given.
10452 enable_loadable_sqlite_extensions="no"
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_loadable_sqlite_extensions" >&5
10459 # Check for --with-tcltk-includes=path and --with-tcltk-libs=path
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-includes" >&5
10463 $as_echo_n "checking for --with-tcltk-includes... " >&6; }
10465 # Check whether --with-tcltk-includes was given.
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_includes" >&5
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-libs" >&5
10475 $as_echo_n "checking for --with-tcltk-libs... " >&6; }
10477 # Check whether --with-tcltk-libs was given.
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_libs" >&5
10490 …as_fn_error $? "use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither" "$LIN…
10499 # Check for --with-dbmliborder
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
10501 $as_echo_n "checking for --with-dbmliborder... " >&6; }
10503 # Check whether --with-dbmliborder was given.
10508 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
10510 for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do
10513 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
10524 # Templates for things AC_DEFINEd more than once.
10525 # For a single AC_DEFINE, no template is needed.
10536 CC="$CC -Kpthread"
10538 CXX="$CXX -Kpthread"
10543 CC="$CC -Kthread"
10545 CXX="$CXX -Kthread"
10550 CC="$CC -pthread"
10552 CXX="$CXX -pthread"
10556 if test ! -z "$withval" -a -d "$withval"
10557 then LDFLAGS="$LDFLAGS -L$withval"
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
10564 $as_echo_n "checking for _POSIX_THREADS in unistd.h... " >&6; }
10565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 unistd_defines_pthreads=no
10580 rm -f conftest*
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
10587 # Just looking for pthread_create in libpthread is not enough:
10591 LIBS="$LIBS -lpthread"
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10593 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
10627 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
10632 LIBS="-lpthreads $LIBS"
10633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 ac_cv_lib_pthreads_pthread_create=no
10656 rm -f core conftest.err conftest.$ac_objext \
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
10665 LIBS="$LIBS -lpthreads"
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
10670 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
10675 LIBS="-lc_r $LIBS"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 ac_cv_lib_c_r_pthread_create=no
10699 rm -f core conftest.err conftest.$ac_objext \
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
10708 LIBS="$LIBS -lc_r"
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
10713 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; }
10718 LIBS="-lpthread $LIBS"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 ac_cv_lib_pthread___pthread_create_system=no
10742 rm -f core conftest.err conftest.$ac_objext \
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
10751 LIBS="$LIBS -lpthread"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
10756 $as_echo_n "checking for pthread_create in -lcma... " >&6; }
10761 LIBS="-lcma $LIBS"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783 ac_cv_lib_cma_pthread_create=no
10785 rm -f core conftest.err conftest.$ac_objext \
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
10794 LIBS="$LIBS -lcma"
10812 rm -f core conftest.err conftest.$ac_objext \
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
10816 $as_echo_n "checking for usconfig in -lmpc... " >&6; }
10821 LIBS="-lmpc $LIBS"
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10843 ac_cv_lib_mpc_usconfig=no
10845 rm -f core conftest.err conftest.$ac_objext \
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
10853 LIBS="$LIBS -lmpc"
10861 if test "$unistd_defines_pthreads" = "no"; then
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
10889 ac_cv_pthread_system_supported=no
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 if (pthread_attr_init(&attr)) exit(-1);
10903 if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1);
10904 if (pthread_create(&id, &attr, foo, NULL)) exit(-1);
10911 ac_cv_pthread_system_supported=no
10913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
10927 for ac_func in pthread_sigmask
10944 for ac_func in pthread_getcpuclockid
10958 # Check for enable-ipv6
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
10961 $as_echo_n "checking if --enable-ipv6 is specified... " >&6; }
10962 # Check whether --enable-ipv6 was given.
10965 no)
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10967 $as_echo "no" >&6; }
10968 ipv6=no
10970 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11001 $as_echo "no" >&6; }
11002 ipv6=no
11005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
11010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11035 ipv6=no
11038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11051 ipv6trylibc=no
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
11056 for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 rm -f conftest*
11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11091 rm -f conftest*
11094 linux-glibc)
11095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 rm -f conftest*
11111 linux-inet6)
11112 if test -d /usr/inet6; then
11116 BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
11120 if test -f /etc/netconfig; then
11121 if $GREP -q tcp6 /etc/netconfig; then
11128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11142 rm -f conftest*
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11159 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
11161 rm -f conftest*
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 rm -f conftest*
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
11191 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
11192 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
11193 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
11199 echo 'Fatal: no $ipv6lib library found. cannot continue.'
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_FD_FRAMES" >&5
11208 $as_echo_n "checking for CAN_RAW_FD_FRAMES... " >&6; }
11209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11232 $as_echo "no" >&6; }
11235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11237 # Check for --with-doc-strings
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
11239 $as_echo_n "checking for --with-doc-strings... " >&6; }
11241 # Check whether --with-doc-strings was given.
11247 if test -z "$with_doc_strings"
11250 if test "$with_doc_strings" != "no"
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
11259 # Check for Python-specific malloc support
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
11261 $as_echo_n "checking for --with-pymalloc... " >&6; }
11263 # Check whether --with-pymalloc was given.
11269 if test -z "$with_pymalloc"
11273 if test "$with_pymalloc" != "no"
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
11283 # Check for --with-c-locale-coercion
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-c-locale-coercion" >&5
11285 $as_echo_n "checking for --with-c-locale-coercion... " >&6; }
11287 # Check whether --with-c-locale-coercion was given.
11293 if test -z "$with_c_locale_coercion"
11297 if test "$with_c_locale_coercion" != "no"
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5
11306 # Check for Valgrind support
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
11308 $as_echo_n "checking for --with-valgrind... " >&6; }
11310 # Check whether --with-valgrind was given.
11314 with_valgrind=no
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
11319 if test "$with_valgrind" != no; then
11331 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
11334 # Check for DTrace support
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
11336 $as_echo_n "checking for --with-dtrace... " >&6; }
11338 # Check whether --with-dtrace was given.
11342 with_dtrace=no
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11362 $as_echo_n "checking for $ac_word... " >&6; }
11372 for as_dir in $PATH
11375 test -z "$as_dir" && as_dir=.
11376 for ac_exec_ext in '' $ac_executable_extensions; do
11379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11386 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not found"
11391 if test -n "$DTRACE"; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11396 $as_echo "no" >&6; }
11410 # generation flag '-G'. We check for presence of this flag, rather than
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DTrace probes require linking" >&5
11417 ac_cv_dtrace_link=no
11419 "$DTRACE" -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dtrace_link" >&5
11430 # -I${DLINCLDIR} is added to the compile rule for importdl.o
11436 for ac_func in dlopen
11448 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
11453 if test -z "$DYNLOADFILE"
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
11482 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
11487 if test -z "$MACHDEP_OBJS"
11493 if test -z "$MACHDEP_OBJS"; then
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5
11501 # checks for library functions
11502 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
11536 # Force lchmod off for Linux. Linux disallows changing the mode of symbolic
11540 for ac_func in lchmod
11563 # For some functions, having a definition is not sufficient, since
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
11566 $as_echo_n "checking for chroot... " >&6; }
11567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586 $as_echo "no" >&6; }
11589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
11591 $as_echo_n "checking for link... " >&6; }
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11611 $as_echo "no" >&6; }
11614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
11616 $as_echo_n "checking for symlink... " >&6; }
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
11639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
11641 $as_echo_n "checking for fchdir... " >&6; }
11642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
11666 $as_echo_n "checking for fsync... " >&6; }
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11686 $as_echo "no" >&6; }
11689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
11691 $as_echo_n "checking for fdatasync... " >&6; }
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 $as_echo "no" >&6; }
11714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
11716 $as_echo_n "checking for epoll... " >&6; }
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11736 $as_echo "no" >&6; }
11739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
11741 $as_echo_n "checking for epoll_create1... " >&6; }
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761 $as_echo "no" >&6; }
11764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
11766 $as_echo_n "checking for kqueue... " >&6; }
11767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11789 $as_echo "no" >&6; }
11792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prlimit" >&5
11794 $as_echo_n "checking for prlimit... " >&6; }
11795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817 $as_echo "no" >&6; }
11820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11823 # functions ctermid_r, setgroups in the library, but no prototype
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
11829 $as_echo_n "checking for ctermid_r... " >&6; }
11830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11851 $as_echo "no" >&6; }
11854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
11857 $as_echo_n "checking for flock declaration... " >&6; }
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 ac_cv_flock_decl=no
11879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
11885 for ac_func in flock
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
11895 $as_echo_n "checking for flock in -lbsd... " >&6; }
11900 LIBS="-lbsd $LIBS"
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 ac_cv_lib_bsd_flock=no
11924 rm -f core conftest.err conftest.$ac_objext \
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
11946 $as_echo_n "checking for getpagesize... " >&6; }
11947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11968 $as_echo "no" >&6; }
11971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
11974 $as_echo_n "checking for broken unsetenv... " >&6; }
11975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12001 for ac_prog in true
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12006 $as_echo_n "checking for $ac_word... " >&6; }
12010 if test -n "$TRUE"; then
12014 for as_dir in $PATH
12017 test -z "$as_dir" && as_dir=.
12018 for ac_exec_ext in '' $ac_executable_extensions; do
12021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12031 if test -n "$TRUE"; then
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036 $as_echo "no" >&6; }
12040 test -n "$TRUE" && break
12042 test -n "$TRUE" || TRUE="/bin/true"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
12046 $as_echo_n "checking for inet_aton in -lc... " >&6; }
12051 LIBS="-lc $LIBS"
12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 ac_cv_lib_c_inet_aton=no
12075 rm -f core conftest.err conftest.$ac_objext \
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
12085 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
12090 LIBS="-lresolv $LIBS"
12091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 ac_cv_lib_resolv_inet_aton=no
12114 rm -f core conftest.err conftest.$ac_objext \
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
12125 LIBS="-lresolv $LIBS"
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
12136 $as_echo_n "checking for chflags... " >&6; }
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12159 ac_cv_have_chflags=no
12161 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
12174 ac_cv_have_chflags="no"
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
12185 $as_echo_n "checking for lchflags... " >&6; }
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 ac_cv_have_lchflags=no
12210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
12223 ac_cv_have_lchflags="no"
12237 CFLAGS="${CFLAGS} -Wl,-search_paths_first"
12238 LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L/usr/local/lib"
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
12243 $as_echo_n "checking for inflateCopy in -lz... " >&6; }
12248 LIBS="-lz $LIBS"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270 ac_cv_lib_z_inflateCopy=no
12272 rm -f core conftest.err conftest.$ac_objext \
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
12293 $as_echo_n "checking for hstrerror... " >&6; }
12294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315 $as_echo "no" >&6; }
12318 rm -f core conftest.err conftest.$ac_objext \
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
12322 $as_echo_n "checking for inet_aton... " >&6; }
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12347 $as_echo "no" >&6; }
12350 rm -f core conftest.err conftest.$ac_objext \
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
12354 $as_echo_n "checking for inet_pton... " >&6; }
12355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12379 $as_echo "no" >&6; }
12382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
12386 $as_echo_n "checking for setgroups... " >&6; }
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12411 $as_echo "no" >&6; }
12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12416 # check for openpty and forkpty
12418 for ac_func in openpty
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
12428 $as_echo_n "checking for openpty in -lutil... " >&6; }
12433 LIBS="-lutil $LIBS"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12455 ac_cv_lib_util_openpty=no
12457 rm -f core conftest.err conftest.$ac_objext \
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
12465 LIBS="$LIBS -lutil"
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
12468 $as_echo_n "checking for openpty in -lbsd... " >&6; }
12473 LIBS="-lbsd $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 ac_cv_lib_bsd_openpty=no
12497 rm -f core conftest.err conftest.$ac_objext \
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
12505 LIBS="$LIBS -lbsd"
12515 for ac_func in forkpty
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
12525 $as_echo_n "checking for forkpty in -lutil... " >&6; }
12530 LIBS="-lutil $LIBS"
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12552 ac_cv_lib_util_forkpty=no
12554 rm -f core conftest.err conftest.$ac_objext \
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
12562 LIBS="$LIBS -lutil"
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
12565 $as_echo_n "checking for forkpty in -lbsd... " >&6; }
12570 LIBS="-lbsd $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12592 ac_cv_lib_bsd_forkpty=no
12594 rm -f core conftest.err conftest.$ac_objext \
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
12602 LIBS="$LIBS -lbsd"
12613 # check for long file support functions
12614 for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
12654 for ac_func in getpgrp
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12682 for ac_func in setpgrp
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12710 for ac_func in gettimeofday
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12742 # We search for both crypt and crypt_r as one or the other may be defined
12743 # This gets us our -lcrypt in LIBS when required on the target platform.
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12745 $as_echo_n "checking for library containing crypt... " >&6; }
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12768 for ac_lib in '' crypt; do
12769 if test -z "$ac_lib"; then
12772 ac_res=-l$ac_lib
12773 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12778 rm -f core conftest.err conftest.$ac_objext \
12787 ac_cv_search_crypt=no
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12795 if test "$ac_res" != no; then :
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
12801 $as_echo_n "checking for library containing crypt_r... " >&6; }
12806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 for ac_lib in '' crypt; do
12825 if test -z "$ac_lib"; then
12828 ac_res=-l$ac_lib
12829 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12834 rm -f core conftest.err conftest.$ac_objext \
12843 ac_cv_search_crypt_r=no
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
12851 if test "$ac_res" != no; then :
12859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 #define _GNU_SOURCE /* Required for crypt_r()'s prototype in glibc. */
12881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12886 for ac_func in clock_gettime
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12897 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12902 LIBS="-lrt $LIBS"
12903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12924 ac_cv_lib_rt_clock_gettime=no
12926 rm -f core conftest.err conftest.$ac_objext \
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12934 LIBS="$LIBS -lrt"
12948 for ac_func in clock_getres
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
12959 $as_echo_n "checking for clock_getres in -lrt... " >&6; }
12964 LIBS="-lrt $LIBS"
12965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 ac_cv_lib_rt_clock_getres=no
12988 rm -f core conftest.err conftest.$ac_objext \
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
13006 for ac_func in clock_settime
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lrt" >&5
13017 $as_echo_n "checking for clock_settime in -lrt... " >&6; }
13022 LIBS="-lrt $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 ac_cv_lib_rt_clock_settime=no
13046 rm -f core conftest.err conftest.$ac_objext \
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_settime" >&5
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5
13065 $as_echo_n "checking for major... " >&6; }
13066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13098 $as_echo "no" >&6; }
13101 rm -f core conftest.err conftest.$ac_objext \
13105 # for [no]getaddrinfo in netdb.h.
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
13107 $as_echo_n "checking for getaddrinfo... " >&6; }
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13127 have_getaddrinfo=no
13129 rm -f core conftest.err conftest.$ac_objext \
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getaddrinfo" >&5
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
13143 ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13164 for (passive = 0; passive <= 1; passive++) {
13174 for (ai = aitop; ai; ai = ai->ai_next) {
13175 if (ai->ai_addr == NULL ||
13176 ai->ai_addrlen == 0 ||
13177 getnameinfo(ai->ai_addr, ai->ai_addrlen,
13182 switch (ai->ai_family) {
13242 ac_cv_buggy_getaddrinfo=no
13246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
13257 if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
13262 echo ' or you can specify "--disable-ipv6"'.
13271 for ac_func in getnameinfo
13283 # checks for structures
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13307 ac_cv_header_time=no
13309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
13385 $as_echo_n "checking for tzname... " >&6; }
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 ac_cv_var_tzname=no
13409 rm -f core conftest.err conftest.$ac_objext \
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
13522 $as_echo_n "checking for time.h that defines altzone... " >&6; }
13527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 ac_cv_header_time_altzone=no
13543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
13555 was_it_defined=no
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/select.h and sys/time.h may both be i…
13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
13586 $as_echo_n "checking for addrinfo... " >&6; }
13590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 ac_cv_struct_addrinfo=no
13606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
13618 $as_echo_n "checking for sockaddr_storage... " >&6; }
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 ac_cv_struct_sockaddr_storage=no
13640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_alg" >&5
13652 $as_echo_n "checking for sockaddr_alg... " >&6; }
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 ac_cv_struct_sockaddr_alg=no
13675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_alg" >&5
13686 # checks for compiler characteristics
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 static int test_array [1 - 2 * !(((char) -1) < 0)];
13708 ac_cv_c_char_unsigned=no
13712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13722 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 an arm of an if-expression whose if-part is not a constant
13748 pcpcc = &g + (g ? g-g : 0);
13761 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13766 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13772 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13774 struct s *b = &bx; b->j = 5;
13776 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13790 ac_cv_c_const=no
13792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13796 if test $ac_cv_c_const = no; then
13803 works=no
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
13805 $as_echo_n "checking for working signed char... " >&6; }
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
13829 have_prototypes=no
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
13831 $as_echo_n "checking for prototypes... " >&6; }
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_prototypes" >&5
13853 works=no
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
13855 $as_echo_n "checking for variable length prototypes and stdarg.h... " >&6; }
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
13889 # check for socketpair
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
13891 $as_echo_n "checking for socketpair... " >&6; }
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13914 $as_echo "no" >&6; }
13917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
13922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13943 $as_echo "no" >&6; }
13946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13948 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13994 $as_echo "no" >&6; }
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
13997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14031 $as_echo "no" >&6; }
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
14034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14066 $as_echo "no" >&6; }
14069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14080 for ac_func in gethostbyname
14100 # checks for system services
14103 # Linux requires this for correct f.p. operations
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
14109 $as_echo_n "checking for __fpu_control in -lieee... " >&6; }
14114 LIBS="-lieee $LIBS"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 ac_cv_lib_ieee___fpu_control=no
14138 rm -f core conftest.err conftest.$ac_objext \
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
14149 LIBS="-lieee $LIBS"
14157 # check for --with-libm=...
14161 *) LIBM=-lm
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
14164 $as_echo_n "checking for --with-libm=STRING... " >&6; }
14166 # Check whether --with-libm was given.
14169 if test "$withval" = no
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
14177 else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
14185 # check for --with-libc=...
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
14188 $as_echo_n "checking for --with-libc=STRING... " >&6; }
14190 # Check whether --with-libc was given.
14193 if test "$withval" = no
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
14201 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
14210 # * Check for gcc x64 inline assembler *
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
14214 $as_echo_n "checking for x64 gcc inline assembler... " >&6; }
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14231 have_gcc_asm_for_x64=no
14233 rm -f core conftest.err conftest.$ac_objext \
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x64" >&5
14245 # * Check for various properties of floating point *
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are little-endian IEEE 754 bina…
14249 $as_echo_n "checking whether C doubles are little-endian IEEE 754 binary64... " >&6; }
14255 ac_cv_little_endian_double=no
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 ac_cv_little_endian_double=no
14275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_little_endian_double" >&5
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are big-endian IEEE 754 binary6…
14291 $as_echo_n "checking whether C doubles are big-endian IEEE 754 binary64... " >&6; }
14297 ac_cv_big_endian_double=no
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 ac_cv_big_endian_double=no
14317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_big_endian_double" >&5
14332 # Some ARM platforms use a mixed-endian representation for doubles.
14333 # While Python doesn't currently have full support for these platforms
14334 # (see e.g., issue 1762561), we can at least make sure that float <-> string
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C doubles are ARM mixed-endian IEEE 754 b…
14337 $as_echo_n "checking whether C doubles are ARM mixed-endian IEEE 754 binary64... " >&6; }
14343 ac_cv_mixed_endian_double=no
14345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 ac_cv_mixed_endian_double=no
14363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mixed_endian_double" >&5
14379 # correctly-rounded string <-> double conversion functions from
14380 # Python/dtoa.c, which in turn require that the FPU uses 53-bit
14382 # rounding precision of 64 bits. For gcc/x86, we can fix this by
14385 # This inline assembler syntax may also work for suncc and icc,
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 have_gcc_asm_for_x87=no
14410 rm -f core conftest.err conftest.$ac_objext \
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x87" >&5
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 have_gcc_asm_for_mc68881=no
14443 rm -f core conftest.err conftest.$ac_objext \
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_mc68881" >&5
14454 # Detect whether system arithmetic is subject to x87-style double
14457 # mode is round-to-nearest and double rounding issues are present, and
14458 # 0 otherwise. See http://bugs.python.org/issue2937 for more info.
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
14460 $as_echo_n "checking for x87-style double rounding... " >&6; }
14465 ac_cv_x87_double_rounding=no
14467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
14475 x = 0.99999999999999989; /* 1-2**-53 */
14479 /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
14491 ac_cv_x87_double_rounding=no
14495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
14510 # * Check for mathematical functions *
14516 for ac_func in acosh asinh atanh copysign erf erfc expm1 finite gamma
14528 for ac_func in hypot lgamma log1p log2 round tgamma
14575 # On FreeBSD 6.2, it appears that tanh(-0.) returns 0. instead of
14576 # -0. on some architectures.
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tanh preserves the sign of zero" >&5
14584 ac_cv_tanh_preserves_zero_sign=no
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14594 and tanh(-0.) == -0. */
14595 if (atan2(0., -1.) == atan2(-0., -1.) ||
14596 atan2(tanh(-0.), -1.) == atan2(-0., -1.)) exit(0);
14604 ac_cv_tanh_preserves_zero_sign=no
14606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tanh_preserves_zero_sign" >&5
14623 # On some versions of AIX, log1p(-0.) returns 0. instead of
14624 # -0. See issue #9920.
14625 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether log1p drops the sign of negative zero" >…
14632 ac_cv_log1p_drops_zero_sign=no
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14640 /* Fail if the signs of log1p(-0.) and -0. can be
14642 if (atan2(log1p(-0.), -1.) == atan2(-0., -1.))
14650 ac_cv_log1p_drops_zero_sign=no
14654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_log1p_drops_zero_sign" >&5
14672 # For multiprocessing module, check that sem_open
14673 # actually works. For FreeBSD versions <= 7.2,
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 ac_cv_posix_semaphores_enabled=no
14711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
14720 if test $ac_cv_posix_semaphores_enabled = no
14727 # Multiprocessing check for broken sem_getvalue
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
14729 $as_echo_n "checking for broken sem_getvalue... " >&6; }
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 return res==-1 ? 1 : 0;
14762 ac_cv_broken_sem_getvalue=no
14766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
14872 # determine what size digit to use for Python's longs
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
14874 $as_echo_n "checking digit size for Python's longs... " >&6; }
14875 # Check whether --enable-big-digits was given.
14880 no)
14885 …as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$…
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
14897 $as_echo "no value specified" >&6; }
14901 # check for wchar.h
14911 wchar_h="no"
14921 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
14934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14937 See \`config.log' for more details" "$LINENO" 5; }
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UCS-4 tcl" >&5
14957 $as_echo_n "checking for UCS-4 tcl... " >&6; }
14958 have_ucs4_tcl=no
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ucs4_tcl" >&5
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
15013 ac_cv_wchar_t_signed=no
15015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
15028 if test "$ac_cv_sizeof_wchar_t" -ge 2 \
15029 -a "$ac_cv_wchar_t_signed" = "no"
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038 $as_echo "no" >&6; }
15041 # check for endianness
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059 # Check for potential -arch flags. It is not universal unless
15060 # there are at least two -arch flags with different values.
15063 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15064 if test -n "$ac_prev"; then
15067 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15076 elif test "x$ac_word" = "x-arch"; then
15081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 ac_cv_c_bigendian=no
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15166 ac_cv_c_bigendian=no
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208 ac_cv_c_bigendian=no
15215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 return u.c[sizeof (long int) - 1] == 1;
15238 ac_cv_c_bigendian=no
15242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15254 no)
15263 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15267 # ABI version string for Python extension modules. This appears between the
15272 # * The Python implementation (always 'cpython-' for us)
15274 # * --with-pydebug (adds a 'd')
15275 # * --with-pymalloc (adds a 'm')
15276 # * --with-wide-unicode (adds a 'u')
15278 # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc,
15279 # would get a shared library ABI version tag of 'cpython-32dmu' and shared
15280 # libraries would be named 'foo.cpython-32dmu.so'.
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ABIFLAGS" >&5
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABIFLAGS" >&5
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
15288 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
15308 LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}"
15310 LIBPL='$(prefix)'"/lib/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 exit(((-1)>>3 == -1) ? 0 : 1);
15337 ac_cv_rshift_extends_sign=no
15339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
15347 if test "$ac_cv_rshift_extends_sign" = no
15354 # check for getc_unlocked and related locking functions
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
15356 $as_echo_n "checking for getc_unlocked() and friends... " >&6; }
15361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 ac_cv_have_getc_unlocked=no
15382 rm -f core conftest.err conftest.$ac_objext \
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
15402 py_cv_lib_readline=no
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
15405 for py_libtermcap in "" tinfo ncursesw ncurses curses termcap; do
15406 if test -z "$py_libtermcap"; then
15407 READLINE_LIBS="-lreadline"
15409 READLINE_LIBS="-lreadline -l$py_libtermcap"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 rm -f core conftest.err conftest.$ac_objext \
15441 if test $py_cv_lib_readline = no; then
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
15452 # check for readline 2.2
15453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15460 have_readline=no
15463 rm -f conftest.err conftest.i conftest.$ac_ext
15466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 rm -f conftest*
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 rm -f conftest*
15494 # check for readline 4.0
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -lreadline" >&5
15496 $as_echo_n "checking for rl_pre_input_hook in -lreadline... " >&6; }
15501 LIBS="-lreadline $READLINE_LIBS $LIBS"
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 ac_cv_lib_readline_rl_pre_input_hook=no
15525 rm -f core conftest.err conftest.$ac_objext \
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_pre_input_hook" >&5
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -lreadl…
15540 $as_echo_n "checking for rl_completion_display_matches_hook in -lreadline... " >&6; }
15545 LIBS="-lreadline $READLINE_LIBS $LIBS"
15546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 ac_cv_lib_readline_rl_completion_display_matches_hook=no
15569 rm -f core conftest.err conftest.$ac_objext \
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_display_matches_…
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -lreadline" >&5
15584 $as_echo_n "checking for rl_resize_terminal in -lreadline... " >&6; }
15589 LIBS="-lreadline $READLINE_LIBS $LIBS"
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 ac_cv_lib_readline_rl_resize_terminal=no
15613 rm -f core conftest.err conftest.$ac_objext \
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_resize_terminal" >&5
15626 # check for readline 4.2
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
15628 $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
15633 LIBS="-lreadline $READLINE_LIBS $LIBS"
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 ac_cv_lib_readline_rl_completion_matches=no
15657 rm -f core conftest.err conftest.$ac_objext \
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 have_readline=no
15681 rm -f conftest.err conftest.i conftest.$ac_ext
15684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 rm -f conftest*
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lreadline" >&5
15700 $as_echo_n "checking for append_history in -lreadline... " >&6; }
15705 LIBS="-lreadline $READLINE_LIBS $LIBS"
15706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 ac_cv_lib_readline_append_history=no
15729 rm -f core conftest.err conftest.$ac_objext \
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_append_history" >&5
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
15746 $as_echo_n "checking for broken nice()... " >&6; }
15752 ac_cv_broken_nice=no
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 if (val1 != -1 && val1 == nice(2))
15771 ac_cv_broken_nice=no
15773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
15789 $as_echo_n "checking for broken poll()... " >&6; }
15794 ac_cv_broken_poll=no
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15821 ac_cv_broken_poll=no
15823 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
15840 $as_echo_n "checking for working tzset()... " >&6; }
15846 ac_cv_working_tzset=no
15848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 tm->tm_zone does not exist since it is the alternative way
15872 time_t groundhogday = 1044144000; /* GMT-based */
15877 if (localtime(&groundhogday)->tm_hour != 0)
15880 /* For UTC, tzname[1] is sometimes "", sometimes " " */
15888 if (localtime(&groundhogday)->tm_hour != 19)
15895 putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
15897 if (localtime(&groundhogday)->tm_hour != 11)
15905 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
15907 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
15918 ac_cv_working_tzset=no
15920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
15935 # Look for subsecond timestamps in struct stat
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
15937 $as_echo_n "checking for tv_nsec in struct stat... " >&6; }
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958 ac_cv_stat_tv_nsec=no
15960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
15972 # Look for BSD style subsecond timestamps in struct stat
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
15974 $as_echo_n "checking for tv_nsec2 in struct stat... " >&6; }
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 ac_cv_stat_tv_nsec2=no
15997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
16011 if test "$cross_compiling" = no; then
16012 CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
16015 for ac_header in curses.h ncurses.h
16030 for ac_header in term.h
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
16054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071 ac_cv_mvwdelch_is_expression=no
16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
16095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 w->_flags = 0;
16115 ac_cv_window_has_flags=no
16117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_pad" >&5
16132 $as_echo_n "checking for is_pad... " >&6; }
16133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16156 $as_echo "no" >&6; }
16159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_term_resized" >&5
16162 $as_echo_n "checking for is_term_resized... " >&6; }
16163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16182 $as_echo "no" >&6; }
16185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resize_term" >&5
16188 $as_echo_n "checking for resize_term... " >&6; }
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16208 $as_echo "no" >&6; }
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm" >&5
16214 $as_echo_n "checking for resizeterm... " >&6; }
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for immedok" >&5
16240 $as_echo_n "checking for immedok... " >&6; }
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16264 $as_echo "no" >&6; }
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncok" >&5
16270 $as_echo_n "checking for syncok... " >&6; }
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16294 $as_echo "no" >&6; }
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5
16300 $as_echo_n "checking for wchgat... " >&6; }
16301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16324 $as_echo "no" >&6; }
16327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5
16330 $as_echo_n "checking for filter... " >&6; }
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16354 $as_echo "no" >&6; }
16357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for has_key" >&5
16360 $as_echo_n "checking for has_key... " >&6; }
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeahead" >&5
16390 $as_echo_n "checking for typeahead... " >&6; }
16391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16414 $as_echo "no" >&6; }
16417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_env" >&5
16420 $as_echo_n "checking for use_env... " >&6; }
16421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16444 $as_echo "no" >&6; }
16447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
16452 $as_echo "$as_me: checking for device files" >&6;}
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
16457 $as_echo_n "checking for /dev/ptmx... " >&6; }
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
16460 …as_fn_error $? "set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling" …
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
16464 $as_echo_n "checking for /dev/ptc... " >&6; }
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
16467 …as_fn_error $? "set ac_cv_file__dev_ptc to yes/no in your CONFIG_SITE file when cross compiling" "…
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
16472 $as_echo_n "checking for /dev/ptmx... " >&6; }
16477 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16478 if test -r "/dev/ptmx"; then
16481 ac_cv_file__dev_ptmx=no
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
16496 $as_echo_n "checking for /dev/ptc... " >&6; }
16501 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16502 if test -r "/dev/ptc"; then
16505 ac_cv_file__dev_ptc=no
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
16522 LIBS="$LIBS -framework CoreFoundation"
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support" >&5
16526 $as_echo_n "checking for %zd printf() format support... " >&6; }
16531 ac_cv_have_size_t_format="cross -- assuming yes"
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16563 if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
16566 if (strcmp(buffer, "-123"))
16576 ac_cv_have_size_t_format=no
16578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t_format" >&5
16585 if test "$ac_cv_have_size_t_format" != no ; then
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken mbstowcs" >&5
16610 $as_echo_n "checking for broken mbstowcs... " >&6; }
16615 ac_cv_broken_mbstowcs=no
16617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16623 size_t len = -1;
16631 ac_cv_broken_mbstowcs=no
16635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_mbstowcs" >&5
16650 # Check for --with-computed-gotos
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
16652 $as_echo_n "checking for --with-computed-gotos... " >&6; }
16654 # Check whether --with-computed-gotos was given.
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16665 if test "$withval" = no
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16671 $as_echo "no" >&6; }
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
16676 $as_echo "no value specified" >&6; }
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
16687 ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
16689 ac_cv_computed_gotos=no
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 ac_cv_computed_gotos=no
16712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
16736 for h in `(cd $srcdir;echo Python/thread_*.h)`
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
16744 $as_echo_n "checking for build directories... " >&6; }
16745 for dir in $SRCDIRS; do
16746 if test ! -d $dir; then
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16753 # Availability of -O2:
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
16755 $as_echo_n "checking for -O2... " >&6; }
16757 CFLAGS="-O2"
16758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 have_O2=no
16775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_O2" >&5
16780 # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect:
16781 # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memmove bug" >&5
16783 $as_echo_n "checking for glibc _FORTIFY_SOURCE/memmove bug... " >&6; }
16785 CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
16786 if test "$have_O2" = no; then
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 have_glibc_memmove_bug=no
16816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
16832 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-const bug" >&5
16836 $as_echo_n "checking for gcc ipa-pure-const bug... " >&6; }
16838 CFLAGS="-O2"
16842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 have_ipa_pure_const_bug=no
16867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_const_bug" >&5
16883 # Check for stdatomic.h
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdatomic.h" >&5
16885 $as_echo_n "checking for stdatomic.h... " >&6; }
16886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 have_stdatomic_h=no
16904 rm -f core conftest.err conftest.$ac_objext \
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_stdatomic_h" >&5
16916 # Check for GCC >= 4.7 __atomic builtins
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC >= 4.7 __atomic builtins" >&5
16918 $as_echo_n "checking for GCC >= 4.7 __atomic builtins... " >&6; }
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 have_builtin_atomic=no
16936 rm -f core conftest.err conftest.$ac_objext \
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_atomic" >&5
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
16950 $as_echo_n "checking for ensurepip... " >&6; }
16952 # Check whether --with-ensurepip was given.
16964 no) :
16965 ENSUREPIP=no ;; #(
16967 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the dirent structure of a d_type field" >&5
16976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 have_dirent_d_type=no
16994 rm -f core conftest.err conftest.$ac_objext \
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dirent_d_type" >&5
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Linux getrandom() syscall" >&5
17007 $as_echo_n "checking for the Linux getrandom() syscall... " >&6; }
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* ignore the result, Python checks for ENOSYS and EAGAIN at runtime */
17030 have_getrandom_syscall=no
17032 rm -f core conftest.err conftest.$ac_objext \
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom_syscall" >&5
17044 # the test was written for the Solaris function of <sys/random.h>
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the getrandom() function" >&5
17046 $as_echo_n "checking for the getrandom() function... " >&6; }
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* ignore the result, Python checks for ENOSYS at runtime */
17067 have_getrandom=no
17069 rm -f core conftest.err conftest.$ac_objext \
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom" >&5
17080 # Check for usable OpenSSL
17084 # Check whether --with-openssl was given.
17088 "" | y | ye | yes | n | no)
17089 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
17097 # if pkg-config is installed and openssl has installed a .pc file,
17099 if test -n "$ac_tool_prefix"; then
17100 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17101 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17103 $as_echo_n "checking for $ac_word... " >&6; }
17107 if test -n "$PKG_CONFIG"; then
17111 for as_dir in $PATH
17114 test -z "$as_dir" && as_dir=.
17115 for ac_exec_ext in '' $ac_executable_extensions; do
17117 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17128 if test -n "$PKG_CONFIG"; then
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17133 $as_echo "no" >&6; }
17138 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17140 # Extract the first word of "pkg-config", so it can be a program name with args.
17141 set dummy pkg-config; ac_word=$2
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17143 $as_echo_n "checking for $ac_word... " >&6; }
17147 if test -n "$ac_ct_PKG_CONFIG"; then
17151 for as_dir in $PATH
17154 test -z "$as_dir" && as_dir=.
17155 for ac_exec_ext in '' $ac_executable_extensions; do
17157 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17168 if test -n "$ac_ct_PKG_CONFIG"; then
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17173 $as_echo "no" >&6; }
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
17192 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
17194 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
17195 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
17200 # no such luck; use some default ssldirs
17215 for ssldir in $ssldirs; do
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
17217 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
17218 if test -f "$ssldir/include/openssl/ssl.h"; then
17219 OPENSSL_INCLUDES="-I$ssldir/include"
17220 OPENSSL_LDFLAGS="-L$ssldir/lib"
17221 OPENSSL_LIBS="-lssl -lcrypto"
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17228 $as_echo "no" >&6; }
17232 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
17239 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL wo…
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17270 $as_echo "no" >&6; }
17271 have_openssl=no
17274 rm -f core conftest.err conftest.$ac_objext \
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X509_VERIFY_PARAM_set1_host in libssl" >&5
17287 $as_echo_n "checking for X509_VERIFY_PARAM_set1_host in libssl... " >&6; }
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 ac_cv_has_x509_verify_param_set1_host=no
17324 rm -f core conftest.err conftest.$ac_objext \
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_x509_verify_param_set1_host" >&5
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-ssl-default-suites" >&5
17344 $as_echo_n "checking for --with-ssl-default-suites... " >&6; }
17346 # Check whether --with-ssl-default-suites was given.
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: python" >&5
17382 ac_config_files="$ac_config_files Makefile.pre Misc/python.pc Misc/python-config.sh"
17389 # scripts and configure runs, see configure's option --config-cache.
17393 # config.status only pays attention to the cache file if you give it
17394 # the --recheck option to rerun configure.
17403 # but we know of no workaround that is simple, portable, and efficient.
17408 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17413 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
17427 # `set' does not quote correctly, so add quotes: double-quote
17429 sed -n \
17435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17449 if test -w "$cache_file"; then
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17453 if test ! -f "$cache_file" || test -h "$cache_file"; then
17458 mv -f confcache "$cache_file"$$ &&
17459 mv -f "$cache_file"$$ "$cache_file" ;; #(
17461 mv -f confcache "$cache_file" ;;
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17470 rm -f confcache
17476 DEFS=-DHAVE_CONFIG_H
17481 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17497 : "${CONFIG_STATUS=./config.status}"
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17508 # Compiler output produced by configure, useful for debugging
17509 # configure, is in config.log if it exists.
17515 SHELL=\${CONFIG_SHELL-$SHELL}
17519 ## -------------------- ##
17521 ## -------------------- ##
17524 DUALCASE=1; export DUALCASE # for MKS sh
17525 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17528 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17530 alias -g '${1+"$@"}'='"$@"'
17533 case `(set -o) 2>/dev/null` in #(
17535 set -o posix ;; #(
17550 # but without wasting forks for bash or zsh.
17551 if test -z "$BASH_VERSION$ZSH_VERSION" \
17552 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17553 as_echo='print -r --'
17554 as_echo_n='print -rn --'
17559 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17560 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17561 as_echo_n='/usr/ucb/echo -n'
17571 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17574 as_echo_n='sh -c $as_echo_n_body as_echo'
17577 as_echo='sh -c $as_echo_body as_echo'
17583 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17584 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17592 # there to prevent editors from complaining about space-tab.
17597 # Find who we are. Look in the path if we contain no directory separator.
17602 for as_dir in $PATH
17605 test -z "$as_dir" && as_dir=.
17606 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17617 if test ! -f "$as_myself"; then
17623 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17626 for as_var in BASH_ENV ENV MAIL MAILPATH
17645 # ----------------------------------------
17651 as_status=$1; test $as_status -eq 0 && as_status=1
17653 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17654 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17662 # -----------------------
17670 # -----------------
17671 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17680 # ---------------
17688 # ----------------------
17706 # ------------------
17718 as_val=`expr "$@" || test $? -eq 1`
17730 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17736 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17742 as_me=`$as_basename -- "$0" ||
17769 case `echo -n x` in #(((((
17770 -n*)
17778 ECHO_N='-n';;
17781 rm -f conf$$ conf$$.exe conf$$.file
17782 if test -d conf$$.dir; then
17783 rm -f conf$$.dir/conf$$.file
17785 rm -f conf$$.dir
17789 if ln -s conf$$.file conf$$ 2>/dev/null; then
17790 as_ln_s='ln -s'
17792 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17793 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17794 # In both cases, we have to default to `cp -pR'.
17795 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17796 as_ln_s='cp -pR'
17800 as_ln_s='cp -pR'
17803 as_ln_s='cp -pR'
17805 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17810 # -------------
17816 -*) as_dir=./$as_dir;;
17818 test -d "$as_dir" || eval $as_mkdir_p || {
17826 as_dir=`$as_dirname -- "$as_dir" ||
17849 test -d "$as_dir" && break
17851 test -z "$as_dirs" || eval "mkdir $as_dirs"
17852 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17856 if mkdir -p . 2>/dev/null; then
17857 as_mkdir_p='mkdir -p "$as_dir"'
17859 test -d ./-p && rmdir ./-p
17865 # -----------------------
17869 test -f "$1" && test -x "$1"
17871 as_test_x='test -x'
17874 # Sed expression to map a string onto a valid CPP name.
17882 ## ----------------------------------- ##
17884 ## ----------------------------------- ##
17902 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17917 # Files that config.status was made for.
17931 -h, --help print this help, then exit
17932 -V, --version print version number and configuration settings, then exit
17933 --config print configuration, then exit
17934 -q, --quiet, --silent
17936 -d, --debug don't remove temporary files
17937 --recheck update $as_me by reconfiguring in the same conditions
17938 --file=FILE[:TEMPLATE]
17940 --header=FILE[:TEMPLATE]
17955 python config.status 3.7
17960 This config.status script is free software; the Free Software Foundation
17967 test -n "\$AWK" || AWK=awk
17976 --*=?*)
17981 --*=)
17995 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17997 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17999 --config | --confi | --conf | --con | --co | --c )
18001 --debug | --debu | --deb | --de | --d | -d )
18003 --file | --fil | --fi | --f )
18011 --header | --heade | --head | --hea )
18018 --he | --h)
18019 # Conflict between --help and --header
18021 Try \`$0 --help' for more information.";;
18022 --help | --hel | -h )
18024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18025 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18029 -*) as_fn_error $? "unrecognized option: \`$1'
18030 Try \`$0 --help' for more information." ;;
18043 ac_configure_extra_args="$ac_configure_extra_args --silent"
18049 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18059 exec 5>>config.log
18062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18075 for ac_config_target in $ac_config_targets
18085 "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
18095 # We use the long form for the default assignment because of an extremely
18102 # Have a temporary directory for convenience. Make it in the build tree
18103 # simply because there is no reason against having it here, and in addition,
18105 # Hook for its removal unless debugging.
18113 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18117 # Create a (secure) tmp directory for tmp files.
18120 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18121 test -d "$tmp"
18124 tmp=./conf$$-$RANDOM
18129 # Set up the scripts for CONFIG_FILES section.
18130 # No need to generate them if there are no CONFIG_FILES.
18131 # This happens for instance with `./config.status config.h'.
18132 if test -n "$CONFIG_FILES"; then
18137 # But we know of no other shell where ac_cr would be empty at this
18159 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18161 for ac_last_try in false false false false false :; do
18165 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18174 rm -f conf$$subs.sh
18179 sed -n '
18222 rm -f conf$$subs.awk
18226 for (key in S) S_is_set[key] = 1
18235 for (i = 2; i < nfields; i++) {
18258 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18285 fi # test -n "$CONFIG_FILES"
18287 # Set up the scripts for CONFIG_HEADERS section.
18288 # No need to generate them if there are no CONFIG_HEADERS.
18289 # This happens for instance with `./config.status Makefile'.
18290 if test -n "$CONFIG_HEADERS"; then
18296 # here-document in config.status, that substitutes the proper values into
18297 # config.h.in to produce config.h.
18302 for ac_last_try in false false :; do
18303 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18304 if test -z "$ac_tt"; then
18313 # For the awk script, D is an array of macro values keyed by name,
18318 sed -n '
18358 for (key in D) D_is_set[key] = 1
18373 prefix = substr(line, 1, index(line, defundef) - 1)
18379 # Replace #undef with comments. This is necessary, for example,
18392 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18393 fi # test -n "$CONFIG_HEADERS"
18398 for ac_tag
18406 :[FH]-) ac_tag=-:-;;
18421 for ac_f
18424 -) ac_f="$ac_tmp/stdin";;
18425 *) # Look for the file first in the build tree, then in the source tree
18426 # (if the path is not absolute). The absolute path cannot be DOS-style,
18428 test -f "$ac_f" ||
18431 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18441 # /* config.h. Generated by config.status. */
18445 if test x"$ac_file" != x-; then
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18459 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18465 ac_dir=`$as_dirname -- "$ac_file" ||
18495 # A ".." for each directory in $ac_dir_suffix.
18504 # for backward compatibility:
18555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18558 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
18559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18596 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18599 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18600 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18602 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18603 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
18608 rm -f "$ac_tmp/stdin"
18610 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18611 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18619 if test x"$ac_file" != x-; then
18622 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18623 } >"$ac_tmp/config.h" \
18625 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18629 rm -f "$ac_file"
18630 mv "$ac_tmp/config.h" "$ac_file" \
18635 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18636 || as_fn_error $? "could not create -" "$LINENO" 5
18648 done # for ac_tag
18659 # configure is writing to config.log, and then calls config.status.
18660 # config.status does its own redirection, appending to config.log.
18661 # Unfortunately, on DOS this fails, as config.log is still kept open
18662 # by configure, so config.status won't be able to write to it; its
18664 # effectively closing config.log, so it can be properly (re)opened and
18665 # appended to by config.status. When coming back to configure, we
18671 ac_config_status_args="$ac_config_status_args --quiet"
18674 exec 5>>config.log
18679 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18686 if test ! -f Modules/Setup
18692 if test ! -f Modules/Setup.local
18694 echo "# Edit this file for local setup changes" >Modules/Setup.local
18698 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
18699 -s Modules \
18701 mv config.c Modules
18703 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
18707 echo "please run ./configure --enable-optimizations" >&6