Lines Matching +full:i686 +full:- +full:linux +full:- +full:gnu +full:- +full:pkg +full:- +full:config
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for python 3.11.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
14 ## -------------------- ##
16 ## -------------------- ##
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
32 set -o posix ;; #(
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
111 if test ! -f "$as_myself"; then
118 # into an infinite loop, continuously re-executing ourselves.
124 # Preserve -v and -x to the replacement shell.
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
155 set -o posix ;; #(
181 test -x / || exit 1"
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
280 SHELL=${CONFIG_SHELL-/bin/sh}
286 ## --------------------- ##
288 ## --------------------- ##
290 # ---------------
300 # -----------------------
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # ---------
326 # -------------
332 -*) as_dir=./$as_dir;;
334 test -d "$as_dir" || eval $as_mkdir_p || {
342 as_dir=`$as_dirname -- "$as_dir" ||
365 test -d "$as_dir" && break
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
374 # -----------------------
378 test -f "$1" && test -x "$1"
381 # ----------------------
400 # ------------------
413 as_val=`expr "$@" || test $? -eq 1`
418 # ---------
427 # ----------------------------------------
433 as_status=$1; test $as_status -eq 0 && as_status=1
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_me=`$as_basename -- "$0" ||
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
498 s/[$]LINENO.*/&-/
506 s/-\n.*//
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
528 case `echo -n x` in #(((((
529 -n*)
537 ECHO_N='-n';;
540 # For backward compatibility with old third-party macros, we provide
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
551 rm -f conf$$.dir
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
566 as_ln_s='cp -pR'
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
577 test -d ./-p && rmdir ./-p
581 as_test_x='test -x'
591 test -n "$DJDIR" || exec 7<&0 </dev/null
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1163 # (The list follows the same order as the GNU Coding Standards.)
1190 if test -n "$ac_prev"; then
1203 --)
1206 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1208 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1211 -build | --build | --buil | --bui | --bu)
1213 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1216 -cache-file | --cache-file | --cache-fil | --cache-fi \
1217 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1219 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1220 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1223 --config-cache | -C)
1224 cache_file=config.cache ;;
1226 -datadir | --datadir | --datadi | --datad)
1228 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1231 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1232 | --dataroo | --dataro | --datar)
1234 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1235 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1238 -disable-* | --disable-*)
1239 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1254 -docdir | --docdir | --docdi | --doc | --do)
1256 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1259 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1261 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1264 -enable-* | --enable-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1270 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1280 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1281 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1282 | --exec | --exe | --ex)
1284 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1285 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1286 | --exec=* | --exe=* | --ex=*)
1289 -gas | --gas | --ga | --g)
1290 # Obsolete; use --with-gas.
1293 -help | --help | --hel | --he | -h)
1295 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1297 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1300 -host | --host | --hos | --ho)
1302 -host=* | --host=* | --hos=* | --ho=*)
1305 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1307 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1308 | --ht=*)
1311 -includedir | --includedir | --includedi | --included | --include \
1312 | --includ | --inclu | --incl | --inc)
1314 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1315 | --includ=* | --inclu=* | --incl=* | --inc=*)
1318 -infodir | --infodir | --infodi | --infod | --info | --inf)
1320 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1323 -libdir | --libdir | --libdi | --libd)
1325 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1328 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1329 | --libexe | --libex | --libe)
1331 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1332 | --libexe=* | --libex=* | --libe=*)
1335 -localedir | --localedir | --localedi | --localed | --locale)
1337 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1340 -localstatedir | --localstatedir | --localstatedi | --localstated \
1341 | --localstate | --localstat | --localsta | --localst | --locals)
1343 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1344 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1347 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1349 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1352 -nfp | --nfp | --nf)
1353 # Obsolete; use --without-fp.
1356 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1357 | --no-cr | --no-c | -n)
1360 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1361 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1364 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1365 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1366 | --oldin | --oldi | --old | --ol | --o)
1368 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1369 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1370 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1373 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1375 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1378 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1379 | --program-pre | --program-pr | --program-p)
1381 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1382 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1385 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1386 | --program-suf | --program-su | --program-s)
1388 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1389 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1392 -program-transform-name | --program-transform-name \
1393 | --program-transform-nam | --program-transform-na \
1394 | --program-transform-n | --program-transform- \
1395 | --program-transform | --program-transfor \
1396 | --program-transfo | --program-transf \
1397 | --program-trans | --program-tran \
1398 | --progr-tra | --program-tr | --program-t)
1400 -program-transform-name=* | --program-transform-name=* \
1401 | --program-transform-nam=* | --program-transform-na=* \
1402 | --program-transform-n=* | --program-transform-=* \
1403 | --program-transform=* | --program-transfor=* \
1404 | --program-transfo=* | --program-transf=* \
1405 | --program-trans=* | --program-tran=* \
1406 | --progr-tra=* | --program-tr=* | --program-t=*)
1409 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1411 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1414 -psdir | --psdir | --psdi | --psd | --ps)
1416 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1420 | -silent | --silent | --silen | --sile | --sil)
1423 -runstatedir | --runstatedir | --runstatedi | --runstated \
1424 | --runstate | --runstat | --runsta | --runst | --runs \
1425 | --run | --ru | --r)
1427 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1428 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1429 | --run=* | --ru=* | --r=*)
1432 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1434 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1435 | --sbi=* | --sb=*)
1438 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1439 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1440 | --sharedst | --shareds | --shared | --share | --shar \
1441 | --sha | --sh)
1443 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1444 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1445 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1446 | --sha=* | --sh=*)
1449 -site | --site | --sit)
1451 -site=* | --site=* | --sit=*)
1454 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1456 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1459 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1460 | --syscon | --sysco | --sysc | --sys | --sy)
1462 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1463 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1466 -target | --target | --targe | --targ | --tar | --ta | --t)
1468 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1471 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1474 -version | --version | --versio | --versi | --vers | -V)
1477 -with-* | --with-*)
1478 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1480 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1483 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1488 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1493 -without-* | --without-*)
1494 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1496 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1499 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1504 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1509 --x)
1510 # Obsolete; use --with-x.
1513 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1514 | --x-incl | --x-inc | --x-in | --x-i)
1516 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1517 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1520 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1521 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1523 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1524 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1527 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1528 Try \`$0 --help' for more information"
1535 '' | [0-9]* | *[!_$as_cr_alnum]* )
1543 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1544 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1552 if test -n "$ac_prev"; then
1553 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1557 if test -n "$ac_unrecognized_opts"; then
1583 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1587 # used to hold the argument of --host etc.
1603 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1608 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1609 ac_ls_di=`ls -di .` &&
1610 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1617 if test -z "$srcdir"; then
1620 ac_confdir=`$as_dirname -- "$as_myself" ||
1644 if test ! -r "$srcdir/$ac_unique_file"; then
1650 if test ! -r "$srcdir/$ac_unique_file"; then
1656 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1664 # mess up M-x gdb in Emacs.
1676 # Report the --help message.
1692 -h, --help display this help and exit
1693 --help=short display options specific to this package
1694 --help=recursive display the short help of all the included packages
1695 -V, --version display version information and exit
1696 -q, --quiet, --silent do not print \`checking ...' messages
1697 --cache-file=FILE cache test results in FILE [disabled]
1698 -C, --config-cache alias for \`--cache-file=config.cache'
1699 -n, --no-create do not create output files
1700 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1703 --prefix=PREFIX install architecture-independent files in PREFIX
1705 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1710 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1711 for instance \`--prefix=\$HOME'.
1716 --bindir=DIR user executables [EPREFIX/bin]
1717 --sbindir=DIR system admin executables [EPREFIX/sbin]
1718 --libexecdir=DIR program executables [EPREFIX/libexec]
1719 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1720 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1721 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1722 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1723 --libdir=DIR object code libraries [EPREFIX/lib]
1724 --includedir=DIR C header files [PREFIX/include]
1725 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1726 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1727 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1728 --infodir=DIR info documentation [DATAROOTDIR/info]
1729 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1730 --mandir=DIR man documentation [DATAROOTDIR/man]
1731 --docdir=DIR documentation root [DATAROOTDIR/doc/python]
1732 --htmldir=DIR html documentation [DOCDIR]
1733 --dvidir=DIR dvi documentation [DOCDIR]
1734 --pdfdir=DIR pdf documentation [DOCDIR]
1735 --psdir=DIR ps documentation [DOCDIR]
1741 --build=BUILD configure for building on BUILD [guessed]
1742 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1746 if test -n "$ac_init_help"; then
1753 --disable-option-checking ignore unrecognized --enable/--with options
1754 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1755 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1756 --enable-universalsdk[=SDKDIR]
1760 --enable-framework[=INSTALLDIR]
1765 --enable-wasm-dynamic-linking
1768 --enable-wasm-pthreads Enable pthread emulation for WebAssembly (default is
1770 --enable-shared enable building a shared Python library (default is
1772 --enable-profiling enable C-level code profiling with gprof (default is
1774 --enable-pystats enable internal statistics gathering (default is no)
1775 --enable-optimizations enable expensive, stable optimizations (PGO, etc.)
1777 --enable-loadable-sqlite-extensions
1780 --enable-ipv6 enable ipv6 (with ipv4) support, see
1782 --enable-big-digits[=15|30]
1785 --disable-test-modules don't build nor install test modules
1788 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1789 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1790 --with-build-python=python3.11
1793 --with-pkg-config=[yes|no|check]
1794 use pkg-config to detect build options (default is
1796 --with-universal-archs=ARCH
1799 --enable-universalsdk is set; options are:
1800 ("universal2", "intel-64", "intel-32", "intel",
1801 "32-bit", "64-bit", "3-way", or "all") see
1803 --with-framework-name=FRAMEWORK
1805 only valid when --enable-framework is set. see
1807 --with-cxx-main[=COMPILER]
1810 --with-emscripten-target=[browser|node]
1812 --with-suffix=SUFFIX set executable suffix to SUFFIX (default is empty,
1814 --without-static-libpython
1817 --with-pydebug build with Py_DEBUG defined (default is no)
1818 --with-trace-refs enable tracing references for debugging purpose
1820 --with-assertions build with C assertions enabled (default is no)
1821 --with-lto=[full|thin|no|yes]
1822 enable Link-Time-Optimization in any build (default
1824 --with-address-sanitizer
1827 --with-memory-sanitizer enable MemorySanitizer allocation error detector,
1829 --with-undefined-behavior-sanitizer
1832 --with-hash-algorithm=[fnv|siphash13|siphash24]
1835 --with-tzpath=<list of absolute paths separated by pathsep>
1838 --with-libs='lib1 ...' link against additional libs (default is no)
1839 --with-system-expat build pyexpat module using an installed expat
1841 --with-system-ffi build _ctypes module using an installed ffi library,
1843 system-dependent)
1844 --with-system-libmpdec build _decimal module using an installed libmpdec
1846 --with-decimal-contextvar
1847 build _decimal module using a coroutine-local rather
1848 than a thread-local context (default is yes)
1849 --with-dbmliborder=db1:db2:...
1853 --with-doc-strings enable documentation strings (default is yes)
1854 --with-pymalloc enable specialized mallocs (default is yes)
1855 --with-freelists enable object freelists (default is yes)
1856 --with-c-locale-coercion
1857 enable C locale coercion to a UTF-8 based locale
1859 --with-valgrind enable Valgrind support (default is no)
1860 --with-dtrace enable DTrace support (default is no)
1861 --with-libm=STRING override libm math library to STRING (default is
1862 system-dependent)
1863 --with-libc=STRING override libc C library to STRING (default is
1864 system-dependent)
1865 --with-platlibdir=DIRNAME
1867 --with-wheel-pkg-dir=PATH
1870 --with(out)-readline[=editline]
1872 --with-computed-gotos enable computed gotos in evaluation loop (enabled by
1874 --with-ensurepip[=install|upgrade|no]
1877 --with-openssl=DIR root of the OpenSSL directory
1878 --with-openssl-rpath=[DIR|auto|no]
1881 auto-detect rpath from --with-openssl and
1882 pkg-config, DIR: set an explicit rpath
1883 --with-ssl-default-suites=[python|openssl|STRING]
1889 --with-builtin-hashlib-hashes=md5,sha1,sha256,sha512,sha3,blake2
1894 PKG_CONFIG path to pkg-config utility
1896 directories to add to pkg-config's search path
1898 path overriding pkg-config's built-in search path
1899 MACHDEP name for machine-dependent library files
1902 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1904 LIBS libraries to pass to the linker, e.g. -l<library>
1905 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1912 C compiler flags for LIBUUID, overriding pkg-config
1914 linker flags for LIBUUID, overriding pkg-config
1916 C compiler flags for LIBNSL, overriding pkg-config
1917 LIBNSL_LIBS linker flags for LIBNSL, overriding pkg-config
1919 C compiler flags for LIBSQLITE3, overriding pkg-config
1921 linker flags for LIBSQLITE3, overriding pkg-config
1923 C compiler flags for TCLTK, overriding pkg-config
1924 TCLTK_LIBS linker flags for TCLTK, overriding pkg-config
1925 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1926 X11_LIBS linker flags for X11, overriding pkg-config
1929 ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1930 ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
1932 C compiler flags for BZIP2, overriding pkg-config
1933 BZIP2_LIBS linker flags for BZIP2, overriding pkg-config
1935 C compiler flags for LIBLZMA, overriding pkg-config
1937 linker flags for LIBLZMA, overriding pkg-config
1939 C compiler flags for LIBCRYPT, overriding pkg-config
1941 linker flags for LIBCRYPT, overriding pkg-config
1943 C compiler flags for LIBB2, overriding pkg-config
1944 LIBB2_LIBS linker flags for LIBB2, overriding pkg-config
1955 # If there are subdirs, report their specific --help.
1957 test -d "$ac_dir" ||
1958 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1995 # Check for configure.gnu first; this name is used for a wrapper for
1996 # Metaconfig's "Configure" on case-insensitive file systems.
1997 if test -f "$ac_srcdir/configure.gnu"; then
1999 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2000 elif test -f "$ac_srcdir/configure"; then
2002 $SHELL "$ac_srcdir/configure" --help=recursive
2010 test -n "$ac_init_help" && exit $ac_status
2014 generated by GNU Autoconf 2.71
2023 ## ------------------------ ##
2025 ## ------------------------ ##
2028 # --------------------------
2032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2033 rm -f conftest.$ac_objext conftest.beam
2039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 if test -s conftest.err; then
2044 grep -v '^ *+' conftest.err >conftest.er1
2046 mv -f conftest.er1 conftest.err
2048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2050 test -z "$ac_c_werror_flag" ||
2051 test ! -s conftest.err
2052 } && test -s conftest.$ac_objext
2067 # ----------------------
2071 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2081 if test -s conftest.err; then
2082 grep -v '^ *+' conftest.err >conftest.er1
2084 mv -f conftest.er1 conftest.err
2086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2089 test ! -s conftest.err
2105 # -------------------------------------------------------
2110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2138 # -----------------------
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2153 if test -s conftest.err; then
2154 grep -v '^ *+' conftest.err >conftest.er1
2156 mv -f conftest.er1 conftest.err
2158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2160 test -z "$ac_c_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest$ac_exeext && {
2164 test -x conftest$ac_exeext
2178 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2185 # ----------------------
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2206 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2210 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2221 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2228 # -------------------------------------------
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2285 # --------------------------------------------
2286 # Tries to find the compile-time value of EXPR in a program that includes
2291 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 static int test_array [1 - 2 * !(($2) >= 0)];
2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2318 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2331 if test $ac_lo -le $ac_mid; then
2337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 static int test_array [1 - 2 * !(($2) < 0)];
2356 ac_hi=-1 ac_mid=-1
2358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2364 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2376 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2377 if test $ac_mid -le $ac_hi; then
2383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2393 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2400 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2465 rm -f conftest.val
2474 # ----------------------------------
2478 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2504 /* The GNU C library defines this for functions which it implements
2525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2535 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2536 # ------------------------------------------------------------------
2538 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2549 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 # ----------------------------------------------------
2593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2666 cat >config.log <<_ACEOF
2671 generated by GNU Autoconf 2.71. Invocation command line was
2676 exec 5>>config.log
2679 ## --------- ##
2681 ## --------- ##
2683 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2684 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2685 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2686 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2687 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2689 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2690 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2693 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2720 ## ----------- ##
2722 ## ----------- ##
2728 # Strip out --no-create and --no-recursion so they do not pile up.
2729 # Strip out --silent because we don't want to record it for future runs.
2730 # Also quote any args containing shell meta-characters.
2731 # Make two passes to allow for proper duplicate-argument suppression.
2741 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2743 | -silent | --silent | --silen | --sile | --sil)
2756 *=* | --config-cache | -C | -disable-* | --disable-* \
2757 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2758 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2759 | -with-* | --with-* | -without-* | --without-* | --x)
2764 -* ) ac_must_keep_next=true ;;
2776 # config.log. We remove comments because anyway the quotes in there
2783 # Save into config.log some information that might help in debugging.
2787 printf "%s\n" "## ---------------- ##
2789 ## ---------------- ##"
2793 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2798 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2811 sed -n \
2816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2823 printf "%s\n" "## ----------------- ##
2825 ## ----------------- ##"
2837 if test -n "$ac_subst_files"; then
2838 printf "%s\n" "## ------------------- ##
2840 ## ------------------- ##"
2853 if test -s confdefs.h; then
2854 printf "%s\n" "## ----------- ##
2856 ## ----------- ##"
2865 rm -f core *.core core.conftest.* &&
2866 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2875 rm -f -r conftest* confdefs.h
2896 if test -n "$CONFIG_SITE"; then
2899 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2901 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2912 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2917 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920 See \`config.log' for more details" "$LINENO" 5; }
2924 if test -r "$cache_file"; then
2927 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2972 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2975 as an "x". The following induces an error, until -std is added to get
2978 that is true only with -std. */
2979 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2981 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2984 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3038 static long long int bignum = -9223372036854775807LL;
3058 // See if C++-style comments work.
3121 ia->datasize = 10;
3122 for (int i = 0; i < ia->datasize; ++i)
3123 ia->data[i] = i * 1.234;
3136 dynamic_array[ni.number - 1] = 543;
3140 || dynamic_array[ni.number - 1] != 543);
3163 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3177 // Check UTF-8 literals.
3186 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3259 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
3262 ac_aux_files="install-sh config.guess config.sub"
3268 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3292 # As a special case, if "install-sh" is required, that requirement
3293 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3295 if test x"$ac_aux" = x"install-sh"
3297 if test -f "${as_dir}install-sh"; then
3298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3299 ac_install_sh="${as_dir}install-sh -c"
3300 elif test -f "${as_dir}install.sh"; then
3301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3302 ac_install_sh="${as_dir}install.sh -c"
3303 elif test -f "${as_dir}shtool"; then
3304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3305 ac_install_sh="${as_dir}shtool install -c"
3309 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3315 if test -f "${as_dir}${ac_aux}"; then
3316 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3348 if test -f "${ac_aux_dir}config.guess"; then
3349 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3351 if test -f "${ac_aux_dir}config.sub"; then
3352 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3354 if test -f "$ac_aux_dir/configure"; then
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3396 # Pass precious variables to config.status.
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3413 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3416 ## -------------------- ##
3418 ## -------------------- ##
3422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3437 if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
3438 # If we're building out-of-tree, we need to make sure the following
3440 # Objects/ -> typeslots.inc
3441 # Include/ -> Python.h
3442 # Python/ -> importlib.h
3444 # regenerated when building out-of-tree, regardless of whether or not
3445 # the $srcdir counterpart is up-to-date. This is an acceptable trade
3447 BASECPPFLAGS="-IObjects -IInclude -IPython"
3456 if test -e $srcdir/.git
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 if test -n "$HAS_GIT"; then
3481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3488 test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
3492 if test -n "$HAS_GIT"; then
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
3496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502 HAS_GIT=no-repository
3506 GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
3507 GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
3508 GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
3522 # Make sure we can run config.sub.
3523 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3524 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3534 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3537 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3538 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3544 *-*-*) ;;
3548 ac_save_IFS=$IFS; IFS='-'
3558 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3570 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3571 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3578 *-*-*) ;;
3582 ac_save_IFS=$IFS; IFS='-'
3592 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3600 as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
3604 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
3605 rm -f pybuilddir.txt
3608 # Check whether --with-build-python was given.
3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-build-python" >&5
3613 printf %s "checking for --with-build-python... " >&6; }
3621 as_fn_error $? "invalid --with-build-python option: expected path or \"yes\", not \"no\"" "$LINENO" 5
3624 if ! $(command -v "$with_build_python" >/dev/null 2>&1); then
3627 build_python_ver=$($with_build_python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
3633 PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) '$with_build_python
3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_build_python" >&5
3641 as_fn_error $? "Cross compiling requires --with-build-python" "$LINENO" 5
3644 PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python interpreter freezing" >&5
3654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_FREEZE" >&5
3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 if test -n "$PYTHON_FOR_REGEN"; then
3708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3718 if test -n "$PYTHON_FOR_REGEN"; then
3719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 test -n "$PYTHON_FOR_REGEN" && break
3729 test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
3733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python for regen version" >&5
3735 if command -v "$PYTHON_FOR_REGEN" >/dev/null 2>&1; then
3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $($PYTHON_FOR_REGEN -V 2>/dev/null)" >&5
3737 printf "%s\n" "$($PYTHON_FOR_REGEN -V 2>/dev/null)" >&6; }
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
3745 prefix=`echo "$prefix" | sed -e 's/\/$//g'`
3752 # with other autoconf-based packages that include Python.h
3753 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
3765 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3772 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3779 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3793 # Check whether --with-pkg-config was given.
3805 if test -z "$PKG_CONFIG"; then
3818 if test -n "$ac_tool_prefix"; then
3819 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3820 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3855 if test -n "$PKG_CONFIG"; then
3856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 if test -z "$ac_cv_path_PKG_CONFIG"; then
3867 # Extract the first word of "pkg-config", so it can be a program name with args.
3868 set dummy pkg-config; ac_word=$2
3869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3903 if test -n "$ac_pt_PKG_CONFIG"; then
3904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3927 if test -n "$PKG_CONFIG"; then
3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3930 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3931 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 as_fn_error $? "invalid argument --with-pkg-config=$with_pkg_config" "$LINENO" 5
3951 if test "$with_pkg_config" = yes -a -z "$PKG_CONFIG"; then
3952 as_fn_error $? "pkg-config is required" "$LINENO" 5]
3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
3956 printf %s "checking for --enable-universalsdk... " >&6; }
3957 # Check whether --enable-universalsdk was given.
3965 enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
3966 if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
3969 if test ! -d "${enableval}"
3983 if test ! -d "${UNIVERSALSDK}"
3985 as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
3998 if test -n "${UNIVERSALSDK}"
4000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
4003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 # For backward compatibility reasons we prefer to select '32-bit' if available,
4013 UNIVERSAL_ARCHS="32-bit"
4014 if test "`uname -s`" = "Darwin"
4016 if test -n "${UNIVERSALSDK}"
4018 if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
4028 printf %s "checking for --with-universal-archs... " >&6; }
4030 # Check whether --with-universal-archs was given.
4038 if test -n "${UNIVERSALSDK}"
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 # Check whether --with-framework-name was given.
4054 PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
4064 # Check whether --enable-framework was given.
4075 PYTHONFRAMEWORKDIR=no-framework
4127 # --prefix option, but wants to install
4128 # the framework in a non-default location,
4158 PYTHONFRAMEWORKDIR=no-framework
4193 # Set name for machine-dependent library files
4195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
4197 if test -z "$MACHDEP"
4205 *-*-linux-android*)
4206 ac_sys_system=Linux-android
4208 *-*-linux*)
4209 ac_sys_system=Linux
4211 *-*-cygwin*)
4214 *-*-vxworks*)
4217 *-*-emscripten)
4220 *-*-wasi)
4230 ac_sys_system=`uname -s`
4232 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
4233 ac_sys_release=`uname -v`
4235 ac_sys_release=`uname -r`
4239 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
4241 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
4246 linux*) MACHDEP="linux";;
4252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$MACHDEP\"" >&5
4258 *-*-linux*)
4267 *-*-cygwin*)
4270 *-*-vxworks*)
4273 wasm32-*-* | wasm64-*-*)
4281 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
4303 # As this has a different meaning on Linux, only define it on OpenBSD
4311 # As this has a different meaning on Linux, only define it on OpenBSD
4319 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
4331 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
4346 Darwin/[12][0-9].*)
4359 # On HP-UX, defining _XOPEN_SOURCE to 600 or greater hides
4369 # X/Open 7, incorporating POSIX.1-2008
4377 # cases for HP-UX, we define it globally.
4387 # On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
4402 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
4419 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
4421 as_fn_error $? "cached CC is different -- throw away $cache_file
4425 # Don't let AC_PROG_CC set the default CFLAGS. It normally sets -g -O2
4426 # when the compiler supports them, but we don't always want -O2, and
4427 # we set -g later.
4428 if test -z "$CFLAGS"; then
4433 wasm64-*-emscripten) :
4435 as_fn_append CFLAGS " -sMEMORY64=1"
4436 as_fn_append LDFLAGS " -sMEMORY64=1"
4447 if test -z "${CC}"
4455 if test -x "${as_dir}/gcc"; then
4456 if test -z "${found_gcc}"; then
4460 if test -x "${as_dir}/clang"; then
4461 if test -z "${found_clang}"; then
4468 if test -n "$found_gcc" -a -n "$found_clang"
4470 if test -n "`"$found_gcc" --version | grep llvm-gcc`"
4472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Detected llvm-gcc, falling back to clang" >&5
4473 printf "%s\n" "$as_me: Detected llvm-gcc, falling back to clang" >&6;}
4479 elif test -z "$found_gcc" -a -n "$found_clang"
4481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No GCC found, use CLANG" >&5
4486 elif test -z "$found_gcc" -a -z "$found_clang"
4488 found_clang=`/usr/bin/xcrun -find clang 2>/dev/null`
4489 if test -n "${found_clang}"
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using clang from Xcode.app" >&5
4494 CXX="`/usr/bin/xcrun -find clang++`"
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4515 if test -n "$ac_tool_prefix"; then
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4524 if test -n "$CC"; then
4539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4549 if test -n "$CC"; then
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4559 if test -z "$ac_cv_prog_CC"; then
4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 if test -n "$ac_ct_CC"; then
4584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4594 if test -n "$ac_ct_CC"; then
4595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 if test -z "$CC"; then
4618 if test -n "$ac_tool_prefix"; then
4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 if test -n "$CC"; then
4642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4652 if test -n "$CC"; then
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 if test -z "$CC"; then
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4672 if test -n "$CC"; then
4692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4714 if test -n "$CC"; then
4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 if test -z "$CC"; then
4725 if test -n "$ac_tool_prefix"; then
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4736 if test -n "$CC"; then
4751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4761 if test -n "$CC"; then
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 test -n "$CC" && break
4773 if test -z "$CC"; then
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 if test -n "$ac_ct_CC"; then
4800 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4810 if test -n "$ac_ct_CC"; then
4811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 test -n "$ac_ct_CC" && break
4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 if test -z "$CC"; then
4837 if test -n "$ac_tool_prefix"; then
4840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4846 if test -n "$CC"; then
4861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4871 if test -n "$CC"; then
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 if test -z "$ac_cv_prog_CC"; then
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 if test -n "$ac_ct_CC"; then
4906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4916 if test -n "$ac_ct_CC"; then
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4945 See \`config.log' for more details" "$LINENO" 5; }
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4951 for ac_option in --version -v -V -qversion -version; do
4957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4961 if test -s conftest.err; then
4967 rm -f conftest.er1 conftest.err
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 # Try to create an executable without -o first, disregard a.out.
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4990 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5003 rm -f $ac_rmfiles
5010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5017 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5020 # so that the user can short-circuit this test for compilers unknown to
5024 test -f "$ac_file" || continue
5038 # safe: cross compilers may not add the suffix if given an `-o'
5052 if test -z "$ac_file"
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5062 See \`config.log' for more details" "$LINENO" 5; }
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5073 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5094 test -f "$ac_file" || continue
5103 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5106 See \`config.log' for more details" "$LINENO" 5; }
5108 rm -f conftest conftest$ac_cv_exeext
5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5112 rm -f conftest.$ac_ext
5115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5161 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5164 If you meant to cross compile, use \`--host'.
5165 See \`config.log' for more details" "$LINENO" 5; }
5169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5172 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 rm -f conftest.o conftest.obj
5197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5205 test -f "$ac_file" || continue;
5216 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5219 See \`config.log' for more details" "$LINENO" 5; }
5221 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5228 printf %s "checking whether the compiler supports GNU C... " >&6; }
5233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5269 printf %s "checking whether $CC accepts -g... " >&6; }
5277 CFLAGS="-g"
5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 CFLAGS="-g"
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5339 CFLAGS="-g -O2"
5341 CFLAGS="-g"
5345 CFLAGS="-O2"
5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 for ac_arg in '' -std=gnu11
5372 rm -f core conftest.err conftest.$ac_objext conftest.beam
5375 rm -f conftest.$ac_ext
5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5411 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam
5421 rm -f conftest.$ac_ext
5427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5457 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5464 rm -f core conftest.err conftest.$ac_objext conftest.beam
5467 rm -f conftest.$ac_ext
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5504 if test -n "$CPP" && test -d "$CPP"; then
5507 if test -z "$CPP"; then
5513 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5519 # with a fresh cross-compiler works.
5520 # On the NeXT, cc -E runs the code through the compiler's parser,
5522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5534 rm -f conftest.err conftest.i conftest.$ac_ext
5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 rm -f conftest.err conftest.i conftest.$ac_ext
5555 rm -f conftest.i conftest.err conftest.$ac_ext
5569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5575 # with a fresh cross-compiler works.
5576 # On the NeXT, cc -E runs the code through the compiler's parser,
5578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5590 rm -f conftest.err conftest.i conftest.$ac_ext
5594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5607 rm -f conftest.err conftest.i conftest.$ac_ext
5611 rm -f conftest.i conftest.err conftest.$ac_ext
5616 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5619 See \`config.log' for more details" "$LINENO" 5; }
5624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5629 printf %s "checking for grep that handles long lines and -e... " >&6; }
5634 if test -z "$GREP"; then
5636 # Loop through the user's path and test for each of PROGNAME-LIST
5651 # Check for GNU ac_path_GREP and select it if it is found.
5652 # Check for GNU $ac_path_GREP
5653 case `"$ac_path_GREP" --version 2>&1` in
5654 *GNU*)
5665 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5668 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5674 test $ac_count -gt 10 && break
5676 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5684 if test -z "$ac_cv_path_GREP"; then
5692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5709 if test -z "$SED"; then
5711 # Loop through the user's path and test for each of PROGNAME-LIST
5726 # Check for GNU ac_path_SED and select it if it is found.
5727 # Check for GNU $ac_path_SED
5728 case `"$ac_path_SED" --version 2>&1` in
5729 *GNU*)
5740 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 if test $ac_count -gt ${ac_path_SED_max-0}; then
5749 test $ac_count -gt 10 && break
5751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5759 if test -z "$ac_cv_path_SED"; then
5767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5770 rm -f conftest.sed
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5778 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5779 then ac_cv_path_EGREP="$GREP -E"
5781 if test -z "$EGREP"; then
5783 # Loop through the user's path and test for each of PROGNAME-LIST
5798 # Check for GNU ac_path_EGREP and select it if it is found.
5799 # Check for GNU $ac_path_EGREP
5800 case `"$ac_path_EGREP" --version 2>&1` in
5801 *GNU*)
5815 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5821 test $ac_count -gt 10 && break
5823 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5831 if test -z "$ac_cv_path_EGREP"; then
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CC compiler name" >&5
5870 ac_cv_cc_name=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
5874 rm -f conftest.c conftest.out
5877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_name" >&5
5919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
5958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-cxx-main=<compiler>" >&5
6058 printf %s "checking for --with-cxx-main=<compiler>... " >&6; }
6060 # Check whether --with-cxx_main was given.
6072 if test -z "$CXX"
6084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_cxx_main" >&5
6088 if test -z "$CXX"
6091 gcc) if test -n "$ac_tool_prefix"; then
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6128 if test -n "$CXX"; then
6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 if test -z "$ac_cv_path_CXX"; then
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6176 if test -n "$ac_pt_CXX"; then
6177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 cc) if test -n "$ac_tool_prefix"; then
6202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6236 if test -n "$CXX"; then
6237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6246 if test -z "$ac_cv_path_CXX"; then
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6284 if test -n "$ac_pt_CXX"; then
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6307 clang|*/clang) if test -n "$ac_tool_prefix"; then
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6344 if test -n "$CXX"; then
6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6354 if test -z "$ac_cv_path_CXX"; then
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6392 if test -n "$ac_pt_CXX"; then
6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6415 icc|*/icc) if test -n "$ac_tool_prefix"; then
6418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6452 if test -n "$CXX"; then
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 if test -z "$ac_cv_path_CXX"; then
6466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6489 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6500 if test -n "$ac_pt_CXX"; then
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6529 if test -z "$CXX"
6531 if test -n "$ac_tool_prefix"; then
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6542 if test -n "$CXX"; then
6557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6567 if test -n "$CXX"; then
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 test -n "$CXX" && break
6579 if test -z "$CXX"; then
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 if test -n "$ac_ct_CXX"; then
6606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6616 if test -n "$ac_ct_CXX"; then
6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 test -n "$ac_ct_CXX" && break
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}:
6661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
6667 #undef linux
6679 x86_64-linux-gnu
6681 x86_64-linux-gnux32
6683 i386-linux-gnu
6686 aarch64_ilp32-linux-gnu
6688 aarch64-linux-gnu
6692 aarch64_be_ilp32-linux-gnu
6694 aarch64_be-linux-gnu
6697 alpha-linux-gnu
6700 arm-linux-gnueabihf
6702 armeb-linux-gnueabihf
6706 arm-linux-gnueabi
6708 armeb-linux-gnueabi
6711 hppa-linux-gnu
6713 ia64-linux-gnu
6715 m68k-linux-gnu
6718 mipsisa32r6el-linux-gnu
6720 mipsisa64r6el-linux-gnuabin32
6722 mipsisa64r6el-linux-gnuabi64
6728 mipsisa32r6-linux-gnu
6730 mipsisa64r6-linux-gnuabin32
6732 mipsisa64r6-linux-gnuabi64
6738 mipsel-linux-gnu
6740 mips64el-linux-gnuabin32
6742 mips64el-linux-gnuabi64
6748 mips-linux-gnu
6750 mips64-linux-gnuabin32
6752 mips64-linux-gnuabi64
6757 or1k-linux-gnu
6759 powerpc-linux-gnuspe
6762 powerpc64le-linux-gnu
6764 powerpc64-linux-gnu
6767 powerpc-linux-gnu
6769 s390x-linux-gnu
6771 s390-linux-gnu
6773 sh4-linux-gnu
6775 sparc64-linux-gnu
6777 sparc-linux-gnu
6780 riscv32-linux-gnu
6782 riscv64-linux-gnu
6791 x86_64-kfreebsd-gnu
6793 i386-kfreebsd-gnu
6798 i386-gnu
6805 wasm32-emscripten
6807 wasm32-wasi
6813 wasm64-emscripten
6815 wasm64-wasi
6826 PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
6828 linux-musl*)
6829 PLATFORM_TRIPLET=`echo "$PLATFORM_TRIPLET" | sed 's/linux-gnu/linux-musl/'`
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
6835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
6838 rm -f conftest.c conftest.out
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
6848 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
6852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
6865 MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
6869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PEP 11 support tier" >&5
6872 x86_64-*-linux-gnu/gcc) :
6874 x86_64-apple-darwin*/clang) :
6876 i686-pc-windows-msvc/msvc) :
6878 x86_64-pc-windows-msvc/msvc) :
6881 aarch64-apple-darwin*/clang) :
6883 aarch64-*-linux-gnu/gcc) :
6885 aarch64-*-linux-gnu/clang) :
6887 powerpc64le-*-linux-gnu/gcc) :
6889 x86_64-*-linux-gnu/clang) :
6892 aarch64-pc-windows-msvc/msvc) :
6894 armv7l-*-linux-gnueabihf/gcc) :
6896 powerpc64le-*-linux-gnu/clang) :
6898 s390x-*-linux-gnu/gcc) :
6900 wasm32-unknown-emscripten/clang) :
6902 wasm32-unknown-wasi/clang) :
6904 x86_64-*-freebsd*/clang) :
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $host/$ac_cv_cc_name has tier 1 (supported)" >&5
6916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $host/$ac_cv_cc_name has tier 2 (supported)" >&5
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $host/$ac_cv_cc_name has tier 3 (partially supported)" >&5
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $host/$ac_cv_cc_name is not supported" >&5
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-as-needed" >&5
6932 printf %s "checking for -Wl,--no-as-needed... " >&6; }
6939 as_fn_append LDFLAGS -Wl,--no-as-needed
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953 NO_AS_NEEDED="-Wl,--no-as-needed"
6959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_no_as_needed" >&5
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Android API level" >&5
6980 ANDROID_API_LEVEL=`sed -n -e '/__ANDROID_API__/d' -e 's/^android_api = //p' conftest.out`
6981 _arm_arch=`sed -n -e '/__ARM_ARCH/d' -e 's/^arm_arch = //p' conftest.out`
6982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ANDROID_API_LEVEL" >&5
6984 if test -z "$ANDROID_API_LEVEL"; then
6991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5
6996 BASECFLAGS="${BASECFLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16"
6997 LDFLAGS="${LDFLAGS} -march=armv7-a -Wl,--fix-cortex-a8"
7000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not Android" >&5
7003 rm -f conftest.c conftest.out
7007 atheos*|Linux*/1*) :
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-emscripten-target" >&5
7017 printf %s "checking for --with-emscripten-target... " >&6; }
7019 # Check whether --with-emscripten-target was given.
7031 browser-debug) :
7032 ac_sys_emscripten_target=browser-debug ;; #(
7033 node-debug) :
7034 ac_sys_emscripten_target=node-debug ;; #(
7036 as_fn_error $? "Invalid argument: --with-emscripten-target=browser|node" "$LINENO" 5
7042 as_fn_error $? "--with-emscripten-target only applies to Emscripten" "$LINENO" 5
7055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_sys_emscripten_target" >&5
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-wasm-dynamic-linking" >&5
7059 printf %s "checking for --enable-wasm-dynamic-linking... " >&6; }
7060 # Check whether --enable-wasm-dynamic-linking was given.
7070 as_fn_error $? "--enable-wasm-dynamic-linking only applies to Emscripten and WASI" "$LINENO" 5
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_wasm_dynamic_linking" >&5
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-wasm-pthreads" >&5
7084 printf %s "checking for --enable-wasm-pthreads... " >&6; }
7085 # Check whether --enable-wasm-pthreads was given.
7095 as_fn_error $? "--enable-wasm-pthreads only applies to Emscripten and WASI" "$LINENO" 5
7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_wasm_pthreads" >&5
7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
7109 printf %s "checking for --with-suffix... " >&6; }
7111 # Check whether --with-suffix was given.
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
7144 # Test whether we're running on a non-case-sensitive system, in which
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
7148 printf %s "checking for case-insensitive build directory... " >&6; }
7149 if test ! -d CaseSensitiveTestDir; then
7153 if test -d casesensitivetestdir && test -z "$EXEEXT"
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 cc|*/cc) CC="$CC -Ae";;
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
7175 if test -z "$LIBRARY"
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
7194 # on the system - some systems like version suffix, others don't
7214 # LINKCC is the command that links the python executable -- default is $(CC).
7219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
7221 if test -z "$LINKCC"
7227 # support -N.
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking EXPORTSYMS" >&5
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EXPORTSYMS" >&5
7251 # GNULD is set to "yes" if the GNU linker is used. If this goes wrong
7253 # distutils.unixccompiler to know if it should add --enable-new-dtags
7254 # to linker command lines, and failing to detect GNU ld simply results
7257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7258 printf %s "checking for GNU ld... " >&6; }
7261 ac_prog=`$CC -print-prog-name=ld`
7263 case `"$ac_prog" -V 2>&1 < /dev/null` in
7264 *GNU*)
7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
7272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
7273 printf %s "checking for --enable-shared... " >&6; }
7274 # Check whether --enable-shared was given.
7281 if test -z "$enable_shared"
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
7293 # --with-static-libpython
7295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-static-libpython" >&5
7296 printf %s "checking for --with-static-libpython... " >&6; }
7298 # Check whether --with-static-libpython was given.
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
7319 printf %s "checking for --enable-profiling... " >&6; }
7320 # Check whether --enable-profiling was given.
7328 CC="$CC -pg"
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
7349 BASECFLAGS="-pg $BASECFLAGS"
7350 LDFLAGS="-pg $LDFLAGS"
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
7358 # will find it with a -framework option). For this reason there is an
7384 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
7392 Linux*|GNU*|NetBSD*|FreeBSD*|DragonFly*|OpenBSD*|VxWorks*)
7394 BLDLIBRARY='-L. -lpython$(LDVERSION)'
7403 case `uname -m` in
7411 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
7416 BLDLIBRARY='-L. -lpython$(LDVERSION)'
7440 if test -z "$HOSTRUNNER"
7445 if test -n "$ac_tool_prefix"; then
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7482 if test -n "$NODE"; then
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NODE" >&5
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 if test -z "$ac_cv_path_NODE"; then
7496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7530 if test -n "$ac_pt_NODE"; then
7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_NODE" >&5
7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for node --experimental-wasm-bigint" >&5
7557 printf %s "checking for node --experimental-wasm-bigint... " >&6; }
7563 if $NODE -v --experimental-wasm-bigint > /dev/null 2>&1; then
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tool_node_wasm_bigint" >&5
7575 as_fn_append HOSTRUNNER " --experimental-wasm-bigint"
7582 as_fn_append HOSTRUNNER " --experimental-wasm-threads"
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for node --experimental-wasm-bulk-memory" >&5
7585 printf %s "checking for node --experimental-wasm-bulk-memory... " >&6; }
7591 if $NODE -v --experimental-wasm-bulk-memory > /dev/null 2>&1; then
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tool_node_wasm_bulk_memory" >&5
7603 as_fn_append HOSTRUNNER " --experimental-wasm-bulk-memory"
7611 as_fn_append HOSTRUNNER " --experimental-wasm-memory64"
7615 HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt) --mapdir /::$(srcdir) --' ;; #(
7622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking HOSTRUNNER" >&5
7624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HOSTRUNNER" >&5
7627 if test -n "$HOSTRUNNER"; then
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
7666 if test -n "$ac_tool_prefix"; then
7671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 if test -n "$AR"; then
7692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7702 if test -n "$AR"; then
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711 test -n "$AR" && break
7714 if test -z "$AR"; then
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7726 if test -n "$ac_ct_AR"; then
7741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7751 if test -n "$ac_ct_AR"; then
7752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7760 test -n "$ac_ct_AR" && break
7768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7779 if test -z "$ARFLAGS"
7784 if test -n "$ac_tool_prefix"; then
7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7795 if test -n "$READELF"; then
7810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7820 if test -n "$READELF"; then
7821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7829 test -n "$READELF" && break
7832 if test -z "$READELF"; then
7838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844 if test -n "$ac_ct_READELF"; then
7859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7869 if test -n "$ac_ct_READELF"; then
7870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878 test -n "$ac_ct_READELF" && break
7886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7906 # install -d does not work on HP-UX
7907 if test -z "$INSTALL"
7909 INSTALL="${srcdir}/install-sh -c"
7921 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
7928 printf %s "checking for a BSD-compatible install... " >&6; }
7929 if test -z "$INSTALL"; then
7962 # program-specific install script used by HP pwplus--don't use.
7965 rm -rf conftest.one conftest.two conftest.dir
7969 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
7970 test -s conftest.one && test -s conftest.two &&
7971 test -s conftest.dir/conftest.one &&
7972 test -s conftest.dir/conftest.two
7974 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
7987 rm -rf conftest.one conftest.two conftest.dir
8000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
8003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8007 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8009 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
8013 printf %s "checking for a race-free mkdir -p... " >&6; }
8014 if test -z "$MKDIR_P"; then
8031 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
8045 test -d ./--version && rmdir ./--version
8047 MKDIR_P="$ac_cv_path_mkdir -p"
8053 MKDIR_P="$ac_install_sh -d"
8056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8062 if test -z "$LN" ; then
8064 CYGWIN*) LN="ln -s";;
8073 # Check for --with-pydebug
8074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
8075 printf %s "checking for --with-pydebug... " >&6; }
8077 # Check whether --with-pydebug was given.
8086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8090 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 # Check for --with-trace-refs
8100 # --with-trace-refs
8101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-trace-refs" >&5
8102 printf %s "checking for --with-trace-refs... " >&6; }
8104 # Check whether --with-trace-refs was given.
8112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_trace_refs" >&5
8123 # Check for --enable-pystats
8124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-pystats" >&5
8125 printf %s "checking for --enable-pystats... " >&6; }
8126 # Check whether --enable-pystats was given.
8135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_pystats" >&5
8147 # Check for --with-assertions.
8150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-assertions" >&5
8151 printf %s "checking for --with-assertions... " >&6; }
8153 # Check whether --with-assertions was given.
8164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: implied by --with-pydebug" >&5
8169 printf "%s\n" "implied by --with-pydebug" >&6; }
8171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
8180 printf %s "checking for --enable-optimizations... " >&6; }
8181 # Check whether --enable-optimizations was given.
8188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8205 # who want LTO need to use --with-lto themselves.
8206 DEF_MAKE_ALL_RULE="profile-opt"
8211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-semantic-interposition" >&5
8212 printf %s "checking whether C compiler accepts -fno-semantic-interposition... " >&6; }
8219 CFLAGS="$CFLAGS -fno-semantic-interposition"
8220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_semantic_interposition" >&5
8245 CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition"
8246 LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition"
8254 elif test "$ac_sys_system" = "Emscripten" -o "$ac_sys_system" = "WASI"; then
8265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PROFILE_TASK" >&5
8267 if test -z "$PROFILE_TASK"
8269 PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
8271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
8274 # Make llvm-related checks work on systems where llvm tools are not installed with their
8276 # non-suffixed name in their versioned llvm directory.
8285 if test -L "${clang_bin}"
8295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
8296 printf %s "checking for --with-lto... " >&6; }
8298 # Check whether --with-lto was given.
8306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 LDFLAGS_NOLTO="-fno-lto"
8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
8342 printf %s "checking whether C compiler accepts -flto=thin... " >&6; }
8349 CFLAGS="$CFLAGS -flto=thin"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___flto_thin" >&5
8374 LDFLAGS_NOLTO="-flto=thin"
8376 LDFLAGS_NOLTO="-flto"
8380 if test -n "$ac_tool_prefix"; then
8381 # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args.
8382 set dummy ${ac_tool_prefix}llvm-ar; ac_word=$2
8383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8417 if test -n "$LLVM_AR"; then
8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LLVM_AR" >&5
8421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 if test -z "$ac_cv_path_LLVM_AR"; then
8429 # Extract the first word of "llvm-ar", so it can be a program name with args.
8430 set dummy llvm-ar; ac_word=$2
8431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8465 if test -n "$ac_pt_LLVM_AR"; then
8466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_AR" >&5
8469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8489 if test -n "${LLVM_AR}" -a -x "${LLVM_AR}"
8493 LLVM_AR_FOUND="not-found"
8495 if test "$ac_sys_system" = "Darwin" -a "${LLVM_AR_FOUND}" = "not-found"
8497 # The Apple-supplied ar in Xcode or the Command Line Tools is apparently sufficient
8498 found_llvm_ar=`/usr/bin/xcrun -find ar 2>/dev/null`
8499 if test -n "${found_llvm_ar}"
8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: llvm-ar found via xcrun: ${LLVM_AR}" >&5
8504 printf "%s\n" "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
8507 if test $LLVM_AR_FOUND = not-found
8510 as_fn_error $? "llvm-ar is required for a --with-lto build with clang but could not be found." "$LINENO" 5
8520 LTOFLAGS="-flto -Wl,-export_dynamic"
8521 LTOCFLAGS="-flto"
8523 LTOFLAGS="-flto=${Py_LTO_POLICY} -Wl,-export_dynamic"
8524 LTOCFLAGS="-flto=${Py_LTO_POLICY}"
8530 LTOFLAGS="-flto"
8532 LTOFLAGS="-flto=${Py_LTO_POLICY}"
8541 LTOFLAGS="-flto"
8542 LTOCFLAGS="-flto"
8549 LDFLAGS_NOLTO="-fno-lto"
8552 LTOFLAGS="-flto -Wl,-export_dynamic"
8553 LTOCFLAGS="-flto"
8556 LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
8564 # bpo-30345: Add -g to LDFLAGS when compiling with LTO
8566 LTOFLAGS="$LTOFLAGS -g"
8569 CFLAGS_NODIST="$CFLAGS_NODIST ${LTOCFLAGS-$LTOFLAGS}"
8580 if test -n "$ac_tool_prefix"; then
8581 # Extract the first word of "${ac_tool_prefix}llvm-profdata", so it can be a program name with args.
8582 set dummy ${ac_tool_prefix}llvm-profdata; ac_word=$2
8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8617 if test -n "$LLVM_PROFDATA"; then
8618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
8621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8627 if test -z "$ac_cv_path_LLVM_PROFDATA"; then
8629 # Extract the first word of "llvm-profdata", so it can be a program name with args.
8630 set dummy llvm-profdata; ac_word=$2
8631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8665 if test -n "$ac_pt_LLVM_PROFDATA"; then
8666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
8669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8689 if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
8693 LLVM_PROF_FOUND="not-found"
8695 if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
8697 found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
8698 if test -n "${found_llvm_profdata}"
8700 # llvm-profdata isn't directly in $PATH in some cases.
8702 LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
8704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
8705 printf "%s\n" "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
8712 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
8713 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
8714 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
8715 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
8716 if test $LLVM_PROF_FOUND = not-found
8721 as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5
8728 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
8729 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
8730 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
8731 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
8732 if test "${LLVM_PROF_FOUND}" = "not-found"
8737 as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5
8742 PGO_PROF_GEN_FLAG="-fprofile-generate"
8743 PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
8750 PGO_PROF_GEN_FLAG="-prof-gen"
8751 PGO_PROF_USE_FLAG="-prof-use"
8761 # ------------------------
8762 # (The following bit of code is complicated enough - please keep things
8763 # indented properly. Just pretend you're editing Python code. ;-)
8775 if $CC --version 2>&1 | grep -q clang
8783 # Check if CC supports -Og optimization level
8785 CFLAGS="-Og"
8786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Og optimization level" >&5
8787 printf %s "checking if $CC supports -Og optimization level... " >&6; }
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_supports_og" >&5
8824 PYDEBUG_CFLAGS="-O0"
8827 PYDEBUG_CFLAGS="-Og"
8834 if test "${OPT-unset}" = "unset"
8838 # For gcc 4.x we need to use -fwrapv so lets check if its supported
8839 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
8840 WRAP="-fwrapv"
8843 if test -n "${cc_is_clang}"
8845 # Clang also needs -fwrapv
8846 WRAP="-fwrapv"
8847 # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
8849 CFLAGS_ALIASING="-fno-strict-aliasing"
8855 OPT="-g $PYDEBUG_CFLAGS -Wall"
8857 OPT="-g $WRAP -O3 -Wall"
8861 OPT="-O3 -Wall"
8866 SCO_SV*) OPT="$OPT -m486 -DSCO5"
8872 OPT="-O"
8888 as_fn_append LDFLAGS_NODIST " -sALLOW_MEMORY_GROWTH -sTOTAL_MEMORY=20971520"
8890 as_fn_append LDFLAGS_NODIST " -sWASM_BIGINT"
8892 as_fn_append LDFLAGS_NODIST " -sFORCE_FILESYSTEM -lidbfs.js -lnodefs.js -lproxyfs.js -lworkerfs.js"
8897 as_fn_append LINKFORSHARED " -sMAIN_MODULE"
8904 as_fn_append CFLAGS_NODIST " -pthread"
8905 as_fn_append LDFLAGS_NODIST " -sUSE_PTHREADS"
8906 as_fn_append LINKFORSHARED " -sPROXY_TO_PTHREAD"
8913 if test "x$ac_sys_emscripten_target" = xbrowser-debug
8917 as_fn_append LINKFORSHARED " --preload-file=\$(WASM_ASSETS_DIR)"
8920 WASM_LINKFORSHARED_DEBUG="-gsource-map --emit-symbol-map"
8924 if test "x$ac_sys_emscripten_target" = xnode-debug
8928 as_fn_append LDFLAGS_NODIST " -sALLOW_MEMORY_GROWTH -sNODERAWFS"
8929 as_fn_append LINKFORSHARED " -sEXIT_RUNTIME"
8930 WASM_LINKFORSHARED_DEBUG="-gseparate-dwarf --emit-symbol-map"
8940 as_fn_append LDFLAGS_NODIST " -sASSERTIONS"
8945 as_fn_append LINKFORSHARED " -O2 -g0"
8960 LIBS="$LIBS -lwasi-emulated-signal -lwasi-emulated-getpid -lwasi-emulated-process-clocks"
8963 as_fn_append LDFLAGS_NODIST " -z stack-size=524288 -Wl,--stack-first -Wl,--initial-memory=10485760"
8989 # The -arch flags for universal builds on macOS
8998 CFLAGS_NODIST="$CFLAGS_NODIST -std=c11"
9002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can add -Wextra" >&5
9003 printf %s "checking if we can add -Wextra... " >&6; }
9010 as_fn_append CFLAGS "-Wextra -Werror"
9011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_extra_warning" >&5
9038 CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
9043 # -fno-strict-aliasing on versions of GCC that support but produce
9046 CC="$CC -fno-strict-aliasing"
9048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and needs -fno-strict-aliasing" >&5
9049 printf %s "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6; }
9054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070 CC="$ac_save_cc -fstrict-aliasing"
9071 CFLAGS="$CFLAGS -Werror -Wstrict-aliasing"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
9110 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC unused-result warning" >&5
9121 printf %s "checking if we can disable $CC unused-result warning... " >&6; }
9128 as_fn_append CFLAGS "-Wunused-result -Werror"
9129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_result_warning" >&5
9159 BASECFLAGS="$BASECFLAGS -Wno-unused-result"
9160 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-result"
9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC unused-parameter warning" >&5
9166 printf %s "checking if we can disable $CC unused-parameter warning... " >&6; }
9173 as_fn_append CFLAGS "-Wunused-parameter -Werror"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_parameter_warning" >&5
9201 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"
9206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC missing-field-initializers warning" >&5
9207 printf %s "checking if we can disable $CC missing-field-initializers warning... " >&6; }
9214 as_fn_append CFLAGS "-Wmissing-field-initializers -Werror"
9215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_missing_field_initializers_warning" >&5
9242 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can enable $CC sign-compare warning" >&5
9248 printf %s "checking if we can enable $CC sign-compare warning... " >&6; }
9255 as_fn_append CFLAGS "-Wsign-compare -Werror"
9256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_sign_compare_warning" >&5
9283 BASECFLAGS="$BASECFLAGS -Wsign-compare"
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can enable $CC unreachable-code warning" >&5
9289 printf %s "checking if we can enable $CC unreachable-code warning... " >&6; }
9296 as_fn_append CFLAGS "-Wunreachable-code -Werror"
9297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_unreachable_code_warning" >&5
9323 # results in non-standard code paths.
9331 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
9333 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
9340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can enable $CC strict-prototypes warning" >&5
9341 printf %s "checking if we can enable $CC strict-prototypes warning... " >&6; }
9348 as_fn_append CFLAGS "-Wstrict-prototypes -Werror"
9349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_strict_prototypes_warning" >&5
9376 CFLAGS_NODIST="$CFLAGS_NODIST -Wstrict-prototypes"
9380 CC="$CC -Werror=implicit-function-declaration"
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can make implicit function declaration an error in $CC" >&5
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_implicit_function_declaration_error" >&5
9418 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
9422 CC="$CC -fvisibility=hidden"
9423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can use visibility in $CC" >&5
9429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_visibility" >&5
9460 CFLAGS_NODIST="$CFLAGS_NODIST -fvisibility=hidden"
9463 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
9468 BASECFLAGS="$BASECFLAGS -mieee"
9474 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
9478 # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
9479 # used to be here, but non-Apple gcc doesn't accept them.
9482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
9489 CC=gcc-4.0
9490 CPP=cpp-4.0
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9501 32-bit)
9502 UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
9506 64-bit)
9507 UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
9512 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
9513 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
9514 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
9517 UNIVERSAL_ARCH_FLAGS="-arch arm64 -arch x86_64"
9519 LIPO_INTEL64_FLAGS="-extract x86_64"
9523 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
9524 LIPO_32BIT_FLAGS="-extract i386"
9525 ARCH_RUN_32BIT="/usr/bin/arch -i386"
9527 intel-32)
9528 UNIVERSAL_ARCH_FLAGS="-arch i386"
9532 intel-64)
9533 UNIVERSAL_ARCH_FLAGS="-arch x86_64"
9537 3-way)
9538 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
9539 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
9540 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
9543 as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|3-way" "$LINENO" 5
9549 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
9550 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
9551 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
9571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
9573 cur_target_major=`sw_vers -productVersion | \
9574 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
9575 cur_target_minor=`sw_vers -productVersion | \
9576 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
9578 if test ${cur_target_major} -eq 10 && \
9579 test ${cur_target_minor} -ge 3 && \
9580 test ${cur_target_minor} -le 5
9587 all|3-way|intel|64-bit)
9600 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if specified universal architectures work" >&5
9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 as_fn_error $? "check config.log and use the '--with-universal-archs' option" "$LINENO" 5
9635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9646 BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
9649 BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
9657 # ICC needs -fp-model strict or floats behave badly
9658 CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
9661 CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
9668 OPT="-DNDEBUG $OPT"
9680 # options before we can check whether -Kpthread improves anything.
9681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >&5
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
9732 # -Kpthread, if available, provides the right #defines
9734 # Some compilers won't report that they do not support -Kpthread,
9737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
9738 printf %s "checking whether $CC accepts -Kpthread... " >&6; }
9744 CC="$CC -Kpthread"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
9782 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
9784 # -Kthread, if available, provides the right #defines
9786 # Some compilers won't report that they do not support -Kthread,
9789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
9790 printf %s "checking whether $CC accepts -Kthread... " >&6; }
9796 CC="$CC -Kthread"
9801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
9834 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
9836 # -pthread, if available, provides the right #defines
9838 # Some compilers won't report that they do not support -pthread,
9841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
9842 printf %s "checking whether $CC accepts -pthread... " >&6; }
9848 CC="$CC -pthread"
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
9889 if test ! -z "$CXX"
9891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread support" >&5
9897 CXX="$CXX -Kpthread"
9901 CXX="$CXX -Kthread"
9905 CXX="$CXX -pthread"
9912 $CXX -c conftest.$ac_ext 2>&5
9913 if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
9914 && test -s conftest$ac_exeext && ./conftest$ac_exeext
9920 rm -fr conftest*
9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
10029 ac_fn_c_check_header_compile "$LINENO" "linux/auxvec.h" "ac_cv_header_linux_auxvec_h" "$ac_includes_default"
10041 ac_fn_c_check_header_compile "$LINENO" "linux/memfd.h" "ac_cv_header_linux_memfd_h" "$ac_includes_default"
10047 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "$ac_includes_default"
10053 ac_fn_c_check_header_compile "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default"
10059 ac_fn_c_check_header_compile "$LINENO" "linux/tipc.h" "ac_cv_header_linux_tipc_h" "$ac_includes_default"
10065 ac_fn_c_check_header_compile "$LINENO" "linux/wait.h" "ac_cv_header_linux_wait_h" "$ac_includes_default"
10417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
10423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10458 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10484 if test -z "$ac_lib"; then
10487 ac_res=-l$ac_lib
10488 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10544 if test -z "$ac_lib"; then
10547 ac_res=-l$ac_lib
10548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10602 # bluetooth/bluetooth.h has been known to not compile with -std=c99.
10603 # http://permalink.gmane.org/gmane.linux.bluez.kernel/22294
10605 CFLAGS="-std=c99 $CFLAGS"
10631 # On Linux, netlink.h requires asm/types.h
10632 ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "
10648 # On Linux, qrtr.h requires asm/types.h
10649 ac_fn_c_check_header_compile "$LINENO" "linux/qrtr.h" "ac_cv_header_linux_qrtr_h" "
10665 ac_fn_c_check_header_compile "$LINENO" "linux/vm_sockets.h" "ac_cv_header_linux_vm_sockets_h" "
10678 # On Linux, can.h, can/bcm.h, can/j1939.h, can/raw.h require sys/socket.h
10680 ac_fn_c_check_header_compile "$LINENO" "linux/can.h" "ac_cv_header_linux_can_h" "
10691 ac_fn_c_check_header_compile "$LINENO" "linux/can/bcm.h" "ac_cv_header_linux_can_bcm_h" "
10702 ac_fn_c_check_header_compile "$LINENO" "linux/can/j1939.h" "ac_cv_header_linux_can_j1939_h" "
10713 ac_fn_c_check_header_compile "$LINENO" "linux/can/raw.h" "ac_cv_header_linux_can_raw_h" "
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
10746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 rm -rf conftest*
10762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_clock_t_time_h" >&5
10773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
10780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_makedev" >&5
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for le64toh" >&5
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_le64toh" >&5
10873 # Don't use largefile support for GNU/Hurd
10874 case $ac_sys_system in GNU*)
10931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
10980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10992 rm -rf conftest*
10995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11041 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11044 See \`config.log' for more details" "$LINENO" 5; }
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
11060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11074 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11077 See \`config.log' for more details" "$LINENO" 5; }
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of long" >&5
11106 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11109 See \`config.log' for more details" "$LINENO" 5; }
11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_long" >&5
11125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
11139 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11142 See \`config.log' for more details" "$LINENO" 5; }
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
11158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11175 See \`config.log' for more details" "$LINENO" 5; }
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
11191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
11205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11208 See \`config.log' for more details" "$LINENO" 5; }
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
11224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
11238 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11241 See \`config.log' for more details" "$LINENO" 5; }
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
11257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
11271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11274 See \`config.log' for more details" "$LINENO" 5; }
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
11290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
11304 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11307 See \`config.log' for more details" "$LINENO" 5; }
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
11323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
11337 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11340 See \`config.log' for more details" "$LINENO" 5; }
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of size_t" >&5
11369 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11372 See \`config.log' for more details" "$LINENO" 5; }
11379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_size_t" >&5
11388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
11402 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11405 See \`config.log' for more details" "$LINENO" 5; }
11412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
11421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
11435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11438 See \`config.log' for more details" "$LINENO" 5; }
11445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
11487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
11499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
11513 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11516 See \`config.log' for more details" "$LINENO" 5; }
11523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
11533 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
11547 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11550 See \`config.log' for more details" "$LINENO" 5; }
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
11567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
11586 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11589 See \`config.log' for more details" "$LINENO" 5; }
11596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
11605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
11607 if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
11608 "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
11659 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11662 See \`config.log' for more details" "$LINENO" 5; }
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
11681 then CC="$CC -Kpthread"
11683 then CC="$CC -Kthread"
11685 then CC="$CC -pthread"
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
11695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pthread_t" >&5
11723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
11742 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11745 See \`config.log' for more details" "$LINENO" 5; }
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
11766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_key_t" >&5
11781 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11784 See \`config.log' for more details" "$LINENO" 5; }
11791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_key_t" >&5
11799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_key_t is compatible with int" >&5
11806 if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_key_t_is_arithmetic_type" >&5
11847 OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
11858 LIBTOOL_CRUFT="-framework System -lcc_dynamic"
11862 LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
11864 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
11865 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
11867 gcc_version=`gcc -dumpversion`
11870 LIBTOOL_CRUFT="-lcc_dynamic"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11933 LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
11934 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
11935 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
11937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
11938 printf %s "checking for --enable-framework... " >&6; }
11941 BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
11942 # -F. is needed to allow linking to the framework while
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11951 as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only --enable-framework instead" "$LINENO" 5
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
11969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-address-sanitizer" >&5
11975 printf %s "checking for --with-address-sanitizer... " >&6; }
11977 # Check whether --with-address_sanitizer was given.
11981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
11983 BASECFLAGS="-fsanitize=address -fno-omit-frame-pointer $BASECFLAGS"
11984 LDFLAGS="-fsanitize=address $LDFLAGS"
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-memory-sanitizer" >&5
11995 printf %s "checking for --with-memory-sanitizer... " >&6; }
11997 # Check whether --with-memory_sanitizer was given.
12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
12003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=memory" >&5
12004 printf %s "checking whether C compiler accepts -fsanitize=memory... " >&6; }
12011 CFLAGS="$CFLAGS -fsanitize=memory"
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_memory" >&5
12037 BASECFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer $BASECFLAGS"
12038 LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 $LDFLAGS"
12048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-undefined-behavior-sanitizer" >&5
12054 printf %s "checking for --with-undefined-behavior-sanitizer... " >&6; }
12056 # Check whether --with-undefined_behavior_sanitizer was given.
12060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
12062 BASECFLAGS="-fsanitize=undefined $BASECFLAGS"
12063 LDFLAGS="-fsanitize=undefined $LDFLAGS"
12068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12084 # -- usually .so, .sl on HP-UX, .dll on Cygwin
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the extension of shared libraries" >&5
12087 if test -z "$SHLIB_SUFFIX"; then
12090 case `uname -m` in
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHLIB_SUFFIX" >&5
12103 # -- "cc -G" on SunOS 5.x.
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
12108 if test -z "$LDSHARED"
12112 BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
12113 LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
12117 LDSHARED='$(CC) -shared'
12118 LDCXXSHARED='$(CXX) -shared'
12120 LDSHARED='$(CC) -G'
12121 LDCXXSHARED='$(CXX) -G'
12125 LDSHARED='$(CC) -shared'
12126 LDCXXSHARED='$(CXX) -shared'
12128 LDSHARED='$(CC) -b'
12129 LDCXXSHARED='$(CXX) -b'
12132 LDSHARED='$(CC) -bundle'
12133 LDCXXSHARED='$(CXX) -bundle'
12141 LDSHARED="$LDSHARED -undefined suppress"
12142 LDCXXSHARED="$LDCXXSHARED -undefined suppress"
12145 LDSHARED='$(CC) -bundle'
12146 LDCXXSHARED='$(CXX) -bundle'
12153 # No framework, use the Python app as bundle-loader
12154 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
12155 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
12156 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
12159 # Use -undefined dynamic_lookup whenever possible (10.3 and later).
12163 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
12165 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
12166 if test ${dep_target_major} -eq 10 && \
12167 test ${dep_target_minor} -le 2
12173 LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
12174 LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
12179 LDSHARED='$(CC) -shared'
12180 LDCXXSHARED='$(CXX) -shared';;
12181 Linux*|GNU*|QNX*|VxWorks*|Haiku*)
12182 LDSHARED='$(CC) -shared'
12183 LDCXXSHARED='$(CXX) -shared';;
12185 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
12187 LDSHARED='$(CC) -shared'
12188 LDCXXSHARED='$(CXX) -shared'
12190 LDSHARED="ld -Bshareable"
12193 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
12195 LDSHARED='$(CC) -shared $(CCSHARED)'
12196 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
12198 case `uname -r` in
12199 [01].* | 2.[0-7] | 2.[0-7].*)
12200 LDSHARED="ld -Bshareable ${LDFLAGS}"
12203 LDSHARED='$(CC) -shared $(CCSHARED)'
12204 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
12209 LDSHARED='$(CC) -shared'
12210 LDCXXSHARED='$(CXX) -shared';;
12213 LDSHARED='$(CC) -shared'
12214 LDCXXSHARED='$(CXX) -shared'
12216 LDSHARED='$(CC) -G'
12217 LDCXXSHARED='$(CXX) -G'
12220 LDSHARED='$(CC) -Wl,-G,-Bexport'
12221 LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
12229 LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
12230 LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
12235 if test "$enable_wasm_dynamic_linking" = "yes" -a "$ac_sys_system" = "Emscripten"; then
12236 BLDSHARED='$(CC) -shared -sSIDE_MODULE=1'
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
12241 LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
12243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking BLDSHARED flags" >&5
12245 BLDSHARED=${BLDSHARED-$LDSHARED}
12246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BLDSHARED" >&5
12250 # library (module) -- this is only needed for a few systems
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
12253 if test -z "$CCSHARED"
12257 then CCSHARED="-fPIC";
12258 elif test `uname -p` = sparc;
12259 then CCSHARED="-xcode=pic32";
12260 else CCSHARED="-Kpic";
12263 then CCSHARED="-fPIC";
12266 Linux-android*) ;;
12267 Linux*|GNU*) CCSHARED="-fPIC";;
12272 CCSHARED="-fPIC"
12275 FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
12276 Haiku*) CCSHARED="-fPIC";;
12279 then CCSHARED="-fPIC"
12280 else CCSHARED="-KPIC"
12284 then CCSHARED="-fPIC"
12285 else CCSHARED="-Kpic -belf"
12288 CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic"
12291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
12294 # the python executable -- this is only needed for a few systems
12295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
12297 if test -z "$LINKFORSHARED"
12300 AIX*) LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
12302 LINKFORSHARED="-Wl,-E -Wl,+s";;
12303 # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
12304 Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
12305 Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
12306 # -u libsys_s pulls in all symbols in libsys
12308 LINKFORSHARED="$extra_undefs -framework CoreFoundation"
12320 LINKFORSHARED="-Wl,-stack_size,$stack_size $LINKFORSHARED"
12331 OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
12332 SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
12333 ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
12335 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
12337 LINKFORSHARED="-Wl,--export-dynamic"
12341 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
12343 LINKFORSHARED="-Xlinker --export-dynamic"
12349 LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
12352 # -Wl,-E causes the symbols to be added to the dynamic
12354 # is loaded. -N 2048K causes the stack size to be set
12357 LINKFORSHARED='-Wl,-E -N 2048K';;
12359 LINKFORSHARED='-Wl,-export-dynamic';;
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
12367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
12391 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
12392 # library (with --enable-shared).
12400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
12406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5
12412 printf %s "checking for sendfile in -lsendfile... " >&6; }
12418 LIBS="-lsendfile $LIBS"
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" >&5
12450 LIBS="-lsendfile $LIBS"
12454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12455 printf %s "checking for dlopen in -ldl... " >&6; }
12461 LIBS="-ldl $LIBS"
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12493 LIBS="-ldl $LIBS"
12497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12498 printf %s "checking for shl_load in -ldld... " >&6; }
12504 LIBS="-ldld $LIBS"
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12536 LIBS="-ldld $LIBS"
12539 # Dynamic linking for HP-UX
12566 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
12567 LIBUUID_LIBS=${LIBUUID_LIBS-""}
12582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBUUID" >&5
12585 if test -n "$LIBUUID_CFLAGS"; then
12587 elif test -n "$PKG_CONFIG"; then
12588 if test -n "$PKG_CONFIG" && \
12589 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.20\""; } >&5
12590 ($PKG_CONFIG --exists --print-errors "uuid >= 2.20") 2>&5
12592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12594 pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 2.20" 2>/dev/null`
12602 if test -n "$LIBUUID_LIBS"; then
12604 elif test -n "$PKG_CONFIG"; then
12605 if test -n "$PKG_CONFIG" && \
12606 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.20\""; } >&5
12607 ($PKG_CONFIG --exists --print-errors "uuid >= 2.20") 2>&5
12609 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12611 pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid >= 2.20" 2>/dev/null`
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12626 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12632 LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.20" 2>&1`
12634 LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.20" 2>&1`
12636 # Put the nasty error message in config.log where it belongs
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
12657 printf %s "checking for uuid_generate_time in -luuid... " >&6; }
12663 LIBS="-luuid $LIBS"
12664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
12699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe in -luuid" >&5
12700 printf %s "checking for uuid_generate_time_safe in -luuid... " >&6; }
12706 LIBS="-luuid $LIBS"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time_safe" >&5
12751 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
12752 LIBUUID_LIBS=${LIBUUID_LIBS-"-luuid"}
12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
12785 printf %s "checking for uuid_generate_time in -luuid... " >&6; }
12791 LIBS="-luuid $LIBS"
12792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
12827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe in -luuid" >&5
12828 printf %s "checking for uuid_generate_time_safe in -luuid... " >&6; }
12834 LIBS="-luuid $LIBS"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time_safe" >&5
12879 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
12880 LIBUUID_LIBS=${LIBUUID_LIBS-"-luuid"}
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12923 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
12924 LIBUUID_LIBS=${LIBUUID_LIBS-""}
12942 # pthread (first!) on Linux
12943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
12950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 if test -z "$ac_lib"; then
12970 ac_res=-l$ac_lib
12971 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
13005 printf %s "checking for textdomain in -lintl... " >&6; }
13011 LIBS="-lintl $LIBS"
13012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
13044 LIBS="-lintl $LIBS"
13050 AIX*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
13052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the system builddate" >&5
13087 AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F: '{ print $NF }')
13091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AIX_BUILDDATE" >&5
13098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking aligned memory access is required" >&5
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_aligned_required" >&5
13147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-hash-algorithm" >&5
13148 printf %s "checking for --with-hash-algorithm... " >&6; }
13150 # Check whether --with-hash_algorithm was given.
13154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
13175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: default" >&5
13182 if test -z "$1"; then
13189 as_fn_error $? "--with-tzpath must contain only absolute paths, not $1" "$LINENO" 5
13195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-tzpath" >&5
13196 printf %s "checking for --with-tzpath... " >&6; }
13198 # Check whether --with-tzpath was given.
13204 as_fn_error $? "--with-tzpath requires a value" "$LINENO" 5
13209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
13216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$TZPATH\"" >&5
13222 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
13223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
13224 printf %s "checking for t_open in -lnsl... " >&6; }
13230 LIBS="-lnsl $LIBS"
13231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
13260 LIBS="-lnsl $LIBS"
13263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
13264 printf %s "checking for socket in -lsocket... " >&6; }
13270 LIBS="-lsocket $LIBS $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
13300 LIBS="-lsocket $LIBS"
13306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5
13307 printf %s "checking for socket in -lnetwork... " >&6; }
13313 LIBS="-lnetwork $LIBS $LIBS"
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5
13343 LIBS="-lnetwork $LIBS"
13349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
13350 printf %s "checking for --with-libs... " >&6; }
13352 # Check whether --with-libs was given.
13356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
13361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
13368 printf %s "checking for --with-system-expat... " >&6; }
13370 # Check whether --with-system_expat was given.
13379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
13385 LIBEXPAT_CFLAGS=${LIBEXPAT_CFLAGS-""}
13386 LIBEXPAT_LDFLAGS=${LIBEXPAT_LDFLAGS-"-lexpat"}
13391 LIBEXPAT_CFLAGS="-I\$(srcdir)/Modules/expat"
13392 LIBEXPAT_LDFLAGS="-lm \$(LIBEXPAT_A)"
13402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-system-ffi" >&5
13403 printf %s "checking for --with-system-ffi... " >&6; }
13405 # Check whether --with-system_ffi was given.
13421 as_fn_error $? "--with-system-ffi accepts no arguments" "$LINENO" 5
13424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
13427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with(out)-system-ffi is ignored on this platform" >&5
13432 printf "%s\n" "$as_me: WARNING: --with(out)-system-ffi is ignored on this platform" >&2;}
13437 if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
13438 LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
13446 printf %s "checking for --with-system-libmpdec... " >&6; }
13448 # Check whether --with-system_libmpdec was given.
13456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
13462 LIBMPDEC_CFLAGS=${LIBMPDEC_CFLAGS-""}
13463 LIBMPDEC_LDFLAGS=${LIBMPDEC_LDFLAGS-"-lmpdec"}
13468 LIBMPDEC_CFLAGS="-I\$(srcdir)/Modules/_decimal/libmpdec"
13469 LIBMPDEC_LDFLAGS="-lm \$(LIBMPDEC_A)"
13475 as_fn_append LIBMPDEC_CFLAGS " -DTEST_COVERAGE"
13485 # Check whether _decimal should use a coroutine-local or thread-local context
13486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-decimal-contextvar" >&5
13487 printf %s "checking for --with-decimal-contextvar... " >&6; }
13489 # Check whether --with-decimal_contextvar was given.
13505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_decimal_contextvar" >&5
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for decimal libmpdec machine" >&5
13526 elif test $ac_cv_sizeof_size_t -eq 8; then
13534 elif test $ac_cv_sizeof_size_t -eq 4; then
13535 if test "$ac_cv_gcc_asm_for_x87" = yes -a "$libmpdec_system" != sunos; then
13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libmpdec_machine" >&5
13554 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_64=1 -DASM=1" ;; #(
13556 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_64=1 -DANSI=1 -DHAVE_UINT128_T=1" ;; #(
13558 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_64=1 -DANSI=1" ;; #(
13560 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_32=1 -DANSI=1 -DASM=1 -Wno-unknown-pragmas" ;; #(
13562 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_32=1 -DANSI=1" ;; #(
13563 ansi-legacy) :
13564 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_32=1 -DANSI=1 -DLEGACY_COMPILER=1" ;; #(
13566 as_fn_append LIBMPDEC_CFLAGS " -DUNIVERSAL=1" ;; #(
13574 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
13575 # https://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
13576 as_fn_append LIBMPDEC_CFLAGS " -fno-ipa-pure-const"
13581 # https://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
13582 as_fn_append LIBMPDEC_CFLAGS " -U_FORTIFY_SOURCE"
13588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBNSL" >&5
13591 if test -n "$LIBNSL_CFLAGS"; then
13593 elif test -n "$PKG_CONFIG"; then
13594 if test -n "$PKG_CONFIG" && \
13595 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnsl\""; } >&5
13596 ($PKG_CONFIG --exists --print-errors "libnsl") 2>&5
13598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13600 pkg_cv_LIBNSL_CFLAGS=`$PKG_CONFIG --cflags "libnsl" 2>/dev/null`
13608 if test -n "$LIBNSL_LIBS"; then
13610 elif test -n "$PKG_CONFIG"; then
13611 if test -n "$PKG_CONFIG" && \
13612 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnsl\""; } >&5
13613 ($PKG_CONFIG --exists --print-errors "libnsl") 2>&5
13615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13617 pkg_cv_LIBNSL_LIBS=`$PKG_CONFIG --libs "libnsl" 2>/dev/null`
13629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13638 LIBNSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnsl" 2>&1`
13640 LIBNSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnsl" 2>&1`
13642 # Put the nasty error message in config.log where it belongs
13646 LIBNSL_CFLAGS=${LIBNSL_CFLAGS-""}
13653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yp_match" >&5
13660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 if test -z "$ac_lib"; then
13680 ac_res=-l$ac_lib
13681 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_match" >&5
13730 LIBNSL_LIBS=${LIBNSL_LIBS-$libnsl}
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13736 LIBNSL_CFLAGS=${LIBNSL_CFLAGS-""}
13743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing yp_match" >&5
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13767 if test -z "$ac_lib"; then
13770 ac_res=-l$ac_lib
13771 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yp_match" >&5
13820 LIBNSL_LIBS=${LIBNSL_LIBS-$libnsl}
13825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13859 OSSAUDIODEV_LIBS="-lossaudio" ;; #(
13868 if test "$ac_sys_system" = "Emscripten" -a -z "$LIBSQLITE3_CFLAGS" -a -z "$LIBSQLITE3_LIBS"
13871 LIBSQLITE3_CFLAGS="-sUSE_SQLITE3"
13872 LIBSQLITE3_LIBS="-sUSE_SQLITE3"
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBSQLITE3" >&5
13884 if test -n "$LIBSQLITE3_CFLAGS"; then
13886 elif test -n "$PKG_CONFIG"; then
13887 if test -n "$PKG_CONFIG" && \
13888 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.7.15\""; } >&5
13889 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.7.15") 2>&5
13891 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13893 pkg_cv_LIBSQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.7.15" 2>/dev/null`
13901 if test -n "$LIBSQLITE3_LIBS"; then
13903 elif test -n "$PKG_CONFIG"; then
13904 if test -n "$PKG_CONFIG" && \
13905 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.7.15\""; } >&5
13906 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.7.15") 2>&5
13908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13910 pkg_cv_LIBSQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.7.15" 2>/dev/null`
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13931 LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= 3.7.15" 2>&1`
13933 LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= 3.7.15" 2>&1`
13935 # Put the nasty error message in config.log where it belongs
13939 LIBSQLITE3_CFLAGS=${LIBSQLITE3_CFLAGS-""}
13940 LIBSQLITE3_LIBS=${LIBSQLITE3_LIBS-"-lsqlite3"}
13944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13947 LIBSQLITE3_CFLAGS=${LIBSQLITE3_CFLAGS-""}
13948 LIBSQLITE3_LIBS=${LIBSQLITE3_LIBS-"-lsqlite3"}
13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13958 as_fn_append LIBSQLITE3_CFLAGS ' -I$(srcdir)/Modules/_sqlite'
13977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_bind_double in -lsqlite3" >&5
14001 printf %s "checking for sqlite3_bind_double in -lsqlite3... " >&6; }
14007 LIBS="-lsqlite3 $LIBS"
14008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_bind_double" >&5
14039 LIBS="-lsqlite3 $LIBS"
14049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_decltype in -lsqlite3" >&5
14050 printf %s "checking for sqlite3_column_decltype in -lsqlite3... " >&6; }
14056 LIBS="-lsqlite3 $LIBS"
14057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_decltype" >&5
14088 LIBS="-lsqlite3 $LIBS"
14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_double in -lsqlite3" >&5
14099 printf %s "checking for sqlite3_column_double in -lsqlite3... " >&6; }
14105 LIBS="-lsqlite3 $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_double" >&5
14137 LIBS="-lsqlite3 $LIBS"
14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_complete in -lsqlite3" >&5
14148 printf %s "checking for sqlite3_complete in -lsqlite3... " >&6; }
14154 LIBS="-lsqlite3 $LIBS"
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_complete" >&5
14186 LIBS="-lsqlite3 $LIBS"
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_enable_shared_cache in -lsqlite3" >&5
14197 printf %s "checking for sqlite3_enable_shared_cache in -lsqlite3... " >&6; }
14203 LIBS="-lsqlite3 $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_enable_shared_cache" >&5
14235 LIBS="-lsqlite3 $LIBS"
14245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_progress_handler in -lsqlite3" >&5
14246 printf %s "checking for sqlite3_progress_handler in -lsqlite3... " >&6; }
14252 LIBS="-lsqlite3 $LIBS"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_progress_handler" >&5
14284 LIBS="-lsqlite3 $LIBS"
14294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_result_double in -lsqlite3" >&5
14295 printf %s "checking for sqlite3_result_double in -lsqlite3... " >&6; }
14301 LIBS="-lsqlite3 $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_result_double" >&5
14333 LIBS="-lsqlite3 $LIBS"
14343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_set_authorizer in -lsqlite3" >&5
14344 printf %s "checking for sqlite3_set_authorizer in -lsqlite3... " >&6; }
14350 LIBS="-lsqlite3 $LIBS"
14351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_set_authorizer" >&5
14382 LIBS="-lsqlite3 $LIBS"
14392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_trace_v2 in -lsqlite3" >&5
14393 printf %s "checking for sqlite3_trace_v2 in -lsqlite3... " >&6; }
14399 LIBS="-lsqlite3 $LIBS"
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_trace_v2" >&5
14431 LIBS="-lsqlite3 $LIBS"
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_trace in -lsqlite3" >&5
14438 printf %s "checking for sqlite3_trace in -lsqlite3... " >&6; }
14444 LIBS="-lsqlite3 $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_trace" >&5
14476 LIBS="-lsqlite3 $LIBS"
14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_value_double in -lsqlite3" >&5
14492 printf %s "checking for sqlite3_value_double in -lsqlite3... " >&6; }
14498 LIBS="-lsqlite3 $LIBS"
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_value_double" >&5
14530 LIBS="-lsqlite3 $LIBS"
14539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_load_extension in -lsqlite3" >&5
14540 printf %s "checking for sqlite3_load_extension in -lsqlite3... " >&6; }
14546 LIBS="-lsqlite3 $LIBS"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_serialize in -lsqlite3" >&5
14583 printf %s "checking for sqlite3_serialize in -lsqlite3... " >&6; }
14589 LIBS="-lsqlite3 $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_serialize" >&5
14632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
14645 printf %s "checking for --enable-loadable-sqlite-extensions... " >&6; }
14646 # Check whether --enable-loadable-sqlite-extensions was given.
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: n/a" >&5
14655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Your version of SQLite does not support loadable extensions" >&5
14660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14685 if test -n "$PKG_CONFIG" && \
14686 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$_QUERY\""; } >&5
14687 ($PKG_CONFIG --exists --print-errors "$_QUERY") 2>&5
14689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TCLTK" >&5
14697 if test -n "$TCLTK_CFLAGS"; then
14699 elif test -n "$PKG_CONFIG"; then
14700 if test -n "$PKG_CONFIG" && \
14701 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$_QUERY\""; } >&5
14702 ($PKG_CONFIG --exists --print-errors "$_QUERY") 2>&5
14704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14706 pkg_cv_TCLTK_CFLAGS=`$PKG_CONFIG --cflags "$_QUERY" 2>/dev/null`
14714 if test -n "$TCLTK_LIBS"; then
14716 elif test -n "$PKG_CONFIG"; then
14717 if test -n "$PKG_CONFIG" && \
14718 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$_QUERY\""; } >&5
14719 ($PKG_CONFIG --exists --print-errors "$_QUERY") 2>&5
14721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14723 pkg_cv_TCLTK_LIBS=`$PKG_CONFIG --libs "$_QUERY" 2>/dev/null`
14735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14738 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14744 TCLTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$_QUERY" 2>&1`
14746 TCLTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$_QUERY" 2>&1`
14748 # Put the nasty error message in config.log where it belongs
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14774 TCLTK_CFLAGS=${TCLTK_CFLAGS-""}
14775 TCLTK_LIBS=${TCLTK_LIBS-""}
14782 if test -n "$PKG_CONFIG" && \
14783 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
14784 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
14786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
14794 if test -n "$X11_CFLAGS"; then
14796 elif test -n "$PKG_CONFIG"; then
14797 if test -n "$PKG_CONFIG" && \
14798 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
14799 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
14801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14803 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
14811 if test -n "$X11_LIBS"; then
14813 elif test -n "$PKG_CONFIG"; then
14814 if test -n "$PKG_CONFIG" && \
14815 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
14816 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
14818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14820 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
14832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14835 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14841 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
14843 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
14845 # Put the nasty error message in config.log where it belongs
14853 installed software in a non-standard prefix.
14856 and X11_LIBS to avoid the need to call pkg-config.
14857 See the pkg-config man page for more details." "$LINENO" 5
14859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14861 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14863 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14865 path to pkg-config.
14868 and X11_LIBS to avoid the need to call pkg-config.
14869 See the pkg-config man page for more details.
14871 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14872 See \`config.log' for more details" "$LINENO" 5; }
14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 as_fn_append TCLTK_CFLAGS " -Wno-strict-prototypes -DWITH_APPINIT=1"
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
14973 printf %s "checking for gdbm_open in -lgdbm... " >&6; }
14979 LIBS="-lgdbm $LIBS"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
15011 GDBM_LIBS=${GDBM_LIBS-"-lgdbm"}
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lndbm" >&5
15041 printf %s "checking for dbm_open in -lndbm... " >&6; }
15047 LIBS="-lndbm $LIBS"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ndbm_dbm_open" >&5
15079 LIBS="-lndbm $LIBS"
15084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5
15085 printf %s "checking for dbm_open in -lgdbm_compat... " >&6; }
15091 LIBS="-lgdbm_compat $LIBS"
15092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5
15123 LIBS="-lgdbm_compat $LIBS"
15133 # "gdbm-ndbm.h" and "gdbm/ndbm.h" are both normalized to "gdbm_ndbm_h"
15168 ac_fn_c_check_header_compile "$LINENO" "gdbm-ndbm.h" "ac_cv_header_gdbm_ndbm_h" "$ac_includes_default"
15190 if test "$ac_cv_header_gdbm_slash_ndbm_h" = yes -o "$ac_cv_header_gdbm_dash_ndbm_h" = yes; then
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5
15193 printf %s "checking for dbm_open in -lgdbm_compat... " >&6; }
15199 LIBS="-lgdbm_compat $LIBS"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5
15231 LIBS="-lgdbm_compat $LIBS"
15239 # db.h re-defines the name of the function
15247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libdb" >&5
15255 LIBS="$LIBS -ldb"
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_libdb" >&5
15300 # Check for --with-dbmliborder
15301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
15302 printf %s "checking for --with-dbmliborder... " >&6; }
15304 # Check whether --with-dbmliborder was given.
15333 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:... (gdbm:ndbm:bdb)" "$LINENO" 5
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
15350 CFLAGS="$CFLAGS -D_REENTRANT"
15354 CC="$CC -Kpthread"
15356 CXX="$CXX -Kpthread"
15361 CC="$CC -Kthread"
15363 CXX="$CXX -Kthread"
15368 CC="$CC -pthread"
15370 CXX="$CXX -pthread"
15374 if test ! -z "$withval" -a -d "$withval"
15375 then LDFLAGS="$LDFLAGS -L$withval"
15380 # (e.g. gnu pth with pthread emulation)
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 rm -rf conftest*
15401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
15410 LIBS="$LIBS -lpthread"
15411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15412 printf %s "checking for pthread_create in -lpthread... " >&6; }
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
15449 printf %s "checking for pthread_create in -lpthreads... " >&6; }
15455 LIBS="-lpthreads $LIBS"
15456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
15487 LIBS="$LIBS -lpthreads"
15491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
15492 printf %s "checking for pthread_create in -lc_r... " >&6; }
15498 LIBS="-lc_r $LIBS"
15499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
15530 LIBS="$LIBS -lc_r"
15534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
15535 printf %s "checking for __pthread_create_system in -lpthread... " >&6; }
15541 LIBS="-lpthread $LIBS"
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
15573 LIBS="$LIBS -lpthread"
15577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
15578 printf %s "checking for pthread_create in -lcma... " >&6; }
15584 LIBS="-lcma $LIBS"
15585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
15616 LIBS="$LIBS -lcma"
15639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
15643 printf %s "checking for usconfig in -lmpc... " >&6; }
15649 LIBS="-lmpc $LIBS"
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
15680 LIBS="$LIBS -lmpc"
15714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 if (pthread_attr_init(&attr)) return (-1);
15736 if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) return (-1);
15737 if (pthread_create(&id, &attr, foo, NULL)) return (-1);
15747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
15795 # Check for enable-ipv6
15797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
15798 printf %s "checking if --enable-ipv6 is specified... " >&6; }
15799 # Check whether --enable-ipv6 was given.
15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15808 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ipv6" >&5
15854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
15856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
15903 for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 rm -rf conftest*
15924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 rm -rf conftest*
15943 linux-glibc)
15944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958 rm -rf conftest*
15961 linux-inet6)
15962 if test -d /usr/inet6; then
15966 BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
15970 if test -f /etc/netconfig; then
15971 if $GREP -q tcp6 /etc/netconfig; then
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 rm -rf conftest*
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
16013 rm -rf conftest*
16017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032 rm -rf conftest*
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
16044 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
16045 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
16046 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
16047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using lib$ipv6lib" >&5
16053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using libc" >&5
16065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CAN_RAW_FD_FRAMES" >&5
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075 #include <linux/can/raw.h>
16090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_can_raw_fd_frames" >&5
16104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_JOIN_FILTERS" >&5
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16114 #include <linux/can/raw.h>
16129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_can_raw_join_filters" >&5
16143 # Check for --with-doc-strings
16144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
16145 printf %s "checking for --with-doc-strings... " >&6; }
16147 # Check whether --with-doc-strings was given.
16154 if test -z "$with_doc_strings"
16163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
16166 # Check for Python-specific malloc support
16167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
16168 printf %s "checking for --with-pymalloc... " >&6; }
16170 # Check whether --with-pymalloc was given.
16177 if test -z "$with_pymalloc"
16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
16200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-freelists" >&5
16201 printf %s "checking for --with-freelists... " >&6; }
16203 # Check whether --with-freelists was given.
16210 if test -z "$with_freelists"
16220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_freelists" >&5
16223 # Check for --with-c-locale-coercion
16224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-c-locale-coercion" >&5
16225 printf %s "checking for --with-c-locale-coercion... " >&6; }
16227 # Check whether --with-c-locale-coercion was given.
16234 if test -z "$with_c_locale_coercion"
16244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5
16248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
16249 printf %s "checking for --with-valgrind... " >&6; }
16251 # Check whether --with-valgrind was given.
16259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
16273 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
16278 printf %s "checking for --with-dtrace... " >&6; }
16280 # Check whether --with-dtrace was given.
16288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
16303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16333 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not found"
16338 if test -n "$DTRACE"; then
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
16342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16357 # generation flag '-G'. We check for presence of this flag, rather than
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether DTrace probes require linking" >&5
16367 "$DTRACE" $DFLAGS -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
16371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dtrace_link" >&5
16393 # -I${DLINCLDIR} is added to the compile rule for importdl.o
16410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
16412 if test -z "$DYNLOADFILE"
16426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
16435 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
16438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
16440 if test -z "$MACHDEP_OBJS"
16446 if test -z "$MACHDEP_OBJS"; then
16447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5
17561 # Force lchmod off for Linux. Linux disallows changing the mode of symbolic
17564 if test "$MACHDEP" != linux; then
17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
17582 for ac_arg in '' -fno-builtin; do
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17603 # declaration. Include always-available headers on the
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
17644 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17647 See \`config.log' for more details" "$LINENO" 5; } ;; #(
17670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chroot" >&5
17709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for link" >&5
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_link" >&5
17748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_symlink" >&5
17787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fchdir" >&5
17826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fsync" >&5
17865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
17871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fdatasync" >&5
17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for epoll_create" >&5
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_epoll_create" >&5
17943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
17949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_epoll_create1" >&5
17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_kqueue" >&5
18024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for prlimit" >&5
18030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_prlimit" >&5
18067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _dyld_shared_cache_contains_path" >&5
18073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 #include <mach-o/dyld.h>
18090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func__dyld_shared_cache_contains_path" >&5
18107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
18113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memfd_create" >&5
18154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5
18160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_eventfd" >&5
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_ctermid_r" >&5
18242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
18283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
18284 printf %s "checking for flock in -lbsd... " >&6; }
18290 LIBS="-lbsd $LIBS"
18291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
18320 FCNTL_LIBS="-lbsd"
18330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
18336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpagesize" >&5
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
18374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_unsetenv" >&5
18410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18416 if test -n "$TRUE"; then
18431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
18441 if test -n "$TRUE"; then
18442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18450 test -n "$TRUE" && break
18452 test -n "$TRUE" || TRUE="/bin/true"
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
18456 printf %s "checking for inet_aton in -lc... " >&6; }
18462 LIBS="-lc $LIBS"
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
18494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
18495 printf %s "checking for inet_aton in -lresolv... " >&6; }
18501 LIBS="-lresolv $LIBS"
18502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
18533 LIBS="-lresolv $LIBS"
18543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
18654 if test "$ac_sys_system" = "Emscripten" -a -z "$ZLIB_CFLAGS" -a -z "$ZLIB_LIBS"
18657 ZLIB_CFLAGS="-sUSE_ZLIB"
18658 ZLIB_LIBS="-sUSE_ZLIB"
18667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
18670 if test -n "$ZLIB_CFLAGS"; then
18672 elif test -n "$PKG_CONFIG"; then
18673 if test -n "$PKG_CONFIG" && \
18674 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.0\""; } >&5
18675 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.0") 2>&5
18677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18679 pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.0" 2>/dev/null`
18687 if test -n "$ZLIB_LIBS"; then
18689 elif test -n "$PKG_CONFIG"; then
18690 if test -n "$PKG_CONFIG" && \
18691 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.0\""; } >&5
18692 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.0") 2>&5
18694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18696 pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.0" 2>/dev/null`
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18717 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.0" 2>&1`
18719 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.0" 2>&1`
18721 # Put the nasty error message in config.log where it belongs
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
18742 printf %s "checking for gzread in -lz... " >&6; }
18748 LIBS="-lz $LIBS"
18749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
18794 ZLIB_CFLAGS=${ZLIB_CFLAGS-""}
18795 ZLIB_LIBS=${ZLIB_LIBS-"-lz"}
18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
18798 printf %s "checking for inflateCopy in -lz... " >&6; }
18804 LIBS="-lz $LIBS"
18805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
18851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
18871 printf %s "checking for gzread in -lz... " >&6; }
18877 LIBS="-lz $LIBS"
18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
18923 ZLIB_CFLAGS=${ZLIB_CFLAGS-""}
18924 ZLIB_LIBS=${ZLIB_LIBS-"-lz"}
18926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
18927 printf %s "checking for inflateCopy in -lz... " >&6; }
18933 LIBS="-lz $LIBS"
18934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18994 BINASCII_CFLAGS="-DUSE_ZLIB_CRC32 $ZLIB_CFLAGS"
19002 if test "$ac_sys_system" = "Emscripten" -a -z "$BZIP2_CFLAGS" -a -z "$BZIP2_LIBS"
19005 BZIP2_CFLAGS="-sUSE_BZIP2"
19006 BZIP2_LIBS="-sUSE_BZIP2"
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZIP2" >&5
19018 if test -n "$BZIP2_CFLAGS"; then
19020 elif test -n "$PKG_CONFIG"; then
19021 if test -n "$PKG_CONFIG" && \
19022 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bzip2\""; } >&5
19023 ($PKG_CONFIG --exists --print-errors "bzip2") 2>&5
19025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19027 pkg_cv_BZIP2_CFLAGS=`$PKG_CONFIG --cflags "bzip2" 2>/dev/null`
19035 if test -n "$BZIP2_LIBS"; then
19037 elif test -n "$PKG_CONFIG"; then
19038 if test -n "$PKG_CONFIG" && \
19039 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bzip2\""; } >&5
19040 ($PKG_CONFIG --exists --print-errors "bzip2") 2>&5
19042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19044 pkg_cv_BZIP2_LIBS=`$PKG_CONFIG --libs "bzip2" 2>/dev/null`
19056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19065 BZIP2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bzip2" 2>&1`
19067 BZIP2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bzip2" 2>&1`
19069 # Put the nasty error message in config.log where it belongs
19088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
19089 printf %s "checking for BZ2_bzCompress in -lbz2... " >&6; }
19095 LIBS="-lbz2 $LIBS"
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
19139 BZIP2_CFLAGS=${BZIP2_CFLAGS-""}
19140 BZIP2_LIBS=${BZIP2_LIBS-"-lbz2"}
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
19171 printf %s "checking for BZ2_bzCompress in -lbz2... " >&6; }
19177 LIBS="-lbz2 $LIBS"
19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
19221 BZIP2_CFLAGS=${BZIP2_CFLAGS-""}
19222 BZIP2_LIBS=${BZIP2_LIBS-"-lbz2"}
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBLZMA" >&5
19246 if test -n "$LIBLZMA_CFLAGS"; then
19248 elif test -n "$PKG_CONFIG"; then
19249 if test -n "$PKG_CONFIG" && \
19250 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
19251 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
19253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19255 pkg_cv_LIBLZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null`
19263 if test -n "$LIBLZMA_LIBS"; then
19265 elif test -n "$PKG_CONFIG"; then
19266 if test -n "$PKG_CONFIG" && \
19267 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
19268 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
19270 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19272 pkg_cv_LIBLZMA_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null`
19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19287 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19293 LIBLZMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1`
19295 LIBLZMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1`
19297 # Put the nasty error message in config.log where it belongs
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_easy_encoder in -llzma" >&5
19317 printf %s "checking for lzma_easy_encoder in -llzma... " >&6; }
19323 LIBS="-llzma $LIBS"
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_easy_encoder" >&5
19367 LIBLZMA_CFLAGS=${LIBLZMA_CFLAGS-""}
19368 LIBLZMA_LIBS=${LIBLZMA_LIBS-"-llzma"}
19380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_easy_encoder in -llzma" >&5
19399 printf %s "checking for lzma_easy_encoder in -llzma... " >&6; }
19405 LIBS="-llzma $LIBS"
19406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_easy_encoder" >&5
19449 LIBLZMA_CFLAGS=${LIBLZMA_CFLAGS-""}
19450 LIBLZMA_LIBS=${LIBLZMA_LIBS-"-llzma"}
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_hstrerror" >&5
19512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getservbyname" >&5
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getservbyname" >&5
19551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getservbyport" >&5
19557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getservbyport" >&5
19590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname" >&5
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gethostbyname" >&5
19629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyaddr" >&5
19635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gethostbyaddr" >&5
19668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprotobyname" >&5
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getprotobyname" >&5
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
19716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_inet_aton" >&5
19754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa" >&5
19760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_inet_ntoa" >&5
19798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
19804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_inet_pton" >&5
19842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpeername" >&5
19848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpeername" >&5
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getsockname" >&5
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getsockname" >&5
19930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for accept" >&5
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_accept" >&5
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bind" >&5
19980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_bind" >&5
20018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect" >&5
20024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_connect" >&5
20062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for listen" >&5
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_listen" >&5
20106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recvfrom" >&5
20112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_recvfrom" >&5
20150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sendto" >&5
20156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_sendto" >&5
20194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setsockopt" >&5
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setsockopt" >&5
20238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket" >&5
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_socket" >&5
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
20290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setgroups" >&5
20338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
20339 printf %s "checking for openpty in -lutil... " >&6; }
20345 LIBS="-lutil $LIBS"
20346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
20376 LIBS="$LIBS -lutil"
20378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
20379 printf %s "checking for openpty in -lbsd... " >&6; }
20385 LIBS="-lbsd $LIBS"
20386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
20416 LIBS="$LIBS -lbsd"
20426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing login_tty" >&5
20433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20450 if test -z "$ac_lib"; then
20453 ac_res=-l$ac_lib
20454 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login_tty" >&5
20497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
20498 printf %s "checking for forkpty in -lutil... " >&6; }
20504 LIBS="-lutil $LIBS"
20505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
20535 LIBS="$LIBS -lutil"
20537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
20538 printf %s "checking for forkpty in -lbsd... " >&6; }
20544 LIBS="-lbsd $LIBS"
20545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
20575 LIBS="$LIBS -lbsd"
20646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPT" >&5
20705 if test -n "$LIBCRYPT_CFLAGS"; then
20707 elif test -n "$PKG_CONFIG"; then
20708 if test -n "$PKG_CONFIG" && \
20709 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxcrypt >= 3.1.1\""; } >&5
20710 ($PKG_CONFIG --exists --print-errors "libxcrypt >= 3.1.1") 2>&5
20712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20714 pkg_cv_LIBCRYPT_CFLAGS=`$PKG_CONFIG --cflags "libxcrypt >= 3.1.1" 2>/dev/null`
20722 if test -n "$LIBCRYPT_LIBS"; then
20724 elif test -n "$PKG_CONFIG"; then
20725 if test -n "$PKG_CONFIG" && \
20726 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxcrypt >= 3.1.1\""; } >&5
20727 ($PKG_CONFIG --exists --print-errors "libxcrypt >= 3.1.1") 2>&5
20729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20731 pkg_cv_LIBCRYPT_LIBS=`$PKG_CONFIG --libs "libxcrypt >= 3.1.1" 2>/dev/null`
20743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20746 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20752 LIBCRYPT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxcrypt >= 3.1.1" 2>&1`
20754 LIBCRYPT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxcrypt >= 3.1.1" 2>&1`
20756 # Put the nasty error message in config.log where it belongs
20766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
20773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 if test -z "$ac_lib"; then
20793 ac_res=-l$ac_lib
20794 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
20830 LIBCRYPT_LIBS=${LIBCRYPT_LIBS-$libcrypt}
20843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
20859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 if test -z "$ac_lib"; then
20879 ac_res=-l$ac_lib
20880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
20916 LIBCRYPT_LIBS=${LIBCRYPT_LIBS-$libcrypt}
20931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for crypt or crypt_r" >&5
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crypt_crypt" >&5
21007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
21008 printf %s "checking for clock_gettime in -lrt... " >&6; }
21014 LIBS="-lrt $LIBS"
21015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
21045 LIBS="$LIBS -lrt"
21069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
21070 printf %s "checking for clock_getres in -lrt... " >&6; }
21076 LIBS="-lrt $LIBS"
21077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
21127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lrt" >&5
21128 printf %s "checking for clock_settime in -lrt... " >&6; }
21134 LIBS="-lrt $LIBS"
21135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_settime" >&5
21185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_nanosleep in -lrt" >&5
21186 printf %s "checking for clock_nanosleep in -lrt... " >&6; }
21192 LIBS="-lrt $LIBS"
21193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_nanosleep" >&5
21243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
21244 printf %s "checking for nanosleep in -lrt... " >&6; }
21250 LIBS="-lrt $LIBS"
21251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
21291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for major, minor, and makedev" >&5
21298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_device_macros" >&5
21346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
21353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getaddrinfo" >&5
21385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
21395 ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
21400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 for (ai = aitop; ai; ai = ai->ai_next) {
21427 if (ai->ai_addr == NULL ||
21428 ai->ai_addrlen == 0 ||
21429 getnameinfo(ai->ai_addr, ai->ai_addrlen,
21434 switch (ai->ai_family) {
21499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
21510 if test "$ac_cv_func_getaddrinfo" = no -o "$ac_cv_buggy_getaddrinfo" = yes
21515 as_fn_error $? "You must get working getaddrinfo() function or pass the \"--disable-ipv6\" option to configure." "$LINENO" 5
21542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21569 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
21743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
21771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
21777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
21804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
21839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_alg" >&5
21845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21850 # include <linux/if_alg.h>
21865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_alg" >&5
21877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
21878 printf %s "checking for an ANSI C-conforming const... " >&6; }
21883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21902 an arm of an if-expression whose if-part is not a constant
21905 pcpcc = &g + (g ? g-g : 0);
21918 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21923 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21929 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21931 struct s *b = &bx; b->j = 5;
21933 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21950 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
21961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
21968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_signed_char_c" >&5
21999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
22006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_function_prototypes" >&5
22038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
22045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stdarg_prototypes" >&5
22090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_socketpair" >&5
22132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
22139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_sa_len" >&5
22172 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
22181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
22185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22327 # Linux requires this for correct f.p. operations
22333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
22334 printf %s "checking for __fpu_control in -lieee... " >&6; }
22340 LIBS="-lieee $LIBS"
22341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
22372 LIBS="-lieee $LIBS"
22380 # check for --with-libm=...
22384 *) LIBM=-lm
22386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
22387 printf %s "checking for --with-libm=STRING... " >&6; }
22389 # Check whether --with-libm was given.
22395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
22399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
22401 else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
22404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
22409 # check for --with-libc=...
22411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
22412 printf %s "checking for --with-libc=STRING... " >&6; }
22414 # Check whether --with-libc was given.
22420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
22424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
22426 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
22429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
22439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
22446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_asm_for_x64" >&5
22485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
22494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
22552 # Some ARM platforms use a mixed-endian representation for doubles.
22554 # (see e.g., issue 1762561), we can at least make sure that float <-> string
22564 # correctly-rounded string <-> double conversion functions from
22565 # Python/dtoa.c, which in turn require that the FPU uses 53-bit
22573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set x87 control word" >&5
22580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_asm_for_x87" >&5
22616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set mc68881 fpcr" >&5
22623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_asm_for_mc68881" >&5
22659 # Detect whether system arithmetic is subject to x87-style double
22662 # mode is round-to-nearest and double rounding issues are present, and
22664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
22665 printf %s "checking for x87-style double rounding... " >&6; }
22678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22685 /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
22686 x = 0.99999999999999989; /* 1-2**-53 */
22690 /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
22707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
22752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
22762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
22808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
22818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 return res==-1 ? 1 : 0;
22851 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
22943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
22945 # Check whether --enable-big-digits was given.
22956 as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;;
22958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
22965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
22990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
23005 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23008 See \`config.log' for more details" "$LINENO" 5; }
23015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
23029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
23040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23047 return ((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
23057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
23066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
23069 if test "$ac_cv_sizeof_wchar_t" -ge 2 \
23070 -a "$ac_cv_wchar_t_signed" = "no"
23075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23084 if test -f /etc/os-release; then
23085 OS_NAME=$(awk -F= '/^NAME=/ {print substr($2,2,length($2)-2)}' /etc/os-release)
23087 # bpo-43667: In Oracle Solaris, the internal form of wchar_t in
23088 # non-Unicode locales is not Unicode and hence cannot be used directly.
23099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23118 # Check for potential -arch flags. It is not universal unless
23119 # there are at least two -arch flags with different values.
23123 if test -n "$ac_prev"; then
23126 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
23135 elif test "x$ac_word" = "x-arch"; then
23140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23296 return u.c[sizeof (long int) - 1] == 1;
23308 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23338 # * The Python implementation (always 'cpython-' for us)
23340 # * --with-pydebug (adds a 'd')
23343 # would get a shared library ABI version tag of 'cpython-32dmu' and shared
23344 # libraries would be named 'foo.cpython-32dmu.so'.
23346 # In Python 3.2 and older, --with-wide-unicode added a 'u' flag.
23347 # In Python 3.7 and older, --with-pymalloc added a 'm' flag.
23349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ABIFLAGS" >&5
23351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ABIFLAGS" >&5
23353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
23355 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
23356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
23360 if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
23363 ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
23372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
23375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
23380 if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin"; then
23381 LIBPYTHON="-lpython${VERSION}${ABIFLAGS}"
23391 # Check for --with-platlibdir
23395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-platlibdir" >&5
23396 printf %s "checking for --with-platlibdir... " >&6; }
23398 # Check whether --with-platlibdir was given.
23403 # --with-platlibdir
23404 # --with-platlibdir=
23405 # --without-platlibdir
23406 if test -n "$withval" -a "$withval" != yes -a "$withval" != no
23408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23425 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}"
23427 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
23431 # Check for --with-wheel-pkg-dir=PATH
23434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-wheel-pkg-dir" >&5
23435 printf %s "checking for --with-wheel-pkg-dir... " >&6; }
23437 # Check whether --with-wheel-pkg-dir was given.
23441 if test -n "$withval"; then
23442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
23468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 return (((-1)>>3 == -1) ? 0 : 1);
23483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
23498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
23505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
23540 # Check whether --with-readline was given.
23566 as_fn_error $? "proper usage is --with(out)-readline[=editline]" "$LINENO" 5
23573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
23576 if test -z "$py_libtermcap"; then
23577 READLINE_LIBS="-l$LIBREADLINE"
23579 READLINE_LIBS="-l$LIBREADLINE -l$py_libtermcap"
23582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
23614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
23625 #include <stdio.h> /* Must be first for Gnu Readline */
23640 #include <stdio.h> /* Must be first for Gnu Readline */
23657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -l$LIBREADLINE" >&5
23658 printf %s "checking for rl_pre_input_hook in -l$LIBREADLINE... " >&6; }
23664 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
23665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -l$LIBREADLINE" >&5
23704 printf %s "checking for rl_completion_display_matches_hook in -l$LIBREADLINE... " >&6; }
23710 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
23711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -l$LIBREADLINE" >&5
23750 printf %s "checking for rl_resize_terminal in -l$LIBREADLINE... " >&6; }
23756 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
23757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -l$LIBREADLINE" >&5
23796 printf %s "checking for rl_completion_matches in -l$LIBREADLINE... " >&6; }
23802 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
23803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23841 #include <stdio.h> /* Must be first for Gnu Readline */
23857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for append_history in -l$LIBREADLINE" >&5
23858 printf %s "checking for append_history in -l$LIBREADLINE... " >&6; }
23864 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
23865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
23916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23924 if (val1 != -1 && val1 == nice(2))
23936 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
23950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
23960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
24004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 tm->tm_zone does not exist since it is the alternative way
24039 time_t groundhogday = 1044144000; /* GMT-based */
24044 if (localtime(&groundhogday)->tm_hour != 0)
24055 if (localtime(&groundhogday)->tm_hour != 19)
24062 putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
24064 if (localtime(&groundhogday)->tm_hour != 11)
24072 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
24074 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
24088 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
24103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
24109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
24141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
24147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
24181 CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
24213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
24219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
24255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
24261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 w->_flags = 0;
24284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
24301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function is_pad" >&5
24307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_is_pad" >&5
24344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function is_term_resized" >&5
24350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_is_term_resized" >&5
24387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function resize_term" >&5
24393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_resize_term" >&5
24430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function resizeterm" >&5
24436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_resizeterm" >&5
24473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function immedok" >&5
24479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_immedok" >&5
24516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function syncok" >&5
24522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_syncok" >&5
24559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function wchgat" >&5
24565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_wchgat" >&5
24602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function filter" >&5
24608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_filter" >&5
24645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function has_key" >&5
24651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_has_key" >&5
24688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function typeahead" >&5
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_typeahead" >&5
24731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function use_env" >&5
24737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_use_env" >&5
24774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
24779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
24781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not set" >&5
24786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
24788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not set" >&5
24794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
24802 if test -r "/dev/ptmx"; then
24808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
24820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
24828 if test -r "/dev/ptc"; then
24834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
24849 LIBS="$LIBS -framework CoreFoundation"
24852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support" >&5
24860 ac_cv_have_size_t_format="cross -- assuming yes"
24863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24892 if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
24895 if (strcmp(buffer, "-123"))
24908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t_format" >&5
24940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken mbstowcs" >&5
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 size_t len = -1;
24970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_mbstowcs" >&5
24984 # Check for --with-computed-gotos
24985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
24986 printf %s "checking for --with-computed-gotos... " >&6; }
24988 # Check whether --with-computed-gotos was given.
24997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
25015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
25024 ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
25029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
25099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
25102 if test ! -d $dir; then
25106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
25109 # Availability of -O2:
25110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
25111 printf %s "checking for -O2... " >&6; }
25118 CFLAGS="-O2"
25119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_compile_o2" >&5
25144 # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
25145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memmove bug" >&5
25148 CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
25156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
25196 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46491
25197 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
25200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-const bug" >&5
25201 printf %s "checking for gcc ipa-pure-const bug... " >&6; }
25203 CFLAGS="-O2"
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_const_bug" >&5
25251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdatomic.h" >&5
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdatomic_h" >&5
25297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for builtin __atomic_load_n and __atomic_store_n functions" >&5
25304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25323 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_builtin_atomic" >&5
25340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
25343 # Check whether --with-ensurepip was given.
25369 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
25371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
25376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the dirent structure of a d_type field" >&5
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dirent_d_type" >&5
25418 # check if the Linux getrandom() syscall is available
25419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Linux getrandom() syscall" >&5
25420 printf %s "checking for the Linux getrandom() syscall... " >&6; }
25426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25433 #include <linux/random.h>
25452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_getrandom_syscall" >&5
25470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the getrandom() function" >&5
25477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getrandom" >&5
25519 POSIXSHMEM_CFLAGS='-I$(srcdir)/Modules/_multiprocessing'
25526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
25533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25550 if test -z "$ac_lib"; then
25553 ac_res=-l$ac_lib
25554 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
25585 if test "x$ac_cv_search_shm_open" = x-lrt
25587 POSIXSHMEM_LIBS="-lrt"
25628 # Check whether --with-openssl was given.
25634 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
25642 # if pkg-config is installed and openssl has installed a .pc file,
25644 if test -n "$ac_tool_prefix"; then
25645 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25646 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25653 if test -n "$PKG_CONFIG"; then
25667 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
25668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25678 if test -n "$PKG_CONFIG"; then
25679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25688 if test -z "$ac_cv_prog_PKG_CONFIG"; then
25690 # Extract the first word of "pkg-config", so it can be a program name with args.
25691 set dummy pkg-config; ac_word=$2
25692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25698 if test -n "$ac_ct_PKG_CONFIG"; then
25712 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
25713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25723 if test -n "$ac_ct_PKG_CONFIG"; then
25724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
25727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25747 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
25749 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
25750 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
25757 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
25771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
25773 if test -f "$ssldir/include/openssl/ssl.h"; then
25774 OPENSSL_INCLUDES="-I$ssldir/include"
25775 OPENSSL_LDFLAGS="-L$ssldir/lib"
25776 OPENSSL_LIBS="-lssl -lcrypto"
25778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25787 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
25794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
25805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25845 rpath_arg="-Wl,--enable-new-dtags,-rpath="
25849 rpath_arg="-Wl,-rpath="
25853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-openssl-rpath" >&5
25854 printf %s "checking for --with-openssl-rpath... " >&6; }
25856 # Check whether --with-openssl-rpath was given.
25871 -L*) :
25872 OPENSSL_LDFLAGS_RPATH="$OPENSSL_LDFLAGS_RPATH ${rpath_arg}$(echo $arg | cut -c3-)"
25882 if test -d "$with_openssl_rpath"
25889 as_fn_error $? "--with-openssl-rpath \"$with_openssl_rpath\" is not a directory" "$LINENO" 5
25894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_RPATH" >&5
25899 # Requires static OpenSSL build with position-independent code. Some features
25905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsupported static openssl build" >&5
25910 -l*) :
25912 libname=$(echo $arg | cut -c3-)
25913 new_OPENSSL_LIBS="$new_OPENSSL_LIBS -l:lib${libname}.a -Wl,--exclude-libs,lib${libname}.a"
25921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_LIBS" >&5
25929 -l*ssl*|-Wl*ssl*) :
25948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL provides required ssl module APIs" >&5
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_openssl_ssl" >&5
26011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL provides required hashlib module APIs" >&5
26018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_openssl_hashlib" >&5
26065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-ssl-default-suites" >&5
26066 printf %s "checking for --with-ssl-default-suites... " >&6; }
26068 # Check whether --with-ssl-default-suites was given.
26072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
26093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: python" >&5
26106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-builtin-hashlib-hashes" >&5
26107 printf %s "checking for --with-builtin-hashlib-hashes... " >&6; }
26109 # Check whether --with-builtin-hashlib-hashes was given.
26128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_builtin_hashlib_hashes" >&5
26161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBB2" >&5
26164 if test -n "$LIBB2_CFLAGS"; then
26166 elif test -n "$PKG_CONFIG"; then
26167 if test -n "$PKG_CONFIG" && \
26168 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
26169 ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
26171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26173 pkg_cv_LIBB2_CFLAGS=`$PKG_CONFIG --cflags "libb2" 2>/dev/null`
26181 if test -n "$LIBB2_LIBS"; then
26183 elif test -n "$PKG_CONFIG"; then
26184 if test -n "$PKG_CONFIG" && \
26185 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
26186 ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
26188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26190 pkg_cv_LIBB2_LIBS=`$PKG_CONFIG --libs "libb2" 2>/dev/null`
26202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26211 LIBB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libb2" 2>&1`
26213 LIBB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libb2" 2>&1`
26215 # Put the nasty error message in config.log where it belongs
26220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
26241 printf %s "checking for --disable-test-modules... " >&6; }
26242 # Check whether --enable-test-modules was given.
26265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TEST_MODULES" >&5
26376 MODULE_BUILDTYPE=${MODULE_BUILDTYPE:-shared}
26381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for additional Modules/Setup files" >&5
26392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MODULES_SETUP_STDLIB" >&5
26421 as_fn_append MODULE_BLOCK "MODULE__IO_CFLAGS=-I\$(srcdir)/Modules/_io$as_nl"
26847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _multiprocessing" >&5
26869 as_fn_append MODULE_BLOCK "MODULE__MULTIPROCESSING_CFLAGS=-I\$(srcdir)/Modules/_multiprocessing$as_nl"
26881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__multiprocessing" >&5
26885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _posixshmem" >&5
26919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__posixshmem" >&5
27036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module fcntl" >&5
27043 if test "$ac_cv_header_sys_ioctl_h" = "yes" -a "$ac_cv_header_fcntl_h" = "yes"
27070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_fcntl" >&5
27074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module mmap" >&5
27081 if test "$ac_cv_header_sys_mman_h" = "yes" -a "$ac_cv_header_sys_stat_h" = "yes"
27108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_mmap" >&5
27112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _socket" >&5
27119 if test "$ac_cv_header_sys_socket_h" = "yes" -a "$ac_cv_header_sys_types_h" = "yes" -a "$ac_cv_header_netinet_in_h" = "yes"
27146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__socket" >&5
27151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module grp" >&5
27158 if test "$ac_cv_func_getgrgid" = yes -o "$ac_cv_func_getgrgid_r" = yes
27185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_grp" >&5
27189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module ossaudiodev" >&5
27196 if test "$ac_cv_header_linux_soundcard_h" = yes -o "$ac_cv_header_sys_soundcard_h" = yes
27223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_ossaudiodev" >&5
27227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module pwd" >&5
27234 if test "$ac_cv_func_getpwuid" = yes -o "$ac_cv_func_getpwuid_r" = yes
27261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_pwd" >&5
27265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module resource" >&5
27299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_resource" >&5
27303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _scproxy" >&5
27326 as_fn_append MODULE_BLOCK "MODULE__SCPROXY_LDFLAGS=-framework SystemConfiguration -framework CoreFoundation$as_nl"
27337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__scproxy" >&5
27341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module spwd" >&5
27348 if test "$ac_cv_func_getspent" = yes -o "$ac_cv_func_getspnam" = yes
27375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_spwd" >&5
27379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module syslog" >&5
27413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_syslog" >&5
27417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module termios" >&5
27451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_termios" >&5
27456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module pyexpat" >&5
27490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_pyexpat" >&5
27494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _elementtree" >&5
27528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__elementtree" >&5
27709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _md5" >&5
27743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__md5" >&5
27747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha1" >&5
27781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha1" >&5
27785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha256" >&5
27819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha256" >&5
27823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha512" >&5
27857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha512" >&5
27861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha3" >&5
27895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha3" >&5
27899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _blake2" >&5
27933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__blake2" >&5
27938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _crypt" >&5
27972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__crypt" >&5
27976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _decimal" >&5
28010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__decimal" >&5
28014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _gdbm" >&5
28048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__gdbm" >&5
28052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module nis" >&5
28059 if test "$have_nis" = yes -a "$ac_cv_header_rpc_rpc_h" = yes
28086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_nis" >&5
28090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sqlite3" >&5
28124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sqlite3" >&5
28128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _tkinter" >&5
28162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__tkinter" >&5
28166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _uuid" >&5
28200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__uuid" >&5
28205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module zlib" >&5
28239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_zlib" >&5
28265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _bz2" >&5
28299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__bz2" >&5
28303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _lzma" >&5
28337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__lzma" >&5
28342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _ssl" >&5
28376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__ssl" >&5
28380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _hashlib" >&5
28414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__hashlib" >&5
28419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testcapi" >&5
28453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testcapi" >&5
28457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testclinic" >&5
28491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testclinic" >&5
28495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testinternalcapi" >&5
28529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testinternalcapi" >&5
28533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testbuffer" >&5
28567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testbuffer" >&5
28571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testimportmultiple" >&5
28605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testimportmultiple" >&5
28609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testmultiphase" >&5
28643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testmultiphase" >&5
28647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _xxtestfuzz" >&5
28681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__xxtestfuzz" >&5
28685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _ctypes_test" >&5
28708 as_fn_append MODULE_BLOCK "MODULE__CTYPES_TEST_LDFLAGS=-lm$as_nl"
28719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__ctypes_test" >&5
28724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxlimited" >&5
28758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_xxlimited" >&5
28762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxlimited_35" >&5
28796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_xxlimited_35" >&5
28804 ac_config_files="$ac_config_files Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh"
28813 # scripts and configure runs, see configure's option --config-cache.
28817 # config.status only pays attention to the cache file if you give it
28818 # the --recheck option to rerun configure.
28832 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28837 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
28851 # `set' does not quote correctly, so add quotes: double-quote
28853 sed -n \
28859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28873 if test -w "$cache_file"; then
28875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
28877 if test ! -f "$cache_file" || test -h "$cache_file"; then
28882 mv -f confcache "$cache_file"$$ &&
28883 mv -f "$cache_file"$$ "$cache_file" ;; #(
28885 mv -f confcache "$cache_file" ;;
28890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
28894 rm -f confcache
28900 DEFS=-DHAVE_CONFIG_H
28920 if test -z "${MODULE__IO_TRUE}" && test -z "${MODULE__IO_FALSE}"; then
28924 if test -z "${MODULE_TIME_TRUE}" && test -z "${MODULE_TIME_FALSE}"; then
28928 if test -z "${MODULE_ARRAY_TRUE}" && test -z "${MODULE_ARRAY_FALSE}"; then
28932 if test -z "${MODULE__ASYNCIO_TRUE}" && test -z "${MODULE__ASYNCIO_FALSE}"; then
28936 if test -z "${MODULE__BISECT_TRUE}" && test -z "${MODULE__BISECT_FALSE}"; then
28940 if test -z "${MODULE__CONTEXTVARS_TRUE}" && test -z "${MODULE__CONTEXTVARS_FALSE}"; then
28944 if test -z "${MODULE__CSV_TRUE}" && test -z "${MODULE__CSV_FALSE}"; then
28948 if test -z "${MODULE__HEAPQ_TRUE}" && test -z "${MODULE__HEAPQ_FALSE}"; then
28952 if test -z "${MODULE__JSON_TRUE}" && test -z "${MODULE__JSON_FALSE}"; then
28956 if test -z "${MODULE__LSPROF_TRUE}" && test -z "${MODULE__LSPROF_FALSE}"; then
28960 if test -z "${MODULE__OPCODE_TRUE}" && test -z "${MODULE__OPCODE_FALSE}"; then
28964 if test -z "${MODULE__PICKLE_TRUE}" && test -z "${MODULE__PICKLE_FALSE}"; then
28968 if test -z "${MODULE__POSIXSUBPROCESS_TRUE}" && test -z "${MODULE__POSIXSUBPROCESS_FALSE}"; then
28972 if test -z "${MODULE__QUEUE_TRUE}" && test -z "${MODULE__QUEUE_FALSE}"; then
28976 if test -z "${MODULE__RANDOM_TRUE}" && test -z "${MODULE__RANDOM_FALSE}"; then
28980 if test -z "${MODULE_SELECT_TRUE}" && test -z "${MODULE_SELECT_FALSE}"; then
28984 if test -z "${MODULE__STRUCT_TRUE}" && test -z "${MODULE__STRUCT_FALSE}"; then
28988 if test -z "${MODULE__TYPING_TRUE}" && test -z "${MODULE__TYPING_FALSE}"; then
28992 if test -z "${MODULE__XXSUBINTERPRETERS_TRUE}" && test -z "${MODULE__XXSUBINTERPRETERS_FALSE}"; then
28996 if test -z "${MODULE__ZONEINFO_TRUE}" && test -z "${MODULE__ZONEINFO_FALSE}"; then
29000 if test -z "${MODULE__MULTIPROCESSING_TRUE}" && test -z "${MODULE__MULTIPROCESSING_FALSE}"; then
29004 if test -z "${MODULE__POSIXSHMEM_TRUE}" && test -z "${MODULE__POSIXSHMEM_FALSE}"; then
29008 if test -z "${MODULE_AUDIOOP_TRUE}" && test -z "${MODULE_AUDIOOP_FALSE}"; then
29012 if test -z "${MODULE__STATISTICS_TRUE}" && test -z "${MODULE__STATISTICS_FALSE}"; then
29016 if test -z "${MODULE_CMATH_TRUE}" && test -z "${MODULE_CMATH_FALSE}"; then
29020 if test -z "${MODULE_MATH_TRUE}" && test -z "${MODULE_MATH_FALSE}"; then
29024 if test -z "${MODULE__DATETIME_TRUE}" && test -z "${MODULE__DATETIME_FALSE}"; then
29028 if test -z "${MODULE_FCNTL_TRUE}" && test -z "${MODULE_FCNTL_FALSE}"; then
29032 if test -z "${MODULE_MMAP_TRUE}" && test -z "${MODULE_MMAP_FALSE}"; then
29036 if test -z "${MODULE__SOCKET_TRUE}" && test -z "${MODULE__SOCKET_FALSE}"; then
29040 if test -z "${MODULE_GRP_TRUE}" && test -z "${MODULE_GRP_FALSE}"; then
29044 if test -z "${MODULE_OSSAUDIODEV_TRUE}" && test -z "${MODULE_OSSAUDIODEV_FALSE}"; then
29048 if test -z "${MODULE_PWD_TRUE}" && test -z "${MODULE_PWD_FALSE}"; then
29052 if test -z "${MODULE_RESOURCE_TRUE}" && test -z "${MODULE_RESOURCE_FALSE}"; then
29056 if test -z "${MODULE__SCPROXY_TRUE}" && test -z "${MODULE__SCPROXY_FALSE}"; then
29060 if test -z "${MODULE_SPWD_TRUE}" && test -z "${MODULE_SPWD_FALSE}"; then
29064 if test -z "${MODULE_SYSLOG_TRUE}" && test -z "${MODULE_SYSLOG_FALSE}"; then
29068 if test -z "${MODULE_TERMIOS_TRUE}" && test -z "${MODULE_TERMIOS_FALSE}"; then
29072 if test -z "${MODULE_PYEXPAT_TRUE}" && test -z "${MODULE_PYEXPAT_FALSE}"; then
29076 if test -z "${MODULE__ELEMENTTREE_TRUE}" && test -z "${MODULE__ELEMENTTREE_FALSE}"; then
29080 if test -z "${MODULE__CODECS_CN_TRUE}" && test -z "${MODULE__CODECS_CN_FALSE}"; then
29084 if test -z "${MODULE__CODECS_HK_TRUE}" && test -z "${MODULE__CODECS_HK_FALSE}"; then
29088 if test -z "${MODULE__CODECS_ISO2022_TRUE}" && test -z "${MODULE__CODECS_ISO2022_FALSE}"; then
29092 if test -z "${MODULE__CODECS_JP_TRUE}" && test -z "${MODULE__CODECS_JP_FALSE}"; then
29096 if test -z "${MODULE__CODECS_KR_TRUE}" && test -z "${MODULE__CODECS_KR_FALSE}"; then
29100 if test -z "${MODULE__CODECS_TW_TRUE}" && test -z "${MODULE__CODECS_TW_FALSE}"; then
29104 if test -z "${MODULE__MULTIBYTECODEC_TRUE}" && test -z "${MODULE__MULTIBYTECODEC_FALSE}"; then
29108 if test -z "${MODULE_UNICODEDATA_TRUE}" && test -z "${MODULE_UNICODEDATA_FALSE}"; then
29112 if test -z "${MODULE__MD5_TRUE}" && test -z "${MODULE__MD5_FALSE}"; then
29116 if test -z "${MODULE__SHA1_TRUE}" && test -z "${MODULE__SHA1_FALSE}"; then
29120 if test -z "${MODULE__SHA256_TRUE}" && test -z "${MODULE__SHA256_FALSE}"; then
29124 if test -z "${MODULE__SHA512_TRUE}" && test -z "${MODULE__SHA512_FALSE}"; then
29128 if test -z "${MODULE__SHA3_TRUE}" && test -z "${MODULE__SHA3_FALSE}"; then
29132 if test -z "${MODULE__BLAKE2_TRUE}" && test -z "${MODULE__BLAKE2_FALSE}"; then
29136 if test -z "${MODULE__CRYPT_TRUE}" && test -z "${MODULE__CRYPT_FALSE}"; then
29140 if test -z "${MODULE__DECIMAL_TRUE}" && test -z "${MODULE__DECIMAL_FALSE}"; then
29144 if test -z "${MODULE__GDBM_TRUE}" && test -z "${MODULE__GDBM_FALSE}"; then
29148 if test -z "${MODULE_NIS_TRUE}" && test -z "${MODULE_NIS_FALSE}"; then
29152 if test -z "${MODULE__SQLITE3_TRUE}" && test -z "${MODULE__SQLITE3_FALSE}"; then
29156 if test -z "${MODULE__TKINTER_TRUE}" && test -z "${MODULE__TKINTER_FALSE}"; then
29160 if test -z "${MODULE__UUID_TRUE}" && test -z "${MODULE__UUID_FALSE}"; then
29164 if test -z "${MODULE_ZLIB_TRUE}" && test -z "${MODULE_ZLIB_FALSE}"; then
29168 if test -z "${MODULE_BINASCII_TRUE}" && test -z "${MODULE_BINASCII_FALSE}"; then
29172 if test -z "${MODULE__BZ2_TRUE}" && test -z "${MODULE__BZ2_FALSE}"; then
29176 if test -z "${MODULE__LZMA_TRUE}" && test -z "${MODULE__LZMA_FALSE}"; then
29180 if test -z "${MODULE__SSL_TRUE}" && test -z "${MODULE__SSL_FALSE}"; then
29184 if test -z "${MODULE__HASHLIB_TRUE}" && test -z "${MODULE__HASHLIB_FALSE}"; then
29188 if test -z "${MODULE__TESTCAPI_TRUE}" && test -z "${MODULE__TESTCAPI_FALSE}"; then
29192 if test -z "${MODULE__TESTCLINIC_TRUE}" && test -z "${MODULE__TESTCLINIC_FALSE}"; then
29196 if test -z "${MODULE__TESTINTERNALCAPI_TRUE}" && test -z "${MODULE__TESTINTERNALCAPI_FALSE}"; then
29200 if test -z "${MODULE__TESTBUFFER_TRUE}" && test -z "${MODULE__TESTBUFFER_FALSE}"; then
29204 if test -z "${MODULE__TESTIMPORTMULTIPLE_TRUE}" && test -z "${MODULE__TESTIMPORTMULTIPLE_FALSE}"; then
29208 if test -z "${MODULE__TESTMULTIPHASE_TRUE}" && test -z "${MODULE__TESTMULTIPHASE_FALSE}"; then
29212 if test -z "${MODULE__XXTESTFUZZ_TRUE}" && test -z "${MODULE__XXTESTFUZZ_FALSE}"; then
29216 if test -z "${MODULE__CTYPES_TEST_TRUE}" && test -z "${MODULE__CTYPES_TEST_FALSE}"; then
29220 if test -z "${MODULE_XXLIMITED_TRUE}" && test -z "${MODULE_XXLIMITED_FALSE}"; then
29224 if test -z "${MODULE_XXLIMITED_35_TRUE}" && test -z "${MODULE_XXLIMITED_35_FALSE}"; then
29229 : "${CONFIG_STATUS=./config.status}"
29233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
29241 # configure, is in config.log if it exists.
29247 SHELL=\${CONFIG_SHELL-$SHELL}
29251 ## -------------------- ##
29253 ## -------------------- ##
29262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29264 alias -g '${1+"$@"}'='"$@"'
29267 case `(set -o) 2>/dev/null` in #(
29269 set -o posix ;; #(
29283 # Quoting is to prevent editors from complaining about space-tab.
29293 # Ensure predictable behavior from utilities with locale-dependent output.
29300 # to be unset--not just set to an empty or harmless value--now, to
29301 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
29317 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29318 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29337 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
29348 if test ! -f "$as_myself"; then
29356 # ----------------------------------------
29362 as_status=$1; test $as_status -eq 0 && as_status=1
29364 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
29365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
29374 # -----------------------
29382 # -----------------
29383 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
29392 # ---------------
29401 # ----------------------
29420 # ------------------
29433 as_val=`expr "$@" || test $? -eq 1`
29445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
29457 as_me=`$as_basename -- "$0" ||
29488 case `echo -n x` in #(((((
29489 -n*)
29497 ECHO_N='-n';;
29500 # For backward compatibility with old third-party macros, we provide
29506 rm -f conf$$ conf$$.exe conf$$.file
29507 if test -d conf$$.dir; then
29508 rm -f conf$$.dir/conf$$.file
29510 rm -f conf$$.dir
29514 if ln -s conf$$.file conf$$ 2>/dev/null; then
29515 as_ln_s='ln -s'
29517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29519 # In both cases, we have to default to `cp -pR'.
29520 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
29521 as_ln_s='cp -pR'
29525 as_ln_s='cp -pR'
29528 as_ln_s='cp -pR'
29530 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
29535 # -------------
29541 -*) as_dir=./$as_dir;;
29543 test -d "$as_dir" || eval $as_mkdir_p || {
29551 as_dir=`$as_dirname -- "$as_dir" ||
29574 test -d "$as_dir" && break
29576 test -z "$as_dirs" || eval "mkdir $as_dirs"
29577 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
29581 if mkdir -p . 2>/dev/null; then
29582 as_mkdir_p='mkdir -p "$as_dir"'
29584 test -d ./-p && rmdir ./-p
29590 # -----------------------
29594 test -f "$1" && test -x "$1"
29596 as_test_x='test -x'
29607 ## ----------------------------------- ##
29609 ## ----------------------------------- ##
29619 generated by GNU Autoconf 2.71. Invocation command line was
29627 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29642 # Files that config.status was made for.
29656 -h, --help print this help, then exit
29657 -V, --version print version number and configuration settings, then exit
29658 --config print configuration, then exit
29659 -q, --quiet, --silent
29661 -d, --debug don't remove temporary files
29662 --recheck update $as_me by reconfiguring in the same conditions
29663 --file=FILE[:TEMPLATE]
29665 --header=FILE[:TEMPLATE]
29682 python config.status 3.11
29683 configured by $0, generated by GNU Autoconf 2.71,
29687 This config.status script is free software; the Free Software Foundation
29694 test -n "\$AWK" || AWK=awk
29703 --*=?*)
29708 --*=)
29722 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29724 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29726 --config | --confi | --conf | --con | --co | --c )
29728 --debug | --debu | --deb | --de | --d | -d )
29730 --file | --fil | --fi | --f )
29738 --header | --heade | --head | --hea )
29745 --he | --h)
29746 # Conflict between --help and --header
29748 Try \`$0 --help' for more information.";;
29749 --help | --hel | -h )
29751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29752 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29756 -*) as_fn_error $? "unrecognized option: \`$1'
29757 Try \`$0 --help' for more information." ;;
29770 ac_configure_extra_args="$ac_configure_extra_args --silent"
29776 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29786 exec 5>>config.log
29789 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29812 "Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
29813 "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
29843 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
29850 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29851 test -d "$tmp"
29854 tmp=./conf$$-$RANDOM
29861 # This happens for instance with `./config.status config.h'.
29862 if test -n "$CONFIG_FILES"; then
29889 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
29895 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
29904 rm -f conf$$subs.sh
29909 sed -n '
29952 rm -f conf$$subs.awk
29988 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
30015 fi # test -n "$CONFIG_FILES"
30019 # This happens for instance with `./config.status Makefile'.
30020 if test -n "$CONFIG_HEADERS"; then
30026 # here-document in config.status, that substitutes the proper values into
30027 # config.h.in to produce config.h.
30033 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
30034 if test -z "$ac_tt"; then
30048 sed -n '
30103 prefix = substr(line, 1, index(line, defundef) - 1)
30122 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
30123 fi # test -n "$CONFIG_HEADERS"
30136 :[FH]-) ac_tag=-:-;;
30154 -) ac_f="$ac_tmp/stdin";;
30156 # (if the path is not absolute). The absolute path cannot be DOS-style,
30158 test -f "$ac_f" ||
30161 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30171 # /* config.h. Generated by config.status. */
30175 if test x"$ac_file" != x-; then
30177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
30189 *:-:* | *:-) cat >"$ac_tmp/stdin" \
30195 ac_dir=`$as_dirname -- "$ac_file" ||
30285 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30289 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30326 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
30329 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30330 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
30331 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
30332 "$ac_tmp/out"`; test -z "$ac_out"; } &&
30333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30338 rm -f "$ac_tmp/stdin"
30340 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
30341 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
30349 if test x"$ac_file" != x-; then
30352 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
30353 } >"$ac_tmp/config.h" \
30355 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
30356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
30359 rm -f "$ac_file"
30360 mv "$ac_tmp/config.h" "$ac_file" \
30365 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
30366 || as_fn_error $? "could not create -" "$LINENO" 5
30389 # configure is writing to config.log, and then calls config.status.
30390 # config.status does its own redirection, appending to config.log.
30391 # Unfortunately, on DOS this fails, as config.log is still kept open
30392 # by configure, so config.status won't be able to write to it; its
30394 # effectively closing config.log, so it can be properly (re)opened and
30395 # appended to by config.status. When coming back to configure, we
30401 ac_config_status_args="$ac_config_status_args --quiet"
30404 exec 5>>config.log
30409 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating Modules/Setup.local" >&5
30417 if test ! -f Modules/Setup.local
30422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating Makefile" >&5
30424 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
30425 -s Modules \
30427 mv config.c Modules
30429 if test -z "$PKG_CONFIG"; then
30430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config is missing. Some dependencies may not be detected correctly." >&5
30431 printf "%s\n" "$as_me: WARNING: pkg-config is missing. Some dependencies may not be detected correctly." >&2;}
30434 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
30435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}:
30438 please run ./configure --enable-optimizations
30443 please run ./configure --enable-optimizations
30449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
30452 CPython core team, see https://peps.python.org/pep-0011/ for more information.
30457 CPython core team, see https://peps.python.org/pep-0011/ for more information.