• Home
  • Raw
  • Download

Lines Matching +full:- +full:main +full:- +full:werror +full:- +full:mac +full:- +full:x64

2 # Guess values for system-dependent variables and create Makefiles.
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
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1237 if test -n "$ac_prev"; then
1250 --)
1253 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1255 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1258 -build | --build | --buil | --bui | --bu)
1260 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1263 -cache-file | --cache-file | --cache-fil | --cache-fi \
1264 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1266 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1267 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1270 --config-cache | -C)
1273 -datadir | --datadir | --datadi | --datad)
1275 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1278 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1279 | --dataroo | --dataro | --datar)
1281 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1282 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1285 -disable-* | --disable-*)
1286 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1296 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1301 -docdir | --docdir | --docdi | --doc | --do)
1303 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1306 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1308 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1311 -enable-* | --enable-*)
1312 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1317 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1327 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1328 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1329 | --exec | --exe | --ex)
1331 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1332 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1333 | --exec=* | --exe=* | --ex=*)
1336 -gas | --gas | --ga | --g)
1337 # Obsolete; use --with-gas.
1340 -help | --help | --hel | --he | -h)
1342 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1344 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1347 -host | --host | --hos | --ho)
1349 -host=* | --host=* | --hos=* | --ho=*)
1352 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1354 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1355 | --ht=*)
1358 -includedir | --includedir | --includedi | --included | --include \
1359 | --includ | --inclu | --incl | --inc)
1361 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1362 | --includ=* | --inclu=* | --incl=* | --inc=*)
1365 -infodir | --infodir | --infodi | --infod | --info | --inf)
1367 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1370 -libdir | --libdir | --libdi | --libd)
1372 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1375 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1376 | --libexe | --libex | --libe)
1378 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1379 | --libexe=* | --libex=* | --libe=*)
1382 -localedir | --localedir | --localedi | --localed | --locale)
1384 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1387 -localstatedir | --localstatedir | --localstatedi | --localstated \
1388 | --localstate | --localstat | --localsta | --localst | --locals)
1390 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1391 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1394 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1396 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1399 -nfp | --nfp | --nf)
1400 # Obsolete; use --without-fp.
1403 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1404 | --no-cr | --no-c | -n)
1407 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1408 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1411 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1412 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1413 | --oldin | --oldi | --old | --ol | --o)
1415 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1416 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1417 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1420 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1422 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1425 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1426 | --program-pre | --program-pr | --program-p)
1428 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1429 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1432 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1433 | --program-suf | --program-su | --program-s)
1435 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1436 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1439 -program-transform-name | --program-transform-name \
1440 | --program-transform-nam | --program-transform-na \
1441 | --program-transform-n | --program-transform- \
1442 | --program-transform | --program-transfor \
1443 | --program-transfo | --program-transf \
1444 | --program-trans | --program-tran \
1445 | --progr-tra | --program-tr | --program-t)
1447 -program-transform-name=* | --program-transform-name=* \
1448 | --program-transform-nam=* | --program-transform-na=* \
1449 | --program-transform-n=* | --program-transform-=* \
1450 | --program-transform=* | --program-transfor=* \
1451 | --program-transfo=* | --program-transf=* \
1452 | --program-trans=* | --program-tran=* \
1453 | --progr-tra=* | --program-tr=* | --program-t=*)
1456 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1458 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1461 -psdir | --psdir | --psdi | --psd | --ps)
1463 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1466 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1467 | -silent | --silent | --silen | --sile | --sil)
1470 -runstatedir | --runstatedir | --runstatedi | --runstated \
1471 | --runstate | --runstat | --runsta | --runst | --runs \
1472 | --run | --ru | --r)
1474 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1475 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1476 | --run=* | --ru=* | --r=*)
1479 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1481 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1482 | --sbi=* | --sb=*)
1485 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1486 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1487 | --sharedst | --shareds | --shared | --share | --shar \
1488 | --sha | --sh)
1490 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1491 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1492 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1493 | --sha=* | --sh=*)
1496 -site | --site | --sit)
1498 -site=* | --site=* | --sit=*)
1501 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1503 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1506 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1507 | --syscon | --sysco | --sysc | --sys | --sy)
1509 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1510 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1513 -target | --target | --targe | --targ | --tar | --ta | --t)
1515 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1518 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1521 -version | --version | --versio | --versi | --vers | -V)
1524 -with-* | --with-*)
1525 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1527 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1530 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1535 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1540 -without-* | --without-*)
1541 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1543 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1546 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1551 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1556 --x)
1557 # Obsolete; use --with-x.
1560 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1561 | --x-incl | --x-inc | --x-in | --x-i)
1563 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1564 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1567 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1568 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1570 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1571 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1574 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1575 Try \`$0 --help' for more information"
1582 '' | [0-9]* | *[!_$as_cr_alnum]* )
1590 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1591 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1599 if test -n "$ac_prev"; then
1600 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1604 if test -n "$ac_unrecognized_opts"; then
1630 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1634 # used to hold the argument of --host etc.
1650 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1655 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1656 ac_ls_di=`ls -di .` &&
1657 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1664 if test -z "$srcdir"; then
1667 ac_confdir=`$as_dirname -- "$as_myself" ||
1691 if test ! -r "$srcdir/$ac_unique_file"; then
1697 if test ! -r "$srcdir/$ac_unique_file"; then
1703 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1711 # mess up M-x gdb in Emacs.
1723 # Report the --help message.
1739 -h, --help display this help and exit
1740 --help=short display options specific to this package
1741 --help=recursive display the short help of all the included packages
1742 -V, --version display version information and exit
1743 -q, --quiet, --silent do not print \`checking ...' messages
1744 --cache-file=FILE cache test results in FILE [disabled]
1745 -C, --config-cache alias for \`--cache-file=config.cache'
1746 -n, --no-create do not create output files
1747 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1750 --prefix=PREFIX install architecture-independent files in PREFIX
1752 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1758 for instance \`--prefix=\$HOME'.
1763 --bindir=DIR user executables [EPREFIX/bin]
1764 --sbindir=DIR system admin executables [EPREFIX/sbin]
1765 --libexecdir=DIR program executables [EPREFIX/libexec]
1766 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1767 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1768 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1769 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1770 --libdir=DIR object code libraries [EPREFIX/lib]
1771 --includedir=DIR C header files [PREFIX/include]
1772 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1773 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1774 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1775 --infodir=DIR info documentation [DATAROOTDIR/info]
1776 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1777 --mandir=DIR man documentation [DATAROOTDIR/man]
1778 --docdir=DIR documentation root [DATAROOTDIR/doc/python]
1779 --htmldir=DIR html documentation [DOCDIR]
1780 --dvidir=DIR dvi documentation [DOCDIR]
1781 --pdfdir=DIR pdf documentation [DOCDIR]
1782 --psdir=DIR ps documentation [DOCDIR]
1788 --build=BUILD configure for building on BUILD [guessed]
1789 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1793 if test -n "$ac_init_help"; then
1800 --disable-option-checking ignore unrecognized --enable/--with options
1801 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1802 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1803 --enable-universalsdk[=SDKDIR]
1806 see Mac/README.rst. (default is no)
1807 --enable-framework[=INSTALLDIR]
1810 installation path. see Mac/README.rst (default is
1812 --enable-wasm-dynamic-linking
1815 --enable-wasm-pthreads Enable pthread emulation for WebAssembly (default is
1817 --enable-shared enable building a shared Python library (default is
1819 --enable-profiling enable C-level code profiling with gprof (default is
1821 --disable-gil enable experimental support for running without the
1823 --enable-pystats enable internal statistics gathering (default is no)
1824 --enable-experimental-jit[=no|yes|yes-off|interpreter]
1825 build the experimental just-in-time compiler
1827 --enable-optimizations enable expensive, stable optimizations (PGO, etc.)
1829 --enable-bolt enable usage of the llvm-bolt post-link optimizer
1831 --enable-loadable-sqlite-extensions
1834 --enable-ipv6 enable ipv6 (with ipv4) support, see
1836 --enable-big-digits[=15|30]
1839 --disable-test-modules don't build nor install test modules
1842 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1843 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1844 --with-build-python=python3.13
1847 --with-pkg-config=[yes|no|check]
1848 use pkg-config to detect build options (default is
1850 --with-universal-archs=ARCH
1853 --enable-universalsdk is set; options are:
1854 ("universal2", "intel-64", "intel-32", "intel",
1855 "32-bit", "64-bit", "3-way", or "all") see
1856 Mac/README.rst
1857 --with-framework-name=FRAMEWORK
1859 only valid when --enable-framework is set. see
1860 Mac/README.rst (default is 'Python')
1861 --with-app-store-compliance=[PATCH-FILE]
1863 stores. Optional PATCH-FILE specifies the custom
1865 --with-emscripten-target=[browser|node]
1867 --with-suffix=SUFFIX set executable suffix to SUFFIX (default is empty,
1869 --without-static-libpython
1872 --with-pydebug build with Py_DEBUG defined (default is no)
1873 --with-trace-refs enable tracing references for debugging purpose
1875 --with-assertions build with C assertions enabled (default is no)
1876 --with-lto=[full|thin|no|yes]
1877 enable Link-Time-Optimization in any build (default
1879 --with-strict-overflow if 'yes', add -fstrict-overflow to CFLAGS, else add
1880 -fno-strict-overflow (default is no)
1881 --with-dsymutil link debug information into final executable with
1883 --with-address-sanitizer
1886 --with-memory-sanitizer enable MemorySanitizer allocation error detector,
1888 --with-undefined-behavior-sanitizer
1891 --with-thread-sanitizer enable ThreadSanitizer data race detector, 'tsan'
1893 --with-hash-algorithm=[fnv|siphash13|siphash24]
1896 --with-tzpath=<list of absolute paths separated by pathsep>
1899 --with-libs='lib1 ...' link against additional libs (default is no)
1900 --with-system-expat build pyexpat module using an installed expat
1902 --with-system-libmpdec build _decimal module using an installed mpdecimal
1905 --with-decimal-contextvar
1906 build _decimal module using a coroutine-local rather
1907 than a thread-local context (default is yes)
1908 --with-dbmliborder=db1:db2:...
1912 --with-doc-strings enable documentation strings (default is yes)
1913 --with-mimalloc build with mimalloc memory allocator (default is yes
1915 --with-pymalloc enable specialized mallocs (default is yes)
1916 --with-freelists enable object freelists (default is yes)
1917 --with-c-locale-coercion
1918 enable C locale coercion to a UTF-8 based locale
1920 --with-valgrind enable Valgrind support (default is no)
1921 --with-dtrace enable DTrace support (default is no)
1922 --with-libm=STRING override libm math library to STRING (default is
1923 system-dependent)
1924 --with-libc=STRING override libc C library to STRING (default is
1925 system-dependent)
1926 --with-platlibdir=DIRNAME
1928 --with-wheel-pkg-dir=PATH
1931 --with(out)-readline[=editline|readline|no]
1933 --with-computed-gotos enable computed gotos in evaluation loop (enabled by
1935 --with-ensurepip[=install|upgrade|no]
1938 --with-openssl=DIR root of the OpenSSL directory
1939 --with-openssl-rpath=[DIR|auto|no]
1942 auto-detect rpath from --with-openssl and
1943 pkg-config, DIR: set an explicit rpath
1944 --with-ssl-default-suites=[python|openssl|STRING]
1950 --with-builtin-hashlib-hashes=md5,sha1,sha2,sha3,blake2
1955 PKG_CONFIG path to pkg-config utility
1957 directories to add to pkg-config's search path
1959 path overriding pkg-config's built-in search path
1960 MACHDEP name for machine-dependent library files
1963 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1965 LIBS libraries to pass to the linker, e.g. -l<library>
1966 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1973 Arguments to llvm-bolt when instrumenting binaries
1975 Arguments to llvm-bolt when creating a BOLT optimized binary
1977 C compiler flags for LIBUUID, overriding pkg-config
1979 linker flags for LIBUUID, overriding pkg-config
1981 C compiler flags for LIBFFI, overriding pkg-config
1982 LIBFFI_LIBS linker flags for LIBFFI, overriding pkg-config
1984 C compiler flags for LIBMPDEC, overriding pkg-config
1986 linker flags for LIBMPDEC, overriding pkg-config
1988 C compiler flags for LIBSQLITE3, overriding pkg-config
1990 linker flags for LIBSQLITE3, overriding pkg-config
1992 C compiler flags for TCLTK, overriding pkg-config
1993 TCLTK_LIBS linker flags for TCLTK, overriding pkg-config
1994 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1995 X11_LIBS linker flags for X11, overriding pkg-config
1998 ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
1999 ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
2001 C compiler flags for BZIP2, overriding pkg-config
2002 BZIP2_LIBS linker flags for BZIP2, overriding pkg-config
2004 C compiler flags for LIBLZMA, overriding pkg-config
2006 linker flags for LIBLZMA, overriding pkg-config
2008 C compiler flags for LIBREADLINE, overriding pkg-config
2010 linker flags for LIBREADLINE, overriding pkg-config
2012 C compiler flags for LIBEDIT, overriding pkg-config
2014 linker flags for LIBEDIT, overriding pkg-config
2016 C compiler flags for CURSES, overriding pkg-config
2017 CURSES_LIBS linker flags for CURSES, overriding pkg-config
2019 C compiler flags for PANEL, overriding pkg-config
2020 PANEL_LIBS linker flags for PANEL, overriding pkg-config
2022 C compiler flags for LIBB2, overriding pkg-config
2023 LIBB2_LIBS linker flags for LIBB2, overriding pkg-config
2034 # If there are subdirs, report their specific --help.
2036 test -d "$ac_dir" ||
2037 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2075 # Metaconfig's "Configure" on case-insensitive file systems.
2076 if test -f "$ac_srcdir/configure.gnu"; then
2078 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2079 elif test -f "$ac_srcdir/configure"; then
2081 $SHELL "$ac_srcdir/configure" --help=recursive
2089 test -n "$ac_init_help" && exit $ac_status
2102 ## ------------------------ ##
2104 ## ------------------------ ##
2107 # --------------------------
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 rm -f conftest.$ac_objext conftest.beam
2118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2122 if test -s conftest.err; then
2123 grep -v '^ *+' conftest.err >conftest.er1
2125 mv -f conftest.er1 conftest.err
2127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2129 test -z "$ac_c_werror_flag" ||
2130 test ! -s conftest.err
2131 } && test -s conftest.$ac_objext
2146 # ----------------------
2150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2160 if test -s conftest.err; then
2161 grep -v '^ *+' conftest.err >conftest.er1
2163 mv -f conftest.er1 conftest.err
2165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2168 test ! -s conftest.err
2184 # -------------------------------------------------------
2189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2217 # -----------------------
2221 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2222 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2232 if test -s conftest.err; then
2233 grep -v '^ *+' conftest.err >conftest.er1
2235 mv -f conftest.er1 conftest.err
2237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2239 test -z "$ac_c_werror_flag" ||
2240 test ! -s conftest.err
2241 } && test -s conftest$ac_exeext && {
2243 test -x conftest$ac_exeext
2257 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2264 # ----------------------
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2300 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2307 # -------------------------------------------
2312 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 main (void)
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 main (void)
2352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2364 # --------------------------------------------
2365 # Tries to find the compile-time value of EXPR in a program that includes
2370 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 main (void)
2379 static int test_array [1 - 2 * !(($2) >= 0)];
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 main (void)
2397 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2410 if test $ac_lo -le $ac_mid; then
2416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2423 main (void)
2425 static int test_array [1 - 2 * !(($2) < 0)];
2435 ac_hi=-1 ac_mid=-1
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2441 main (void)
2443 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2455 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2456 if test $ac_mid -le $ac_hi; then
2462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2472 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 main (void)
2479 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2508 main (void)
2542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2544 rm -f conftest.val
2553 # ----------------------------------
2557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2591 main (void)
2604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2614 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2615 # ------------------------------------------------------------------
2617 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2628 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2635 main (void)
2655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2667 # ----------------------------------------------------
2672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2683 main (void)
2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2700 main (void)
2715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2758 ## --------- ##
2760 ## --------- ##
2762 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2763 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2764 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2765 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2766 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2768 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2769 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2772 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2799 ## ----------- ##
2801 ## ----------- ##
2807 # Strip out --no-create and --no-recursion so they do not pile up.
2808 # Strip out --silent because we don't want to record it for future runs.
2809 # Also quote any args containing shell meta-characters.
2810 # Make two passes to allow for proper duplicate-argument suppression.
2820 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2821 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2822 | -silent | --silent | --silen | --sile | --sil)
2835 *=* | --config-cache | -C | -disable-* | --disable-* \
2836 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2837 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2838 | -with-* | --with-* | -without-* | --without-* | --x)
2843 -* ) ac_must_keep_next=true ;;
2866 printf "%s\n" "## ---------------- ##
2868 ## ---------------- ##"
2872 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2877 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 sed -n \
2895 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2902 printf "%s\n" "## ----------------- ##
2904 ## ----------------- ##"
2916 if test -n "$ac_subst_files"; then
2917 printf "%s\n" "## ------------------- ##
2919 ## ------------------- ##"
2932 if test -s confdefs.h; then
2933 printf "%s\n" "## ----------- ##
2935 ## ----------- ##"
2944 rm -f core *.core core.conftest.* &&
2945 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2954 rm -f -r conftest* confdefs.h
2975 if test -n "$CONFIG_SITE"; then
2991 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2996 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3003 if test -r "$cache_file"; then
3006 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3054 as an "x". The following induces an error, until -std is added to get
3057 that is true only with -std. */
3058 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3063 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3071 # Test code for whether the C compiler supports C89 (body of main).
3117 static long long int bignum = -9223372036854775807LL;
3137 // See if C++-style comments work.
3182 # Test code for whether the C compiler supports C99 (body of main).
3200 ia->datasize = 10;
3201 for (int i = 0; i < ia->datasize; ++i)
3202 ia->data[i] = i * 1.234;
3215 dynamic_array[ni.number - 1] = 543;
3219 || dynamic_array[ni.number - 1] != 543);
3242 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3256 // Check UTF-8 literals.
3265 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3276 # Test code for whether the C compiler supports C11 (body of main).
3292 main (int argc, char **argv)
3307 main (int argc, char **argv)
3320 main (int argc, char **argv)
3341 ac_aux_files="install-sh config.guess config.sub"
3347 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3371 # As a special case, if "install-sh" is required, that requirement
3372 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3374 if test x"$ac_aux" = x"install-sh"
3376 if test -f "${as_dir}install-sh"; then
3377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3378 ac_install_sh="${as_dir}install-sh -c"
3379 elif test -f "${as_dir}install.sh"; then
3380 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3381 ac_install_sh="${as_dir}install.sh -c"
3382 elif test -f "${as_dir}shtool"; then
3383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3384 ac_install_sh="${as_dir}shtool install -c"
3388 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3394 if test -f "${as_dir}${ac_aux}"; then
3395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3427 if test -f "${ac_aux_dir}config.guess"; then
3430 if test -f "${ac_aux_dir}config.sub"; then
3433 if test -f "$ac_aux_dir/configure"; then
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3492 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3495 ## -------------------- ##
3496 ## Main body of script. ##
3497 ## -------------------- ##
3501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3516 if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
3517 # If we're building out-of-tree, we need to make sure the following
3519 # Objects/ -> typeslots.inc
3520 # Include/ -> Python.h
3522 # regenerated when building out-of-tree, regardless of whether or not
3523 # the $srcdir counterpart is up-to-date. This is an acceptable trade
3525 BASECPPFLAGS="-IObjects -IInclude -IPython"
3534 if test -e $srcdir/.git
3538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 if test -n "$HAS_GIT"; then
3559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3566 test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
3570 if test -n "$HAS_GIT"; then
3571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
3574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 HAS_GIT=no-repository
3584 GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
3585 GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
3586 GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3622 *-*-*) ;;
3626 ac_save_IFS=$IFS; IFS='-'
3636 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3656 *-*-*) ;;
3660 ac_save_IFS=$IFS; IFS='-'
3670 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3678 as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
3682 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
3683 rm -f pybuilddir.txt
3686 # Check whether --with-build-python was given.
3690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-build-python" >&5
3691 printf %s "checking for --with-build-python... " >&6; }
3699 as_fn_error $? "invalid --with-build-python option: expected path or \"yes\", not \"no\"" "$LINENO" 5
3702 if ! $(command -v "$with_build_python" >/dev/null 2>&1); then
3705 build_python_ver=$($with_build_python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
3711 PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(srcdir)/Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) _PYTHON_SYSCONFIGDATA_PATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`) '$with_build_python
3712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_build_python" >&5
3719 as_fn_error $? "Cross compiling requires --with-build-python" "$LINENO" 5
3722 PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Python interpreter freezing" >&5
3732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_FREEZE" >&5
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 if test -n "$PYTHON_FOR_REGEN"; then
3786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3796 if test -n "$PYTHON_FOR_REGEN"; then
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
3800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 test -n "$PYTHON_FOR_REGEN" && break
3807 test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
3811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python for regen version" >&5
3813 if command -v "$PYTHON_FOR_REGEN" >/dev/null 2>&1; then
3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $($PYTHON_FOR_REGEN -V 2>/dev/null)" >&5
3815 printf "%s\n" "$($PYTHON_FOR_REGEN -V 2>/dev/null)" >&6; }
3817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: missing" >&5
3823 prefix=`echo "$prefix" | sed -e 's/\/$//g'`
3830 # with other autoconf-based packages that include Python.h
3831 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
3843 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3850 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3857 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3871 # Check whether --with-pkg-config was given.
3883 if test -z "$PKG_CONFIG"; then
3896 if test -n "$ac_tool_prefix"; then
3897 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3898 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3933 if test -n "$PKG_CONFIG"; then
3934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 if test -z "$ac_cv_path_PKG_CONFIG"; then
3945 # Extract the first word of "pkg-config", so it can be a program name with args.
3946 set dummy pkg-config; ac_word=$2
3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3981 if test -n "$ac_pt_PKG_CONFIG"; then
3982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4005 if test -n "$PKG_CONFIG"; then
4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4008 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4009 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 as_fn_error $? "invalid argument --with-pkg-config=$with_pkg_config" "$LINENO" 5
4029 if test "$with_pkg_config" = yes -a -z "$PKG_CONFIG"; then
4030 as_fn_error $? "pkg-config is required" "$LINENO" 5]
4033 # Set name for machine-dependent library files
4035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
4037 if test -z "$MACHDEP"
4045 *-*-linux-android*)
4046 ac_sys_system=Linux-android
4048 *-*-linux*)
4051 *-*-cygwin*)
4054 *-apple-ios*)
4057 *-*-vxworks*)
4060 *-*-emscripten)
4063 *-*-wasi*)
4073 ac_sys_system=`uname -s`
4075 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
4076 ac_sys_release=`uname -v`
4078 ac_sys_release=`uname -r`
4082 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
4084 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
4089 linux-android*) MACHDEP="android";;
4099 SUNOS_VERSION=`echo $ac_sys_release | sed -e 's!\.\(0-9\)$!.0\1!g' | tr -d '.'`
4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$MACHDEP\"" >&5
4108 # On cross-compile builds, configure will look for a host-specific compiler by
4109 # prepending the user-provided host triple to the required binary name.
4111 # On iOS, this results in binaries like "arm64-apple-ios13.0-simulator-gcc",
4113 # iOS version. As the default cross-compiler name won't exist, configure falls
4117 # "iOS/Resources/bin") in their path, rather than defining platform-specific
4121 if test -z "$AR"; then
4123 aarch64-apple-ios*-simulator) AR=arm64-apple-ios-simulator-ar ;;
4124 aarch64-apple-ios*) AR=arm64-apple-ios-ar ;;
4125 x86_64-apple-ios*-simulator) AR=x86_64-apple-ios-simulator-ar ;;
4129 if test -z "$CC"; then
4131 aarch64-apple-ios*-simulator) CC=arm64-apple-ios-simulator-clang ;;
4132 aarch64-apple-ios*) CC=arm64-apple-ios-clang ;;
4133 x86_64-apple-ios*-simulator) CC=x86_64-apple-ios-simulator-clang ;;
4137 if test -z "$CPP"; then
4139 aarch64-apple-ios*-simulator) CPP=arm64-apple-ios-simulator-cpp ;;
4140 aarch64-apple-ios*) CPP=arm64-apple-ios-cpp ;;
4141 x86_64-apple-ios*-simulator) CPP=x86_64-apple-ios-simulator-cpp ;;
4145 if test -z "$CXX"; then
4147 aarch64-apple-ios*-simulator) CXX=arm64-apple-ios-simulator-clang++ ;;
4148 aarch64-apple-ios*) CXX=arm64-apple-ios-clang++ ;;
4149 x86_64-apple-ios*-simulator) CXX=x86_64-apple-ios-simulator-clang++ ;;
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
4155 printf %s "checking for --enable-universalsdk... " >&6; }
4156 # Check whether --enable-universalsdk was given.
4162 # Locate the best usable SDK, see Mac/README for more
4164 enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
4165 if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
4168 if test ! -d "${enableval}"
4182 if test ! -d "${UNIVERSALSDK}"
4184 as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
4197 if test -n "${UNIVERSALSDK}"
4199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
4202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210 # For backward compatibility reasons we prefer to select '32-bit' if available,
4212 UNIVERSAL_ARCHS="32-bit"
4213 if test "`uname -s`" = "Darwin"
4215 if test -n "${UNIVERSALSDK}"
4217 if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
4226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
4227 printf %s "checking for --with-universal-archs... " >&6; }
4229 # Check whether --with-universal-archs was given.
4237 if test -n "${UNIVERSALSDK}"
4239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 # Check whether --with-framework-name was given.
4253 PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
4263 # Check whether --enable-framework was given.
4279 iOS) as_fn_error $? "iOS builds must use --enable-framework" "$LINENO" 5 ;;
4282 PYTHONFRAMEWORKDIR=no-framework
4343 # --prefix option, but wants to install
4344 # the framework in a non-default location,
4359 RESSRCDIR=Mac/Resources/framework
4361 # Add files for Mac specific code to the list of output
4363 ac_config_files="$ac_config_files Mac/Makefile"
4365 ac_config_files="$ac_config_files Mac/PythonLauncher/Makefile"
4367 ac_config_files="$ac_config_files Mac/Resources/framework/Info.plist"
4369 ac_config_files="$ac_config_files Mac/Resources/app/Info.plist"
4396 iOS) as_fn_error $? "iOS builds must use --enable-framework" "$LINENO" 5 ;;
4399 PYTHONFRAMEWORKDIR=no-framework
4440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-app-store-compliance" >&5
4441 printf %s "checking for --with-app-store-compliance... " >&6; }
4443 # Check whether --with-app_store_compliance was given.
4452 APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch"
4456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying default app store compliance patch" >&5
4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying custom app store compliance patch" >&5
4471 APP_STORE_COMPLIANCE_PATCH="Mac/Resources/app-store-compliance.patch"
4472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: applying default app store compliance patch" >&5
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not patching for app store compliance" >&5
4490 *-*-linux*)
4499 *-*-cygwin*)
4502 *-apple-ios*)
4503 _host_os=`echo $host | cut -d '-' -f3`
4504 _host_device=`echo $host | cut -d '-' -f4`
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking iOS deployment target" >&5
4510 IPHONEOS_DEPLOYMENT_TARGET=$(echo ${_host_os} | cut -c4-)
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPHONEOS_DEPLOYMENT_TARGET" >&5
4517 _host_ident=${IPHONEOS_DEPLOYMENT_TARGET}-arm64-iphone${_host_device}
4520 _host_ident=${IPHONEOS_DEPLOYMENT_TARGET}-$host_cpu-iphone${_host_device}
4524 *-*-vxworks*)
4527 wasm32-*-* | wasm64-*-*)
4535 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_ident:+-$_host_ident}"
4573 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
4585 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
4594 # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
4596 # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
4600 Darwin/[12][0-9].*)
4616 # On HP-UX, defining _XOPEN_SOURCE to 600 or greater hides
4626 # X/Open 7, incorporating POSIX.1-2008
4634 # cases for HP-UX, we define it globally.
4644 # On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
4659 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
4679 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
4681 as_fn_error $? "cached CC is different -- throw away $cache_file
4685 # Don't let AC_PROG_CC set the default CFLAGS. It normally sets -g -O2
4686 # when the compiler supports them, but we don't always want -O2, and
4687 # we set -g later.
4688 if test -z "$CFLAGS"; then
4693 wasm64-*-emscripten) :
4695 as_fn_append CFLAGS " -sMEMORY64=1"
4696 as_fn_append LDFLAGS " -sMEMORY64=1"
4705 as_fn_append CFLAGS " -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET}"
4706 as_fn_append LDFLAGS " -mios-version-min=${IPHONEOS_DEPLOYMENT_TARGET}"
4716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722 if test -n "$HAS_XCRUN"; then
4737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4744 test -z "$ac_cv_prog_HAS_XCRUN" && ac_cv_prog_HAS_XCRUN="missing"
4748 if test -n "$HAS_XCRUN"; then
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAS_XCRUN" >&5
4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking macOS SDKROOT" >&5
4759 if test -z "$SDKROOT"; then
4761 SDKROOT=$(xcrun --show-sdk-path)
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SDKROOT" >&5
4770 # AC_PROG_CC can handle, see Mac/README for more
4772 if test -z "${CC}"
4780 if test -x "${as_dir}/gcc"; then
4781 if test -z "${found_gcc}"; then
4785 if test -x "${as_dir}/clang"; then
4786 if test -z "${found_clang}"; then
4793 if test -n "$found_gcc" -a -n "$found_clang"
4795 if test -n "`"$found_gcc" --version | grep llvm-gcc`"
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Detected llvm-gcc, falling back to clang" >&5
4798 printf "%s\n" "$as_me: Detected llvm-gcc, falling back to clang" >&6;}
4804 elif test -z "$found_gcc" -a -n "$found_clang"
4806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: No GCC found, use CLANG" >&5
4811 elif test -z "$found_gcc" -a -z "$found_clang"
4813 found_clang=`/usr/bin/xcrun -find clang 2>/dev/null`
4814 if test -n "${found_clang}"
4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using clang from Xcode.app" >&5
4819 CXX="`/usr/bin/xcrun -find clang++`"
4837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4840 if test -n "$ac_tool_prefix"; then
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 if test -n "$CC"; then
4864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4874 if test -n "$CC"; then
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 if test -z "$ac_cv_prog_CC"; then
4888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 if test -n "$ac_ct_CC"; then
4909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4919 if test -n "$ac_ct_CC"; then
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 if test -z "$CC"; then
4943 if test -n "$ac_tool_prefix"; then
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 if test -n "$CC"; then
4967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4977 if test -n "$CC"; then
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 if test -z "$CC"; then
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 if test -n "$CC"; then
5017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5039 if test -n "$CC"; then
5040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 if test -z "$CC"; then
5050 if test -n "$ac_tool_prefix"; then
5055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 if test -n "$CC"; then
5076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5086 if test -n "$CC"; then
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 test -n "$CC" && break
5098 if test -z "$CC"; then
5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 if test -n "$ac_ct_CC"; then
5125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5135 if test -n "$ac_ct_CC"; then
5136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 test -n "$ac_ct_CC" && break
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5161 if test -z "$CC"; then
5162 if test -n "$ac_tool_prefix"; then
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 if test -n "$CC"; then
5186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5196 if test -n "$CC"; then
5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 if test -z "$ac_cv_prog_CC"; then
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 if test -n "$ac_ct_CC"; then
5231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5241 if test -n "$ac_ct_CC"; then
5242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5267 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5276 for ac_option in --version -v -V -qversion -version; do
5282 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5286 if test -s conftest.err; then
5292 rm -f conftest.er1 conftest.err
5293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 main (void)
5310 # Try to create an executable without -o first, disregard a.out.
5313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5315 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5328 rm -f $ac_rmfiles
5335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5342 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5345 # so that the user can short-circuit this test for compilers unknown to
5349 test -f "$ac_file" || continue
5363 # safe: cross compilers may not add the suffix if given an `-o'
5377 if test -z "$ac_file"
5379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5384 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5398 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5419 test -f "$ac_file" || continue
5428 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5433 rm -f conftest conftest$ac_cv_exeext
5434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5437 rm -f conftest.$ac_ext
5440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444 main (void)
5456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5486 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5489 If you meant to cross compile, use \`--host'.
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 main (void)
5516 rm -f conftest.o conftest.obj
5522 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5526 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 test -f "$ac_file" || continue;
5541 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5546 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5562 main (void)
5578 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5594 printf %s "checking whether $CC accepts -g... " >&6; }
5602 CFLAGS="-g"
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5607 main (void)
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5623 main (void)
5635 CFLAGS="-g"
5636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5640 main (void)
5651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5655 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5664 CFLAGS="-g -O2"
5666 CFLAGS="-g"
5670 CFLAGS="-O2"
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 for ac_arg in '' -std=gnu11
5697 rm -f core conftest.err conftest.$ac_objext conftest.beam
5700 rm -f conftest.$ac_ext
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5743 rm -f core conftest.err conftest.$ac_objext conftest.beam
5746 rm -f conftest.$ac_ext
5752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5789 rm -f core conftest.err conftest.$ac_objext conftest.beam
5792 rm -f conftest.$ac_ext
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5829 if test -n "$CPP" && test -d "$CPP"; then
5832 if test -z "$CPP"; then
5838 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5844 # with a fresh cross-compiler works.
5845 # On the NeXT, cc -E runs the code through the compiler's parser,
5847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 rm -f conftest.err conftest.i conftest.$ac_ext
5863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5876 rm -f conftest.err conftest.i conftest.$ac_ext
5880 rm -f conftest.i conftest.err conftest.$ac_ext
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5900 # with a fresh cross-compiler works.
5901 # On the NeXT, cc -E runs the code through the compiler's parser,
5903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5915 rm -f conftest.err conftest.i conftest.$ac_ext
5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 rm -f conftest.err conftest.i conftest.$ac_ext
5936 rm -f conftest.i conftest.err conftest.$ac_ext
5941 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5954 printf %s "checking for grep that handles long lines and -e... " >&6; }
5959 if test -z "$GREP"; then
5961 # Loop through the user's path and test for each of PROGNAME-LIST
5978 case `"$ac_path_GREP" --version 2>&1` in
5990 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5993 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5999 test $ac_count -gt 10 && break
6001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6009 if test -z "$ac_cv_path_GREP"; then
6017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6034 if test -z "$SED"; then
6036 # Loop through the user's path and test for each of PROGNAME-LIST
6053 case `"$ac_path_SED" --version 2>&1` in
6065 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6068 if test $ac_count -gt ${ac_path_SED_max-0}; then
6074 test $ac_count -gt 10 && break
6076 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6084 if test -z "$ac_cv_path_SED"; then
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6095 rm -f conftest.sed
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6103 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6104 then ac_cv_path_EGREP="$GREP -E"
6106 if test -z "$EGREP"; then
6108 # Loop through the user's path and test for each of PROGNAME-LIST
6125 case `"$ac_path_EGREP" --version 2>&1` in
6140 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6146 test $ac_count -gt 10 && break
6148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6156 if test -z "$ac_cv_path_EGREP"; then
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CC compiler name" >&5
6197 ac_cv_cc_name=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
6204 rm -f conftest.c conftest.out
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_name" >&5
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
6255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6261 main (void)
6274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
6279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 main (void)
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 main (void)
6323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GCC compatible compiler" >&5
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6408 rm -f conftest.err conftest.i conftest.$ac_ext
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_compat" >&5
6416 if test -z "$CXX"
6419 gcc) if test -n "$ac_tool_prefix"; then
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6456 if test -n "$CXX"; then
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 if test -z "$ac_cv_path_CXX"; then
6470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6504 if test -n "$ac_pt_CXX"; then
6505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 cc) if test -n "$ac_tool_prefix"; then
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6564 if test -n "$CXX"; then
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 if test -z "$ac_cv_path_CXX"; then
6578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6612 if test -n "$ac_pt_CXX"; then
6613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6635 clang|*/clang) if test -n "$ac_tool_prefix"; then
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 if test -n "$CXX"; then
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 if test -z "$ac_cv_path_CXX"; then
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6720 if test -n "$ac_pt_CXX"; then
6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743 icc|*/icc) if test -n "$ac_tool_prefix"; then
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6780 if test -n "$CXX"; then
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 if test -z "$ac_cv_path_CXX"; then
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6828 if test -n "$ac_pt_CXX"; then
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
6832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 if test -z "$CXX"
6859 if test -n "$ac_tool_prefix"; then
6864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 if test -n "$CXX"; then
6885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6895 if test -n "$CXX"; then
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 test -n "$CXX" && break
6907 if test -z "$CXX"; then
6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6919 if test -n "$ac_ct_CXX"; then
6934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6944 if test -n "$ac_ct_CXX"; then
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6953 test -n "$ac_ct_CXX" && break
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}:
6989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
6992 PLATFORM_TRIPLET=`grep '^PLATFORM_TRIPLET=' conftest.out | tr -d ' '`
6994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
7000 rm -f conftest.out
7002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
7012 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
7030 SOABI_PLATFORM=`echo "$PLATFORM_TRIPLET" | cut -d '-' -f2` ;; #(
7037 MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PEP 11 support tier" >&5
7044 x86_64-*-linux-gnu/gcc) :
7046 x86_64-apple-darwin*/clang) :
7048 aarch64-apple-darwin*/clang) :
7050 i686-pc-windows-msvc/msvc) :
7052 x86_64-pc-windows-msvc/msvc) :
7055 aarch64-*-linux-gnu/gcc) :
7057 aarch64-*-linux-gnu/clang) :
7059 powerpc64le-*-linux-gnu/gcc) :
7061 wasm32-unknown-wasip1/clang) :
7063 x86_64-*-linux-gnu/clang) :
7066 aarch64-pc-windows-msvc/msvc) :
7068 armv7l-*-linux-gnueabihf/gcc) :
7070 powerpc64le-*-linux-gnu/clang) :
7072 s390x-*-linux-gnu/gcc) :
7074 x86_64-*-freebsd*/clang) :
7076 aarch64-apple-ios*-simulator/clang) :
7078 aarch64-apple-ios*/clang) :
7080 aarch64-*-linux-android/clang) :
7082 x86_64-*-linux-android/clang) :
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $host/$ac_cv_cc_name has tier 1 (supported)" >&5
7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $host/$ac_cv_cc_name has tier 2 (supported)" >&5
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $host/$ac_cv_cc_name has tier 3 (partially supported)" >&5
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $host/$ac_cv_cc_name is not supported" >&5
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-as-needed" >&5
7111 printf %s "checking for -Wl,--no-as-needed... " >&6; }
7118 as_fn_append LDFLAGS " -Wl,--no-as-needed"
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 main (void)
7132 NO_AS_NEEDED="-Wl,--no-as-needed"
7138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_no_as_needed" >&5
7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Android API level" >&5
7159 ANDROID_API_LEVEL=`sed -n -e '/__ANDROID_API__/d' -e 's/^android_api = //p' conftest.out`
7160 _arm_arch=`sed -n -e '/__ARM_ARCH/d' -e 's/^arm_arch = //p' conftest.out`
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ANDROID_API_LEVEL" >&5
7163 if test -z "$ANDROID_API_LEVEL"; then
7171 LIBS="$LIBS -llog"
7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5
7178 BASECFLAGS="${BASECFLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16"
7179 LDFLAGS="${LDFLAGS} -march=armv7-a -Wl,--fix-cortex-a8"
7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not Android" >&5
7185 rm -f conftest.c conftest.out
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-emscripten-target" >&5
7199 printf %s "checking for --with-emscripten-target... " >&6; }
7201 # Check whether --with-emscripten-target was given.
7213 browser-debug) :
7214 ac_sys_emscripten_target=browser-debug ;; #(
7215 node-debug) :
7216 ac_sys_emscripten_target=node-debug ;; #(
7218 as_fn_error $? "Invalid argument: --with-emscripten-target=browser|node" "$LINENO" 5
7224 as_fn_error $? "--with-emscripten-target only applies to Emscripten" "$LINENO" 5
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_sys_emscripten_target" >&5
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-wasm-dynamic-linking" >&5
7241 printf %s "checking for --enable-wasm-dynamic-linking... " >&6; }
7242 # Check whether --enable-wasm-dynamic-linking was given.
7252 as_fn_error $? "--enable-wasm-dynamic-linking only applies to Emscripten and WASI" "$LINENO" 5
7262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_wasm_dynamic_linking" >&5
7265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-wasm-pthreads" >&5
7266 printf %s "checking for --enable-wasm-pthreads... " >&6; }
7267 # Check whether --enable-wasm-pthreads was given.
7277 as_fn_error $? "--enable-wasm-pthreads only applies to Emscripten and WASI" "$LINENO" 5
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_wasm_pthreads" >&5
7290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
7291 printf %s "checking for --with-suffix... " >&6; }
7293 # Check whether --with-suffix was given.
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
7329 # Test whether we're running on a non-case-sensitive system, in which
7332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
7333 printf %s "checking for case-insensitive build directory... " >&6; }
7334 if test ! -d CaseSensitiveTestDir; then
7338 if test -d casesensitivetestdir && test -z "$EXEEXT"
7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 cc|*/cc) CC="$CC -Ae";;
7358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
7360 if test -z "$LIBRARY"
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
7369 # the library to link against, usually. On Mac OS X frameworks, BLDLIBRARY
7370 # is blank as the main program is not linked directly against LDLIBRARY.
7379 # on the system - some systems like version suffix, others don't
7399 # LINKCC is the command that links the python executable -- default is $(CC).
7400 # If CXX is set, and if it is needed to link a main function that was
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
7406 if test -z "$LINKCC"
7412 # support -N.
7416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking EXPORTSYMS" >&5
7430 EXPORTSFROM=. # the main executable
7433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EXPORTSYMS" >&5
7438 # distutils.unixccompiler to know if it should add --enable-new-dtags
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7446 ac_prog=`$CC -print-prog-name=ld`
7448 case `"$ac_prog" -V 2>&1 < /dev/null` in
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
7458 printf %s "checking for --enable-shared... " >&6; }
7459 # Check whether --enable-shared was given.
7466 if test -z "$enable_shared"
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
7478 # --with-static-libpython
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-static-libpython" >&5
7481 printf %s "checking for --with-static-libpython... " >&6; }
7483 # Check whether --with-static-libpython was given.
7489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
7504 printf %s "checking for --enable-profiling... " >&6; }
7505 # Check whether --enable-profiling was given.
7513 CC="$CC -pg"
7514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7516 int main(void) { return 0; }
7524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
7534 BASECFLAGS="-pg $BASECFLAGS"
7535 LDFLAGS="-pg $LDFLAGS"
7538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
7543 # will find it with a -framework option). For this reason there is an
7547 # but uses a non-versioned framework layout.
7573 BLDLIBRARY='-L. -lpython$(LDVERSION)'
7578 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
7588 BLDLIBRARY='-L. -lpython$(LDVERSION)'
7593 if test "$ac_sys_system" != "Linux-android"; then
7603 case `uname -m` in
7611 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
7616 BLDLIBRARY='-L. -lpython$(LDVERSION)'
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking HOSTRUNNER" >&5
7647 if test -z "$HOSTRUNNER"
7652 if test -n "$ac_tool_prefix"; then
7655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7689 if test -n "$NODE"; then
7690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NODE" >&5
7693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699 if test -z "$ac_cv_path_NODE"; then
7703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7737 if test -n "$ac_pt_NODE"; then
7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_NODE" >&5
7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for node --experimental-wasm-bigint" >&5
7764 printf %s "checking for node --experimental-wasm-bigint... " >&6; }
7770 if $NODE -v --experimental-wasm-bigint > /dev/null 2>&1; then
7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tool_node_wasm_bigint" >&5
7782 as_fn_append HOSTRUNNER " --experimental-wasm-bigint"
7789 as_fn_append HOSTRUNNER " --experimental-wasm-threads"
7791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for node --experimental-wasm-bulk-memory" >&5
7792 printf %s "checking for node --experimental-wasm-bulk-memory... " >&6; }
7798 if $NODE -v --experimental-wasm-bulk-memory > /dev/null 2>&1; then
7805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tool_node_wasm_bulk_memory" >&5
7810 as_fn_append HOSTRUNNER " --experimental-wasm-bulk-memory"
7818 as_fn_append HOSTRUNNER " --experimental-wasm-memory64"
7822 HOSTRUNNER='wasmtime run --wasm max-wasm-stack=8388608 --wasi preview2=n --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt):/Lib --dir $(srcdir)::/' ;; #(
7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HOSTRUNNER" >&5
7832 if test -n "$HOSTRUNNER"; then
7868 if test -n "$ac_tool_prefix"; then
7873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 if test -n "$AR"; then
7894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7904 if test -n "$AR"; then
7905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7913 test -n "$AR" && break
7916 if test -z "$AR"; then
7922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 if test -n "$ac_ct_AR"; then
7943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7953 if test -n "$ac_ct_AR"; then
7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 test -n "$ac_ct_AR" && break
7970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 if test -z "$ARFLAGS"
7988 # install -d does not work on HP-UX
7989 if test -z "$INSTALL"
7991 INSTALL="${srcdir}/install-sh -c"
8003 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
8010 printf %s "checking for a BSD-compatible install... " >&6; }
8011 if test -z "$INSTALL"; then
8044 # program-specific install script used by HP pwplus--don't use.
8047 rm -rf conftest.one conftest.two conftest.dir
8051 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
8052 test -s conftest.one && test -s conftest.two &&
8053 test -s conftest.dir/conftest.one &&
8054 test -s conftest.dir/conftest.two
8056 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
8069 rm -rf conftest.one conftest.two conftest.dir
8082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
8085 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8087 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8089 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8091 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
8095 printf %s "checking for a race-free mkdir -p... " >&6; }
8096 if test -z "$MKDIR_P"; then
8113 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
8127 test -d ./--version && rmdir ./--version
8129 MKDIR_P="$ac_cv_path_mkdir -p"
8135 MKDIR_P="$ac_install_sh -d"
8138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
8144 if test -z "$LN" ; then
8146 CYGWIN*) LN="ln -s";;
8157 # Check for --disable-gil
8158 # --disable-gil
8159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --disable-gil" >&5
8160 printf %s "checking for --disable-gil... " >&6; }
8161 # Check whether --enable-gil was given.
8175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $disable_gil" >&5
8188 # Check for --with-pydebug
8189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
8190 printf %s "checking for --with-pydebug... " >&6; }
8192 # Check whether --with-pydebug was given.
8201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8205 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214 # Check for --with-trace-refs
8215 # --with-trace-refs
8216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-trace-refs" >&5
8217 printf %s "checking for --with-trace-refs... " >&6; }
8219 # Check whether --with-trace-refs was given.
8228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_trace_refs" >&5
8238 if test "$disable_gil" = "yes" -a "$with_trace_refs" = "yes";
8240 as_fn_error $? "--disable-gil cannot be used with --with-trace-refs" "$LINENO" 5
8243 # Check for --enable-pystats
8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-pystats" >&5
8245 printf %s "checking for --enable-pystats... " >&6; }
8246 # Check whether --enable-pystats was given.
8255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_pystats" >&5
8267 # Check for --with-assertions.
8270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-assertions" >&5
8271 printf %s "checking for --with-assertions... " >&6; }
8273 # Check whether --with-assertions was given.
8284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: implied by --with-pydebug" >&5
8289 printf "%s\n" "implied by --with-pydebug" >&6; }
8291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 # Check for --enable-experimental-jit:
8296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-experimental-jit" >&5
8297 printf %s "checking for --enable-experimental-jit... " >&6; }
8298 # Check whether --enable-experimental-jit was given.
8308 yes) jit_flags="-D_Py_JIT"; tier2_flags="-D_Py_TIER2=1" ;;
8309 yes-off) jit_flags="-D_Py_JIT"; tier2_flags="-D_Py_TIER2=3" ;;
8310 interpreter) jit_flags=""; tier2_flags="-D_Py_TIER2=4" ;;
8311 interpreter-off) jit_flags=""; tier2_flags="-D_Py_TIER2=6" ;; # Secret option
8312 *) as_fn_error $? "invalid argument: --enable-experimental-jit=$enable_experimental_jit; expected no|yes|yes-off|interpreter" "$LINENO" 5 ;;
8329 as_fn_append REGEN_JIT_COMMAND " --debug"
8334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tier2_flags $jit_flags" >&5
8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
8342 printf %s "checking for --enable-optimizations... " >&6; }
8343 # Check whether --enable-optimizations was given.
8350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 # who want LTO need to use --with-lto themselves.
8368 DEF_MAKE_ALL_RULE="profile-opt"
8373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-semantic-interposition" >&5
8374 printf %s "checking whether C compiler accepts -fno-semantic-interposition... " >&6; }
8381 CFLAGS="$CFLAGS -Werror -fno-semantic-interposition"
8382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 main (void)
8399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags__Werror__fno_semantic_interposition" >&5
8407 CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition"
8408 LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition"
8416 elif test "$ac_sys_system" = "Emscripten" -o "$ac_sys_system" = "WASI"; then
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PROFILE_TASK" >&5
8429 if test -z "$PROFILE_TASK"
8431 PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
8433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
8436 # Make llvm-related checks work on systems where llvm tools are not installed with their
8438 # non-suffixed name in their versioned llvm directory.
8447 if test -L "${clang_bin}"
8457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
8458 printf %s "checking for --with-lto... " >&6; }
8460 # Check whether --with-lto was given.
8468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 LDFLAGS_NOLTO="-fno-lto"
8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
8504 printf %s "checking whether C compiler accepts -flto=thin... " >&6; }
8511 CFLAGS="$CFLAGS -flto=thin"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 main (void)
8529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___flto_thin" >&5
8536 LDFLAGS_NOLTO="-flto=thin"
8538 LDFLAGS_NOLTO="-flto"
8542 if test -n "$ac_tool_prefix"; then
8543 # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args.
8544 set dummy ${ac_tool_prefix}llvm-ar; ac_word=$2
8545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8579 if test -n "$LLVM_AR"; then
8580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LLVM_AR" >&5
8583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 if test -z "$ac_cv_path_LLVM_AR"; then
8591 # Extract the first word of "llvm-ar", so it can be a program name with args.
8592 set dummy llvm-ar; ac_word=$2
8593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8627 if test -n "$ac_pt_LLVM_AR"; then
8628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_AR" >&5
8631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8651 if test -n "${LLVM_AR}" -a -x "${LLVM_AR}"
8655 LLVM_AR_FOUND="not-found"
8657 if test "$ac_sys_system" = "Darwin" -a "${LLVM_AR_FOUND}" = "not-found"
8659 # The Apple-supplied ar in Xcode or the Command Line Tools is apparently sufficient
8660 found_llvm_ar=`/usr/bin/xcrun -find ar 2>/dev/null`
8661 if test -n "${found_llvm_ar}"
8665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: llvm-ar found via xcrun: ${LLVM_AR}" >&5
8666 printf "%s\n" "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
8669 if test $LLVM_AR_FOUND = not-found
8672 as_fn_error $? "llvm-ar is required for a --with-lto build with clang but could not be found." "$LINENO" 5
8683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
8684 printf %s "checking whether C compiler accepts -flto=thin... " >&6; }
8691 CFLAGS="$CFLAGS -flto=thin"
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8696 main (void)
8709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___flto_thin" >&5
8717 LTOFLAGS="-flto=thin -Wl,-export_dynamic -Wl,-object_path_lto,\"\$@\".lto"
8718 LTOCFLAGS="-flto=thin"
8722 LTOFLAGS="-flto -Wl,-export_dynamic -Wl,-object_path_lto,\"\$@\".lto"
8723 LTOCFLAGS="-flto"
8729 LTOFLAGS="-flto=${Py_LTO_POLICY} -Wl,-export_dynamic -Wl,-object_path_lto,\"\$@\".lto"
8730 LTOCFLAGS="-flto=${Py_LTO_POLICY}"
8737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -flto=thin" >&5
8738 printf %s "checking whether C compiler accepts -flto=thin... " >&6; }
8745 CFLAGS="$CFLAGS -flto=thin"
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 main (void)
8763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___flto_thin" >&5
8770 LTOFLAGS="-flto=thin"
8772 LTOFLAGS="-flto"
8776 LTOFLAGS="-flto=${Py_LTO_POLICY}"
8785 LTOFLAGS="-flto"
8786 LTOCFLAGS="-flto"
8793 LDFLAGS_NOLTO="-fno-lto"
8796 LTOFLAGS="-flto -Wl,-export_dynamic -Wl,-object_path_lto,\"\$@\".lto"
8797 LTOCFLAGS="-flto"
8800 LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
8808 # bpo-30345: Add -g to LDFLAGS when compiling with LTO
8810 LTOFLAGS="$LTOFLAGS -g"
8813 CFLAGS_NODIST="$CFLAGS_NODIST ${LTOCFLAGS-$LTOFLAGS}"
8824 if test -n "$ac_tool_prefix"; then
8825 # Extract the first word of "${ac_tool_prefix}llvm-profdata", so it can be a program name with args.
8826 set dummy ${ac_tool_prefix}llvm-profdata; ac_word=$2
8827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8861 if test -n "$LLVM_PROFDATA"; then
8862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
8865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8871 if test -z "$ac_cv_path_LLVM_PROFDATA"; then
8873 # Extract the first word of "llvm-profdata", so it can be a program name with args.
8874 set dummy llvm-profdata; ac_word=$2
8875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8898 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8909 if test -n "$ac_pt_LLVM_PROFDATA"; then
8910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
8913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8933 if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
8937 LLVM_PROF_FOUND="not-found"
8939 if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
8941 found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
8942 if test -n "${found_llvm_profdata}"
8944 # llvm-profdata isn't directly in $PATH in some cases.
8946 LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
8948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
8949 printf "%s\n" "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
8959 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
8960 PGO_PROF_USE_FLAG="-fprofile-instr-use=\"\$(shell pwd)/code.profclangd\""
8961 LLVM_PROF_MERGER=" ${LLVM_PROFDATA} merge -output=\"\$(shell pwd)/code.profclangd\" \"\$(shell pwd)\"/*.profclangr "
8962 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"\$(shell pwd)/code-%p.profclangr\""
8963 if test $LLVM_PROF_FOUND = not-found
8968 as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5
8975 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
8976 PGO_PROF_USE_FLAG="-fprofile-instr-use=\"\$(shell pwd)/code.profclangd\""
8977 LLVM_PROF_MERGER=" ${LLVM_PROFDATA} merge -output=\"\$(shell pwd)/code.profclangd\" \"\$(shell pwd)\"/*.profclangr "
8978 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"\$(shell pwd)/code-%p.profclangr\""
8979 if test "${LLVM_PROF_FOUND}" = "not-found"
8984 as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be found." "$LINENO" 5
8989 PGO_PROF_GEN_FLAG="-fprofile-generate"
8990 PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
8997 PGO_PROF_GEN_FLAG="-prof-gen"
8998 PGO_PROF_USE_FLAG="-prof-use"
9006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-bolt" >&5
9007 printf %s "checking for --enable-bolt... " >&6; }
9008 # Check whether --enable-bolt was given.
9015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9031 DEF_MAKE_ALL_RULE="bolt-opt"
9034 # -fno-reorder-blocks-and-partition is required for bolt to work.
9036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-reorder-blocks-and-partition" >&5
9037 printf %s "checking whether C compiler accepts -fno-reorder-blocks-and-partition... " >&6; }
9044 CFLAGS="$CFLAGS -fno-reorder-blocks-and-partition"
9045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 main (void)
9062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_reorder_blocks_and_partition" >&5
9070 CFLAGS_NODIST="$CFLAGS_NODIST -fno-reorder-blocks-and-partition"
9078 LDFLAGS_NODIST="$LDFLAGS_NODIST -Wl,--emit-relocs"
9081 CFLAGS_NODIST="$CFLAGS_NODIST -fno-pie"
9082 # We want to add these no-pie flags to linking executables but not shared libraries:
9083 LINKCC="$LINKCC -fno-pie -no-pie"
9085 if test -n "$ac_tool_prefix"; then
9086 # Extract the first word of "${ac_tool_prefix}llvm-bolt", so it can be a program name with args.
9087 set dummy ${ac_tool_prefix}llvm-bolt; ac_word=$2
9088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9122 if test -n "$LLVM_BOLT"; then
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LLVM_BOLT" >&5
9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9132 if test -z "$ac_cv_path_LLVM_BOLT"; then
9134 # Extract the first word of "llvm-bolt", so it can be a program name with args.
9135 set dummy llvm-bolt; ac_word=$2
9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9170 if test -n "$ac_pt_LLVM_BOLT"; then
9171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_BOLT" >&5
9174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9193 if test -n "${LLVM_BOLT}" -a -x "${LLVM_BOLT}"
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"Found llvm-bolt\"" >&5
9196 printf "%s\n" "\"Found llvm-bolt\"" >&6; }
9198 as_fn_error $? "llvm-bolt is required for a --enable-bolt build but could not be found." "$LINENO" 5
9202 if test -n "$ac_tool_prefix"; then
9203 # Extract the first word of "${ac_tool_prefix}merge-fdata", so it can be a program name with args.
9204 set dummy ${ac_tool_prefix}merge-fdata; ac_word=$2
9205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9239 if test -n "$MERGE_FDATA"; then
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MERGE_FDATA" >&5
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 if test -z "$ac_cv_path_MERGE_FDATA"; then
9251 # Extract the first word of "merge-fdata", so it can be a program name with args.
9252 set dummy merge-fdata; ac_word=$2
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9287 if test -n "$ac_pt_MERGE_FDATA"; then
9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_MERGE_FDATA" >&5
9291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9310 if test -n "${MERGE_FDATA}" -a -x "${MERGE_FDATA}"
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"Found merge-fdata\"" >&5
9313 printf "%s\n" "\"Found merge-fdata\"" >&6; }
9315 as_fn_error $? "merge-fdata is required for a --enable-bolt build but could not be found." "$LINENO" 5
9329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking BOLT_INSTRUMENT_FLAGS" >&5
9331 if test -z "${BOLT_INSTRUMENT_FLAGS}"
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BOLT_INSTRUMENT_FLAGS" >&5
9339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking BOLT_APPLY_FLAGS" >&5
9341 if test -z "${BOLT_APPLY_FLAGS}"
9343 BOLT_APPLY_FLAGS=" -update-debug-sections -reorder-blocks=ext-tsp -reorder-functions=hfsort+ -split-functions -icf=1 -inline-all -split-eh -reorder-functions-use-hot-size -peepholes=none -jump-tables=aggressive -inline-ap -indirect-call-promotion=all -dyno-stats -use-gnu-stack -frame-opt=hot "
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BOLT_APPLY_FLAGS" >&5
9353 # ------------------------
9354 # (The following bit of code is complicated enough - please keep things
9355 # indented properly. Just pretend you're editing Python code. ;-)
9367 if $CC --version 2>&1 | grep -q clang
9376 CFLAGS="-fstrict-overflow -fno-strict-overflow"
9377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-overflow and -fno-strict-overflow" >&5
9378 printf %s "checking if $CC supports -fstrict-overflow and -fno-strict-overflow... " >&6; }
9383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 main (void)
9401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_supports_fstrict_overflow" >&5
9410 STRICT_OVERFLOW_CFLAGS="-fstrict-overflow"
9411 NO_STRICT_OVERFLOW_CFLAGS="-fno-strict-overflow"
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-strict-overflow" >&5
9418 printf %s "checking for --with-strict-overflow... " >&6; }
9420 # Check whether --with-strict-overflow was given.
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --with-strict-overflow=yes requires a compiler that supports -fstrict-overflow" >&5
9427 printf "%s\n" "$as_me: WARNING: --with-strict-overflow=yes requires a compiler that supports -fstrict-overflow" >&2;}
9435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_strict_overflow" >&5
9438 # Check if CC supports -Og optimization level
9440 CFLAGS="-Og"
9441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Og optimization level" >&5
9442 printf %s "checking if $CC supports -Og optimization level... " >&6; }
9447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9452 main (void)
9470 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_supports_og" >&5
9479 PYDEBUG_CFLAGS="-O0"
9482 PYDEBUG_CFLAGS="-Og"
9489 if test "${OPT-unset}" = "unset"
9493 if test -n "${cc_is_clang}"
9495 # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
9497 CFLAGS_ALIASING="-fno-strict-aliasing"
9503 OPT="-g $PYDEBUG_CFLAGS -Wall"
9505 OPT="-g -O3 -Wall"
9509 OPT="-O3 -Wall"
9514 SCO_SV*) OPT="$OPT -m486 -DSCO5"
9520 OPT="-O"
9536 as_fn_append LDFLAGS_NODIST " -sALLOW_MEMORY_GROWTH -sTOTAL_MEMORY=20971520"
9538 as_fn_append LDFLAGS_NODIST " -sWASM_BIGINT"
9540 as_fn_append LDFLAGS_NODIST " -sFORCE_FILESYSTEM -lidbfs.js -lnodefs.js -lproxyfs.js -lworkerfs.js"
9545 as_fn_append LINKFORSHARED " -sMAIN_MODULE"
9552 as_fn_append CFLAGS_NODIST " -pthread"
9553 as_fn_append LDFLAGS_NODIST " -sUSE_PTHREADS"
9554 as_fn_append LINKFORSHARED " -sPROXY_TO_PTHREAD"
9561 if test "x$ac_sys_emscripten_target" = xbrowser-debug
9565 as_fn_append LINKFORSHARED " --preload-file=\$(WASM_ASSETS_DIR)"
9568 WASM_LINKFORSHARED_DEBUG="-gsource-map --emit-symbol-map"
9572 if test "x$ac_sys_emscripten_target" = xnode-debug
9576 as_fn_append LDFLAGS_NODIST " -sALLOW_MEMORY_GROWTH -sNODERAWFS"
9577 as_fn_append LINKFORSHARED " -sEXIT_RUNTIME"
9578 WASM_LINKFORSHARED_DEBUG="-gseparate-dwarf --emit-symbol-map"
9588 as_fn_append LDFLAGS_NODIST " -sASSERTIONS"
9593 as_fn_append LINKFORSHARED " -O2 -g0"
9608 LIBS="$LIBS -lwasi-emulated-signal -lwasi-emulated-getpid -lwasi-emulated-process-clocks"
9617 # wasm32-wasi-threads.
9618 # Note: wasi-threads requires --import-memory.
9619 # Note: wasi requires --export-memory.
9620 # Note: --export-memory is implicit unless --import-memory is given
9622 as_fn_append CFLAGS " -target wasm32-wasi-threads -pthread"
9623 as_fn_append CFLAGS_NODIST " -target wasm32-wasi-threads -pthread"
9624 as_fn_append LDFLAGS_NODIST " -target wasm32-wasi-threads -pthread"
9625 as_fn_append LDFLAGS_NODIST " -Wl,--import-memory"
9626 as_fn_append LDFLAGS_NODIST " -Wl,--export-memory"
9627 as_fn_append LDFLAGS_NODIST " -Wl,--max-memory=10485760"
9631 as_fn_append LDFLAGS_NODIST " -z stack-size=8388608 -Wl,--stack-first -Wl,--initial-memory=20971520"
9657 # The -arch flags for universal builds on macOS
9673 CFLAGS_NODIST="$CFLAGS_NODIST -std=c11"
9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can add -Wextra" >&5
9678 printf %s "checking if we can add -Wextra... " >&6; }
9685 as_fn_append CFLAGS " -Wextra -Werror"
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 main (void)
9703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_extra_warning" >&5
9713 CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
9718 # -fno-strict-aliasing on versions of GCC that support but produce
9721 CC="$CC -fno-strict-aliasing"
9723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and needs -fno-strict-aliasing" >&5
9724 printf %s "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6; }
9729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 main (void)
9745 CC="$ac_save_cc -fstrict-aliasing"
9746 CFLAGS="$CFLAGS -Werror -Wstrict-aliasing"
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752 main (void)
9770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
9785 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
9795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC unused-result warning" >&5
9796 printf %s "checking if we can disable $CC unused-result warning... " >&6; }
9803 as_fn_append CFLAGS " -Wunused-result -Werror"
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 main (void)
9821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_result_warning" >&5
9834 BASECFLAGS="$BASECFLAGS -Wno-unused-result"
9835 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-result"
9840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC unused-parameter warning" >&5
9841 printf %s "checking if we can disable $CC unused-parameter warning... " >&6; }
9848 as_fn_append CFLAGS " -Wunused-parameter -Werror"
9849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 main (void)
9866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_parameter_warning" >&5
9876 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"
9881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC int-conversion warning" >&5
9882 printf %s "checking if we can disable $CC int-conversion warning... " >&6; }
9889 as_fn_append CFLAGS " -Wint-conversion -Werror"
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 main (void)
9907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_int_conversion_warning" >&5
9917 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-int-conversion"
9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can disable $CC missing-field-initializers warning" >&5
9923 printf %s "checking if we can disable $CC missing-field-initializers warning... " >&6; }
9930 as_fn_append CFLAGS " -Wmissing-field-initializers -Werror"
9931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 main (void)
9948 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_missing_field_initializers_warning" >&5
9958 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can enable $CC sign-compare warning" >&5
9964 printf %s "checking if we can enable $CC sign-compare warning... " >&6; }
9971 as_fn_append CFLAGS " -Wsign-compare -Werror"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9976 main (void)
9989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_sign_compare_warning" >&5
9999 BASECFLAGS="$BASECFLAGS -Wsign-compare"
10004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can enable $CC unreachable-code warning" >&5
10005 printf %s "checking if we can enable $CC unreachable-code warning... " >&6; }
10012 as_fn_append CFLAGS " -Wunreachable-code -Werror"
10013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 main (void)
10030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_unreachable_code_warning" >&5
10039 # results in non-standard code paths.
10047 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
10049 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
10056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can enable $CC strict-prototypes warning" >&5
10057 printf %s "checking if we can enable $CC strict-prototypes warning... " >&6; }
10064 as_fn_append CFLAGS " -Wstrict-prototypes -Werror"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10069 main (void)
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_strict_prototypes_warning" >&5
10092 CFLAGS_NODIST="$CFLAGS_NODIST -Wstrict-prototypes"
10096 CC="$CC -Werror=implicit-function-declaration"
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can make implicit function declaration an error in $CC" >&5
10103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10108 main (void)
10126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_implicit_function_declaration_error" >&5
10134 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
10138 CC="$CC -fvisibility=hidden"
10139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can use visibility in $CC" >&5
10145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10150 main (void)
10168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_visibility" >&5
10176 CFLAGS_NODIST="$CFLAGS_NODIST -fvisibility=hidden"
10179 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
10184 BASECFLAGS="$BASECFLAGS -mieee"
10190 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
10194 # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
10195 # used to be here, but non-Apple gcc doesn't accept them.
10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
10205 CC=gcc-4.0
10206 CPP=cpp-4.0
10209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10217 32-bit)
10218 UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
10222 64-bit)
10223 UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
10228 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
10229 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
10230 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
10233 UNIVERSAL_ARCH_FLAGS="-arch arm64 -arch x86_64"
10235 LIPO_INTEL64_FLAGS="-extract x86_64"
10239 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
10240 LIPO_32BIT_FLAGS="-extract i386"
10241 ARCH_RUN_32BIT="/usr/bin/arch -i386"
10243 intel-32)
10244 UNIVERSAL_ARCH_FLAGS="-arch i386"
10248 intel-64)
10249 UNIVERSAL_ARCH_FLAGS="-arch x86_64"
10253 3-way)
10254 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
10255 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
10256 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
10259 as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|3-way" "$LINENO" 5
10265 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
10266 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
10267 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
10289 cur_target_major=`sw_vers -productVersion | \
10290 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
10291 cur_target_minor=`sw_vers -productVersion | \
10292 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
10294 if test ${cur_target_major} -eq 10 && \
10295 test ${cur_target_minor} -ge 3 && \
10296 test ${cur_target_minor} -le 5
10303 all|3-way|intel|64-bit)
10316 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if specified universal architectures work" >&5
10330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 main (void)
10343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10348 as_fn_error $? "check config.log and use the '--with-universal-archs' option" "$LINENO" 5
10351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10362 BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
10365 BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
10376 # ICC needs -fp-model strict or floats behave badly
10377 CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
10380 CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
10387 OPT="-DNDEBUG $OPT"
10397 # complain if unaccepted options are passed (e.g. gcc on Mac OS X).
10399 # options before we can check whether -Kpthread improves anything.
10400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >&5
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 int main(void){
10437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
10451 # -Kpthread, if available, provides the right #defines
10453 # Some compilers won't report that they do not support -Kpthread,
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
10457 printf %s "checking whether $CC accepts -Kpthread... " >&6; }
10463 CC="$CC -Kpthread"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 int main(void){
10491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
10501 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
10503 # -Kthread, if available, provides the right #defines
10505 # Some compilers won't report that they do not support -Kthread,
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
10509 printf %s "checking whether $CC accepts -Kthread... " >&6; }
10515 CC="$CC -Kthread"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10528 int main(void){
10543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
10553 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
10555 # -pthread, if available, provides the right #defines
10557 # Some compilers won't report that they do not support -pthread,
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
10561 printf %s "checking whether $CC accepts -pthread... " >&6; }
10567 CC="$CC -pthread"
10572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 int main(void){
10595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
10607 if test ! -z "$CXX"
10609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread support" >&5
10619 CXX="$CXX -Kpthread"
10623 CXX="$CXX -Kthread"
10627 CXX="$CXX -pthread"
10635 echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
10636 $CXX -c conftest.$ac_ext 2>&5
10637 if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
10638 && test -s conftest$ac_exeext && ./conftest$ac_exeext
10644 rm -fr conftest*
10648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
11156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
11162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 main (void)
11182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11197 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 main (void)
11223 if test -z "$ac_lib"; then
11226 ac_res=-l$ac_lib
11227 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 main (void)
11283 if test -z "$ac_lib"; then
11286 ac_res=-l$ac_lib
11287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11341 # bluetooth/bluetooth.h has been known to not compile with -std=c99.
11344 CFLAGS="-std=c99 $CFLAGS"
11507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 main (void)
11541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_makedev" >&5
11558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for le64toh" >&5
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11575 main (void)
11590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_le64toh" >&5
11665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11673 main (void)
11687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726 rm -rf conftest*
11729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11779 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
11798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11812 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
11832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of long" >&5
11844 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_long" >&5
11863 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
11877 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
11896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11910 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
11929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
11943 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
11962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
11976 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
11995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
12009 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
12028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
12042 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
12061 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
12075 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of size_t" >&5
12107 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_size_t" >&5
12126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
12140 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
12159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
12173 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of max_align_t" >&5
12205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_max_align_t" >&5
12225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 main (void)
12242 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
12257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
12269 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
12283 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
12303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
12317 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
12337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12356 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
12377 if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
12378 "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
12429 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
12451 then CC="$CC -Kpthread"
12453 then CC="$CC -Kthread"
12455 then CC="$CC -pthread"
12458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12470 main (void)
12484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pthread_t" >&5
12493 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
12512 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
12536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of pthread_key_t" >&5
12551 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_key_t" >&5
12569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthread_key_t is compatible with int" >&5
12576 if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 main (void)
12595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_key_t_is_arithmetic_type" >&5
12614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
12615 printf %s "checking for --enable-framework... " >&6; }
12618 BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
12619 # -F. is needed to allow linking to the framework while
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12628 as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only --enable-framework instead" "$LINENO" 5
12631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12635 # Check for --with-dsymutil
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-dsymutil" >&5
12641 printf %s "checking for --with-dsymutil... " >&6; }
12643 # Check whether --with-dsymutil was given.
12652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12655 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12697 test -z "$ac_cv_path_DSYMUTIL_PATH" && ac_cv_path_DSYMUTIL_PATH="not found"
12702 if test -n "$DSYMUTIL_PATH"; then
12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL_PATH" >&5
12706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
12723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-address-sanitizer" >&5
12733 printf %s "checking for --with-address-sanitizer... " >&6; }
12735 # Check whether --with-address_sanitizer was given.
12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
12741 BASECFLAGS="-fsanitize=address -fno-omit-frame-pointer $BASECFLAGS"
12742 LDFLAGS="-fsanitize=address $LDFLAGS"
12747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-memory-sanitizer" >&5
12753 printf %s "checking for --with-memory-sanitizer... " >&6; }
12755 # Check whether --with-memory_sanitizer was given.
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=memory" >&5
12762 printf %s "checking whether C compiler accepts -fsanitize=memory... " >&6; }
12769 CFLAGS="$CFLAGS -fsanitize=memory"
12770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12774 main (void)
12787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_memory" >&5
12795 BASECFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer $BASECFLAGS"
12796 LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 $LDFLAGS"
12806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-undefined-behavior-sanitizer" >&5
12812 printf %s "checking for --with-undefined-behavior-sanitizer... " >&6; }
12814 # Check whether --with-undefined_behavior_sanitizer was given.
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
12820 BASECFLAGS="-fsanitize=undefined $BASECFLAGS"
12821 LDFLAGS="-fsanitize=undefined $LDFLAGS"
12826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-thread-sanitizer" >&5
12834 printf %s "checking for --with-thread-sanitizer... " >&6; }
12836 # Check whether --with-thread_sanitizer was given.
12840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
12842 BASECFLAGS="-fsanitize=thread $BASECFLAGS"
12843 LDFLAGS="-fsanitize=thread $LDFLAGS"
12848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 # -- usually .so, .sl on HP-UX, .dll on Cygwin
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the extension of shared libraries" >&5
12867 if test -z "$SHLIB_SUFFIX"; then
12870 case `uname -m` in
12879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHLIB_SUFFIX" >&5
12883 # -- "cc -G" on SunOS 5.x.
12886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
12888 if test -z "$LDSHARED"
12892 BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
12893 LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
12897 LDSHARED='$(CC) -shared'
12898 LDCXXSHARED='$(CXX) -shared'
12900 LDSHARED='$(CC) -G'
12901 LDCXXSHARED='$(CXX) -G'
12905 LDSHARED='$(CC) -shared'
12906 LDCXXSHARED='$(CXX) -shared'
12908 LDSHARED='$(CC) -b'
12909 LDCXXSHARED='$(CXX) -b'
12912 LDSHARED='$(CC) -bundle'
12913 LDCXXSHARED='$(CXX) -bundle'
12921 LDSHARED="$LDSHARED -undefined suppress"
12922 LDCXXSHARED="$LDCXXSHARED -undefined suppress"
12925 LDSHARED='$(CC) -bundle'
12926 LDCXXSHARED='$(CXX) -bundle'
12933 # No framework, use the Python app as bundle-loader
12934 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
12935 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
12936 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
12939 # Use -undefined dynamic_lookup whenever possible (10.3 and later).
12943 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
12945 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
12946 if test ${dep_target_major} -eq 10 && \
12947 test ${dep_target_minor} -le 2
12953 LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
12954 LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
12959 LDSHARED='$(CC) -dynamiclib -F . -framework $(PYTHONFRAMEWORK)'
12960 LDCXXSHARED='$(CXX) -dynamiclib -F . -framework $(PYTHONFRAMEWORK)'
12964 LDSHARED='$(CC) -shared'
12965 LDCXXSHARED='$(CXX) -shared';;
12967 LDSHARED='$(CC) -shared'
12968 LDCXXSHARED='$(CXX) -shared';;
12970 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
12972 LDSHARED='$(CC) -shared'
12973 LDCXXSHARED='$(CXX) -shared'
12975 LDSHARED="ld -Bshareable"
12978 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
12980 LDSHARED='$(CC) -shared $(CCSHARED)'
12981 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
12983 case `uname -r` in
12984 [01].* | 2.[0-7] | 2.[0-7].*)
12985 LDSHARED="ld -Bshareable ${LDFLAGS}"
12988 LDSHARED='$(CC) -shared $(CCSHARED)'
12989 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
12994 LDSHARED='$(CC) -shared'
12995 LDCXXSHARED='$(CXX) -shared';;
12998 LDSHARED='$(CC) -shared'
12999 LDCXXSHARED='$(CXX) -shared'
13001 LDSHARED='$(CC) -G'
13002 LDCXXSHARED='$(CXX) -G'
13005 LDSHARED='$(CC) -Wl,-G,-Bexport'
13006 LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
13014 LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
13015 LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
13020 if test "$enable_wasm_dynamic_linking" = "yes" -a "$ac_sys_system" = "Emscripten"; then
13021 BLDSHARED='$(CC) -shared -sSIDE_MODULE=1'
13024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
13026 LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking BLDSHARED flags" >&5
13030 BLDSHARED=${BLDSHARED-$LDSHARED}
13031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BLDSHARED" >&5
13035 # library (module) -- this is only needed for a few systems
13036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
13038 if test -z "$CCSHARED"
13042 then CCSHARED="-fPIC";
13043 elif test `uname -p` = sparc;
13044 then CCSHARED="-xcode=pic32";
13045 else CCSHARED="-Kpic";
13048 then CCSHARED="-fPIC";
13051 Linux*|GNU*) CCSHARED="-fPIC";;
13056 CCSHARED="-fPIC"
13059 FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
13060 Haiku*) CCSHARED="-fPIC";;
13063 then CCSHARED="-fPIC"
13064 else CCSHARED="-KPIC"
13068 then CCSHARED="-fPIC"
13069 else CCSHARED="-Kpic -belf"
13072 CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic"
13075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
13078 # the python executable -- this is only needed for a few systems
13079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
13081 if test -z "$LINKFORSHARED"
13084 AIX*) LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
13086 LINKFORSHARED="-Wl,-E -Wl,+s";;
13087 # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
13088 Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
13089 Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
13090 # -u libsys_s pulls in all symbols in libsys
13092 LINKFORSHARED="$extra_undefs -framework CoreFoundation"
13109 LINKFORSHARED="-Wl,-stack_size,$stack_size $LINKFORSHARED"
13116 LINKFORSHARED="-Wl,-stack_size,$stack_size $LINKFORSHARED "'$(PYTHONFRAMEWORKDIR)/$(PYTHONFRAMEWORK)'
13119 OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
13120 SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
13121 ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
13123 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
13125 LINKFORSHARED="-Wl,--export-dynamic"
13129 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
13131 LINKFORSHARED="-Xlinker --export-dynamic"
13137 LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
13140 # -Wl,-E causes the symbols to be added to the dynamic
13142 # is loaded. -N 2048K causes the stack size to be set
13145 LINKFORSHARED='-Wl,-E -N 2048K';;
13147 LINKFORSHARED='-Wl,-export-dynamic';;
13150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
13155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
13176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
13179 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
13180 # library (with --enable-shared).
13188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
13194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking perf trampoline" >&5
13200 x86_64-linux-gnu) :
13202 aarch64-linux-gnu) :
13208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $perf_trampoline" >&5
13222 as_fn_append BASECFLAGS " -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
13230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5
13231 printf %s "checking for sendfile in -lsendfile... " >&6; }
13237 LIBS="-lsendfile $LIBS"
13238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 main (void)
13259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" >&5
13269 LIBS="-lsendfile $LIBS"
13273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13274 printf %s "checking for dlopen in -ldl... " >&6; }
13280 LIBS="-ldl $LIBS"
13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289 main (void)
13302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13312 LIBS="-ldl $LIBS"
13316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13317 printf %s "checking for shl_load in -ldld... " >&6; }
13323 LIBS="-ldld $LIBS"
13324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13332 main (void)
13345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13355 LIBS="-ldld $LIBS"
13358 # Dynamic linking for HP-UX
13383 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
13384 LIBUUID_LIBS=${LIBUUID_LIBS-""}
13399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid >= 2.20" >&5
13402 if test -n "$LIBUUID_CFLAGS"; then
13404 elif test -n "$PKG_CONFIG"; then
13405 if test -n "$PKG_CONFIG" && \
13406 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.20\""; } >&5
13407 ($PKG_CONFIG --exists --print-errors "uuid >= 2.20") 2>&5
13409 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13411 pkg_cv_LIBUUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= 2.20" 2>/dev/null`
13419 if test -n "$LIBUUID_LIBS"; then
13421 elif test -n "$PKG_CONFIG"; then
13422 if test -n "$PKG_CONFIG" && \
13423 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= 2.20\""; } >&5
13424 ($PKG_CONFIG --exists --print-errors "uuid >= 2.20") 2>&5
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13428 pkg_cv_LIBUUID_LIBS=`$PKG_CONFIG --libs "uuid >= 2.20" 2>/dev/null`
13440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13449 LIBUUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= 2.20" 2>&1`
13451 LIBUUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= 2.20" 2>&1`
13473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
13474 printf %s "checking for uuid_generate_time in -luuid... " >&6; }
13480 LIBS="-luuid $LIBS"
13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 main (void)
13502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
13516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe in -luuid" >&5
13517 printf %s "checking for uuid_generate_time_safe in -luuid... " >&6; }
13523 LIBS="-luuid $LIBS"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 main (void)
13545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time_safe" >&5
13566 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
13567 LIBUUID_LIBS=${LIBUUID_LIBS-"-luuid"}
13580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
13600 printf %s "checking for uuid_generate_time in -luuid... " >&6; }
13606 LIBS="-luuid $LIBS"
13607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 main (void)
13628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
13642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe in -luuid" >&5
13643 printf %s "checking for uuid_generate_time_safe in -luuid... " >&6; }
13649 LIBS="-luuid $LIBS"
13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 main (void)
13671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time_safe" >&5
13692 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
13693 LIBUUID_LIBS=${LIBUUID_LIBS-"-luuid"}
13708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13735 LIBUUID_CFLAGS=${LIBUUID_CFLAGS-""}
13736 LIBUUID_LIBS=${LIBUUID_LIBS-""}
13755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 main (void)
13779 if test -z "$ac_lib"; then
13782 ac_res=-l$ac_lib
13783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
13816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
13817 printf %s "checking for textdomain in -lintl... " >&6; }
13823 LIBS="-lintl $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13832 main (void)
13845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
13856 LIBS="-lintl $LIBS"
13862 AIX*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13869 main (void)
13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the system builddate" >&5
13899 AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F: '{ print $NF }')
13903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AIX_BUILDDATE" >&5
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking aligned memory access is required" >&5
13921 if test "$ac_sys_system" = "Linux-android"; then
13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13930 int main(void)
13949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_aligned_required" >&5
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-hash-algorithm" >&5
13967 printf %s "checking for --with-hash-algorithm... " >&6; }
13969 # Check whether --with-hash_algorithm was given.
13973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
13994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: default" >&5
14001 if test -z "$1"; then
14008 as_fn_error $? "--with-tzpath must contain only absolute paths, not $1" "$LINENO" 5
14014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-tzpath" >&5
14015 printf %s "checking for --with-tzpath... " >&6; }
14017 # Check whether --with-tzpath was given.
14023 as_fn_error $? "--with-tzpath requires a value" "$LINENO" 5
14028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
14035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: \"$TZPATH\"" >&5
14041 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
14043 printf %s "checking for t_open in -lnsl... " >&6; }
14049 LIBS="-lnsl $LIBS"
14050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14058 main (void)
14071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
14079 LIBS="-lnsl $LIBS"
14082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
14083 printf %s "checking for socket in -lsocket... " >&6; }
14089 LIBS="-lsocket $LIBS $LIBS"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14098 main (void)
14111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
14119 LIBS="-lsocket $LIBS"
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5
14126 printf %s "checking for socket in -lnetwork... " >&6; }
14132 LIBS="-lnetwork $LIBS $LIBS"
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 main (void)
14154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5
14162 LIBS="-lnetwork $LIBS"
14168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
14169 printf %s "checking for --with-libs... " >&6; }
14171 # Check whether --with-libs was given.
14175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
14187 printf %s "checking for --with-system-expat... " >&6; }
14189 # Check whether --with-system_expat was given.
14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
14204 LIBEXPAT_CFLAGS=${LIBEXPAT_CFLAGS-""}
14205 LIBEXPAT_LDFLAGS=${LIBEXPAT_LDFLAGS-"-lexpat"}
14210 LIBEXPAT_CFLAGS="-I\$(srcdir)/Modules/expat"
14211 LIBEXPAT_LDFLAGS="-lm \$(LIBEXPAT_A)"
14229 CFLAGS="-I${SDKROOT}/usr/include/ffi $CFLAGS"
14234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ffi_call in -lffi" >&5
14235 printf %s "checking for ffi_call in -lffi... " >&6; }
14241 LIBS="-lffi $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250 main (void)
14263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffi_ffi_call" >&5
14273 LIBFFI_CFLAGS="-I${SDKROOT}/usr/include/ffi -DUSING_APPLE_OS_LIBFFI=1"
14274 LIBFFI_LIBS="-lffi"
14295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libffi" >&5
14298 if test -n "$LIBFFI_CFLAGS"; then
14300 elif test -n "$PKG_CONFIG"; then
14301 if test -n "$PKG_CONFIG" && \
14302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
14303 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
14305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14307 pkg_cv_LIBFFI_CFLAGS=`$PKG_CONFIG --cflags "libffi" 2>/dev/null`
14315 if test -n "$LIBFFI_LIBS"; then
14317 elif test -n "$PKG_CONFIG"; then
14318 if test -n "$PKG_CONFIG" && \
14319 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi\""; } >&5
14320 ($PKG_CONFIG --exists --print-errors "libffi") 2>&5
14322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14324 pkg_cv_LIBFFI_LIBS=`$PKG_CONFIG --libs "libffi" 2>/dev/null`
14336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14339 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14345 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffi" 2>&1`
14347 LIBFFI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffi" 2>&1`
14365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ffi_call in -lffi" >&5
14366 printf %s "checking for ffi_call in -lffi... " >&6; }
14372 LIBS="-lffi $LIBS"
14373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 main (void)
14394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffi_ffi_call" >&5
14404 LIBFFI_CFLAGS=${LIBFFI_CFLAGS-""}
14405 LIBFFI_LIBS=${LIBFFI_LIBS-"-lffi"}
14423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ffi_call in -lffi" >&5
14439 printf %s "checking for ffi_call in -lffi... " >&6; }
14445 LIBS="-lffi $LIBS"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 main (void)
14467 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffi_ffi_call" >&5
14477 LIBFFI_CFLAGS=${LIBFFI_CFLAGS-""}
14478 LIBFFI_LIBS=${LIBFFI_LIBS-"-lffi"}
14498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14519 as_fn_append LIBFFI_LIBS " -mimpure-text"
14528 as_fn_append LIBFFI_CFLAGS " -DUSING_MALLOC_CLOSURE_DOT_C=1"
14535 as_fn_append LIBFFI_LIBS " -ldl"
14549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ffi_prep_cif_var" >&5
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14559 main (void)
14572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_ffi_prep_cif_var" >&5
14588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ffi_prep_closure_loc" >&5
14594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14598 main (void)
14611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_ffi_prep_closure_loc" >&5
14627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ffi_closure_alloc" >&5
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 main (void)
14650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_ffi_closure_alloc" >&5
14675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
14676 printf %s "checking for --with-system-libmpdec... " >&6; }
14678 # Check whether --with-system_libmpdec was given.
14686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
14695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libmpdec >= 2.5.0" >&5
14698 if test -n "$LIBMPDEC_CFLAGS"; then
14700 elif test -n "$PKG_CONFIG"; then
14701 if test -n "$PKG_CONFIG" && \
14702 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpdec >= 2.5.0\""; } >&5
14703 ($PKG_CONFIG --exists --print-errors "libmpdec >= 2.5.0") 2>&5
14705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14707 pkg_cv_LIBMPDEC_CFLAGS=`$PKG_CONFIG --cflags "libmpdec >= 2.5.0" 2>/dev/null`
14715 if test -n "$LIBMPDEC_LIBS"; then
14717 elif test -n "$PKG_CONFIG"; then
14718 if test -n "$PKG_CONFIG" && \
14719 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpdec >= 2.5.0\""; } >&5
14720 ($PKG_CONFIG --exists --print-errors "libmpdec >= 2.5.0") 2>&5
14722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14724 pkg_cv_LIBMPDEC_LIBS=`$PKG_CONFIG --libs "libmpdec >= 2.5.0" 2>/dev/null`
14736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14745 LIBMPDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmpdec >= 2.5.0" 2>&1`
14747 LIBMPDEC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmpdec >= 2.5.0" 2>&1`
14752 LIBMPDEC_CFLAGS=${LIBMPDEC_CFLAGS-""}
14753 LIBMPDEC_LIBS=${LIBMPDEC_LIBS-"-lmpdec -lm"}
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14758 LIBMPDEC_CFLAGS=${LIBMPDEC_CFLAGS-""}
14759 LIBMPDEC_LIBS=${LIBMPDEC_LIBS-"-lmpdec -lm"}
14764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14769 LIBMPDEC_CFLAGS="-I\$(srcdir)/Modules/_decimal/libmpdec"
14770 LIBMPDEC_LIBS="-lm \$(LIBMPDEC_A)"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14797 main (void)
14810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the bundled copy of libmpdecimal is scheduled for removal in Python 3.15; consider using a system installed mpdecimal library." >&5
14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: no system libmpdecimal found; falling back to bundled libmpdecimal (deprecated and scheduled for removal in Python 3.15)" >&5
14828 LIBMPDEC_CFLAGS="-I\$(srcdir)/Modules/_decimal/libmpdec"
14829 LIBMPDEC_LIBS="-lm \$(LIBMPDEC_A)"
14835 # Disable forced inlining in debug builds, see GH-94847
14838 as_fn_append LIBMPDEC_CFLAGS " -DTEST_COVERAGE"
14841 # Check whether _decimal should use a coroutine-local or thread-local context
14842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-decimal-contextvar" >&5
14843 printf %s "checking for --with-decimal-contextvar... " >&6; }
14845 # Check whether --with-decimal_contextvar was given.
14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_decimal_contextvar" >&5
14867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for decimal libmpdec machine" >&5
14884 elif test $ac_cv_sizeof_size_t -eq 8; then
14886 libmpdec_machine=x64
14892 elif test $ac_cv_sizeof_size_t -eq 4; then
14893 if test "$ac_cv_gcc_asm_for_x87" = yes -a "$libmpdec_system" != sunos; then
14907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libmpdec_machine" >&5
14911 x64) :
14912 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_64=1 -DASM=1" ;; #(
14914 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_64=1 -DANSI=1 -DHAVE_UINT128_T=1" ;; #(
14916 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_64=1 -DANSI=1" ;; #(
14918 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_32=1 -DANSI=1 -DASM=1 -Wno-unknown-pragmas" ;; #(
14920 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_32=1 -DANSI=1" ;; #(
14921 ansi-legacy) :
14922 as_fn_append LIBMPDEC_CFLAGS " -DCONFIG_32=1 -DANSI=1 -DLEGACY_COMPILER=1" ;; #(
14924 as_fn_append LIBMPDEC_CFLAGS " -DUNIVERSAL=1" ;; #(
14934 # https://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
14935 as_fn_append LIBMPDEC_CFLAGS " -fno-ipa-pure-const"
14940 # https://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
14941 as_fn_append LIBMPDEC_CFLAGS " -U_FORTIFY_SOURCE"
14951 if test "$ac_sys_system" = "Emscripten" -a -z "$LIBSQLITE3_CFLAGS" -a -z "$LIBSQLITE3_LIBS"
14954 LIBSQLITE3_CFLAGS="-sUSE_SQLITE3"
14955 LIBSQLITE3_LIBS="-sUSE_SQLITE3"
14964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3 >= 3.15.2" >&5
14967 if test -n "$LIBSQLITE3_CFLAGS"; then
14969 elif test -n "$PKG_CONFIG"; then
14970 if test -n "$PKG_CONFIG" && \
14971 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.15.2\""; } >&5
14972 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.15.2") 2>&5
14974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14976 pkg_cv_LIBSQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.15.2" 2>/dev/null`
14984 if test -n "$LIBSQLITE3_LIBS"; then
14986 elif test -n "$PKG_CONFIG"; then
14987 if test -n "$PKG_CONFIG" && \
14988 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.15.2\""; } >&5
14989 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.15.2") 2>&5
14991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14993 pkg_cv_LIBSQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.15.2" 2>/dev/null`
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15008 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15014 LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= 3.15.2" 2>&1`
15016 LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= 3.15.2" 2>&1`
15022 LIBSQLITE3_CFLAGS=${LIBSQLITE3_CFLAGS-""}
15023 LIBSQLITE3_LIBS=${LIBSQLITE3_LIBS-"-lsqlite3"}
15027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15030 LIBSQLITE3_CFLAGS=${LIBSQLITE3_CFLAGS-""}
15031 LIBSQLITE3_LIBS=${LIBSQLITE3_LIBS-"-lsqlite3"}
15037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15041 as_fn_append LIBSQLITE3_CFLAGS ' -I$(srcdir)/Modules/_sqlite'
15060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 main (void)
15083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_bind_double in -lsqlite3" >&5
15084 printf %s "checking for sqlite3_bind_double in -lsqlite3... " >&6; }
15090 LIBS="-lsqlite3 $LIBS"
15091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099 main (void)
15112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_bind_double" >&5
15122 LIBS="-lsqlite3 $LIBS"
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_decltype in -lsqlite3" >&5
15133 printf %s "checking for sqlite3_column_decltype in -lsqlite3... " >&6; }
15139 LIBS="-lsqlite3 $LIBS"
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 main (void)
15161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_decltype" >&5
15171 LIBS="-lsqlite3 $LIBS"
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_column_double in -lsqlite3" >&5
15182 printf %s "checking for sqlite3_column_double in -lsqlite3... " >&6; }
15188 LIBS="-lsqlite3 $LIBS"
15189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 main (void)
15210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_column_double" >&5
15220 LIBS="-lsqlite3 $LIBS"
15230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_complete in -lsqlite3" >&5
15231 printf %s "checking for sqlite3_complete in -lsqlite3... " >&6; }
15237 LIBS="-lsqlite3 $LIBS"
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 main (void)
15259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_complete" >&5
15269 LIBS="-lsqlite3 $LIBS"
15279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_progress_handler in -lsqlite3" >&5
15280 printf %s "checking for sqlite3_progress_handler in -lsqlite3... " >&6; }
15286 LIBS="-lsqlite3 $LIBS"
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 main (void)
15308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_progress_handler" >&5
15318 LIBS="-lsqlite3 $LIBS"
15328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_result_double in -lsqlite3" >&5
15329 printf %s "checking for sqlite3_result_double in -lsqlite3... " >&6; }
15335 LIBS="-lsqlite3 $LIBS"
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 main (void)
15357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_result_double" >&5
15367 LIBS="-lsqlite3 $LIBS"
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_set_authorizer in -lsqlite3" >&5
15378 printf %s "checking for sqlite3_set_authorizer in -lsqlite3... " >&6; }
15384 LIBS="-lsqlite3 $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15393 main (void)
15406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_set_authorizer" >&5
15416 LIBS="-lsqlite3 $LIBS"
15426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_trace_v2 in -lsqlite3" >&5
15427 printf %s "checking for sqlite3_trace_v2 in -lsqlite3... " >&6; }
15433 LIBS="-lsqlite3 $LIBS"
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15442 main (void)
15455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_trace_v2" >&5
15465 LIBS="-lsqlite3 $LIBS"
15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_trace in -lsqlite3" >&5
15472 printf %s "checking for sqlite3_trace in -lsqlite3... " >&6; }
15478 LIBS="-lsqlite3 $LIBS"
15479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 main (void)
15500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_trace" >&5
15510 LIBS="-lsqlite3 $LIBS"
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_value_double in -lsqlite3" >&5
15526 printf %s "checking for sqlite3_value_double in -lsqlite3... " >&6; }
15532 LIBS="-lsqlite3 $LIBS"
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15541 main (void)
15554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_value_double" >&5
15564 LIBS="-lsqlite3 $LIBS"
15573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_load_extension in -lsqlite3" >&5
15574 printf %s "checking for sqlite3_load_extension in -lsqlite3... " >&6; }
15580 LIBS="-lsqlite3 $LIBS"
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 main (void)
15602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_load_extension" >&5
15616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sqlite3_serialize in -lsqlite3" >&5
15617 printf %s "checking for sqlite3_serialize in -lsqlite3... " >&6; }
15623 LIBS="-lsqlite3 $LIBS"
15624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 main (void)
15645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_serialize" >&5
15666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
15679 printf %s "checking for --enable-loadable-sqlite-extensions... " >&6; }
15680 # Check whether --enable-loadable-sqlite-extensions was given.
15687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: n/a" >&5
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Your version of SQLite does not support loadable extensions" >&5
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15719 if test -n "$PKG_CONFIG" && \
15720 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$_QUERY\""; } >&5
15721 ($PKG_CONFIG --exists --print-errors "$_QUERY") 2>&5
15723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $_QUERY" >&5
15731 if test -n "$TCLTK_CFLAGS"; then
15733 elif test -n "$PKG_CONFIG"; then
15734 if test -n "$PKG_CONFIG" && \
15735 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$_QUERY\""; } >&5
15736 ($PKG_CONFIG --exists --print-errors "$_QUERY") 2>&5
15738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15740 pkg_cv_TCLTK_CFLAGS=`$PKG_CONFIG --cflags "$_QUERY" 2>/dev/null`
15748 if test -n "$TCLTK_LIBS"; then
15750 elif test -n "$PKG_CONFIG"; then
15751 if test -n "$PKG_CONFIG" && \
15752 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$_QUERY\""; } >&5
15753 ($PKG_CONFIG --exists --print-errors "$_QUERY") 2>&5
15755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15757 pkg_cv_TCLTK_LIBS=`$PKG_CONFIG --libs "$_QUERY" 2>/dev/null`
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15772 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15778 TCLTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$_QUERY" 2>&1`
15780 TCLTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$_QUERY" 2>&1`
15787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15808 TCLTK_CFLAGS=${TCLTK_CFLAGS-""}
15809 TCLTK_LIBS=${TCLTK_LIBS-""}
15816 if test -n "$PKG_CONFIG" && \
15817 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
15818 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
15820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11" >&5
15828 if test -n "$X11_CFLAGS"; then
15830 elif test -n "$PKG_CONFIG"; then
15831 if test -n "$PKG_CONFIG" && \
15832 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
15833 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
15835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15837 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
15845 if test -n "$X11_LIBS"; then
15847 elif test -n "$PKG_CONFIG"; then
15848 if test -n "$PKG_CONFIG" && \
15849 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
15850 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
15852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15854 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
15866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15875 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1`
15877 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1`
15887 installed software in a non-standard prefix.
15890 and X11_LIBS to avoid the need to call pkg-config.
15891 See the pkg-config man page for more details." "$LINENO" 5
15893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15895 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15897 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15899 path to pkg-config.
15902 and X11_LIBS to avoid the need to call pkg-config.
15903 See the pkg-config man page for more details.
15905 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15957 main (void)
15972 as_fn_append TCLTK_CFLAGS " -Wno-strict-prototypes -DWITH_APPINIT=1"
15979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
16007 printf %s "checking for gdbm_open in -lgdbm... " >&6; }
16013 LIBS="-lgdbm $LIBS"
16014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16022 main (void)
16035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
16045 GDBM_LIBS=${GDBM_LIBS-"-lgdbm"}
16078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5
16085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16093 main (void)
16102 if test -z "$ac_lib"; then
16105 ac_res=-l$ac_lib
16106 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16112 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbm_open" >&5
16149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ndbm presence and linker args" >&5
16168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_ndbm ($dbm_ndbm)" >&5
16204 ac_fn_c_check_header_compile "$LINENO" "gdbm-ndbm.h" "ac_cv_header_gdbm_ndbm_h" "$ac_includes_default"
16226 if test "$ac_cv_header_gdbm_slash_ndbm_h" = yes -o "$ac_cv_header_gdbm_dash_ndbm_h" = yes; then
16234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dbm_open" >&5
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 main (void)
16258 if test -z "$ac_lib"; then
16261 ac_res=-l$ac_lib
16262 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dbm_open" >&5
16305 # db.h re-defines the name of the function
16313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libdb" >&5
16326 LIBS="$LIBS -ldb"
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 main (void)
16351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_libdb" >&5
16377 # Check for --with-dbmliborder
16378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
16379 printf %s "checking for --with-dbmliborder... " >&6; }
16381 # Check whether --with-dbmliborder was given.
16410 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:... (gdbm:ndbm:bdb)" "$LINENO" 5
16413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
16416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _dbm module CFLAGS and LIBS" >&5
16425 DBM_CFLAGS="-DUSE_NDBM"
16433 DBM_CFLAGS="-DUSE_GDBM_COMPAT"
16434 DBM_LIBS="-lgdbm_compat"
16441 DBM_CFLAGS="-DUSE_BERKDB"
16442 DBM_LIBS="-ldb"
16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DBM_CFLAGS $DBM_LIBS" >&5
16464 CFLAGS="$CFLAGS -D_REENTRANT"
16468 CC="$CC -Kpthread"
16470 CXX="$CXX -Kpthread"
16475 CC="$CC -Kthread"
16477 CXX="$CXX -Kthread"
16482 CC="$CC -pthread"
16484 CXX="$CXX -pthread"
16488 if test ! -z "$withval" -a -d "$withval"
16489 then LDFLAGS="$LDFLAGS -L$withval"
16495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
16498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS defined in unistd.h" >&5
16504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 main (void)
16528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__POSIX_THREADS_unistd_h" >&5
16538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
16547 LIBS="$LIBS -lpthread"
16548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16549 printf %s "checking for pthread_create in -lpthread... " >&6; }
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 main (void)
16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
16586 printf %s "checking for pthread_create in -lpthreads... " >&6; }
16592 LIBS="-lpthreads $LIBS"
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 main (void)
16614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
16624 LIBS="$LIBS -lpthreads"
16628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
16629 printf %s "checking for pthread_create in -lc_r... " >&6; }
16635 LIBS="-lc_r $LIBS"
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 main (void)
16657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
16667 LIBS="$LIBS -lc_r"
16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
16672 printf %s "checking for __pthread_create_system in -lpthread... " >&6; }
16678 LIBS="-lpthread $LIBS"
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 main (void)
16700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
16710 LIBS="$LIBS -lpthread"
16714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
16715 printf %s "checking for pthread_create in -lcma... " >&6; }
16721 LIBS="-lcma $LIBS"
16722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 main (void)
16743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
16753 LIBS="$LIBS -lcma"
16776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
16780 printf %s "checking for usconfig in -lmpc... " >&6; }
16786 LIBS="-lmpc $LIBS"
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16795 main (void)
16808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
16817 LIBS="$LIBS -lmpc"
16851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 int main(void) {
16872 if (pthread_attr_init(&attr)) return (-1);
16873 if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) return (-1);
16874 if (pthread_create(&id, &attr, foo, NULL)) return (-1);
16884 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
16932 # Check for enable-ipv6
16934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
16935 printf %s "checking if --enable-ipv6 is specified... " >&6; }
16936 # Check whether --enable-ipv6 was given.
16941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16945 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 main (void)
16977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ipv6" >&5
16991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
16993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 main (void)
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17037 if test "$ipv6" = yes -a "$cross_compiling" = no; then
17038 for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPV6_INRIA_VERSION defined in netinet/in.h" >&5
17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 main (void)
17073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined_IPV6_INRIA_VERSION_netinet_in_h" >&5
17084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __KAME__ defined in netinet/in.h" >&5
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 main (void)
17114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined___KAME___netinet_in_h" >&5
17126 linux-glibc)
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __GLIBC__ defined in features.h" >&5
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 main (void)
17158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined___GLIBC___features_h" >&5
17168 linux-inet6)
17169 if test -d /usr/inet6; then
17173 BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
17177 if test -f /etc/netconfig; then
17178 if $GREP -q tcp6 /etc/netconfig; then
17186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _TOSHIBA_INET6 defined in sys/param.h" >&5
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 main (void)
17216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__TOSHIBA_INET6_sys_param_h" >&5
17229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __V6D__ defined in /usr/local/v6/include/sys/v6config.h" >&5
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 main (void)
17259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined___V6D____usr_local_v6_include_sys_v6config_h" >&5
17268 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
17273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _ZETA_MINAMI_INET6 defined in sys/param.h" >&5
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 main (void)
17303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__ZETA_MINAMI_INET6_sys_param_h" >&5
17319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
17321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
17325 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
17326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ipv6 library" >&5
17328 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
17329 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
17330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: lib$ipv6lib" >&5
17336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libc" >&5
17348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CAN_RAW_FD_FRAMES" >&5
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 main (void)
17373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_can_raw_fd_frames" >&5
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_JOIN_FILTERS" >&5
17394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 main (void)
17412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_can_raw_join_filters" >&5
17426 # Check for --with-doc-strings
17427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
17428 printf %s "checking for --with-doc-strings... " >&6; }
17430 # Check whether --with-doc-strings was given.
17437 if test -z "$with_doc_strings"
17446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
17450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdatomic.h" >&5
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 int main() {
17479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdatomic_h" >&5
17496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for builtin __atomic_load_n and __atomic_store_n functions" >&5
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 int main() {
17522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_builtin_atomic" >&5
17538 # --with-mimalloc
17539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-mimalloc" >&5
17540 printf %s "checking for --with-mimalloc... " >&6; }
17542 # Check whether --with-mimalloc was given.
17554 # mimalloc-atomic.h wants C11 stdatomic.h on POSIX
17555 as_fn_error $? "mimalloc requires stdatomic.h, use --without-mimalloc to disable mimalloc." "$LINENO" 5
17564 as_fn_error $? "--disable-gil requires mimalloc memory allocator (--with-mimalloc)." "$LINENO" 5
17567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_mimalloc" >&5
17573 # Check for Python-specific malloc support
17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
17575 printf %s "checking for --with-pymalloc... " >&6; }
17577 # Check whether --with-pymalloc was given.
17584 if test -z "$with_pymalloc"
17602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
17607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-freelists" >&5
17608 printf %s "checking for --with-freelists... " >&6; }
17610 # Check whether --with-freelists was given.
17617 if test -z "$with_freelists"
17627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_freelists" >&5
17630 # Check for --with-c-locale-coercion
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-c-locale-coercion" >&5
17632 printf %s "checking for --with-c-locale-coercion... " >&6; }
17634 # Check whether --with-c-locale-coercion was given.
17641 if test -z "$with_c_locale_coercion"
17651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5
17655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
17656 printf %s "checking for --with-valgrind... " >&6; }
17658 # Check whether --with-valgrind was given.
17667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
17681 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
17685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
17686 printf %s "checking for --with-dtrace... " >&6; }
17688 # Check whether --with-dtrace was given.
17696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
17711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17741 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not found"
17746 if test -n "$DTRACE"; then
17747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17765 # generation flag '-G'. We check for presence of this flag, rather than
17767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether DTrace probes require linking" >&5
17775 "$DTRACE" $DFLAGS -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
17779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dtrace_link" >&5
17801 # -I${DLINCLDIR} is added to the compile rule for importdl.o
17818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
17820 if test -z "$DYNLOADFILE"
17834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
17843 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
17846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
17848 if test -z "$MACHDEP_OBJS"
17854 if test -z "$MACHDEP_OBJS"; then
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
17858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5
17862 if test "$ac_sys_system" = "Linux-android"; then
17869 # (https://android.googlesource.com/platform/system/sepolicy/+/refs/heads/android13-release/public/domain.te#1044)
17875 if test "$ANDROID_API_LEVEL" -lt 23; then
19051 # header definition prevents usage - autoconf doesn't use the headers), or
19075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
19083 for ac_arg in '' -fno-builtin; do
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 main (void)
19104 # declaration. Include always-available headers on the
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115 main (void)
19134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
19145 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19179 main (void)
19192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chroot" >&5
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for link" >&5
19214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 main (void)
19231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_link" >&5
19247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 main (void)
19270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_symlink" >&5
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19296 main (void)
19309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fchdir" >&5
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
19331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19335 main (void)
19348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fsync" >&5
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 main (void)
19387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fdatasync" >&5
19403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for epoll_create" >&5
19409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19413 main (void)
19426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_epoll_create" >&5
19442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 main (void)
19465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_epoll_create1" >&5
19481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
19487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 main (void)
19507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_kqueue" >&5
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for prlimit" >&5
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19536 main (void)
19549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_prlimit" >&5
19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _dyld_shared_cache_contains_path" >&5
19572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 #include <mach-o/dyld.h>
19576 main (void)
19589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func__dyld_shared_cache_contains_path" >&5
19606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 main (void)
19636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memfd_create" >&5
19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19667 main (void)
19680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_eventfd" >&5
19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for timerfd_create" >&5
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 main (void)
19724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_timerfd_create" >&5
19747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 main (void)
19770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_ctermid_r" >&5
19785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19795 main (void)
19810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
19826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
19827 printf %s "checking for flock in -lbsd... " >&6; }
19833 LIBS="-lbsd $LIBS"
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19842 main (void)
19855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
19863 FCNTL_LIBS="-lbsd"
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19883 main (void)
19896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpagesize" >&5
19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
19917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 main (void)
19935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_unsetenv" >&5
19953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19959 if test -n "$TRUE"; then
19974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19984 if test -n "$TRUE"; then
19985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
19988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19993 test -n "$TRUE" && break
19995 test -n "$TRUE" || TRUE="/bin/true"
19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
19999 printf %s "checking for inet_aton in -lc... " >&6; }
20005 LIBS="-lc $LIBS"
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 main (void)
20027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
20037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
20038 printf %s "checking for inet_aton in -lresolv... " >&6; }
20044 LIBS="-lresolv $LIBS"
20045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20053 main (void)
20066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
20076 LIBS="-lresolv $LIBS"
20086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20101 int main(int argc, char *argv[])
20115 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
20139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 int main(int argc, char *argv[])
20168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
20197 if test "$ac_sys_system" = "Emscripten" -a -z "$ZLIB_CFLAGS" -a -z "$ZLIB_LIBS"
20200 ZLIB_CFLAGS="-sUSE_ZLIB"
20201 ZLIB_LIBS="-sUSE_ZLIB"
20210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.2.0" >&5
20213 if test -n "$ZLIB_CFLAGS"; then
20215 elif test -n "$PKG_CONFIG"; then
20216 if test -n "$PKG_CONFIG" && \
20217 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.0\""; } >&5
20218 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.0") 2>&5
20220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20222 pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.0" 2>/dev/null`
20230 if test -n "$ZLIB_LIBS"; then
20232 elif test -n "$PKG_CONFIG"; then
20233 if test -n "$PKG_CONFIG" && \
20234 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.0\""; } >&5
20235 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.0") 2>&5
20237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20239 pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.0" 2>/dev/null`
20251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20254 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20260 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.0" 2>&1`
20262 ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.0" 2>&1`
20284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
20285 printf %s "checking for gzread in -lz... " >&6; }
20291 LIBS="-lz $LIBS"
20292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20300 main (void)
20313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
20337 ZLIB_CFLAGS=${ZLIB_CFLAGS-""}
20338 ZLIB_LIBS=${ZLIB_LIBS-"-lz"}
20340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
20341 printf %s "checking for inflateCopy in -lz... " >&6; }
20347 LIBS="-lz $LIBS"
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20356 main (void)
20369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
20394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
20414 printf %s "checking for gzread in -lz... " >&6; }
20420 LIBS="-lz $LIBS"
20421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 main (void)
20442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
20466 ZLIB_CFLAGS=${ZLIB_CFLAGS-""}
20467 ZLIB_LIBS=${ZLIB_LIBS-"-lz"}
20469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
20470 printf %s "checking for inflateCopy in -lz... " >&6; }
20476 LIBS="-lz $LIBS"
20477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 main (void)
20498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
20525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20537 BINASCII_CFLAGS="-DUSE_ZLIB_CRC32 $ZLIB_CFLAGS"
20545 if test "$ac_sys_system" = "Emscripten" -a -z "$BZIP2_CFLAGS" -a -z "$BZIP2_LIBS"
20548 BZIP2_CFLAGS="-sUSE_BZIP2"
20549 BZIP2_LIBS="-sUSE_BZIP2"
20558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bzip2" >&5
20561 if test -n "$BZIP2_CFLAGS"; then
20563 elif test -n "$PKG_CONFIG"; then
20564 if test -n "$PKG_CONFIG" && \
20565 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bzip2\""; } >&5
20566 ($PKG_CONFIG --exists --print-errors "bzip2") 2>&5
20568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20570 pkg_cv_BZIP2_CFLAGS=`$PKG_CONFIG --cflags "bzip2" 2>/dev/null`
20578 if test -n "$BZIP2_LIBS"; then
20580 elif test -n "$PKG_CONFIG"; then
20581 if test -n "$PKG_CONFIG" && \
20582 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bzip2\""; } >&5
20583 ($PKG_CONFIG --exists --print-errors "bzip2") 2>&5
20585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20587 pkg_cv_BZIP2_LIBS=`$PKG_CONFIG --libs "bzip2" 2>/dev/null`
20599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20602 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20608 BZIP2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bzip2" 2>&1`
20610 BZIP2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bzip2" 2>&1`
20631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
20632 printf %s "checking for BZ2_bzCompress in -lbz2... " >&6; }
20638 LIBS="-lbz2 $LIBS"
20639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20647 main (void)
20660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
20682 BZIP2_CFLAGS=${BZIP2_CFLAGS-""}
20683 BZIP2_LIBS=${BZIP2_LIBS-"-lbz2"}
20695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
20714 printf %s "checking for BZ2_bzCompress in -lbz2... " >&6; }
20720 LIBS="-lbz2 $LIBS"
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 main (void)
20742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
20764 BZIP2_CFLAGS=${BZIP2_CFLAGS-""}
20765 BZIP2_LIBS=${BZIP2_LIBS-"-lbz2"}
20779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for liblzma" >&5
20789 if test -n "$LIBLZMA_CFLAGS"; then
20791 elif test -n "$PKG_CONFIG"; then
20792 if test -n "$PKG_CONFIG" && \
20793 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
20794 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
20796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20798 pkg_cv_LIBLZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null`
20806 if test -n "$LIBLZMA_LIBS"; then
20808 elif test -n "$PKG_CONFIG"; then
20809 if test -n "$PKG_CONFIG" && \
20810 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
20811 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
20813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20815 pkg_cv_LIBLZMA_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null`
20827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20836 LIBLZMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1`
20838 LIBLZMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1`
20859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_easy_encoder in -llzma" >&5
20860 printf %s "checking for lzma_easy_encoder in -llzma... " >&6; }
20866 LIBS="-llzma $LIBS"
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 main (void)
20888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_easy_encoder" >&5
20910 LIBLZMA_CFLAGS=${LIBLZMA_CFLAGS-""}
20911 LIBLZMA_LIBS=${LIBLZMA_LIBS-"-llzma"}
20923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lzma_easy_encoder in -llzma" >&5
20942 printf %s "checking for lzma_easy_encoder in -llzma... " >&6; }
20948 LIBS="-llzma $LIBS"
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 main (void)
20970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_easy_encoder" >&5
20992 LIBLZMA_CFLAGS=${LIBLZMA_CFLAGS-""}
20993 LIBLZMA_LIBS=${LIBLZMA_LIBS-"-llzma"}
21007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
21022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21026 main (void)
21039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_hstrerror" >&5
21055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getservbyname" >&5
21061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21065 main (void)
21078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getservbyname" >&5
21094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getservbyport" >&5
21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 main (void)
21117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getservbyport" >&5
21133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname" >&5
21139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143 main (void)
21156 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gethostbyname" >&5
21172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyaddr" >&5
21178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182 main (void)
21195 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_gethostbyaddr" >&5
21211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getprotobyname" >&5
21217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21221 main (void)
21234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getprotobyname" >&5
21253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
21259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21268 main (void)
21281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_inet_aton" >&5
21297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa" >&5
21303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21312 main (void)
21325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_inet_ntoa" >&5
21341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21356 main (void)
21369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_inet_pton" >&5
21385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpeername" >&5
21391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21400 main (void)
21413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpeername" >&5
21429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getsockname" >&5
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21444 main (void)
21457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getsockname" >&5
21473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for accept" >&5
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 main (void)
21501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_accept" >&5
21517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for bind" >&5
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21532 main (void)
21545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_bind" >&5
21561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect" >&5
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21576 main (void)
21589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_connect" >&5
21605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for listen" >&5
21611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21620 main (void)
21633 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_listen" >&5
21649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recvfrom" >&5
21655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 main (void)
21677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_recvfrom" >&5
21693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sendto" >&5
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21708 main (void)
21721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_sendto" >&5
21737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setsockopt" >&5
21743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 main (void)
21765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setsockopt" >&5
21781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socket" >&5
21787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 main (void)
21809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_socket" >&5
21827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
21833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21842 main (void)
21855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_setgroups" >&5
21881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
21882 printf %s "checking for openpty in -lutil... " >&6; }
21888 LIBS="-lutil $LIBS"
21889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21897 main (void)
21910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
21919 LIBS="$LIBS -lutil"
21921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
21922 printf %s "checking for openpty in -lbsd... " >&6; }
21928 LIBS="-lbsd $LIBS"
21929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21937 main (void)
21950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
21959 LIBS="$LIBS -lbsd"
21967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing login_tty" >&5
21974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21982 main (void)
21991 if test -z "$ac_lib"; then
21994 ac_res=-l$ac_lib
21995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login_tty" >&5
22038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
22039 printf %s "checking for forkpty in -lutil... " >&6; }
22045 LIBS="-lutil $LIBS"
22046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22054 main (void)
22067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
22076 LIBS="$LIBS -lutil"
22078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
22079 printf %s "checking for forkpty in -lbsd... " >&6; }
22085 LIBS="-lbsd $LIBS"
22086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 main (void)
22107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
22116 LIBS="$LIBS -lbsd"
22185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22189 main (void)
22202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 main (void)
22230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22261 printf %s "checking for clock_gettime in -lrt... " >&6; }
22267 LIBS="-lrt $LIBS"
22268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 main (void)
22289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22298 LIBS="$LIBS -lrt"
22322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
22323 printf %s "checking for clock_getres in -lrt... " >&6; }
22329 LIBS="-lrt $LIBS"
22330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 main (void)
22351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
22373 if test "$ac_sys_system" != "Linux-android" && test "$ac_sys_system" != "iOS"
22385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lrt" >&5
22386 printf %s "checking for clock_settime in -lrt... " >&6; }
22392 LIBS="-lrt $LIBS"
22393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401 main (void)
22414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_settime" >&5
22436 if ! { test "$ac_sys_system" = "Linux-android" &&
22437 test "$ANDROID_API_LEVEL" -lt 23; }; then
22448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_nanosleep in -lrt" >&5
22449 printf %s "checking for clock_nanosleep in -lrt... " >&6; }
22455 LIBS="-lrt $LIBS"
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22464 main (void)
22477 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_nanosleep" >&5
22507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
22508 printf %s "checking for nanosleep in -lrt... " >&6; }
22514 LIBS="-lrt $LIBS"
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 main (void)
22536 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
22555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for major, minor, and makedev" >&5
22562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22575 main (void)
22590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_device_macros" >&5
22611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
22618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22627 main (void)
22640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getaddrinfo" >&5
22650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
22659 if test "$ac_sys_system" = "Linux-android" || test "$ac_sys_system" = "iOS"; then
22662 ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
22667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22677 int main(void)
22693 for (ai = aitop; ai; ai = ai->ai_next) {
22694 if (ai->ai_addr == NULL ||
22695 ai->ai_addrlen == 0 ||
22696 getnameinfo(ai->ai_addr, ai->ai_addrlen,
22701 switch (ai->ai_family) {
22766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
22777 if test "$ac_cv_func_getaddrinfo" = no -o "$ac_cv_buggy_getaddrinfo" = yes
22782 as_fn_error $? "You must get working getaddrinfo() function or pass the \"--disable-ipv6\" option to configure." "$LINENO" 5
22800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
22806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22812 main (void)
22827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
22864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
22870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22878 main (void)
22891 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
22994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
23001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23005 main (void)
23018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
23029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
23035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 main (void)
23052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
23062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
23068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 main (void)
23087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
23097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sockaddr_alg" >&5
23103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23110 main (void)
23123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_alg" >&5
23135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
23136 printf %s "checking for an ANSI C-conforming const... " >&6; }
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 main (void)
23160 an arm of an if-expression whose if-part is not a constant
23163 pcpcc = &g + (g ? g-g : 0);
23176 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
23181 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
23187 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
23189 struct s *b = &bx; b->j = 5;
23191 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
23208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
23219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
23226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23230 main (void)
23243 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_signed_char_c" >&5
23257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268 main (void)
23281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_function_prototypes" >&5
23299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
23305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 main (void)
23325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_socketpair" >&5
23341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
23348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23353 main (void)
23367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_sa_len" >&5
23381 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
23389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
23393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23399 main (void)
23422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 main (void)
23460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475 main (void)
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
23542 printf %s "checking for __fpu_control in -lieee... " >&6; }
23548 LIBS="-lieee $LIBS"
23549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23557 main (void)
23570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
23580 LIBS="-lieee $LIBS"
23588 # check for --with-libm=...
23592 *) LIBM=-lm
23594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
23595 printf %s "checking for --with-libm=STRING... " >&6; }
23597 # Check whether --with-libm was given.
23603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
23609 else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
23612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
23617 # check for --with-libc=...
23619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
23620 printf %s "checking for --with-libc=STRING... " >&6; }
23622 # Check whether --with-libc was given.
23628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
23632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
23634 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
23637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
23643 # * Check for gcc x64 inline assembler *
23647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
23648 printf %s "checking for x64 gcc inline assembler... " >&6; }
23654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23658 main (void)
23673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_asm_for_x64" >&5
23693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
23702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23710 int main (int argc, char *argv[])
23735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
23753 # Some ARM platforms use a mixed-endian representation for
23756 # least make sure that float <-> string conversions work.
23774 # correctly-rounded string <-> double conversion functions from
23775 # Python/dtoa.c, which in turn require that the FPU uses 53-bit
23783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set x87 control word" >&5
23790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 main (void)
23811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_asm_for_x87" >&5
23826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get and set mc68881 fpcr" >&5
23833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23837 main (void)
23854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gcc_asm_for_mc68881" >&5
23869 # Detect whether system arithmetic is subject to x87-style double
23872 # mode is round-to-nearest and double rounding issues are present, and
23874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
23875 printf %s "checking for x87-style double rounding... " >&6; }
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23893 int main(void) {
23895 /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
23896 x = 0.99999999999999989; /* 1-2**-53 */
23900 /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
23917 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
23962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
23972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23982 int main(void) {
24001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
24018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
24028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 int main(void){
24050 return res==-1 ? 1 : 0;
24061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
24153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
24155 # Check whether --enable-big-digits was given.
24166 as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$LINENO" 5 ;;
24168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
24175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
24200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
24215 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
24239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
24250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24254 int main()
24257 return ((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
24267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
24276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
24279 if test "$ac_cv_sizeof_wchar_t" -ge 2 \
24280 -a "$ac_cv_wchar_t_signed" = "no"
24285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24294 if test -f /etc/os-release; then
24295 OS_NAME=$(awk -F= '/^NAME=/ {print substr($2,2,length($2)-2)}' /etc/os-release)
24297 # bpo-43667: In Oracle Solaris, the internal form of wchar_t in
24298 # non-Unicode locales is not Unicode and hence cannot be used directly.
24309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
24317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24328 # Check for potential -arch flags. It is not universal unless
24329 # there are at least two -arch flags with different values.
24333 if test -n "$ac_prev"; then
24336 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
24345 elif test "x$ac_word" = "x-arch"; then
24350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24359 main (void)
24374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24380 main (void)
24396 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24407 main (void)
24420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24425 main (void)
24441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24469 main (void)
24490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24496 main (void)
24506 return u.c[sizeof (long int) - 1] == 1;
24518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
24548 # * The Python implementation (always 'cpython-' for us)
24550 # * --disable-gil (adds a 't')
24551 # * --with-pydebug (adds a 'd')
24554 # would get a shared library ABI version tag of 'cpython-32dmu' and shared
24555 # libraries would be named 'foo.cpython-32dmu.so'.
24557 # In Python 3.2 and older, --with-wide-unicode added a 'u' flag.
24558 # In Python 3.7 and older, --with-pymalloc added a 'm' flag.
24560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking ABIFLAGS" >&5
24562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ABIFLAGS" >&5
24564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
24566 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${SOABI_PLATFORM:+-$SOABI_PLATFORM}
24567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
24575 ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${SOABI_PLATFORM:+-$SOABI_PLATFORM}
24584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
24587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
24591 # Do not rename LIBPYTHON - it's accessed via sysconfig by package build
24600 if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MACHDEP" = "cygwin"); then
24615 # Check for --with-platlibdir
24619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-platlibdir" >&5
24620 printf %s "checking for --with-platlibdir... " >&6; }
24622 # Check whether --with-platlibdir was given.
24627 # --with-platlibdir
24628 # --with-platlibdir=
24629 # --without-platlibdir
24630 if test -n "$withval" -a "$withval" != yes -a "$withval" != no
24632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24649 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}${ABI_THREAD}/config-${LDVERSION}"
24651 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}${ABI_THREAD}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
24655 # Check for --with-wheel-pkg-dir=PATH
24658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-wheel-pkg-dir" >&5
24659 printf %s "checking for --with-wheel-pkg-dir... " >&6; }
24661 # Check whether --with-wheel-pkg-dir was given.
24665 if test -n "$withval"; then
24666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 int main(void)
24697 return (((-1)>>3 == -1) ? 0 : 1);
24707 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
24722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
24729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24733 main (void)
24751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
24767 # Check whether --with-readline was given.
24779 as_fn_error $? "proper usage is --with(out)-readline[=editline|readline|no]" "$LINENO" 5
24794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
24797 if test -n "$LIBREADLINE_CFLAGS"; then
24799 elif test -n "$PKG_CONFIG"; then
24800 if test -n "$PKG_CONFIG" && \
24801 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
24802 ($PKG_CONFIG --exists --print-errors "readline") 2>&5
24804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24806 pkg_cv_LIBREADLINE_CFLAGS=`$PKG_CONFIG --cflags "readline" 2>/dev/null`
24814 if test -n "$LIBREADLINE_LIBS"; then
24816 elif test -n "$PKG_CONFIG"; then
24817 if test -n "$PKG_CONFIG" && \
24818 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"readline\""; } >&5
24819 ($PKG_CONFIG --exists --print-errors "readline") 2>&5
24821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24823 pkg_cv_LIBREADLINE_LIBS=`$PKG_CONFIG --libs "readline" 2>/dev/null`
24835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24844 LIBREADLINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "readline" 2>&1`
24846 LIBREADLINE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "readline" 2>&1`
24867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
24868 printf %s "checking for readline in -lreadline... " >&6; }
24874 LIBS="-lreadline $LIBS"
24875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24883 main (void)
24896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
24906 READLINE_CFLAGS=${LIBREADLINE_CFLAGS-""}
24907 READLINE_LIBS=${LIBREADLINE_LIBS-"-lreadline"}
24928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
24947 printf %s "checking for readline in -lreadline... " >&6; }
24953 LIBS="-lreadline $LIBS"
24954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24962 main (void)
24975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
24985 READLINE_CFLAGS=${LIBREADLINE_CFLAGS-""}
24986 READLINE_LIBS=${LIBREADLINE_LIBS-"-lreadline"}
25009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libedit" >&5
25028 if test -n "$LIBEDIT_CFLAGS"; then
25030 elif test -n "$PKG_CONFIG"; then
25031 if test -n "$PKG_CONFIG" && \
25032 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
25033 ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
25035 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25037 pkg_cv_LIBEDIT_CFLAGS=`$PKG_CONFIG --cflags "libedit" 2>/dev/null`
25045 if test -n "$LIBEDIT_LIBS"; then
25047 elif test -n "$PKG_CONFIG"; then
25048 if test -n "$PKG_CONFIG" && \
25049 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libedit\""; } >&5
25050 ($PKG_CONFIG --exists --print-errors "libedit") 2>&5
25052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25054 pkg_cv_LIBEDIT_LIBS=`$PKG_CONFIG --libs "libedit" 2>/dev/null`
25066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25069 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25075 LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libedit" 2>&1`
25077 LIBEDIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libedit" 2>&1`
25098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
25099 printf %s "checking for readline in -ledit... " >&6; }
25105 LIBS="-ledit $LIBS"
25106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25114 main (void)
25127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
25139 READLINE_CFLAGS=${LIBEDIT_CFLAGS-""}
25140 READLINE_LIBS=${LIBEDIT_LIBS-"-ledit"}
25161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5
25180 printf %s "checking for readline in -ledit... " >&6; }
25186 LIBS="-ledit $LIBS"
25187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25195 main (void)
25208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5
25220 READLINE_CFLAGS=${LIBEDIT_CFLAGS-""}
25221 READLINE_LIBS=${LIBEDIT_LIBS-"-ledit"}
25244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25257 READLINE_CFLAGS=$(echo $READLINE_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g')
25259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link readline" >&5
25264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_readline (CFLAGS: $READLINE_CFLAGS, LIBS: $READLINE_LIBS)" >&5
25324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -l$LIBREADLINE" >&5
25325 printf %s "checking for rl_pre_input_hook in -l$LIBREADLINE... " >&6; }
25331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25343 main (void)
25357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readline_rl_pre_input_hook" >&5
25373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -l$LIBREADLINE" >&5
25374 printf %s "checking for rl_completion_display_matches_hook in -l$LIBREADLINE... " >&6; }
25380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 main (void)
25406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readline_rl_completion_display_matches_hook" >&5
25422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -l$LIBREADLINE" >&5
25423 printf %s "checking for rl_resize_terminal in -l$LIBREADLINE... " >&6; }
25429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25441 main (void)
25455 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readline_rl_resize_terminal" >&5
25471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -l$LIBREADLINE" >&5
25472 printf %s "checking for rl_completion_matches in -l$LIBREADLINE... " >&6; }
25478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25490 main (void)
25504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readline_rl_completion_matches" >&5
25539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for append_history in -l$LIBREADLINE" >&5
25540 printf %s "checking for append_history in -l$LIBREADLINE... " >&6; }
25546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25558 main (void)
25572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readline_append_history" >&5
25609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if rl_startup_hook takes arguments" >&5
25616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25629 main (void)
25643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readline_rl_startup_hook_takes_args" >&5
25667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
25678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683 int main(void)
25686 if (val1 != -1 && val1 == nice(2))
25698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
25712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
25722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25728 int main(void)
25751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
25766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
25777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25788 int main(void)
25794 tm->tm_zone does not exist since it is the alternative way
25801 time_t groundhogday = 1044144000; /* GMT-based */
25806 if (localtime(&groundhogday)->tm_hour != 0)
25817 if (localtime(&groundhogday)->tm_hour != 19)
25824 putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
25826 if (localtime(&groundhogday)->tm_hour != 11)
25834 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
25836 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
25850 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
25865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
25871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25875 main (void)
25891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
25903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
25909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25913 main (void)
25929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
25950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5
25953 if test -n "$CURSES_CFLAGS"; then
25955 elif test -n "$PKG_CONFIG"; then
25956 if test -n "$PKG_CONFIG" && \
25957 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
25958 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
25960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25962 pkg_cv_CURSES_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null`
25970 if test -n "$CURSES_LIBS"; then
25972 elif test -n "$PKG_CONFIG"; then
25973 if test -n "$PKG_CONFIG" && \
25974 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
25975 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
25977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25979 pkg_cv_CURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null`
25991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26000 CURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1`
26002 CURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1`
26009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for panelw" >&5
26026 if test -n "$PANEL_CFLAGS"; then
26028 elif test -n "$PKG_CONFIG"; then
26029 if test -n "$PKG_CONFIG" && \
26030 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"panelw\""; } >&5
26031 ($PKG_CONFIG --exists --print-errors "panelw") 2>&5
26033 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26035 pkg_cv_PANEL_CFLAGS=`$PKG_CONFIG --cflags "panelw" 2>/dev/null`
26043 if test -n "$PANEL_LIBS"; then
26045 elif test -n "$PKG_CONFIG"; then
26046 if test -n "$PKG_CONFIG" && \
26047 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"panelw\""; } >&5
26048 ($PKG_CONFIG --exists --print-errors "panelw") 2>&5
26050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26052 pkg_cv_PANEL_LIBS=`$PKG_CONFIG --libs "panelw" 2>/dev/null`
26064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26073 PANEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "panelw" 2>&1`
26075 PANEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "panelw" 2>&1`
26082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5
26107 if test -n "$CURSES_CFLAGS"; then
26109 elif test -n "$PKG_CONFIG"; then
26110 if test -n "$PKG_CONFIG" && \
26111 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
26112 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
26114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26116 pkg_cv_CURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
26124 if test -n "$CURSES_LIBS"; then
26126 elif test -n "$PKG_CONFIG"; then
26127 if test -n "$PKG_CONFIG" && \
26128 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
26129 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
26131 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26133 pkg_cv_CURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
26145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26154 CURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1`
26156 CURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1`
26163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for panel" >&5
26180 if test -n "$PANEL_CFLAGS"; then
26182 elif test -n "$PKG_CONFIG"; then
26183 if test -n "$PKG_CONFIG" && \
26184 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"panel\""; } >&5
26185 ($PKG_CONFIG --exists --print-errors "panel") 2>&5
26187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26189 pkg_cv_PANEL_CFLAGS=`$PKG_CONFIG --cflags "panel" 2>/dev/null`
26197 if test -n "$PANEL_LIBS"; then
26199 elif test -n "$PKG_CONFIG"; then
26200 if test -n "$PKG_CONFIG" && \
26201 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"panel\""; } >&5
26202 ($PKG_CONFIG --exists --print-errors "panel") 2>&5
26204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26206 pkg_cv_PANEL_LIBS=`$PKG_CONFIG --libs "panel" 2>/dev/null`
26218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26227 PANEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "panel" 2>&1`
26229 PANEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "panel" 2>&1`
26236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26319 # also serves as a fallback in case pkg-config failed.
26321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing initscr" >&5
26328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26336 main (void)
26345 if test -z "$ac_lib"; then
26348 ac_res=-l$ac_lib
26349 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_initscr" >&5
26380 CURSES_LIBS=${CURSES_LIBS-"$ac_cv_search_initscr"}
26386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing update_panels" >&5
26393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26401 main (void)
26410 if test -z "$ac_lib"; then
26413 ac_res=-l$ac_lib
26414 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_update_panels" >&5
26445 PANEL_LIBS=${PANEL_LIBS-"$ac_cv_search_update_panels"}
26457 CURSES_CFLAGS=$(echo $CURSES_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g')
26463 as_fn_append CURSES_CFLAGS " -D_XOPEN_SOURCE_EXTENDED=1"
26467 PANEL_CFLAGS=$(echo $PANEL_CFLAGS | sed 's/-D_XOPEN_SOURCE=600//g')
26495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26520 main (void)
26536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
26548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
26554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26573 main (void)
26577 w->_flags = 0;
26589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
26606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function is_pad" >&5
26612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 main (void)
26648 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_is_pad" >&5
26664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function is_term_resized" >&5
26670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26689 main (void)
26706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_is_term_resized" >&5
26722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function resize_term" >&5
26728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26747 main (void)
26764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_resize_term" >&5
26780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function resizeterm" >&5
26786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26805 main (void)
26822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_resizeterm" >&5
26838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function immedok" >&5
26844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26863 main (void)
26880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_immedok" >&5
26896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function syncok" >&5
26902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 main (void)
26938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_syncok" >&5
26954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function wchgat" >&5
26960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26979 main (void)
26996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_wchgat" >&5
27012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function filter" >&5
27018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27037 main (void)
27054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_filter" >&5
27070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function has_key" >&5
27076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 main (void)
27112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_has_key" >&5
27128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function typeahead" >&5
27134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27153 main (void)
27170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_typeahead" >&5
27186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for curses function use_env" >&5
27192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27211 main (void)
27228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_use_env" >&5
27251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
27254 if test "$ac_sys_system" = "Linux-android" || test "$ac_sys_system" = "iOS"; then
27260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
27262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not set" >&5
27267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
27269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not set" >&5
27275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
27283 if test -r "/dev/ptmx"; then
27289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
27301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
27309 if test -r "/dev/ptc"; then
27315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
27331 LIBS="$LIBS -framework CoreFoundation"
27356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken mbstowcs" >&5
27366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27372 int main(void) {
27373 size_t len = -1;
27386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_mbstowcs" >&5
27400 # Check for --with-computed-gotos
27401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
27402 printf %s "checking for --with-computed-gotos... " >&6; }
27404 # Check whether --with-computed-gotos was given.
27413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
27431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
27440 ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
27445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27448 int main(int argc, char **argv)
27466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
27521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
27524 if test ! -d $dir; then
27528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
27531 # Availability of -O2:
27532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
27533 printf %s "checking for -O2... " >&6; }
27540 CFLAGS="-O2"
27541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27545 main (void)
27558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_compile_o2" >&5
27566 # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
27567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memmove bug" >&5
27570 CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
27578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27585 int main(void) {
27603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
27619 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
27622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-const bug" >&5
27623 printf %s "checking for gcc ipa-pure-const bug... " >&6; }
27625 CFLAGS="-O2"
27630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27642 int main(void) {
27656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_const_bug" >&5
27673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
27676 # Check whether --with-ensurepip was given.
27704 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
27706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
27711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the dirent structure of a d_type field" >&5
27718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27724 int main(void) {
27737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dirent_d_type" >&5
27754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the Linux getrandom() syscall" >&5
27761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 int main(void) {
27787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_getrandom_syscall" >&5
27805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the getrandom() function" >&5
27812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27819 int main(void) {
27836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getrandom" >&5
27854 POSIXSHMEM_CFLAGS='-I$(srcdir)/Modules/_multiprocessing'
27861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
27868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27876 main (void)
27885 if test -z "$ac_lib"; then
27888 ac_res=-l$ac_lib
27889 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
27920 if test "x$ac_cv_search_shm_open" = x-lrt
27922 POSIXSHMEM_LIBS="-lrt"
27963 # Check whether --with-openssl was given.
27969 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
27977 # if pkg-config is installed and openssl has installed a .pc file,
27979 if test -n "$ac_tool_prefix"; then
27980 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27981 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27988 if test -n "$PKG_CONFIG"; then
28002 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
28003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28013 if test -n "$PKG_CONFIG"; then
28014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28023 if test -z "$ac_cv_prog_PKG_CONFIG"; then
28025 # Extract the first word of "pkg-config", so it can be a program name with args.
28026 set dummy pkg-config; ac_word=$2
28027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28033 if test -n "$ac_ct_PKG_CONFIG"; then
28047 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
28048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28058 if test -n "$ac_ct_PKG_CONFIG"; then
28059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
28062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28082 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
28084 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
28085 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
28106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for include/openssl/ssl.h in $ssldir" >&5
28108 if test -f "$ssldir/include/openssl/ssl.h"; then
28109 OPENSSL_INCLUDES="-I$ssldir/include"
28110 OPENSSL_LDFLAGS="-L$ssldir/lib"
28111 OPENSSL_LIBS="-lssl -lcrypto"
28113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28122 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
28129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
28140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28144 main (void)
28154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28180 rpath_arg="-Wl,--enable-new-dtags,-rpath="
28186 rpath_arg="-Wl,-rpath,"
28188 rpath_arg="-Wl,-rpath="
28193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-openssl-rpath" >&5
28194 printf %s "checking for --with-openssl-rpath... " >&6; }
28196 # Check whether --with-openssl-rpath was given.
28211 -L*) :
28212 OPENSSL_LDFLAGS_RPATH="$OPENSSL_LDFLAGS_RPATH ${rpath_arg}$(echo $arg | cut -c3-)"
28222 if test -d "$with_openssl_rpath"
28229 as_fn_error $? "--with-openssl-rpath \"$with_openssl_rpath\" is not a directory" "$LINENO" 5
28234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_RPATH" >&5
28238 # Requires static OpenSSL build with position-independent code. Some features
28244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unsupported static openssl build" >&5
28249 -l*) :
28251 libname=$(echo $arg | cut -c3-)
28252 new_OPENSSL_LIBS="$new_OPENSSL_LIBS -l:lib${libname}.a -Wl,--exclude-libs,lib${libname}.a"
28260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_LIBS" >&5
28268 -l*ssl*|-Wl*ssl*) :
28287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL provides required ssl module APIs" >&5
28294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28305 main (void)
28326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_openssl_ssl" >&5
28350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL provides required hashlib module APIs" >&5
28357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28367 main (void)
28386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_openssl_hashlib" >&5
28404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-ssl-default-suites" >&5
28405 printf %s "checking for --with-ssl-default-suites... " >&6; }
28407 # Check whether --with-ssl-default-suites was given.
28411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
28432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: python" >&5
28442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --with-builtin-hashlib-hashes" >&5
28443 printf %s "checking for --with-builtin-hashlib-hashes... " >&6; }
28445 # Check whether --with-builtin-hashlib-hashes was given.
28464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_builtin_hashlib_hashes" >&5
28496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libb2" >&5
28499 if test -n "$LIBB2_CFLAGS"; then
28501 elif test -n "$PKG_CONFIG"; then
28502 if test -n "$PKG_CONFIG" && \
28503 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
28504 ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
28506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28508 pkg_cv_LIBB2_CFLAGS=`$PKG_CONFIG --cflags "libb2" 2>/dev/null`
28516 if test -n "$LIBB2_LIBS"; then
28518 elif test -n "$PKG_CONFIG"; then
28519 if test -n "$PKG_CONFIG" && \
28520 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libb2\""; } >&5
28521 ($PKG_CONFIG --exists --print-errors "libb2") 2>&5
28523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28525 pkg_cv_LIBB2_LIBS=`$PKG_CONFIG --libs "libb2" 2>/dev/null`
28537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28546 LIBB2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libb2" 2>&1`
28548 LIBB2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libb2" 2>&1`
28555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
28576 printf %s "checking for --disable-test-modules... " >&6; }
28577 # Check whether --enable-test-modules was given.
28600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TEST_MODULES" >&5
28604 # gh-109054: Check if -latomic is needed to get <pyatomic.h> atomic functions.
28610 # gh-112779: On RISC-V, GCC 12 and earlier require libatomic support for 1-byte
28611 # and 2-byte operations, but not for 8-byte operations.
28619 CPPFLAGS="${BASECPPFLAGS} -I. -I${srcdir}/Include ${CPPFLAGS}"
28621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libatomic is needed by <pyatomic.h>" >&5
28627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28646 int main()
28673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libatomic_needed" >&5
28681 LIBS="${LIBS} -latomic"
28682 LIBATOMIC=${LIBATOMIC-"-latomic"}
28812 MODULE_BUILDTYPE=${MODULE_BUILDTYPE:-shared}
28841 as_fn_append MODULE_BLOCK "MODULE__IO_CFLAGS=-I\$(srcdir)/Modules/_io$as_nl"
29311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _multiprocessing" >&5
29333 as_fn_append MODULE_BLOCK "MODULE__MULTIPROCESSING_CFLAGS=-I\$(srcdir)/Modules/_multiprocessing$as_nl"
29345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__multiprocessing" >&5
29349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _posixshmem" >&5
29383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__posixshmem" >&5
29478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module fcntl" >&5
29485 if test "$ac_cv_header_sys_ioctl_h" = "yes" -a "$ac_cv_header_fcntl_h" = "yes"
29512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_fcntl" >&5
29516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module mmap" >&5
29523 if test "$ac_cv_header_sys_mman_h" = "yes" -a "$ac_cv_header_sys_stat_h" = "yes"
29550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_mmap" >&5
29554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _socket" >&5
29561 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"
29588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__socket" >&5
29593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module grp" >&5
29628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_grp" >&5
29632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module pwd" >&5
29639 if test "$ac_cv_func_getpwuid" = yes -o "$ac_cv_func_getpwuid_r" = yes
29666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_pwd" >&5
29670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module resource" >&5
29704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_resource" >&5
29708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _scproxy" >&5
29731 as_fn_append MODULE_BLOCK "MODULE__SCPROXY_LDFLAGS=-framework SystemConfiguration -framework CoreFoundation$as_nl"
29742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__scproxy" >&5
29746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module syslog" >&5
29780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_syslog" >&5
29784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module termios" >&5
29818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_termios" >&5
29823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module pyexpat" >&5
29857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_pyexpat" >&5
29861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _elementtree" >&5
29895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__elementtree" >&5
30076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _md5" >&5
30098 as_fn_append MODULE_BLOCK "MODULE__MD5_CFLAGS=-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE$as_nl"
30110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__md5" >&5
30114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha1" >&5
30136 as_fn_append MODULE_BLOCK "MODULE__SHA1_CFLAGS=-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE$as_nl"
30148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha1" >&5
30152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha2" >&5
30174 as_fn_append MODULE_BLOCK "MODULE__SHA2_CFLAGS=-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE$as_nl"
30186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha2" >&5
30190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sha3" >&5
30224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sha3" >&5
30228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _blake2" >&5
30262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__blake2" >&5
30267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _ctypes" >&5
30301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__ctypes" >&5
30305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _curses" >&5
30340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__curses" >&5
30344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _curses_panel" >&5
30379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__curses_panel" >&5
30383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _decimal" >&5
30417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__decimal" >&5
30421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _dbm" >&5
30426 if test -n "$with_dbmliborder"
30455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__dbm" >&5
30459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _gdbm" >&5
30493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__gdbm" >&5
30497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module readline" >&5
30531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_readline" >&5
30535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _sqlite3" >&5
30569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__sqlite3" >&5
30573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _tkinter" >&5
30607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__tkinter" >&5
30611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _uuid" >&5
30645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__uuid" >&5
30650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module zlib" >&5
30684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_zlib" >&5
30710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _bz2" >&5
30744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__bz2" >&5
30748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _lzma" >&5
30782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__lzma" >&5
30787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _ssl" >&5
30821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__ssl" >&5
30825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _hashlib" >&5
30859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__hashlib" >&5
30864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testcapi" >&5
30898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testcapi" >&5
30902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testclinic" >&5
30936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testclinic" >&5
30940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testclinic_limited" >&5
30974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testclinic_limited" >&5
30978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testlimitedcapi" >&5
31012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testlimitedcapi" >&5
31016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testinternalcapi" >&5
31050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testinternalcapi" >&5
31054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testbuffer" >&5
31088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testbuffer" >&5
31092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testimportmultiple" >&5
31126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testimportmultiple" >&5
31130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testmultiphase" >&5
31164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testmultiphase" >&5
31168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testsinglephase" >&5
31202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testsinglephase" >&5
31206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _testexternalinspection" >&5
31240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__testexternalinspection" >&5
31244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxsubtype" >&5
31278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_xxsubtype" >&5
31282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _xxtestfuzz" >&5
31316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__xxtestfuzz" >&5
31320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module _ctypes_test" >&5
31327 if test "$have_libffi" = yes -a "$ac_cv_func_dlopen" = yes
31354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module__ctypes_test" >&5
31359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxlimited" >&5
31393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_xxlimited" >&5
31397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdlib extension module xxlimited_35" >&5
31431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $py_cv_module_xxlimited_35" >&5
31439 ac_config_files="$ac_config_files Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh"
31449 # scripts and configure runs, see configure's option --config-cache.
31454 # the --recheck option to rerun configure.
31468 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31473 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31487 # `set' does not quote correctly, so add quotes: double-quote
31489 sed -n \
31495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31509 if test -w "$cache_file"; then
31511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31513 if test ! -f "$cache_file" || test -h "$cache_file"; then
31518 mv -f confcache "$cache_file"$$ &&
31519 mv -f "$cache_file"$$ "$cache_file" ;; #(
31521 mv -f confcache "$cache_file" ;;
31526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31530 rm -f confcache
31536 DEFS=-DHAVE_CONFIG_H
31556 if test -z "${MODULE__IO_TRUE}" && test -z "${MODULE__IO_FALSE}"; then
31560 if test -z "${MODULE_TIME_TRUE}" && test -z "${MODULE_TIME_FALSE}"; then
31564 if test -z "${MODULE_ARRAY_TRUE}" && test -z "${MODULE_ARRAY_FALSE}"; then
31568 if test -z "${MODULE__ASYNCIO_TRUE}" && test -z "${MODULE__ASYNCIO_FALSE}"; then
31572 if test -z "${MODULE__BISECT_TRUE}" && test -z "${MODULE__BISECT_FALSE}"; then
31576 if test -z "${MODULE__CONTEXTVARS_TRUE}" && test -z "${MODULE__CONTEXTVARS_FALSE}"; then
31580 if test -z "${MODULE__CSV_TRUE}" && test -z "${MODULE__CSV_FALSE}"; then
31584 if test -z "${MODULE__HEAPQ_TRUE}" && test -z "${MODULE__HEAPQ_FALSE}"; then
31588 if test -z "${MODULE__JSON_TRUE}" && test -z "${MODULE__JSON_FALSE}"; then
31592 if test -z "${MODULE__LSPROF_TRUE}" && test -z "${MODULE__LSPROF_FALSE}"; then
31596 if test -z "${MODULE__OPCODE_TRUE}" && test -z "${MODULE__OPCODE_FALSE}"; then
31600 if test -z "${MODULE__PICKLE_TRUE}" && test -z "${MODULE__PICKLE_FALSE}"; then
31604 if test -z "${MODULE__POSIXSUBPROCESS_TRUE}" && test -z "${MODULE__POSIXSUBPROCESS_FALSE}"; then
31608 if test -z "${MODULE__QUEUE_TRUE}" && test -z "${MODULE__QUEUE_FALSE}"; then
31612 if test -z "${MODULE__RANDOM_TRUE}" && test -z "${MODULE__RANDOM_FALSE}"; then
31616 if test -z "${MODULE_SELECT_TRUE}" && test -z "${MODULE_SELECT_FALSE}"; then
31620 if test -z "${MODULE__STRUCT_TRUE}" && test -z "${MODULE__STRUCT_FALSE}"; then
31624 if test -z "${MODULE__TYPING_TRUE}" && test -z "${MODULE__TYPING_FALSE}"; then
31628 if test -z "${MODULE__INTERPRETERS_TRUE}" && test -z "${MODULE__INTERPRETERS_FALSE}"; then
31632 if test -z "${MODULE__INTERPCHANNELS_TRUE}" && test -z "${MODULE__INTERPCHANNELS_FALSE}"; then
31636 if test -z "${MODULE__INTERPQUEUES_TRUE}" && test -z "${MODULE__INTERPQUEUES_FALSE}"; then
31640 if test -z "${MODULE__ZONEINFO_TRUE}" && test -z "${MODULE__ZONEINFO_FALSE}"; then
31644 if test -z "${MODULE__MULTIPROCESSING_TRUE}" && test -z "${MODULE__MULTIPROCESSING_FALSE}"; then
31648 if test -z "${MODULE__POSIXSHMEM_TRUE}" && test -z "${MODULE__POSIXSHMEM_FALSE}"; then
31652 if test -z "${MODULE__STATISTICS_TRUE}" && test -z "${MODULE__STATISTICS_FALSE}"; then
31656 if test -z "${MODULE_CMATH_TRUE}" && test -z "${MODULE_CMATH_FALSE}"; then
31660 if test -z "${MODULE_MATH_TRUE}" && test -z "${MODULE_MATH_FALSE}"; then
31664 if test -z "${MODULE__DATETIME_TRUE}" && test -z "${MODULE__DATETIME_FALSE}"; then
31668 if test -z "${MODULE_FCNTL_TRUE}" && test -z "${MODULE_FCNTL_FALSE}"; then
31672 if test -z "${MODULE_MMAP_TRUE}" && test -z "${MODULE_MMAP_FALSE}"; then
31676 if test -z "${MODULE__SOCKET_TRUE}" && test -z "${MODULE__SOCKET_FALSE}"; then
31680 if test -z "${MODULE_GRP_TRUE}" && test -z "${MODULE_GRP_FALSE}"; then
31684 if test -z "${MODULE_PWD_TRUE}" && test -z "${MODULE_PWD_FALSE}"; then
31688 if test -z "${MODULE_RESOURCE_TRUE}" && test -z "${MODULE_RESOURCE_FALSE}"; then
31692 if test -z "${MODULE__SCPROXY_TRUE}" && test -z "${MODULE__SCPROXY_FALSE}"; then
31696 if test -z "${MODULE_SYSLOG_TRUE}" && test -z "${MODULE_SYSLOG_FALSE}"; then
31700 if test -z "${MODULE_TERMIOS_TRUE}" && test -z "${MODULE_TERMIOS_FALSE}"; then
31704 if test -z "${MODULE_PYEXPAT_TRUE}" && test -z "${MODULE_PYEXPAT_FALSE}"; then
31708 if test -z "${MODULE__ELEMENTTREE_TRUE}" && test -z "${MODULE__ELEMENTTREE_FALSE}"; then
31712 if test -z "${MODULE__CODECS_CN_TRUE}" && test -z "${MODULE__CODECS_CN_FALSE}"; then
31716 if test -z "${MODULE__CODECS_HK_TRUE}" && test -z "${MODULE__CODECS_HK_FALSE}"; then
31720 if test -z "${MODULE__CODECS_ISO2022_TRUE}" && test -z "${MODULE__CODECS_ISO2022_FALSE}"; then
31724 if test -z "${MODULE__CODECS_JP_TRUE}" && test -z "${MODULE__CODECS_JP_FALSE}"; then
31728 if test -z "${MODULE__CODECS_KR_TRUE}" && test -z "${MODULE__CODECS_KR_FALSE}"; then
31732 if test -z "${MODULE__CODECS_TW_TRUE}" && test -z "${MODULE__CODECS_TW_FALSE}"; then
31736 if test -z "${MODULE__MULTIBYTECODEC_TRUE}" && test -z "${MODULE__MULTIBYTECODEC_FALSE}"; then
31740 if test -z "${MODULE_UNICODEDATA_TRUE}" && test -z "${MODULE_UNICODEDATA_FALSE}"; then
31744 if test -z "${MODULE__MD5_TRUE}" && test -z "${MODULE__MD5_FALSE}"; then
31748 if test -z "${MODULE__SHA1_TRUE}" && test -z "${MODULE__SHA1_FALSE}"; then
31752 if test -z "${MODULE__SHA2_TRUE}" && test -z "${MODULE__SHA2_FALSE}"; then
31756 if test -z "${MODULE__SHA3_TRUE}" && test -z "${MODULE__SHA3_FALSE}"; then
31760 if test -z "${MODULE__BLAKE2_TRUE}" && test -z "${MODULE__BLAKE2_FALSE}"; then
31764 if test -z "${MODULE__CTYPES_TRUE}" && test -z "${MODULE__CTYPES_FALSE}"; then
31768 if test -z "${MODULE__CURSES_TRUE}" && test -z "${MODULE__CURSES_FALSE}"; then
31772 if test -z "${MODULE__CURSES_PANEL_TRUE}" && test -z "${MODULE__CURSES_PANEL_FALSE}"; then
31776 if test -z "${MODULE__DECIMAL_TRUE}" && test -z "${MODULE__DECIMAL_FALSE}"; then
31780 if test -z "${MODULE__DBM_TRUE}" && test -z "${MODULE__DBM_FALSE}"; then
31784 if test -z "${MODULE__GDBM_TRUE}" && test -z "${MODULE__GDBM_FALSE}"; then
31788 if test -z "${MODULE_READLINE_TRUE}" && test -z "${MODULE_READLINE_FALSE}"; then
31792 if test -z "${MODULE__SQLITE3_TRUE}" && test -z "${MODULE__SQLITE3_FALSE}"; then
31796 if test -z "${MODULE__TKINTER_TRUE}" && test -z "${MODULE__TKINTER_FALSE}"; then
31800 if test -z "${MODULE__UUID_TRUE}" && test -z "${MODULE__UUID_FALSE}"; then
31804 if test -z "${MODULE_ZLIB_TRUE}" && test -z "${MODULE_ZLIB_FALSE}"; then
31808 if test -z "${MODULE_BINASCII_TRUE}" && test -z "${MODULE_BINASCII_FALSE}"; then
31812 if test -z "${MODULE__BZ2_TRUE}" && test -z "${MODULE__BZ2_FALSE}"; then
31816 if test -z "${MODULE__LZMA_TRUE}" && test -z "${MODULE__LZMA_FALSE}"; then
31820 if test -z "${MODULE__SSL_TRUE}" && test -z "${MODULE__SSL_FALSE}"; then
31824 if test -z "${MODULE__HASHLIB_TRUE}" && test -z "${MODULE__HASHLIB_FALSE}"; then
31828 if test -z "${MODULE__TESTCAPI_TRUE}" && test -z "${MODULE__TESTCAPI_FALSE}"; then
31832 if test -z "${MODULE__TESTCLINIC_TRUE}" && test -z "${MODULE__TESTCLINIC_FALSE}"; then
31836 if test -z "${MODULE__TESTCLINIC_LIMITED_TRUE}" && test -z "${MODULE__TESTCLINIC_LIMITED_FALSE}"; then
31840 if test -z "${MODULE__TESTLIMITEDCAPI_TRUE}" && test -z "${MODULE__TESTLIMITEDCAPI_FALSE}"; then
31844 if test -z "${MODULE__TESTINTERNALCAPI_TRUE}" && test -z "${MODULE__TESTINTERNALCAPI_FALSE}"; then
31848 if test -z "${MODULE__TESTBUFFER_TRUE}" && test -z "${MODULE__TESTBUFFER_FALSE}"; then
31852 if test -z "${MODULE__TESTIMPORTMULTIPLE_TRUE}" && test -z "${MODULE__TESTIMPORTMULTIPLE_FALSE}"; then
31856 if test -z "${MODULE__TESTMULTIPHASE_TRUE}" && test -z "${MODULE__TESTMULTIPHASE_FALSE}"; then
31860 if test -z "${MODULE__TESTSINGLEPHASE_TRUE}" && test -z "${MODULE__TESTSINGLEPHASE_FALSE}"; then
31864 if test -z "${MODULE__TESTEXTERNALINSPECTION_TRUE}" && test -z "${MODULE__TESTEXTERNALINSPECTION_FALSE}"; then
31868 if test -z "${MODULE_XXSUBTYPE_TRUE}" && test -z "${MODULE_XXSUBTYPE_FALSE}"; then
31872 if test -z "${MODULE__XXTESTFUZZ_TRUE}" && test -z "${MODULE__XXTESTFUZZ_FALSE}"; then
31876 if test -z "${MODULE__CTYPES_TEST_TRUE}" && test -z "${MODULE__CTYPES_TEST_FALSE}"; then
31880 if test -z "${MODULE_XXLIMITED_TRUE}" && test -z "${MODULE_XXLIMITED_FALSE}"; then
31884 if test -z "${MODULE_XXLIMITED_35_TRUE}" && test -z "${MODULE_XXLIMITED_35_FALSE}"; then
31893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31907 SHELL=\${CONFIG_SHELL-$SHELL}
31911 ## -------------------- ##
31913 ## -------------------- ##
31922 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31924 alias -g '${1+"$@"}'='"$@"'
31927 case `(set -o) 2>/dev/null` in #(
31929 set -o posix ;; #(
31943 # Quoting is to prevent editors from complaining about space-tab.
31953 # Ensure predictable behavior from utilities with locale-dependent output.
31960 # to be unset--not just set to an empty or harmless value--now, to
31961 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
31977 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31978 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31997 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
32008 if test ! -f "$as_myself"; then
32016 # ----------------------------------------
32022 as_status=$1; test $as_status -eq 0 && as_status=1
32024 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
32034 # -----------------------
32042 # -----------------
32043 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32052 # ---------------
32061 # ----------------------
32080 # ------------------
32093 as_val=`expr "$@" || test $? -eq 1`
32105 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32111 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32117 as_me=`$as_basename -- "$0" ||
32148 case `echo -n x` in #(((((
32149 -n*)
32157 ECHO_N='-n';;
32160 # For backward compatibility with old third-party macros, we provide
32166 rm -f conf$$ conf$$.exe conf$$.file
32167 if test -d conf$$.dir; then
32168 rm -f conf$$.dir/conf$$.file
32170 rm -f conf$$.dir
32174 if ln -s conf$$.file conf$$ 2>/dev/null; then
32175 as_ln_s='ln -s'
32177 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32178 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32179 # In both cases, we have to default to `cp -pR'.
32180 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32181 as_ln_s='cp -pR'
32185 as_ln_s='cp -pR'
32188 as_ln_s='cp -pR'
32190 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32195 # -------------
32201 -*) as_dir=./$as_dir;;
32203 test -d "$as_dir" || eval $as_mkdir_p || {
32211 as_dir=`$as_dirname -- "$as_dir" ||
32234 test -d "$as_dir" && break
32236 test -z "$as_dirs" || eval "mkdir $as_dirs"
32237 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32241 if mkdir -p . 2>/dev/null; then
32242 as_mkdir_p='mkdir -p "$as_dir"'
32244 test -d ./-p && rmdir ./-p
32250 # -----------------------
32254 test -f "$1" && test -x "$1"
32256 as_test_x='test -x'
32267 ## ----------------------------------- ##
32268 ## Main body of $CONFIG_STATUS script. ##
32269 ## ----------------------------------- ##
32287 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32316 -h, --help print this help, then exit
32317 -V, --version print version number and configuration settings, then exit
32318 --config print configuration, then exit
32319 -q, --quiet, --silent
32321 -d, --debug don't remove temporary files
32322 --recheck update $as_me by reconfiguring in the same conditions
32323 --file=FILE[:TEMPLATE]
32325 --header=FILE[:TEMPLATE]
32354 test -n "\$AWK" || AWK=awk
32363 --*=?*)
32368 --*=)
32382 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32384 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32386 --config | --confi | --conf | --con | --co | --c )
32388 --debug | --debu | --deb | --de | --d | -d )
32390 --file | --fil | --fi | --f )
32398 --header | --heade | --head | --hea )
32405 --he | --h)
32406 # Conflict between --help and --header
32408 Try \`$0 --help' for more information.";;
32409 --help | --hel | -h )
32411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32412 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32416 -*) as_fn_error $? "unrecognized option: \`$1'
32417 Try \`$0 --help' for more information." ;;
32430 ac_configure_extra_args="$ac_configure_extra_args --silent"
32436 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32449 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32466 "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;;
32467 "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;;
32468 "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;;
32469 "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;;
32473 "Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
32474 "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
32504 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32511 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32512 test -d "$tmp"
32515 tmp=./conf$$-$RANDOM
32523 if test -n "$CONFIG_FILES"; then
32550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32556 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32565 rm -f conf$$subs.sh
32570 sed -n '
32613 rm -f conf$$subs.awk
32676 fi # test -n "$CONFIG_FILES"
32681 if test -n "$CONFIG_HEADERS"; then
32687 # here-document in config.status, that substitutes the proper values into
32694 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
32695 if test -z "$ac_tt"; then
32709 sed -n '
32764 prefix = substr(line, 1, index(line, defundef) - 1)
32784 fi # test -n "$CONFIG_HEADERS"
32797 :[FH]-) ac_tag=-:-;;
32815 -) ac_f="$ac_tmp/stdin";;
32817 # (if the path is not absolute). The absolute path cannot be DOS-style,
32819 test -f "$ac_f" ||
32822 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32836 if test x"$ac_file" != x-; then
32838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32850 *:-:* | *:-) cat >"$ac_tmp/stdin" \
32856 ac_dir=`$as_dirname -- "$ac_file" ||
32946 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32950 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32972 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32987 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
32990 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32991 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
32992 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
32993 "$ac_tmp/out"`; test -z "$ac_out"; } &&
32994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32999 rm -f "$ac_tmp/stdin"
33001 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33002 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33010 if test x"$ac_file" != x-; then
33013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33020 rm -f "$ac_file"
33026 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33027 || as_fn_error $? "could not create -" "$LINENO" 5
33062 ac_config_status_args="$ac_config_status_args --quiet"
33070 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
33071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
33076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating Modules/Setup.local" >&5
33078 if test ! -f Modules/Setup.local
33083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating Makefile" >&5
33085 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
33086 -s Modules \
33088 if test $? -ne 0; then
33094 if test -z "$PKG_CONFIG"; then
33095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config is missing. Some dependencies may not be detected correctly." >&5
33096 printf "%s\n" "$as_me: WARNING: pkg-config is missing. Some dependencies may not be detected correctly." >&2;}
33099 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
33100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}:
33103 please run ./configure --enable-optimizations
33108 please run ./configure --enable-optimizations
33114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
33117 CPython core team, see https://peps.python.org/pep-0011/ for more information.
33122 CPython core team, see https://peps.python.org/pep-0011/ for more information.
33127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Your compiler or platform does have a working C11 stdatomic.h. A future version of Python may require stdatomic.h." >&5