• Home
  • Raw
  • Download

Lines Matching +full:ipv4 +full:- +full:no +full:- +full:config +full:- +full:for +full:- +full:cpp

2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for python 3.10.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
13 ## -------------------- ##
15 ## -------------------- ##
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
29 set -o posix ;; #(
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # there to prevent editors from complaining about space-tab.
91 # Find who we are. Look in the path if we contain no directory separator.
96 for as_dir in $PATH
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 if test ! -f "$as_myself"; then
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 for as_var in BASH_ENV ENV MAIL MAILPATH
138 # into an infinite loop, continuously re-executing ourselves.
140 _as_can_reexec=no; export _as_can_reexec;
142 # neutralization value for shells without unset; and this also
144 # Preserve -v and -x to the replacement shell.
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
173 set -o posix ;; #(
196 test -x / || exit 1"
205 as_have_required=no
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243 # neutralization value for shells without unset; and this also
245 # Preserve -v and -x to the replacement shell.
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 SHELL=${CONFIG_SHELL-/bin/sh}
285 ## --------------------- ##
287 ## --------------------- ##
289 # ---------------
298 # -----------------------
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # -------------
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
332 as_dir=`$as_dirname -- "$as_dir" ||
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364 # -----------------------
368 test -f "$1" && test -x "$1"
371 # ----------------------
389 # ------------------
401 as_val=`expr "$@" || test $? -eq 1`
407 # ----------------------------------------
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
478 s/[$]LINENO.*/&-/
486 s/-\n.*//
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
494 _as_can_reexec=no; export _as_can_reexec
504 case `echo -n x` in #(((((
505 -n*)
513 ECHO_N='-n';;
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
520 rm -f conf$$.dir
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
535 as_ln_s='cp -pR'
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
550 as_test_x='test -x'
553 # Sed expression to map a string onto a valid CPP name.
560 test -n "$DJDIR" || exec 7<&0 </dev/null
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
575 cross_compiling=no
589 # Factoring default headers for most tests.
731 CPP
877 CPP
935 for ac_option
938 if test -n "$ac_prev"; then
953 --)
956 -bindir | --bindir | --bindi | --bind | --bin | --bi)
958 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 -build | --build | --buil | --bui | --bu)
963 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 -cache-file | --cache-file | --cache-fil | --cache-fi \
967 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
970 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 --config-cache | -C)
974 cache_file=config.cache ;;
976 -datadir | --datadir | --datadi | --datad)
978 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
982 | --dataroo | --dataro | --datar)
984 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
985 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 -disable-* | --disable-*)
989 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 eval enable_$ac_useropt=no ;;
1004 -docdir | --docdir | --docdi | --doc | --do)
1006 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 -enable-* | --enable-*)
1015 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1030 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1031 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1032 | --exec | --exe | --ex)
1034 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1035 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1036 | --exec=* | --exe=* | --ex=*)
1039 -gas | --gas | --ga | --g)
1040 # Obsolete; use --with-gas.
1043 -help | --help | --hel | --he | -h)
1045 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 -host | --host | --hos | --ho)
1052 -host=* | --host=* | --hos=* | --ho=*)
1055 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058 | --ht=*)
1061 -includedir | --includedir | --includedi | --included | --include \
1062 | --includ | --inclu | --incl | --inc)
1064 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1065 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 -infodir | --infodir | --infodi | --infod | --info | --inf)
1070 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 -libdir | --libdir | --libdi | --libd)
1075 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1079 | --libexe | --libex | --libe)
1081 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1082 | --libexe=* | --libex=* | --libe=*)
1085 -localedir | --localedir | --localedi | --localed | --locale)
1087 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 -localstatedir | --localstatedir | --localstatedi | --localstated \
1091 | --localstate | --localstat | --localsta | --localst | --locals)
1093 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1094 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 -nfp | --nfp | --nf)
1103 # Obsolete; use --without-fp.
1104 with_fp=no ;;
1106 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1107 | --no-cr | --no-c | -n)
1110 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1111 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1115 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1116 | --oldin | --oldi | --old | --ol | --o)
1118 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1119 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1120 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1129 | --program-pre | --program-pr | --program-p)
1131 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1132 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1136 | --program-suf | --program-su | --program-s)
1138 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1139 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 -program-transform-name | --program-transform-name \
1143 | --program-transform-nam | --program-transform-na \
1144 | --program-transform-n | --program-transform- \
1145 | --program-transform | --program-transfor \
1146 | --program-transfo | --program-transf \
1147 | --program-trans | --program-tran \
1148 | --progr-tra | --program-tr | --program-t)
1150 -program-transform-name=* | --program-transform-name=* \
1151 | --program-transform-nam=* | --program-transform-na=* \
1152 | --program-transform-n=* | --program-transform-=* \
1153 | --program-transform=* | --program-transfor=* \
1154 | --program-transfo=* | --program-transf=* \
1155 | --program-trans=* | --program-tran=* \
1156 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 -psdir | --psdir | --psdi | --psd | --ps)
1166 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1170 | -silent | --silent | --silen | --sile | --sil)
1173 -runstatedir | --runstatedir | --runstatedi | --runstated \
1174 | --runstate | --runstat | --runsta | --runst | --runs \
1175 | --run | --ru | --r)
1177 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1178 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1179 | --run=* | --ru=* | --r=*)
1182 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1184 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1185 | --sbi=* | --sb=*)
1188 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1189 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1190 | --sharedst | --shareds | --shared | --share | --shar \
1191 | --sha | --sh)
1193 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1194 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1195 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1196 | --sha=* | --sh=*)
1199 -site | --site | --sit)
1201 -site=* | --site=* | --sit=*)
1204 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1206 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1210 | --syscon | --sysco | --sysc | --sys | --sy)
1212 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1213 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 -target | --target | --targe | --targ | --tar | --ta | --t)
1218 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 -version | --version | --versio | --versi | --vers | -V)
1227 -with-* | --with-*)
1228 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1230 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1243 -without-* | --without-*)
1244 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 eval with_$ac_useropt=no ;;
1259 --x)
1260 # Obsolete; use --with-x.
1263 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1264 | --x-incl | --x-inc | --x-in | --x-i)
1266 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1267 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1271 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1273 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1274 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1278 Try \`$0 --help' for more information"
1285 '' | [0-9]* | *[!_$as_cr_alnum]* )
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1302 if test -n "$ac_prev"; then
1303 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1307 if test -n "$ac_unrecognized_opts"; then
1309 no) ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1333 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1337 # used to hold the argument of --host etc.
1353 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1359 ac_ls_di=`ls -di .` &&
1360 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1367 if test -z "$srcdir"; then
1370 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1406 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1414 # mess up M-x gdb in Emacs.
1418 for ac_var in $ac_precious_vars; do
1426 # Report the --help message.
1437 VAR=VALUE. See below for descriptions of some of the useful variables.
1439 Defaults for the options are specified in brackets.
1442 -h, --help display this help and exit
1443 --help=short display options specific to this package
1444 --help=recursive display the short help of all the included packages
1445 -V, --version display version information and exit
1446 -q, --quiet, --silent do not print \`checking ...' messages
1447 --cache-file=FILE cache test results in FILE [disabled]
1448 -C, --config-cache alias for \`--cache-file=config.cache'
1449 -n, --no-create do not create output files
1450 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1453 --prefix=PREFIX install architecture-independent files in PREFIX
1455 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1461 for instance \`--prefix=\$HOME'.
1463 For better control, use the options below.
1466 --bindir=DIR user executables [EPREFIX/bin]
1467 --sbindir=DIR system admin executables [EPREFIX/sbin]
1468 --libexecdir=DIR program executables [EPREFIX/libexec]
1469 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1470 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1471 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1472 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1473 --libdir=DIR object code libraries [EPREFIX/lib]
1474 --includedir=DIR C header files [PREFIX/include]
1475 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1476 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1477 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1478 --infodir=DIR info documentation [DATAROOTDIR/info]
1479 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1480 --mandir=DIR man documentation [DATAROOTDIR/man]
1481 --docdir=DIR documentation root [DATAROOTDIR/doc/python]
1482 --htmldir=DIR html documentation [DOCDIR]
1483 --dvidir=DIR dvi documentation [DOCDIR]
1484 --pdfdir=DIR pdf documentation [DOCDIR]
1485 --psdir=DIR ps documentation [DOCDIR]
1491 --build=BUILD configure for building on BUILD [guessed]
1492 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 if test -n "$ac_init_help"; then
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-universalsdk[=SDKDIR]
1509 see Mac/README.rst. (default is no)
1510 --enable-framework[=INSTALLDIR]
1514 no)
1515 --enable-shared enable building a shared Python library (default is
1516 no)
1517 --enable-profiling enable C-level code profiling with gprof (default is
1518 no)
1519 --enable-optimizations enable expensive, stable optimizations (PGO, etc.)
1520 (default is no)
1521 --enable-loadable-sqlite-extensions
1523 Doc/library/sqlite3.rst (default is no)
1524 --enable-ipv6 enable ipv6 (with ipv4) support, see
1526 --enable-big-digits[=15|30]
1527 use big digits (30 or 15 bits) for Python longs
1528 (default is system-dependent)]
1529 --disable-test-modules don't build nor install test modules
1532 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1533 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1534 --with-universal-archs=ARCH
1537 --enable-universalsdk is set; options are:
1538 ("universal2", "intel-64", "intel-32", "intel",
1539 "32-bit", "64-bit", "3-way", or "all") see
1541 --with-framework-name=FRAMEWORK
1542 specify the name for the python framework on macOS
1543 only valid when --enable-framework is set. see
1545 --with-cxx-main[=COMPILER]
1548 --with-suffix=SUFFIX set executable suffix to SUFFIX (default is '.exe')
1549 --with-pydebug build with Py_DEBUG defined (default is no)
1550 --with-trace-refs enable tracing references for debugging purpose
1551 (default is no)
1552 --with-assertions build with C assertions enabled (default is no)
1553 --with-lto enable Link-Time-Optimization in any build (default
1554 is no)
1555 --with-address-sanitizer
1557 'asan' (default is no)
1558 --with-memory-sanitizer enable MemorySanitizer allocation error detector,
1559 'msan' (default is no)
1560 --with-undefined-behavior-sanitizer
1562 behaviour detector, 'ubsan' (default is no)
1563 --with-hash-algorithm=[fnv|siphash24]
1564 select hash algorithm for use in Python/pyhash.c
1566 --with-tzpath=<list of absolute paths separated by pathsep>
1567 Select the default time zone search path for zoneinfo.TZPATH
1569 --with-libs='lib1 ...' link against additional libs (default is no)
1570 --with-system-expat build pyexpat module using an installed expat
1571 library, see Doc/library/pyexpat.rst (default is no)
1572 --with-system-ffi build _ctypes module using an installed ffi library,
1574 system-dependent)
1575 --with-system-libmpdec build _decimal module using an installed libmpdec
1576 library, see Doc/library/decimal.rst (default is no)
1577 --with-decimal-contextvar
1578 build _decimal module using a coroutine-local rather
1579 than a thread-local context (default is yes)
1580 --with-tcltk-includes='-I...'
1581 override search for Tcl and Tk include files
1582 --with-tcltk-libs='-L...'
1583 override search for Tcl and Tk libs
1584 --with-dbmliborder=db1:db2:...
1585 override order to check db backends for dbm; a valid
1588 --with-doc-strings enable documentation strings (default is yes)
1589 --with-pymalloc enable specialized mallocs (default is yes)
1590 --with-c-locale-coercion
1591 enable C locale coercion to a UTF-8 based locale
1593 --with-valgrind enable Valgrind support (default is no)
1594 --with-dtrace enable DTrace support (default is no)
1595 --with-libm=STRING override libm math library to STRING (default is
1596 system-dependent)
1597 --with-libc=STRING override libc C library to STRING (default is
1598 system-dependent)
1599 --with-platlibdir=DIRNAME
1601 --with-wheel-pkg-dir=PATH
1604 --with(out)-readline[=editline]
1605 use Editline for backend or disable readline module
1606 --with-computed-gotos enable computed gotos in evaluation loop (enabled by
1608 --with-ensurepip[=install|upgrade|no]
1611 --with-openssl=DIR root of the OpenSSL directory
1612 --with-openssl-rpath=[DIR|auto|no]
1613 Set runtime library directory (rpath) for OpenSSL
1614 libraries, no (default): don't set rpath, auto:
1615 auto-detect rpath from --with-openssl and
1616 pkg-config, DIR: set an explicit rpath
1617 --with-ssl-default-suites=[python|openssl|STRING]
1623 --with-builtin-hashlib-hashes=md5,sha1,sha256,sha512,sha3,blake2
1626 --with-experimental-isolated-subinterpreters
1628 mode (default is no)
1629 --without-static-libpython
1634 MACHDEP name for machine-dependent library files
1637 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1639 LIBS libraries to pass to the linker, e.g. -l<library>
1640 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1642 CPP C preprocessor
1644 Python args for PGO generation task
1645 PKG_CONFIG path to pkg-config utility
1647 directories to add to pkg-config's search path
1649 path overriding pkg-config's built-in search path
1660 # If there are subdirs, report their specific --help.
1661 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1662 test -d "$ac_dir" ||
1663 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1671 # A ".." for each directory in $ac_dir_suffix.
1680 # for backward compatibility:
1700 # Check for guested configure.
1701 if test -f "$ac_srcdir/configure.gnu"; then
1703 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1704 elif test -f "$ac_srcdir/configure"; then
1706 $SHELL "$ac_srcdir/configure" --help=recursive
1708 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1714 test -n "$ac_init_help" && exit $ac_status
1727 ## ------------------------ ##
1729 ## ------------------------ ##
1732 # --------------------------
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 rm -f conftest.$ac_objext
1743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 if test -s conftest.err; then
1748 grep -v '^ *+' conftest.err >conftest.er1
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test -z "$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1756 } && test -s conftest.$ac_objext; then :
1770 # ----------------------
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1807 # -----------------------
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext conftest$ac_exeext
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test -z "$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest$ac_exeext && {
1833 test -x conftest$ac_exeext
1846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 # -------------------------------------------------------
1859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 ac_header_compiler=no
1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897 ac_header_preproc=no
1899 rm -f conftest.err conftest.i conftest.$ac_ext
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1905 yes:no: )
1906 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911 no:yes:* )
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1914 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
1915 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1918 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1922 ( $as_echo "## --------------------------------------- ##
1924 ## --------------------------------------- ##"
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944 # ----------------------
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1986 # -------------------------------------------------------
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 eval "$3=no"
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017 # -------------------------------------------
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2028 eval "$3=no"
2029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 # --------------------------------------------
2072 # Tries to find the compile-time value of EXPR in a program that includes
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 static int test_array [1 - 2 * !(($2) >= 0)];
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2103 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2115 if test $ac_lo -le $ac_mid; then
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 static int test_array [1 - 2 * !(($2) < 0)];
2139 ac_hi=-1 ac_mid=-1
2141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2158 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2159 if test $ac_mid -le $ac_hi; then
2165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2175 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2245 rm -f conftest.val
2254 # ----------------------------------
2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2260 $as_echo_n "checking for $2... " >&6; }
2264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2290 /* The GNU C library defines this for functions which it implements
2308 eval "$3=no"
2310 rm -f core conftest.err conftest.$ac_objext \
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 # ---------------------------------------------
2326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2328 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 eval "$3=no"
2357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2367 # ----------------------------------------------------
2372 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2374 $as_echo_n "checking for $2.$3... " >&6; }
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410 eval "$4=no"
2412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2422 cat >config.log <<_ACEOF
2432 exec 5>>config.log
2435 ## --------- ##
2437 ## --------- ##
2439 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2440 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2441 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2442 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2443 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2445 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2446 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2449 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2459 for as_dir in $PATH
2462 test -z "$as_dir" && as_dir=.
2472 ## ----------- ##
2474 ## ----------- ##
2480 # Strip out --no-create and --no-recursion so they do not pile up.
2481 # Strip out --silent because we don't want to record it for future runs.
2482 # Also quote any args containing shell meta-characters.
2483 # Make two passes to allow for proper duplicate-argument suppression.
2488 for ac_pass in 1 2
2490 for ac_arg
2493 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2494 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2495 | -silent | --silent | --silen | --sile | --sil)
2508 *=* | --config-cache | -C | -disable-* | --disable-* \
2509 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2510 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2511 | -with-* | --with-* | -without-* | --without-* | --x)
2516 -* ) ac_must_keep_next=true ;;
2528 # config.log. We remove comments because anyway the quotes in there
2533 # Save into config.log some information that might help in debugging.
2537 $as_echo "## ---------------- ##
2539 ## ---------------- ##"
2543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2548 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2561 sed -n \
2566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2573 $as_echo "## ----------------- ##
2575 ## ----------------- ##"
2577 for ac_var in $ac_subst_vars
2587 if test -n "$ac_subst_files"; then
2588 $as_echo "## ------------------- ##
2590 ## ------------------- ##"
2592 for ac_var in $ac_subst_files
2603 if test -s confdefs.h; then
2604 $as_echo "## ----------- ##
2606 ## ----------- ##"
2615 rm -f core *.core core.conftest.* &&
2616 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2619 for ac_signal in 1 2 13 15; do
2625 rm -f -r conftest* confdefs.h
2660 if test -n "$CONFIG_SITE"; then
2661 # We do not want a PATH search for config.site.
2663 -*) ac_site_file1=./$CONFIG_SITE;;
2668 ac_site_file1=$prefix/share/config.site
2669 ac_site_file2=$prefix/etc/config.site
2671 ac_site_file1=$ac_default_prefix/share/config.site
2672 ac_site_file2=$ac_default_prefix/etc/config.site
2674 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2677 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2682 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2685 See \`config.log' for more details" "$LINENO" 5; }
2689 if test -r "$cache_file"; then
2692 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2709 for ac_var in $ac_precious_vars; do
2716 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
2720 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2730 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2734 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2744 # Pass precious variables to config.status.
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2759 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
2763 ## -------------------- ##
2765 ## -------------------- ##
2768 ac_cpp='$CPP $CPPFLAGS'
2769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2778 if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; then
2779 # If we're building out-of-tree, we need to make sure the following
2781 # Objects/ -> typeslots.inc
2782 # Include/ -> Python.h
2783 # Python/ -> importlib.h
2785 # regenerated when building out-of-tree, regardless of whether or not
2786 # the $srcdir counterpart is up-to-date. This is an acceptable trade
2788 BASECPPFLAGS="-IObjects -IInclude -IPython"
2797 if test -e $srcdir/.git
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test -n "$HAS_GIT"; then
2810 for as_dir in $PATH
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 test -z "$ac_cv_prog_HAS_GIT" && ac_cv_prog_HAS_GIT="not-found"
2828 if test -n "$HAS_GIT"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_GIT" >&5
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2838 HAS_GIT=no-repository
2842 GITVERSION="git --git-dir \$(srcdir)/.git rev-parse --short HEAD"
2843 GITTAG="git --git-dir \$(srcdir)/.git describe --all --always --dirty"
2844 GITBRANCH="git --git-dir \$(srcdir)/.git name-rev --name-only HEAD"
2856 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2857 if test -f "$ac_dir/install-sh"; then
2859 ac_install_sh="$ac_aux_dir/install-sh -c"
2861 elif test -f "$ac_dir/install.sh"; then
2863 ac_install_sh="$ac_aux_dir/install.sh -c"
2865 elif test -f "$ac_dir/shtool"; then
2867 ac_install_sh="$ac_aux_dir/shtool install -c"
2871 if test -z "$ac_aux_dir"; then
2872 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
2879 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2880 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2884 # Make sure we can run config.sub.
2885 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2886 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2898 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2899 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2905 *-*-*) ;;
2909 ac_save_IFS=$IFS; IFS='-'
2919 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2930 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2931 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2938 *-*-*) ;;
2942 ac_save_IFS=$IFS; IFS='-'
2952 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2958 # pybuilddir.txt will be created by --generate-posix-vars in the Makefile
2959 rm -f pybuilddir.txt
2961 for ac_prog in python$PACKAGE_VERSION python3 python
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2970 if test -n "$PYTHON_FOR_REGEN"; then
2974 for as_dir in $PATH
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 if test -n "$PYTHON_FOR_REGEN"; then
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_FOR_REGEN" >&5
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
3000 test -n "$PYTHON_FOR_REGEN" && break
3002 test -n "$PYTHON_FOR_REGEN" || PYTHON_FOR_REGEN="python3"
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python interpreter for cross build" >&5
3008 $as_echo_n "checking for python interpreter for cross build... " >&6; }
3009 if test -z "$PYTHON_FOR_BUILD"; then
3010 for interp in python$PACKAGE_VERSION python3 python; do
3012 …if $interp -c "import sys;sys.exit(not '.'.join(str(n) for n in sys.version_info[:2]) == '$PACKAGE…
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $interp" >&5
3022 …dir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && e…
3025 as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
3027 PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
3033 prefix=`echo "$prefix" | sed -e 's/\/$//g'`
3040 # with other autoconf-based packages that include Python.h
3041 grep -v 'define PACKAGE_' <confdefs.h >confdefs.h.new
3053 # on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
3059 # certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
3066 # certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
3073 # certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-universalsdk" >&5
3087 $as_echo_n "checking for --enable-universalsdk... " >&6; }
3088 # Check whether --enable-universalsdk was given.
3093 # Locate the best usable SDK, see Mac/README for more
3095 enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
3096 if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
3099 if test ! -d "${enableval}"
3107 no)
3113 if test ! -d "${UNIVERSALSDK}"
3115 as_fn_error $? "--enable-universalsdk specifies non-existing SDK: ${UNIVERSALSDK}" "$LINENO" 5
3128 if test -n "${UNIVERSALSDK}"
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSALSDK}" >&5
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3134 $as_echo "no" >&6; }
3141 # For backward compatibility reasons we prefer to select '32-bit' if available,
3143 UNIVERSAL_ARCHS="32-bit"
3144 if test "`uname -s`" = "Darwin"
3146 if test -n "${UNIVERSALSDK}"
3148 if test -z "`/usr/bin/file -L "${UNIVERSALSDK}/usr/lib/libSystem.dylib" | grep ppc`"
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-universal-archs" >&5
3158 $as_echo_n "checking for --with-universal-archs... " >&6; }
3160 # Check whether --with-universal-archs was given.
3167 if test -n "${UNIVERSALSDK}"
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${UNIVERSAL_ARCHS}" >&5
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3177 # Check whether --with-framework-name was given.
3182 PYTHONFRAMEWORKIDENTIFIER=org.python.`echo $withval | tr 'A-Z' 'a-z'`
3192 # Check whether --enable-framework was given.
3200 no)
3202 PYTHONFRAMEWORKDIR=no-framework
3254 # --prefix option, but wants to install
3255 # the framework in a non-default location,
3270 # Add files for Mac specific code to the list of output
3285 PYTHONFRAMEWORKDIR=no-framework
3323 ## AS_HELP_STRING([--with-dyld],
3326 # Set name for machine-dependent library files
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP" >&5
3330 if test -z "$MACHDEP"
3332 # avoid using uname for cross builds
3334 # ac_sys_system and ac_sys_release are used for setting
3338 *-*-linux-android*)
3339 ac_sys_system=Linux-android
3341 *-*-linux*)
3344 *-*-cygwin*)
3347 *-*-vxworks*)
3351 # for now, limit cross builds to known configurations
3353 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3357 ac_sys_system=`uname -s`
3359 -o "$ac_sys_system" = "UnixWare" -o "$ac_sys_system" = "OpenUNIX"; then
3360 ac_sys_release=`uname -v`
3362 ac_sys_release=`uname -r`
3366 tr -d '/ ' | tr '[A-Z]' '[a-z]'`
3368 tr -d '/ ' | sed 's/^[A-Z]\.//' | sed 's/\..*//'`
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$MACHDEP\"" >&5
3385 *-*-linux*)
3394 *-*-cygwin*)
3397 *-*-vxworks*)
3401 # for now, limit cross builds to known configurations
3403 as_fn_error $? "cross build not supported for $host" "$LINENO" 5
3405 _PYTHON_HOST_PLATFORM="$MACHDEP${_host_cpu:+-$_host_cpu}"
3410 # features as extensions. For these systems, we skip the definition of
3412 # some feature, make sure there is no alternative way to access this
3414 # need for not defining _XOPEN_SOURCE on all systems matching the
3420 # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
3424 define_xopen_source=no
3443 NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S])
3444 define_xopen_source=no;;
3448 # for Python to use Solaris is simply to leave _XOPEN_SOURCE out
3451 define_xopen_source=no;;
3454 # Reconfirmed for 7.1.4 by Martin v. Loewis.
3455 OpenUNIX/8.0.0| UnixWare/7.1.[0-4])
3456 define_xopen_source=no;;
3460 define_xopen_source=no;;
3467 # has no effect, don't bother defining them
3469 define_xopen_source=no;;
3470 Darwin/[12][0-9].*)
3471 define_xopen_source=no;;
3475 define_xopen_source=no
3480 define_xopen_source=no
3483 # On HP-UX, defining _XOPEN_SOURCE to 600 or greater hides
3486 define_xopen_source=no
3493 # X/Open 7, incorporating POSIX.1-2008
3501 # cases for HP-UX, we define it globally.
3511 # On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
3516 define_stdc_a1=no;;
3526 # Record the configure-time value of MACOSX_DEPLOYMENT_TARGET,
3534 # checks for alternative programs
3537 # for debug/optimization stuff. BASECFLAGS is for flags that are required
3543 if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
3545 as_fn_error $? "cached CC is different -- throw away $cache_file
3549 # Don't let AC_PROG_CC set the default CFLAGS. It normally sets -g -O2
3550 # when the compiler supports them, but we don't always want -O2, and
3551 # we set -g later.
3552 if test -z "$CFLAGS"; then
3559 # AC_PROG_CC can handle, see Mac/README for more
3561 if test -z "${CC}"
3566 for as_dir in $PATH
3569 if test -x "${as_dir}/gcc"; then
3570 if test -z "${found_gcc}"; then
3574 if test -x "${as_dir}/clang"; then
3575 if test -z "${found_clang}"; then
3582 if test -n "$found_gcc" -a -n "$found_clang"
3584 if test -n "`"$found_gcc" --version | grep llvm-gcc`"
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected llvm-gcc, falling back to clang" >&5
3587 $as_echo "$as_me: Detected llvm-gcc, falling back to clang" >&6;}
3593 elif test -z "$found_gcc" -a -n "$found_clang"
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: No GCC found, use CLANG" >&5
3596 $as_echo "$as_me: No GCC found, use CLANG" >&6;}
3600 elif test -z "$found_gcc" -a -z "$found_clang"
3602 found_clang=`/usr/bin/xcrun -find clang 2>/dev/null`
3603 if test -n "${found_clang}"
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: Using clang from Xcode.app" >&5
3608 CXX="`/usr/bin/xcrun -find clang++`"
3616 ac_cpp='$CPP $CPPFLAGS'
3617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620 if test -n "$ac_tool_prefix"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3624 $as_echo_n "checking for $ac_word... " >&6; }
3628 if test -n "$CC"; then
3632 for as_dir in $PATH
3635 test -z "$as_dir" && as_dir=.
3636 for ac_exec_ext in '' $ac_executable_extensions; do
3639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 if test -n "$CC"; then
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3654 $as_echo "no" >&6; }
3659 if test -z "$ac_cv_prog_CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3668 if test -n "$ac_ct_CC"; then
3672 for as_dir in $PATH
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 if test -n "$ac_ct_CC"; then
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3694 $as_echo "no" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3712 if test -z "$CC"; then
3713 if test -n "$ac_tool_prefix"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717 $as_echo_n "checking for $ac_word... " >&6; }
3721 if test -n "$CC"; then
3725 for as_dir in $PATH
3728 test -z "$as_dir" && as_dir=.
3729 for ac_exec_ext in '' $ac_executable_extensions; do
3732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3753 if test -z "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3757 $as_echo_n "checking for $ac_word... " >&6; }
3761 if test -n "$CC"; then
3764 ac_prog_rejected=no
3766 for as_dir in $PATH
3769 test -z "$as_dir" && as_dir=.
3770 for ac_exec_ext in '' $ac_executable_extensions; do
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799 if test -n "$CC"; then
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3804 $as_echo "no" >&6; }
3809 if test -z "$CC"; then
3810 if test -n "$ac_tool_prefix"; then
3811 for ac_prog in cl.exe
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816 $as_echo_n "checking for $ac_word... " >&6; }
3820 if test -n "$CC"; then
3824 for as_dir in $PATH
3827 test -z "$as_dir" && as_dir=.
3828 for ac_exec_ext in '' $ac_executable_extensions; do
3831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 if test -n "$CC"; then
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846 $as_echo "no" >&6; }
3850 test -n "$CC" && break
3853 if test -z "$CC"; then
3855 for ac_prog in cl.exe
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3860 $as_echo_n "checking for $ac_word... " >&6; }
3864 if test -n "$ac_ct_CC"; then
3868 for as_dir in $PATH
3871 test -z "$as_dir" && as_dir=.
3872 for ac_exec_ext in '' $ac_executable_extensions; do
3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 if test -n "$ac_ct_CC"; then
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3894 test -n "$ac_ct_CC" && break
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3913 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3915 as_fn_error $? "no acceptable C compiler found in \$PATH
3916 See \`config.log' for more details" "$LINENO" 5; }
3919 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3922 for ac_option in --version -v -V -qversion; do
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 if test -s conftest.err; then
3938 rm -f conftest.er1 conftest.err
3939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 # Try to create an executable without -o first, disregard a.out.
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3961 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3967 for ac_file in $ac_files
3974 rm -f $ac_rmfiles
3981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3988 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3990 # so that the user can short-circuit this test for compilers unknown to
3992 for ac_file in $ac_files ''
3994 test -f "$ac_file" || continue
4003 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4007 # We set ac_cv_exeext here because the later test for it is not
4008 # safe: cross compilers may not add the suffix if given an `-o'
4017 test "$ac_cv_exeext" = no && ac_cv_exeext=
4022 if test -z "$ac_file"; then :
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4031 See \`config.log' for more details" "$LINENO" 5; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4037 $as_echo_n "checking for C compiler default output file name... " >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4042 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4045 $as_echo_n "checking for suffix of executables... " >&6; }
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4061 for ac_file in conftest.exe conftest conftest.*; do
4062 test -f "$ac_file" || continue
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4074 See \`config.log' for more details" "$LINENO" 5; }
4076 rm -f conftest conftest$ac_cv_exeext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4080 rm -f conftest.$ac_ext
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 cross_compiling=no
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4132 If you meant to cross compile, use \`--host'.
4133 See \`config.log' for more details" "$LINENO" 5; }
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4140 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4143 $as_echo_n "checking for suffix of object files... " >&6; }
4147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 rm -f conftest.o conftest.obj
4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4170 for ac_file in conftest.o conftest.obj conftest.*; do
4171 test -f "$ac_file" || continue;
4182 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4185 See \`config.log' for more details" "$LINENO" 5; }
4187 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 ac_compiler_gnu=no
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4231 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4237 ac_cv_prog_cc_g=no
4238 CFLAGS="-g"
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4269 CFLAGS="-g"
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4297 CFLAGS="-g -O2"
4299 CFLAGS="-g"
4303 CFLAGS="-O2"
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4309 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4313 ac_cv_prog_cc_c89=no
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4339 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4342 as 'x'. The following induces an error, until -std is added to get
4343 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4345 that's true only with -std. */
4346 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4348 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4351 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4367 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4368 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4374 rm -f core conftest.err conftest.$ac_objext
4377 rm -f conftest.$ac_ext
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4399 ac_cpp='$CPP $CPPFLAGS'
4400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4405 ac_cpp='$CPP $CPPFLAGS'
4406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4411 # On Suns, sometimes $CPP names a directory.
4412 if test -n "$CPP" && test -d "$CPP"; then
4413 CPP=
4415 if test -z "$CPP"; then
4419 # Double quotes because CPP needs to be expanded
4420 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4423 for ac_c_preproc_warn_flag in '' yes
4426 # with a fresh cross-compiler works.
4429 # On the NeXT, cc -E runs the code through the compiler's parser,
4430 # not just through cpp. "Syntax error" is here to catch this case.
4431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 rm -f conftest.err conftest.i conftest.$ac_ext
4450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 rm -f conftest.err conftest.i conftest.$ac_ext
4466 rm -f conftest.i conftest.err conftest.$ac_ext
4472 ac_cv_prog_CPP=$CPP
4475 CPP=$ac_cv_prog_CPP
4477 ac_cv_prog_CPP=$CPP
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4480 $as_echo "$CPP" >&6; }
4482 for ac_c_preproc_warn_flag in '' yes
4485 # with a fresh cross-compiler works.
4488 # On the NeXT, cc -E runs the code through the compiler's parser,
4489 # not just through cpp. "Syntax error" is here to catch this case.
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 rm -f conftest.err conftest.i conftest.$ac_ext
4509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 rm -f conftest.err conftest.i conftest.$ac_ext
4525 rm -f conftest.i conftest.err conftest.$ac_ext
4529 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4531 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4532 See \`config.log' for more details" "$LINENO" 5; }
4536 ac_cpp='$CPP $CPPFLAGS'
4537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4542 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4546 if test -z "$GREP"; then
4548 # Loop through the user's path and test for each of PROGNAME-LIST
4550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4553 test -z "$as_dir" && as_dir=.
4554 for ac_prog in grep ggrep; do
4555 for ac_exec_ext in '' $ac_executable_extensions; do
4558 # Check for GNU ac_path_GREP and select it if it is found.
4559 # Check for GNU $ac_path_GREP
4560 case `"$ac_path_GREP" --version 2>&1` in
4572 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
4575 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4576 # Best one so far, save it but keep looking for a better one
4581 test $ac_count -gt 10 && break
4583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4591 if test -z "$ac_cv_path_GREP"; then
4592 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4605 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4610 for ac_i in 1 2 3 4 5 6 7; do
4615 if test -z "$SED"; then
4617 # Loop through the user's path and test for each of PROGNAME-LIST
4619 for as_dir in $PATH
4622 test -z "$as_dir" && as_dir=.
4623 for ac_prog in sed gsed; do
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4627 # Check for GNU ac_path_SED and select it if it is found.
4628 # Check for GNU $ac_path_SED
4629 case `"$ac_path_SED" --version 2>&1` in
4641 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4644 if test $ac_count -gt ${ac_path_SED_max-0}; then
4645 # Best one so far, save it but keep looking for a better one
4650 test $ac_count -gt 10 && break
4652 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4660 if test -z "$ac_cv_path_SED"; then
4661 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4671 rm -f conftest.sed
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-cxx-main=<compiler>" >&5
4677 $as_echo_n "checking for --with-cxx-main=<compiler>... " >&6; }
4679 # Check whether --with-cxx_main was given.
4684 no) with_cxx_main=no
4690 if test -z "$CXX"
4697 with_cxx_main=no
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cxx_main" >&5
4706 if test -z "$CXX"
4709 gcc) if test -n "$ac_tool_prefix"; then
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4723 for as_dir in notfound
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 if test -n "$CXX"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4751 if test -z "$ac_cv_path_CXX"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4766 for as_dir in notfound
4769 test -z "$as_dir" && as_dir=.
4770 for ac_exec_ext in '' $ac_executable_extensions; do
4773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 if test -n "$ac_pt_CXX"; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4807 cc) if test -n "$ac_tool_prefix"; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4821 for as_dir in notfound
4824 test -z "$as_dir" && as_dir=.
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4839 if test -n "$CXX"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4849 if test -z "$ac_cv_path_CXX"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4864 for as_dir in notfound
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 if test -n "$ac_pt_CXX"; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887 $as_echo "no" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4905 clang|*/clang) if test -n "$ac_tool_prefix"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4919 for as_dir in notfound
4922 test -z "$as_dir" && as_dir=.
4923 for ac_exec_ext in '' $ac_executable_extensions; do
4926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4937 if test -n "$CXX"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4947 if test -z "$ac_cv_path_CXX"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4962 for as_dir in notfound
4965 test -z "$as_dir" && as_dir=.
4966 for ac_exec_ext in '' $ac_executable_extensions; do
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 if test -n "$ac_pt_CXX"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5003 icc|*/icc) if test -n "$ac_tool_prefix"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5017 for as_dir in notfound
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 if test -n "$CXX"; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5040 $as_echo "no" >&6; }
5045 if test -z "$ac_cv_path_CXX"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5060 for as_dir in notfound
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 if test -n "$ac_pt_CXX"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CXX" >&5
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5107 if test -z "$CXX"
5109 if test -n "$ac_tool_prefix"; then
5110 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test -n "$CXX"; then
5123 for as_dir in $PATH
5126 test -z "$as_dir" && as_dir=.
5127 for ac_exec_ext in '' $ac_executable_extensions; do
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 if test -n "$CXX"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5149 test -n "$CXX" && break
5152 if test -z "$CXX"; then
5154 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5163 if test -n "$ac_ct_CXX"; then
5167 for as_dir in $PATH
5170 test -z "$as_dir" && as_dir=.
5171 for ac_exec_ext in '' $ac_executable_extensions; do
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 if test -n "$ac_ct_CXX"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5193 test -n "$ac_ct_CXX" && break
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5216 { $as_echo "$as_me:${as_lineno-$LINENO}:
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler charac…
5230 $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
5247 x86_64-linux-gnu
5249 x86_64-linux-gnux32
5251 i386-linux-gnu
5254 aarch64_ilp32-linux-gnu
5256 aarch64-linux-gnu
5260 aarch64_be_ilp32-linux-gnu
5262 aarch64_be-linux-gnu
5265 alpha-linux-gnu
5268 arm-linux-gnueabihf
5270 armeb-linux-gnueabihf
5274 arm-linux-gnueabi
5276 armeb-linux-gnueabi
5279 hppa-linux-gnu
5281 ia64-linux-gnu
5283 m68k-linux-gnu
5286 mipsisa32r6el-linux-gnu
5288 mipsisa64r6el-linux-gnuabin32
5290 mipsisa64r6el-linux-gnuabi64
5296 mipsisa32r6-linux-gnu
5298 mipsisa64r6-linux-gnuabin32
5300 mipsisa64r6-linux-gnuabi64
5306 mipsel-linux-gnu
5308 mips64el-linux-gnuabin32
5310 mips64el-linux-gnuabi64
5316 mips-linux-gnu
5318 mips64-linux-gnuabin32
5320 mips64-linux-gnuabi64
5325 or1k-linux-gnu
5327 powerpc-linux-gnuspe
5330 powerpc64le-linux-gnu
5332 powerpc64-linux-gnu
5335 powerpc-linux-gnu
5337 s390x-linux-gnu
5339 s390-linux-gnu
5341 sh4-linux-gnu
5343 sparc64-linux-gnu
5345 sparc-linux-gnu
5348 riscv32-linux-gnu
5350 riscv64-linux-gnu
5359 x86_64-kfreebsd-gnu
5361 i386-kfreebsd-gnu
5366 i386-gnu
5377 if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
5378 PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PLATFORM_TRIPLET" >&5
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5385 rm -f conftest.c conftest.out
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
5388 $as_echo_n "checking for multiarch... " >&6; }
5395 MULTIARCH=$($CC --print-multiarch 2>/dev/null)
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
5404 …as_fn_error $? "internal configure error for the platform triplet, please file a bug report" "$LIN…
5412 MULTIARCH_CPPFLAGS="-DMULTIARCH=\\\"$MULTIARCH\\\""
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-as-needed" >&5
5417 $as_echo_n "checking for -Wl,--no-as-needed... " >&6; }
5419 LDFLAGS="$LDFLAGS -Wl,--no-as-needed"
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 NO_AS_NEEDED="-Wl,--no-as-needed"
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5439 $as_echo "no" >&6; }
5441 rm -f core conftest.err conftest.$ac_objext \
5447 # checks for UNIX variants that set C preprocessor variables
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5450 $as_echo_n "checking for egrep... " >&6; }
5454 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5455 then ac_cv_path_EGREP="$GREP -E"
5457 if test -z "$EGREP"; then
5459 # Loop through the user's path and test for each of PROGNAME-LIST
5461 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 test -z "$as_dir" && as_dir=.
5465 for ac_prog in egrep; do
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5469 # Check for GNU ac_path_EGREP and select it if it is found.
5470 # Check for GNU $ac_path_EGREP
5471 case `"$ac_path_EGREP" --version 2>&1` in
5486 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5487 # Best one so far, save it but keep looking for a better one
5492 test $ac_count -gt 10 && break
5494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 if test -z "$ac_cv_path_EGREP"; then
5503 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5517 $as_echo_n "checking for ANSI C header files... " >&6; }
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5539 ac_cv_header_stdc=no
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5554 ac_cv_header_stdc=no
5556 rm -f conftest*
5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571 ac_cv_header_stdc=no
5573 rm -f conftest*
5578 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5602 for (i = 0; i < 256; i++)
5612 ac_cv_header_stdc=no
5614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5629 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5646 …ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_include…
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 ac_cv_safe_to_define___extensions__=no
5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android API level" >&5
5708 $as_echo_n "checking for the Android API level... " >&6; }
5718 if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
5719 ANDROID_API_LEVEL=`sed -n -e '/__ANDROID_API__/d' -e 's/^android_api = //p' conftest.out`
5720 _arm_arch=`sed -n -e '/__ARM_ARCH/d' -e 's/^arm_arch = //p' conftest.out`
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANDROID_API_LEVEL" >&5
5723 if test -z "$ANDROID_API_LEVEL"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Android arm ABI" >&5
5734 $as_echo_n "checking for the Android arm ABI... " >&6; }
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_arm_arch" >&5
5738 BASECFLAGS="${BASECFLAGS} -mfloat-abi=softfp -mfpu=vfpv3-d16"
5739 LDFLAGS="${LDFLAGS} -march=armv7-a -Wl,--fix-cortex-a8"
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not Android" >&5
5745 rm -f conftest.c conftest.out
5747 # Check for unsupported systems
5750 echo This system \($ac_sys_system/$ac_sys_release\) is no longer supported.
5751 echo See README for details.
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-suffix" >&5
5757 $as_echo_n "checking for --with-suffix... " >&6; }
5759 # Check whether --with-suffix was given.
5763 no) EXEEXT=;;
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXEEXT" >&5
5772 # Test whether we're running on a non-case-sensitive system, in which
5773 # case we give a warning if no ext is given
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for case-insensitive build directory" >&5
5776 $as_echo_n "checking for case-insensitive build directory... " >&6; }
5777 if test ! -d CaseSensitiveTestDir; then
5781 if test -d casesensitivetestdir
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788 $as_echo "no" >&6; }
5796 cc|*/cc) CC="$CC -Ae";;
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRARY" >&5
5803 if test -z "$LIBRARY"
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRARY" >&5
5822 # on the system - some systems like version suffix, others don't
5842 # LINKCC is the command that links the python executable -- default is $(CC).
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKCC" >&5
5849 if test -z "$LINKCC"
5855 # support -N.
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKCC" >&5
5862 # EXPORTSYMS holds the list of exported symbols for AIX.
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking EXPORTSYMS" >&5
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPORTSYMS" >&5
5880 # make sure we default having it set to "no": this is used by
5881 # distutils.unixccompiler to know if it should add --enable-new-dtags
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5886 $as_echo_n "checking for GNU ld... " >&6; }
5889 ac_prog=`$CC -print-prog-name=ld`
5891 case `"$ac_prog" -V 2>&1 < /dev/null` in
5895 GNULD=no;;
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNULD" >&5
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-shared" >&5
5901 $as_echo_n "checking for --enable-shared... " >&6; }
5902 # Check whether --enable-shared was given.
5908 if test -z "$enable_shared"
5914 enable_shared="no";;
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-profiling" >&5
5921 $as_echo_n "checking for --enable-profiling... " >&6; }
5922 # Check whether --enable-profiling was given.
5929 CC="$CC -pg"
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5937 enable_profiling=no
5939 rm -f core conftest.err conftest.$ac_objext \
5943 enable_profiling=no
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_profiling" >&5
5949 BASECFLAGS="-pg $BASECFLAGS"
5950 LDFLAGS="-pg $LDFLAGS"
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDLIBRARY" >&5
5958 # will find it with a -framework option). For this reason there is an
5961 # LDLIBRARY, but empty for MacOSX framework builds.
5984 BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(LDVERSION)'
5994 BLDLIBRARY='-L. -lpython$(LDVERSION)'
6003 case `uname -m` in
6011 BLDLIBRARY='-Wl,+b,$(LIBDIR) -L. -lpython$(LDVERSION)'
6016 BLDLIBRARY='-L. -lpython$(LDVERSION)'
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
6043 if test -n "$ac_tool_prefix"; then
6044 for ac_prog in ar aal
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6053 if test -n "$AR"; then
6057 for as_dir in $PATH
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 if test -n "$AR"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6083 test -n "$AR" && break
6086 if test -z "$AR"; then
6088 for ac_prog in ar aal
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 $as_echo_n "checking for $ac_word... " >&6; }
6097 if test -n "$ac_ct_AR"; then
6101 for as_dir in $PATH
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 if test -n "$ac_ct_AR"; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6127 test -n "$ac_ct_AR" && break
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6146 if test -z "$ARFLAGS"
6151 if test -n "$ac_tool_prefix"; then
6152 for ac_prog in readelf
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6161 if test -n "$READELF"; then
6165 for as_dir in $PATH
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 if test -n "$READELF"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6191 test -n "$READELF" && break
6194 if test -z "$READELF"; then
6196 for ac_prog in readelf
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6205 if test -n "$ac_ct_READELF"; then
6209 for as_dir in $PATH
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6226 if test -n "$ac_ct_READELF"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6235 test -n "$ac_ct_READELF" && break
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6254 as_fn_error $? "readelf for the host is required for cross builds" "$LINENO" 5
6263 # install -d does not work on HP-UX
6264 if test -z "$INSTALL"
6266 INSTALL="${srcdir}/install-sh -c"
6277 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
6284 $as_echo_n "checking for a BSD-compatible install... " >&6; }
6285 if test -z "$INSTALL"; then
6290 for as_dir in $PATH
6293 test -z "$as_dir" && as_dir=.
6294 # Account for people who put trailing slashes in PATH elements.
6301 # OSF1 and SCO ODT 3.0 have their own names for install.
6304 for ac_prog in ginstall scoinst install; do
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6313 # program-specific install script used by HP pwplus--don't use.
6316 rm -rf conftest.one conftest.two conftest.dir
6320 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
6321 test -s conftest.one && test -s conftest.two &&
6322 test -s conftest.dir/conftest.one &&
6323 test -s conftest.dir/conftest.two
6325 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6338 rm -rf conftest.one conftest.two conftest.dir
6345 # value for INSTALL within a source directory, because that will
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
6354 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6356 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6358 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6360 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
6363 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
6364 if test -z "$MKDIR_P"; then
6369 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6372 test -z "$as_dir" && as_dir=.
6373 for ac_prog in mkdir gmkdir; do
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6376 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
6390 test -d ./--version && rmdir ./--version
6392 MKDIR_P="$ac_cv_path_mkdir -p"
6395 # value for MKDIR_P within a source directory, because that will
6398 MKDIR_P="$ac_install_sh -d"
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6407 if test -z "$LN" ; then
6409 CYGWIN*) LN="ln -s";;
6414 # For calculating the .so ABI tag.
6418 # Check for --with-pydebug
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pydebug" >&5
6420 $as_echo_n "checking for --with-pydebug... " >&6; }
6422 # Check whether --with-pydebug was given.
6425 if test "$withval" != no
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6434 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }; Py_DEBUG='false'
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6443 # Check for --with-trace-refs
6444 # --with-trace-refs
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-trace-refs" >&5
6446 $as_echo_n "checking for --with-trace-refs... " >&6; }
6448 # Check whether --with-trace-refs was given.
6452 with_trace_refs=no
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_trace_refs" >&5
6465 # Check for --with-assertions.
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-assertions" >&5
6469 $as_echo_n "checking for --with-assertions... " >&6; }
6471 # Check whether --with-assertions was given.
6474 if test "$withval" != no
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: implied by --with-pydebug" >&5
6486 $as_echo "implied by --with-pydebug" >&6; }
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489 $as_echo "no" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-optimizations" >&5
6497 $as_echo_n "checking for --enable-optimizations... " >&6; }
6498 # Check whether --enable-optimizations was given.
6501 if test "$enableval" != no
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6509 $as_echo "no" >&6; };
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6513 $as_echo "no" >&6; }
6520 # who want LTO need to use --with-lto themselves.
6521 DEF_MAKE_ALL_RULE="profile-opt"
6526 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-semantic-interpo…
6527 $as_echo_n "checking whether C compiler accepts -fno-semantic-interposition... " >&6; }
6533 CFLAGS="$CFLAGS -fno-semantic-interposition"
6534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 ax_cv_check_cflags___fno_semantic_interposition=no
6550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_semantic_interposition" …
6557 CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition"
6558 LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition"
6570 REQUIRE_PGO="no"
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PROFILE_TASK" >&5
6577 if test -z "$PROFILE_TASK"
6579 PROFILE_TASK='-m test --pgo --timeout=$(TESTTIMEOUT)'
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROFILE_TASK" >&5
6584 # Make llvm-relatec checks work on systems where llvm tools are not installed with their
6586 # non-suffixed name in their versioned llvm directory.
6595 if test -L "${clang_bin}"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-lto" >&5
6606 $as_echo_n "checking for --with-lto... " >&6; }
6608 # Check whether --with-lto was given.
6611 if test "$withval" != no
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; };
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6623 $as_echo "no" >&6; }
6630 if test -n "$ac_tool_prefix"; then
6631 # Extract the first word of "${ac_tool_prefix}llvm-ar", so it can be a program name with args.
6632 set dummy ${ac_tool_prefix}llvm-ar; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634 $as_echo_n "checking for $ac_word... " >&6; }
6644 for as_dir in ${llvm_path}
6647 test -z "$as_dir" && as_dir=.
6648 for ac_exec_ext in '' $ac_executable_extensions; do
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 if test -n "$LLVM_AR"; then
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_AR" >&5
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667 $as_echo "no" >&6; }
6672 if test -z "$ac_cv_path_LLVM_AR"; then
6674 # Extract the first word of "llvm-ar", so it can be a program name with args.
6675 set dummy llvm-ar; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 $as_echo_n "checking for $ac_word... " >&6; }
6687 for as_dir in ${llvm_path}
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 if test -n "$ac_pt_LLVM_AR"; then
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_AR" >&5
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6710 $as_echo "no" >&6; }
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6729 if test -n "${LLVM_AR}" -a -x "${LLVM_AR}"
6733 LLVM_AR_FOUND="not-found"
6735 if test "$ac_sys_system" = "Darwin" -a "${LLVM_AR_FOUND}" = "not-found"
6737 # The Apple-supplied ar in Xcode or the Command Line Tools is apparently sufficient
6738 found_llvm_ar=`/usr/bin/xcrun -find ar 2>/dev/null`
6739 if test -n "${found_llvm_ar}"
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-ar found via xcrun: ${LLVM_AR}" >&5
6744 $as_echo "$as_me: llvm-ar found via xcrun: ${LLVM_AR}" >&6;}
6747 if test $LLVM_AR_FOUND = not-found
6750 …as_fn_error $? "llvm-ar is required for a --with-lto build with clang but could not be found." "$L…
6752 LLVM_AR_ERR=no
6758 LTOFLAGS="-flto -Wl,-export_dynamic"
6759 LTOCFLAGS="-flto"
6762 LTOFLAGS="-flto"
6769 LTOFLAGS="-flto -Wl,-export_dynamic"
6770 LTOCFLAGS="-flto"
6773 LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none"
6781 # bpo-30345: Add -g to LDFLAGS when compiling with LTO
6783 LTOFLAGS="$LTOFLAGS -g"
6786 CFLAGS_NODIST="$CFLAGS_NODIST ${LTOCFLAGS-$LTOFLAGS}"
6797 if test -n "$ac_tool_prefix"; then
6798 …# Extract the first word of "${ac_tool_prefix}llvm-profdata", so it can be a program name with arg…
6799 set dummy ${ac_tool_prefix}llvm-profdata; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6811 for as_dir in ${llvm_path}
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 if test -n "$LLVM_PROFDATA"; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_PROFDATA" >&5
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834 $as_echo "no" >&6; }
6839 if test -z "$ac_cv_path_LLVM_PROFDATA"; then
6841 # Extract the first word of "llvm-profdata", so it can be a program name with args.
6842 set dummy llvm-profdata; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6854 for as_dir in ${llvm_path}
6857 test -z "$as_dir" && as_dir=.
6858 for ac_exec_ext in '' $ac_executable_extensions; do
6861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872 if test -n "$ac_pt_LLVM_PROFDATA"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LLVM_PROFDATA" >&5
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
6896 if test -n "${LLVM_PROFDATA}" -a -x "${LLVM_PROFDATA}"
6900 LLVM_PROF_FOUND="not-found"
6902 if test "$ac_sys_system" = "Darwin" -a "${LLVM_PROF_FOUND}" = "not-found"
6904 found_llvm_profdata=`/usr/bin/xcrun -find llvm-profdata 2>/dev/null`
6905 if test -n "${found_llvm_profdata}"
6907 # llvm-profdata isn't directly in $PATH in some cases.
6909 LLVM_PROFDATA='/usr/bin/xcrun llvm-profdata'
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&5
6912 $as_echo "$as_me: llvm-profdata found via xcrun: ${LLVM_PROFDATA}" >&6;}
6915 LLVM_PROF_ERR=no
6919 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6920 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6921 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6922 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6923 if test $LLVM_PROF_FOUND = not-found
6928 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6935 PGO_PROF_GEN_FLAG="-fprofile-instr-generate"
6936 PGO_PROF_USE_FLAG="-fprofile-instr-use=code.profclangd"
6937 LLVM_PROF_MERGER="${LLVM_PROFDATA} merge -output=code.profclangd *.profclangr"
6938 LLVM_PROF_FILE="LLVM_PROFILE_FILE=\"code-%p.profclangr\""
6939 if test "${LLVM_PROF_FOUND}" = "not-found"
6944 …as_fn_error $? "llvm-profdata is required for a --enable-optimizations build but could not be foun…
6949 PGO_PROF_GEN_FLAG="-fprofile-generate"
6950 PGO_PROF_USE_FLAG="-fprofile-use -fprofile-correction"
6957 PGO_PROF_GEN_FLAG="-prof-gen"
6958 PGO_PROF_USE_FLAG="-prof-use"
6968 # ------------------------
6969 # (The following bit of code is complicated enough - please keep things
6970 # indented properly. Just pretend you're editing Python code. ;-)
6982 if $CC --version 2>&1 | grep -q clang
6994 if test "${OPT-unset}" = "unset"
6998 # For gcc 4.x we need to use -fwrapv so lets check if its supported
6999 if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
7000 WRAP="-fwrapv"
7003 if test -n "${cc_is_clang}"
7005 # Clang also needs -fwrapv
7006 WRAP="-fwrapv"
7007 # bpo-30104: disable strict aliasing to compile correctly dtoa.c,
7008 # see Makefile.pre.in for more information
7009 CFLAGS_ALIASING="-fno-strict-aliasing"
7015 # Optimization messes up debuggers, so turn it off for
7017 if "$CC" -v --help 2>/dev/null |grep -- -Og > /dev/null; then
7018 OPT="-g -Og -Wall"
7020 OPT="-g -O0 -Wall"
7023 OPT="-g $WRAP -O3 -Wall"
7027 OPT="-O3 -Wall"
7032 SCO_SV*) OPT="$OPT -m486 -DSCO5"
7038 OPT="-O"
7047 # The -arch flags for universal builds on macOS
7054 CFLAGS_NODIST="$CFLAGS_NODIST -std=c99"
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra" >&5
7057 $as_echo_n "checking for -Wextra... " >&6; }
7059 CC="$CC -Wextra -Werror"
7063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7082 ac_cv_extra_warnings=no
7085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_extra_warnings" >&5
7094 CFLAGS_NODIST="$CFLAGS_NODIST -Wextra"
7098 # GCC produce warnings for legal Python code. Enable
7099 # -fno-strict-aliasing on versions of GCC that support but produce
7101 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts and needs -fno-strict-aliasi…
7102 $as_echo_n "checking whether $CC accepts and needs -fno-strict-aliasing... " >&6; }
7104 CC="$CC -fno-strict-aliasing"
7109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7124 CC="$ac_save_cc -fstrict-aliasing"
7125 CFLAGS="$CFLAGS -Werror -Wstrict-aliasing"
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 ac_cv_no_strict_aliasing=no
7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7152 ac_cv_no_strict_aliasing=no
7155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_no_strict_aliasing" >&5
7164 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
7171 ac_cv_disable_unused_result_warning=no
7174 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused result warning" >&5
7177 CC="$CC -Wunused-result -Werror"
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201 ac_cv_disable_unused_result_warning=no
7204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_result_warning" >&5
7216 BASECFLAGS="$BASECFLAGS -Wno-unused-result"
7217 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-result"
7220 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC unused parameter warning"…
7223 CC="$CC -Wunused-parameter -Werror"
7227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 ac_cv_disable_unused_parameter_warning=no
7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_unused_parameter_warning" >&5
7258 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-unused-parameter"
7261 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn off $CC missing field initializer…
7264 CC="$CC -Wmissing-field-initializers -Werror"
7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 ac_cv_disable_missing_field_initializers=no
7290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_disable_missing_field_initializers" >&5
7299 CFLAGS_NODIST="$CFLAGS_NODIST -Wno-missing-field-initializers"
7302 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC mixed sign comparison warn…
7305 CC="$CC -Wsign-compare"
7310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 ac_cv_enable_sign_compare_warning=no
7332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_sign_compare_warning" >&5
7342 BASECFLAGS="$BASECFLAGS -Wsign-compare"
7345 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC unreachable code warning" …
7348 CC="$CC -Wunreachable-code"
7353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 ac_cv_enable_unreachable_code_warning=no
7375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7382 # results in non-standard code paths.
7386 # for clang. Try to determine if the compiler is not really gcc and,
7390 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
7392 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
7394 ac_cv_enable_unreachable_code_warning=no
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_unreachable_code_warning" >&5
7399 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can turn on $CC strict-prototypes warning"…
7400 $as_echo_n "checking if we can turn on $CC strict-prototypes warning... " >&6; }
7402 CC="$CC -Werror -Wstrict-prototypes"
7406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 ac_cv_enable_strict_prototypes_warning=no
7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_strict_prototypes_warning" >&5
7437 CFLAGS_NODIST="$CFLAGS_NODIST -Wstrict-prototypes"
7440 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can make implicit function declaration an …
7443 CC="$CC -Werror=implicit-function-declaration"
7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7466 ac_cv_enable_implicit_function_declaration_error=no
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7473 …{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_implicit_function_declaration_error…
7478 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can use visibility in $CC" >&5
7484 CC="$CC -fvisibility=hidden"
7488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7507 ac_cv_enable_visibility=no
7510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_visibility" >&5
7519 CFLAGS_NODIST="$CFLAGS_NODIST -fvisibility=hidden"
7522 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
7527 BASECFLAGS="$BASECFLAGS -mieee"
7533 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
7537 # -Wno-long-double, -no-cpp-precomp, and -mno-fused-madd
7538 # used to be here, but non-Apple gcc doesn't accept them.
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which compiler should be used" >&5
7548 CC=gcc-4.0
7549 CPP=cpp-4.0
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7560 32-bit)
7561 UNIVERSAL_ARCH_FLAGS="-arch ppc -arch i386"
7565 64-bit)
7566 UNIVERSAL_ARCH_FLAGS="-arch ppc64 -arch x86_64"
7571 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
7572 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
7573 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
7576 UNIVERSAL_ARCH_FLAGS="-arch arm64 -arch x86_64"
7578 LIPO_INTEL64_FLAGS="-extract x86_64"
7582 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
7583 LIPO_32BIT_FLAGS="-extract i386"
7584 ARCH_RUN_32BIT="/usr/bin/arch -i386"
7586 intel-32)
7587 UNIVERSAL_ARCH_FLAGS="-arch i386"
7591 intel-64)
7592 UNIVERSAL_ARCH_FLAGS="-arch x86_64"
7596 3-way)
7597 UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
7598 LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
7599 ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
7602 …as_fn_error $? "proper usage is --with-universal-arch=universal2|32-bit|64-bit|all|intel|3-way" "$…
7608 CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
7609 LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
7610 CPPFLAGS="-isysroot ${UNIVERSALSDK} ${CPPFLAGS}"
7617 # Calculate an appropriate deployment target for this build:
7619 # features are enabled (such as builtin libedit support for readline)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which MACOSX_DEPLOYMENT_TARGET to use" >&5
7632 cur_target_major=`sw_vers -productVersion | \
7633 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
7634 cur_target_minor=`sw_vers -productVersion | \
7635 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
7637 if test ${cur_target_major} -eq 10 && \
7638 test ${cur_target_minor} -ge 3 && \
7639 test ${cur_target_minor} -le 5
7646 all|3-way|intel|64-bit)
7659 CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACOSX_DEPLOYMENT_TARGET" >&5
7671 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if specified universal architectures work" >&5
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7689 $as_echo "no" >&6; }
7690 … as_fn_error $? "check config.log and use the '--with-universal-archs' option" "$LINENO" 5
7693 rm -f core conftest.err conftest.$ac_objext \
7704 BASECFLAGS="$BASECFLAGS -K pentium,host,inline,loop_unroll,alloca "
7707 BASECFLAGS="$BASECFLAGS -belf -Ki486 -DSCO5"
7715 # ICC needs -fp-model strict or floats behave badly
7716 CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
7719 CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
7726 OPT="-DNDEBUG $OPT"
7738 # options before we can check whether -Kpthread improves anything.
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads are available without options" >…
7745 ac_cv_pthread_is_default=no
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 ac_cv_kthread=no
7768 ac_cv_pthread=no
7771 ac_cv_pthread_is_default=no
7773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_is_default" >&5
7786 ac_cv_kpthread=no
7788 # -Kpthread, if available, provides the right #defines
7790 # Some compilers won't report that they do not support -Kpthread,
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kpthread" >&5
7794 $as_echo_n "checking whether $CC accepts -Kpthread... " >&6; }
7799 CC="$CC -Kpthread"
7801 ac_cv_kpthread=no
7803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7823 ac_cv_kpthread=no
7825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kpthread" >&5
7836 if test $ac_cv_kpthread = no -a $ac_cv_pthread_is_default = no
7838 # -Kthread, if available, provides the right #defines
7840 # Some compilers won't report that they do not support -Kthread,
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Kthread" >&5
7844 $as_echo_n "checking whether $CC accepts -Kthread... " >&6; }
7849 CC="$CC -Kthread"
7851 ac_cv_kthread=no
7853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7873 ac_cv_kthread=no
7875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_kthread" >&5
7886 if test $ac_cv_kthread = no -a $ac_cv_pthread_is_default = no
7888 # -pthread, if available, provides the right #defines
7890 # Some compilers won't report that they do not support -pthread,
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -pthread" >&5
7894 $as_echo_n "checking whether $CC accepts -pthread... " >&6; }
7899 CC="$CC -pthread"
7901 ac_cv_pthread=no
7903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 ac_cv_pthread=no
7925 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread" >&5
7936 # If we have set a CC compiler flag for thread support then
7937 # check if it works for CXX, too.
7938 ac_cv_cxx_thread=no
7939 if test ! -z "$CXX"
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX also accepts flags for thread suppor…
7942 $as_echo_n "checking whether $CXX also accepts flags for thread support... " >&6; }
7947 CXX="$CXX -Kpthread"
7951 CXX="$CXX -Kthread"
7955 CXX="$CXX -pthread"
7962 $CXX -c conftest.$ac_ext 2>&5
7963 if $CXX -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
7964 && test -s conftest$ac_exeext && ./conftest$ac_exeext
7968 ac_cv_cxx_thread=no
7970 rm -fr conftest*
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_thread" >&5
7978 # checks for header files
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7980 $as_echo_n "checking for ANSI C header files... " >&6; }
7984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8002 ac_cv_header_stdc=no
8004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 ac_cv_header_stdc=no
8019 rm -f conftest*
8025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8034 ac_cv_header_stdc=no
8036 rm -f conftest*
8041 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8051 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8065 for (i = 0; i < 256; i++)
8075 ac_cv_header_stdc=no
8077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8091 for ac_header in asm/types.h crypt.h conio.h direct.h dlfcn.h errno.h \
8118 ac_header_dirent=no
8119 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
8122 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
8126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8143 eval "$as_ac_Header=no"
8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8159 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8162 $as_echo_n "checking for library containing opendir... " >&6; }
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 for ac_lib in '' dir; do
8186 if test -z "$ac_lib"; then
8189 ac_res=-l$ac_lib
8190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8195 rm -f core conftest.err conftest.$ac_objext \
8204 ac_cv_search_opendir=no
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8212 if test "$ac_res" != no; then :
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
8219 $as_echo_n "checking for library containing opendir... " >&6; }
8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 for ac_lib in '' x; do
8243 if test -z "$ac_lib"; then
8246 ac_res=-l$ac_lib
8247 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8252 rm -f core conftest.err conftest.$ac_objext \
8261 ac_cv_search_opendir=no
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
8269 if test "$ac_res" != no; then :
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8295 ac_cv_header_sys_types_h_makedev=no
8297 rm -f core conftest.err conftest.$ac_objext \
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
8304 if test $ac_cv_header_sys_types_h_makedev = no; then
8314 if test $ac_cv_header_sys_mkdev_h = no; then
8327 # bluetooth/bluetooth.h has been known to not compile with -std=c99.
8330 CFLAGS="-std=c99 $CFLAGS"
8331 for ac_header in bluetooth/bluetooth.h
8346 for ac_header in net/if.h
8373 for ac_header in linux/netlink.h
8395 for ac_header in linux/qrtr.h
8416 for ac_header in linux/vm_sockets.h
8435 for ac_header in linux/can.h linux/can/bcm.h linux/can/j1939.h linux/can/raw.h
8454 # checks for typedefs
8455 was_it_defined=no
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t in time.h" >&5
8457 $as_echo_n "checking for clock_t in time.h... " >&6; }
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 rm -f conftest*
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for makedev" >&5
8479 $as_echo_n "checking for makedev... " >&6; }
8480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 ac_cv_has_makedev=no
8506 rm -f core conftest.err conftest.$ac_objext \
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_makedev" >&5
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for le64toh" >&5
8518 $as_echo_n "checking for le64toh... " >&6; }
8519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8541 ac_cv_has_le64toh=no
8543 rm -f core conftest.err conftest.$ac_objext \
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_has_le64toh" >&5
8554 # Don't use largefile support for GNU/Hurd
8556 use_lfs=no
8577 # Add some code to confdefs.h so that the test for off_t works on SCO
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
8635 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
8639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 ac_cv_type_uid_t=no
8650 rm -f conftest*
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
8655 if test $ac_cv_type_uid_t = no; then
8681 # ANSI C requires sizeof(char) == 1, so no need to check it
8683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8698 See \`config.log' for more details" "$LINENO" 5; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
8716 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
8728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8731 See \`config.log' for more details" "$LINENO" 5; }
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
8749 # see AC_CHECK_SIZEOF for more information.
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of long" >&5
8757 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
8763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8766 See \`config.log' for more details" "$LINENO" 5; }
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_long" >&5
8784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
8796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8799 See \`config.log' for more details" "$LINENO" 5; }
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
8817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8832 See \`config.log' for more details" "$LINENO" 5; }
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
8850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
8862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8865 See \`config.log' for more details" "$LINENO" 5; }
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
8883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
8895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8898 See \`config.log' for more details" "$LINENO" 5; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
8916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
8928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8931 See \`config.log' for more details" "$LINENO" 5; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5
8949 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of fpos_t" >&5
8961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8964 See \`config.log' for more details" "$LINENO" 5; }
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_fpos_t" >&5
8982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
8994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8997 See \`config.log' for more details" "$LINENO" 5; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
9015 # see AC_CHECK_SIZEOF for more information.
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of size_t" >&5
9023 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
9029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9032 See \`config.log' for more details" "$LINENO" 5; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_size_t" >&5
9050 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pid_t" >&5
9062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9065 See \`config.log' for more details" "$LINENO" 5; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pid_t" >&5
9083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uintptr_t" >&5
9095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9098 See \`config.log' for more details" "$LINENO" 5; }
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uintptr_t" >&5
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double" >&5
9118 $as_echo_n "checking for long double... " >&6; }
9125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 static int test_array [1 - 2 * !(/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
9145 ac_cv_type_long_double=no
9147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double" >&5
9159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long double" >&5
9171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9174 See \`config.log' for more details" "$LINENO" 5; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_double" >&5
9193 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of _Bool" >&5
9205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9208 See \`config.log' for more details" "$LINENO" 5; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof__Bool" >&5
9227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
9244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9247 See \`config.log' for more details" "$LINENO" 5; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable large file support" >&5
9267 if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
9268 "$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9276 $as_echo "no" >&6; }
9280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
9300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9303 See \`config.log' for more details" "$LINENO" 5; }
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
9324 then CC="$CC -Kpthread"
9326 then CC="$CC -Kthread"
9328 then CC="$CC -pthread"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_t" >&5
9332 $as_echo_n "checking for pthread_t... " >&6; }
9333 have_pthread_t=no
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_pthread_t" >&5
9355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_t" >&5
9372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9375 See \`config.log' for more details" "$LINENO" 5; }
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_t" >&5
9397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of pthread_key_t" >&5
9410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9413 See \`config.log' for more details" "$LINENO" 5; }
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_pthread_key_t" >&5
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_key_t is compatible with int" >&5
9432 if test "$ac_cv_sizeof_pthread_key_t" -eq "$ac_cv_sizeof_int" ; then
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 ac_pthread_key_t_is_arithmetic_type=no
9450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pthread_key_t_is_arithmetic_type" >&5
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9460 $as_echo "no" >&6; }
9467 OTHER_LIBTOOL_OPT="-prebind -seg1addr 0x10000000"
9478 LIBTOOL_CRUFT="-framework System -lcc_dynamic"
9482 LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `/usr/bin/arch`"
9484 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
9485 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
9487 gcc_version=`gcc -dumpversion`
9490 LIBTOOL_CRUFT="-lcc_dynamic"
9497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 ac_osx_32bit=no
9516 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9551 LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only ${MACOSX_DEFAULT_ARCH}"
9552 …LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYT…
9553 LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-framework" >&5
9556 $as_echo_n "checking for --enable-framework... " >&6; }
9559 BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
9560 # -F. is needed to allow linking to the framework while
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9569 …as_fn_error $? "Specifying both --enable-shared and --enable-framework is not supported, use only
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 $as_echo "no" >&6; }
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dyld" >&5
9577 $as_echo_n "checking for dyld... " >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: always on for Darwin" >&5
9584 $as_echo "always on for Darwin" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9588 $as_echo "no" >&6; }
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-address-sanitizer" >&5
9593 $as_echo_n "checking for --with-address-sanitizer... " >&6; }
9595 # Check whether --with-address_sanitizer was given.
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
9600 BASECFLAGS="-fsanitize=address -fno-omit-frame-pointer $BASECFLAGS"
9601 LDFLAGS="-fsanitize=address $LDFLAGS"
9603 with_pymalloc="no"
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9607 $as_echo "no" >&6; }
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-memory-sanitizer" >&5
9612 $as_echo_n "checking for --with-memory-sanitizer... " >&6; }
9614 # Check whether --with-memory_sanitizer was given.
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fsanitize=memory" >&5
9620 $as_echo_n "checking whether C compiler accepts -fsanitize=memory... " >&6; }
9626 CFLAGS="$CFLAGS -fsanitize=memory"
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9641 ax_cv_check_cflags___fsanitize_memory=no
9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fsanitize_memory" >&5
9650 BASECFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer $BASECFLAGS"
9651 LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2 $LDFLAGS"
9658 with_pymalloc="no"
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 $as_echo "no" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-undefined-behavior-sanitizer" >&5
9667 $as_echo_n "checking for --with-undefined-behavior-sanitizer... " >&6; }
9669 # Check whether --with-undefined_behavior_sanitizer was given.
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
9674 BASECFLAGS="-fsanitize=undefined $BASECFLAGS"
9675 LDFLAGS="-fsanitize=undefined $LDFLAGS"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9681 $as_echo "no" >&6; }
9682 with_ubsan="no"
9696 # -- usually .so, .sl on HP-UX, .dll on Cygwin
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the extension of shared libraries" >&5
9699 if test -z "$SHLIB_SUFFIX"; then
9702 case `uname -m` in
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIB_SUFFIX" >&5
9715 # -- "cc -G" on SunOS 5.x.
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDSHARED" >&5
9720 if test -z "$LDSHARED"
9724 BLDSHARED="Modules/ld_so_aix \$(CC) -bI:Modules/python.exp"
9725 LDSHARED="\$(LIBPL)/ld_so_aix \$(CC) -bI:\$(LIBPL)/python.exp"
9729 LDSHARED='$(CC) -shared'
9730 LDCXXSHARED='$(CXX) -shared'
9732 LDSHARED='$(CC) -G'
9733 LDCXXSHARED='$(CXX) -G'
9737 LDSHARED='$(CC) -shared'
9738 LDCXXSHARED='$(CXX) -shared'
9740 LDSHARED='$(CC) -b'
9741 LDCXXSHARED='$(CXX) -b'
9744 LDSHARED='$(CC) -bundle'
9745 LDCXXSHARED='$(CXX) -bundle'
9752 # No framework. Ignore undefined symbols, assuming they come from Python
9753 LDSHARED="$LDSHARED -undefined suppress"
9754 LDCXXSHARED="$LDCXXSHARED -undefined suppress"
9757 LDSHARED='$(CC) -bundle'
9758 LDCXXSHARED='$(CXX) -bundle'
9765 # No framework, use the Python app as bundle-loader
9766 BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
9767 LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9768 LDCXXSHARED="$LDCXXSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
9771 # Use -undefined dynamic_lookup whenever possible (10.3 and later).
9775 sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
9777 sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
9778 if test ${dep_target_major} -eq 10 && \
9779 test ${dep_target_minor} -le 2
9781 # building for OS X 10.0 through 10.2
9784 # building for OS X 10.3 and later
9785 LDSHARED='$(CC) -bundle -undefined dynamic_lookup'
9786 LDCXXSHARED='$(CXX) -bundle -undefined dynamic_lookup'
9791 LDSHARED='$(CC) -shared'
9792 LDCXXSHARED='$(CXX) -shared';;
9794 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9796 LDSHARED='$(CC) -shared'
9797 LDCXXSHARED='$(CXX) -shared'
9799 LDSHARED="ld -Bshareable"
9802 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9804 LDSHARED='$(CC) -shared $(CCSHARED)'
9805 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
9807 case `uname -r` in
9808 [01].* | 2.[0-7] | 2.[0-7].*)
9809 LDSHARED="ld -Bshareable ${LDFLAGS}"
9812 LDSHARED='$(CC) -shared $(CCSHARED)'
9813 LDCXXSHARED='$(CXX) -shared $(CCSHARED)'
9818 LDSHARED='$(CC) -shared'
9819 LDCXXSHARED='$(CXX) -shared';;
9822 LDSHARED='$(CC) -shared'
9823 LDCXXSHARED='$(CXX) -shared'
9825 LDSHARED='$(CC) -G'
9826 LDCXXSHARED='$(CXX) -G'
9829 LDSHARED='$(CC) -Wl,-G,-Bexport'
9830 LDCXXSHARED='$(CXX) -Wl,-G,-Bexport';;
9832 LDSHARED="gcc -shared -Wl,--enable-auto-image-base"
9833 LDCXXSHARED="g++ -shared -Wl,--enable-auto-image-base";;
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHARED" >&5
9839 LDCXXSHARED=${LDCXXSHARED-$LDSHARED}
9840 BLDSHARED=${BLDSHARED-$LDSHARED}
9842 # library (module) -- this is only needed for a few systems
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CCSHARED" >&5
9845 if test -z "$CCSHARED"
9849 then CCSHARED="-fPIC";
9850 elif test `uname -p` = sparc;
9851 then CCSHARED="-xcode=pic32";
9852 else CCSHARED="-Kpic";
9855 then CCSHARED="-fPIC";
9858 Linux-android*) ;;
9859 Linux*|GNU*) CCSHARED="-fPIC";;
9860 FreeBSD*|NetBSD*|OpenBSD*|DragonFly*) CCSHARED="-fPIC";;
9863 then CCSHARED="-fPIC"
9864 else CCSHARED="-KPIC"
9868 then CCSHARED="-fPIC"
9869 else CCSHARED="-Kpic -belf"
9872 CCSHARED="-fpic -D__SO_PICABILINUX__ -ftls-model=global-dynamic"
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCSHARED" >&5
9878 # the python executable -- this is only needed for a few systems
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LINKFORSHARED" >&5
9881 if test -z "$LINKFORSHARED"
9884 AIX*) LINKFORSHARED='-Wl,-bE:Modules/python.exp -lld';;
9886 LINKFORSHARED="-Wl,-E -Wl,+s";;
9887 # LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
9888 Linux-android*) LINKFORSHARED="-pie -Xlinker -export-dynamic";;
9889 Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
9890 # -u libsys_s pulls in all symbols in libsys
9892 LINKFORSHARED="$extra_undefs -framework CoreFoundation"
9895 # small for the default recursion limit. Increase the stack size
9904 LINKFORSHARED="-Wl,-stack_size,$stack_size $LINKFORSHARED"
9917 OpenUNIX*|UnixWare*) LINKFORSHARED="-Wl,-Bexport";;
9918 SCO_SV*) LINKFORSHARED="-Wl,-Bexport";;
9919 ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
9921 if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
9923 LINKFORSHARED="-Wl,--export-dynamic"
9927 if $CC -Xlinker --help 2>&1 | grep export-dynamic >/dev/null
9929 LINKFORSHARED="-Xlinker --export-dynamic"
9933 if test $enable_shared = "no"
9935 LINKFORSHARED='-Wl,--out-implib=$(LDLIBRARY)'
9938 # -Wl,-E causes the symbols to be added to the dynamic
9940 # is loaded. -N 2048K causes the stack size to be set
9943 LINKFORSHARED='-Wl,-E -N 2048K';;
9945 LINKFORSHARED='-Wl,-export-dynamic';;
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKFORSHARED" >&5
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGSFORSHARED" >&5
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CFLAGSFORSHARED" >&5
9969 # SHLIBS are libraries (except -lc and -lm) to link to the python shared
9970 # library (with --enable-shared).
9971 # For platforms on which shared libraries are not allowed to have unresolved
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHLIBS" >&5
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHLIBS" >&5
9988 # checks for libraries
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile in -lsendfile" >&5
9990 $as_echo_n "checking for sendfile in -lsendfile... " >&6; }
9995 LIBS="-lsendfile $LIBS"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10017 ac_cv_lib_sendfile_sendfile=no
10019 rm -f core conftest.err conftest.$ac_objext \
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sendfile_sendfile" >&5
10030 LIBS="-lsendfile $LIBS"
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10035 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10040 LIBS="-ldl $LIBS"
10041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 ac_cv_lib_dl_dlopen=no
10064 rm -f core conftest.err conftest.$ac_objext \
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10075 LIBS="-ldl $LIBS"
10078 # Dynamic linking for SunOS/Solaris and SYSV
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10080 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10085 LIBS="-ldld $LIBS"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 ac_cv_lib_dld_shl_load=no
10109 rm -f core conftest.err conftest.$ac_objext \
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10120 LIBS="-ldld $LIBS"
10123 # Dynamic linking for HP-UX
10125 # checks for uuid.h location
10126 for ac_header in uuid/uuid.h uuid.h
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time_safe" >&5
10141 $as_echo_n "checking for uuid_generate_time_safe... " >&6; }
10142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10165 $as_echo "no" >&6; }
10168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10170 # check for libuuid from util-linux
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate_time in -luuid" >&5
10173 $as_echo_n "checking for uuid_generate_time in -luuid... " >&6; }
10178 LIBS="-luuid $LIBS"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 ac_cv_lib_uuid_uuid_generate_time=no
10202 rm -f core conftest.err conftest.$ac_objext \
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate_time" >&5
10213 LIBS="-luuid $LIBS"
10219 # AIX provides support for RFC4122 (uuid) in libc.a starting with AIX 6.1 (anno 2007)
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_create" >&5
10222 $as_echo_n "checking for uuid_create... " >&6; }
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10246 $as_echo "no" >&6; }
10249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10251 # Little-endian FreeBSD, OpenBSD and NetBSD needs encoding into an octet
10252 # stream in big-endian byte-order
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_enc_be" >&5
10254 $as_echo_n "checking for uuid_enc_be... " >&6; }
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10278 $as_echo "no" >&6; }
10281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_init" >&5
10287 $as_echo_n "checking for library containing sem_init... " >&6; }
10292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 for ac_lib in '' pthread rt posix4; do
10311 if test -z "$ac_lib"; then
10314 ac_res=-l$ac_lib
10315 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10320 rm -f core conftest.err conftest.$ac_objext \
10329 ac_cv_search_sem_init=no
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sem_init" >&5
10337 if test "$ac_res" != no; then :
10343 # check if we need libintl for locale functions
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for textdomain in -lintl" >&5
10345 $as_echo_n "checking for textdomain in -lintl... " >&6; }
10350 LIBS="-lintl $LIBS"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 ac_cv_lib_intl_textdomain=no
10374 rm -f core conftest.err conftest.$ac_objext \
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_textdomain" >&5
10384 LIBS="-lintl $LIBS"
10388 # checks for system dependent C++ extensions support
10390 AIX*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genuine AIX C++ extensions support" >&5
10391 $as_echo_n "checking for genuine AIX C++ extensions support... " >&6; }
10392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10416 $as_echo "no" >&6; }
10419 rm -f core conftest.err conftest.$ac_objext \
10423 # as a baseline for bdist module packages
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the system builddate" >&5
10425 $as_echo_n "checking for the system builddate... " >&6; }
10426 AIX_BUILDDATE=$(lslpp -Lcq bos.mp64 | awk -F: '{ print $NF }')
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_BUILDDATE" >&5
10438 # check for systems that require aligned memory access
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking aligned memory access is required" >&5
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 for (i=0; i < 16; i++)
10464 ac_cv_aligned_required=no
10468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_aligned_required" >&5
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-hash-algorithm" >&5
10487 $as_echo_n "checking for --with-hash-algorithm... " >&6; }
10489 # Check whether --with-hash_algorithm was given.
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default" >&5
10516 if test -z "$1"; then
10517 # Empty string is allowed: it indicates no system TZPATH
10523 as_fn_error $? "--with-tzpath must contain only absolute paths, not $1" "$LINENO" 5
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tzpath" >&5
10530 $as_echo_n "checking for --with-tzpath... " >&6; }
10532 # Check whether --with-tzpath was given.
10537 as_fn_error $? "--with-tzpath requires a value" "$LINENO" 5
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$withval\"" >&5
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$TZPATH\"" >&5
10555 # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_open in -lnsl" >&5
10557 $as_echo_n "checking for t_open in -lnsl... " >&6; }
10562 LIBS="-lnsl $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10584 ac_cv_lib_nsl_t_open=no
10586 rm -f core conftest.err conftest.$ac_objext \
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_t_open" >&5
10593 LIBS="-lnsl $LIBS"
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
10597 $as_echo_n "checking for socket in -lsocket... " >&6; }
10602 LIBS="-lsocket $LIBS $LIBS"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 ac_cv_lib_socket_socket=no
10626 rm -f core conftest.err conftest.$ac_objext \
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
10633 LIBS="-lsocket $LIBS"
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libs" >&5
10638 $as_echo_n "checking for --with-libs... " >&6; }
10640 # Check whether --with-libs was given.
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649 $as_echo "no" >&6; }
10661 if test -n "$ac_tool_prefix"; then
10662 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10665 $as_echo_n "checking for $ac_word... " >&6; }
10675 for as_dir in $PATH
10678 test -z "$as_dir" && as_dir=.
10679 for ac_exec_ext in '' $ac_executable_extensions; do
10682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 if test -n "$PKG_CONFIG"; then
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10698 $as_echo "no" >&6; }
10703 if test -z "$ac_cv_path_PKG_CONFIG"; then
10705 # Extract the first word of "pkg-config", so it can be a program name with args.
10706 set dummy pkg-config; ac_word=$2
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10708 $as_echo_n "checking for $ac_word... " >&6; }
10718 for as_dir in $PATH
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10736 if test -n "$ac_pt_PKG_CONFIG"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10741 $as_echo "no" >&6; }
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10760 if test -n "$PKG_CONFIG"; then
10762 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version…
10763 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10764 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10769 $as_echo "no" >&6; }
10774 # Check for use of the system expat library
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-expat" >&5
10776 $as_echo_n "checking for --with-system-expat... " >&6; }
10778 # Check whether --with-system_expat was given.
10782 with_system_expat="no"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_expat" >&5
10789 # Check for use of the system libffi library
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-ffi" >&5
10791 $as_echo_n "checking for --with-system-ffi... " >&6; }
10793 # Check whether --with-system_ffi was given.
10803 with_system_ffi="no"
10805 yes|no)
10808 as_fn_error $? "--with-system-ffi accepts no arguments" "$LINENO" 5
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_ffi" >&5
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10818 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with(out)-system-ffi is ignored on this platfo…
10819 $as_echo "$as_me: WARNING: --with(out)-system-ffi is ignored on this platform" >&2;}
10824 if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
10825 … LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
10831 # Check for use of the system libmpdec library
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-system-libmpdec" >&5
10833 $as_echo_n "checking for --with-system-libmpdec... " >&6; }
10835 # Check whether --with-system_libmpdec was given.
10839 with_system_libmpdec="no"
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_system_libmpdec" >&5
10846 # Check whether _decimal should use a coroutine-local or thread-local context
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-decimal-contextvar" >&5
10848 $as_echo_n "checking for --with-decimal-contextvar... " >&6; }
10850 # Check whether --with-decimal_contextvar was given.
10858 if test "$with_decimal_contextvar" != "no"
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_decimal_contextvar" >&5
10868 # Check for support for loadable sqlite extensions
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-loadable-sqlite-extensions" >&5
10870 $as_echo_n "checking for --enable-loadable-sqlite-extensions... " >&6; }
10871 # Check whether --enable-loadable-sqlite-extensions was given.
10875 enable_loadable_sqlite_extensions="no"
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_loadable_sqlite_extensions" >&5
10882 # Check for --with-tcltk-includes=path and --with-tcltk-libs=path
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-includes" >&5
10886 $as_echo_n "checking for --with-tcltk-includes... " >&6; }
10888 # Check whether --with-tcltk-includes was given.
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_includes" >&5
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-tcltk-libs" >&5
10898 $as_echo_n "checking for --with-tcltk-libs... " >&6; }
10900 # Check whether --with-tcltk-libs was given.
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tcltk_libs" >&5
10913 …as_fn_error $? "use both --with-tcltk-includes='...' and --with-tcltk-libs='...' or neither" "$LIN…
10915 if test -n "$PKG_CONFIG" && "$PKG_CONFIG" --exists tcl tk; then
10916 TCLTK_INCLUDES="`"$PKG_CONFIG" tcl tk --cflags-only-I 2>/dev/null`"
10917 TCLTK_LIBS="`"$PKG_CONFIG" tcl tk --libs 2>/dev/null`"
10927 # Check for --with-dbmliborder
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dbmliborder" >&5
10929 $as_echo_n "checking for --with-dbmliborder... " >&6; }
10931 # Check whether --with-dbmliborder was given.
10936 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
10938 for db in `echo $with_dbmliborder | sed 's/:/ /g'`; do
10941 as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:..." "$LINENO" 5
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
10950 # Templates for things AC_DEFINEd more than once.
10951 # For a single AC_DEFINE, no template is needed.
10961 CFLAGS="$CFLAGS -D_REENTRANT"
10965 CC="$CC -Kpthread"
10967 CXX="$CXX -Kpthread"
10972 CC="$CC -Kthread"
10974 CXX="$CXX -Kthread"
10979 CC="$CC -pthread"
10981 CXX="$CXX -pthread"
10985 if test ! -z "$withval" -a -d "$withval"
10986 then LDFLAGS="$LDFLAGS -L$withval"
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _POSIX_THREADS in unistd.h" >&5
10993 $as_echo_n "checking for _POSIX_THREADS in unistd.h... " >&6; }
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11007 unistd_defines_pthreads=no
11009 rm -f conftest*
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $unistd_defines_pthreads" >&5
11016 # Just looking for pthread_create in libpthread is not enough:
11020 LIBS="$LIBS -lpthread"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
11022 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthreads" >&5
11056 $as_echo_n "checking for pthread_create in -lpthreads... " >&6; }
11061 LIBS="-lpthreads $LIBS"
11062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 ac_cv_lib_pthreads_pthread_create=no
11085 rm -f core conftest.err conftest.$ac_objext \
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_create" >&5
11094 LIBS="$LIBS -lpthreads"
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
11099 $as_echo_n "checking for pthread_create in -lc_r... " >&6; }
11104 LIBS="-lc_r $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11126 ac_cv_lib_c_r_pthread_create=no
11128 rm -f core conftest.err conftest.$ac_objext \
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
11137 LIBS="$LIBS -lc_r"
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __pthread_create_system in -lpthread" >&5
11142 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; }
11147 LIBS="-lpthread $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 ac_cv_lib_pthread___pthread_create_system=no
11171 rm -f core conftest.err conftest.$ac_objext \
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread___pthread_create_system" >&5
11180 LIBS="$LIBS -lpthread"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lcma" >&5
11185 $as_echo_n "checking for pthread_create in -lcma... " >&6; }
11190 LIBS="-lcma $LIBS"
11191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 ac_cv_lib_cma_pthread_create=no
11214 rm -f core conftest.err conftest.$ac_objext \
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cma_pthread_create" >&5
11223 LIBS="$LIBS -lcma"
11241 rm -f core conftest.err conftest.$ac_objext \
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usconfig in -lmpc" >&5
11245 $as_echo_n "checking for usconfig in -lmpc... " >&6; }
11250 LIBS="-lmpc $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11272 ac_cv_lib_mpc_usconfig=no
11274 rm -f core conftest.err conftest.$ac_objext \
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpc_usconfig" >&5
11282 LIBS="$LIBS -lmpc"
11290 if test "$unistd_defines_pthreads" = "no"; then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
11318 ac_cv_pthread_system_supported=no
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 if (pthread_attr_init(&attr)) return (-1);
11332 if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) return (-1);
11333 if (pthread_create(&id, &attr, foo, NULL)) return (-1);
11340 ac_cv_pthread_system_supported=no
11342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_pthread_system_supported" >&5
11356 for ac_func in pthread_sigmask
11373 for ac_func in pthread_getcpuclockid
11387 # Check for enable-ipv6
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-ipv6 is specified" >&5
11390 $as_echo_n "checking if --enable-ipv6 is specified... " >&6; }
11391 # Check whether --enable-ipv6 was given.
11394 no)
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11396 $as_echo "no" >&6; }
11397 ipv6=no
11399 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11430 $as_echo "no" >&6; }
11431 ipv6=no
11434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if RFC2553 API is available" >&5
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11463 $as_echo "no" >&6; }
11464 ipv6=no
11467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11480 ipv6trylibc=no
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
11485 for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta;
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 rm -f conftest*
11505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 rm -f conftest*
11523 linux-glibc)
11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 rm -f conftest*
11540 linux-inet6)
11541 if test -d /usr/inet6; then
11545 BASECFLAGS="-I/usr/inet6/include $BASECFLAGS"
11549 if test -f /etc/netconfig; then
11550 if $GREP -q tcp6 /etc/netconfig; then
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11571 rm -f conftest*
11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
11590 rm -f conftest*
11594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 rm -f conftest*
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
11620 if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
11621 if test -d $ipv6libdir -a -f $ipv6libdir/lib$ipv6lib.a; then
11622 LIBS="-L$ipv6libdir -l$ipv6lib $LIBS"
11628 echo 'Fatal: no $ipv6lib library found. cannot continue.'
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_FD_FRAMES" >&5
11637 $as_echo_n "checking for CAN_RAW_FD_FRAMES... " >&6; }
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11661 $as_echo "no" >&6; }
11664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAN_RAW_JOIN_FILTERS" >&5
11667 $as_echo_n "checking for CAN_RAW_JOIN_FILTERS... " >&6; }
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11691 $as_echo "no" >&6; }
11694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11696 # Check for --with-doc-strings
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-doc-strings" >&5
11698 $as_echo_n "checking for --with-doc-strings... " >&6; }
11700 # Check whether --with-doc-strings was given.
11706 if test -z "$with_doc_strings"
11709 if test "$with_doc_strings" != "no"
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_doc_strings" >&5
11718 # Check for Python-specific malloc support
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-pymalloc" >&5
11720 $as_echo_n "checking for --with-pymalloc... " >&6; }
11722 # Check whether --with-pymalloc was given.
11728 if test -z "$with_pymalloc"
11732 if test "$with_pymalloc" != "no"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_pymalloc" >&5
11741 # Check for --with-c-locale-coercion
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-c-locale-coercion" >&5
11743 $as_echo_n "checking for --with-c-locale-coercion... " >&6; }
11745 # Check whether --with-c-locale-coercion was given.
11751 if test -z "$with_c_locale_coercion"
11755 if test "$with_c_locale_coercion" != "no"
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_c_locale_coercion" >&5
11764 # Check for Valgrind support
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-valgrind" >&5
11766 $as_echo_n "checking for --with-valgrind... " >&6; }
11768 # Check whether --with-valgrind was given.
11772 with_valgrind=no
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_valgrind" >&5
11777 if test "$with_valgrind" != no; then
11789 OPT="-DDYNAMIC_ANNOTATIONS_ENABLED=1 $OPT"
11792 # Check for DTrace support
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-dtrace" >&5
11794 $as_echo_n "checking for --with-dtrace... " >&6; }
11796 # Check whether --with-dtrace was given.
11800 with_dtrace=no
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dtrace" >&5
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11819 $as_echo_n "checking for $ac_word... " >&6; }
11829 for as_dir in $PATH
11832 test -z "$as_dir" && as_dir=.
11833 for ac_exec_ext in '' $ac_executable_extensions; do
11836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11843 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not found"
11848 if test -n "$DTRACE"; then
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DTRACE" >&5
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11867 # generation flag '-G'. We check for presence of this flag, rather than
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DTrace probes require linking" >&5
11874 ac_cv_dtrace_link=no
11876 "$DTRACE" $DFLAGS -G -s conftest.d -o conftest.o > /dev/null 2>&1 && \
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dtrace_link" >&5
11887 # -I${DLINCLDIR} is added to the compile rule for importdl.o
11893 for ac_func in dlopen
11905 # DYNLOADFILE specifies which dynload_*.o file we will use for dynamic
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking DYNLOADFILE" >&5
11910 if test -z "$DYNLOADFILE"
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DYNLOADFILE" >&5
11933 # MACHDEP_OBJS can be set to platform-specific object files needed by Python
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MACHDEP_OBJS" >&5
11938 if test -z "$MACHDEP_OBJS"
11944 if test -z "$MACHDEP_OBJS"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MACHDEP_OBJS" >&5
11952 # checks for library functions
11953 for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
11990 # Force lchmod off for Linux. Linux disallows changing the mode of symbolic
11994 for ac_func in lchmod
12017 # For some functions, having a definition is not sufficient, since
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chroot" >&5
12020 $as_echo_n "checking for chroot... " >&6; }
12021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12040 $as_echo "no" >&6; }
12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
12045 $as_echo_n "checking for link... " >&6; }
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
12070 $as_echo_n "checking for symlink... " >&6; }
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12090 $as_echo "no" >&6; }
12093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchdir" >&5
12095 $as_echo_n "checking for fchdir... " >&6; }
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12115 $as_echo "no" >&6; }
12118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fsync" >&5
12120 $as_echo_n "checking for fsync... " >&6; }
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
12145 $as_echo_n "checking for fdatasync... " >&6; }
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12165 $as_echo "no" >&6; }
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5
12170 $as_echo_n "checking for epoll... " >&6; }
12171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12190 $as_echo "no" >&6; }
12193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create1" >&5
12195 $as_echo_n "checking for epoll_create1... " >&6; }
12196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12215 $as_echo "no" >&6; }
12218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5
12220 $as_echo_n "checking for kqueue... " >&6; }
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12243 $as_echo "no" >&6; }
12246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prlimit" >&5
12248 $as_echo_n "checking for prlimit... " >&6; }
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12271 $as_echo "no" >&6; }
12274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _dyld_shared_cache_contains_path" >&5
12276 $as_echo_n "checking for _dyld_shared_cache_contains_path... " >&6; }
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12279 #include <mach-o/dyld.h>
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12296 $as_echo "no" >&6; }
12299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5
12302 $as_echo_n "checking for memfd_create... " >&6; }
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12329 $as_echo "no" >&6; }
12332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for eventfd" >&5
12335 $as_echo_n "checking for eventfd... " >&6; }
12336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12359 $as_echo "no" >&6; }
12362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12365 # functions ctermid_r, setgroups in the library, but no prototype
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctermid_r" >&5
12371 $as_echo_n "checking for ctermid_r... " >&6; }
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock declaration" >&5
12399 $as_echo_n "checking for flock declaration... " >&6; }
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 ac_cv_flock_decl=no
12421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flock_decl" >&5
12427 for ac_func in flock
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flock in -lbsd" >&5
12437 $as_echo_n "checking for flock in -lbsd... " >&6; }
12442 LIBS="-lbsd $LIBS"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 ac_cv_lib_bsd_flock=no
12466 rm -f core conftest.err conftest.$ac_objext \
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_flock" >&5
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize" >&5
12488 $as_echo_n "checking for getpagesize... " >&6; }
12489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 $as_echo "no" >&6; }
12513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken unsetenv" >&5
12516 $as_echo_n "checking for broken unsetenv... " >&6; }
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12532 $as_echo "no" >&6; }
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12543 for ac_prog in true
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12548 $as_echo_n "checking for $ac_word... " >&6; }
12552 if test -n "$TRUE"; then
12556 for as_dir in $PATH
12559 test -z "$as_dir" && as_dir=.
12560 for ac_exec_ext in '' $ac_executable_extensions; do
12563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12573 if test -n "$TRUE"; then
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRUE" >&5
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578 $as_echo "no" >&6; }
12582 test -n "$TRUE" && break
12584 test -n "$TRUE" || TRUE="/bin/true"
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lc" >&5
12588 $as_echo_n "checking for inet_aton in -lc... " >&6; }
12593 LIBS="-lc $LIBS"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 ac_cv_lib_c_inet_aton=no
12617 rm -f core conftest.err conftest.$ac_objext \
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_aton" >&5
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
12627 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
12632 LIBS="-lresolv $LIBS"
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12654 ac_cv_lib_resolv_inet_aton=no
12656 rm -f core conftest.err conftest.$ac_objext \
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
12667 LIBS="-lresolv $LIBS"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chflags" >&5
12678 $as_echo_n "checking for chflags... " >&6; }
12685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 ac_cv_have_chflags=no
12703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_chflags" >&5
12716 ac_cv_have_chflags="no"
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lchflags" >&5
12727 $as_echo_n "checking for lchflags... " >&6; }
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 ac_cv_have_lchflags=no
12752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_lchflags" >&5
12765 ac_cv_have_lchflags="no"
12779 CFLAGS="${CFLAGS} -Wl,-search_paths_first"
12780 LDFLAGS="${LDFLAGS} -Wl,-search_paths_first -L/usr/local/lib"
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateCopy in -lz" >&5
12785 $as_echo_n "checking for inflateCopy in -lz... " >&6; }
12790 LIBS="-lz $LIBS"
12791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 ac_cv_lib_z_inflateCopy=no
12814 rm -f core conftest.err conftest.$ac_objext \
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateCopy" >&5
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror" >&5
12835 $as_echo_n "checking for hstrerror... " >&6; }
12836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12857 $as_echo "no" >&6; }
12860 rm -f core conftest.err conftest.$ac_objext \
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton" >&5
12864 $as_echo_n "checking for inet_aton... " >&6; }
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12889 $as_echo "no" >&6; }
12892 rm -f core conftest.err conftest.$ac_objext \
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton" >&5
12896 $as_echo_n "checking for inet_pton... " >&6; }
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12921 $as_echo "no" >&6; }
12924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setgroups" >&5
12928 $as_echo_n "checking for setgroups... " >&6; }
12929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12953 $as_echo "no" >&6; }
12956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12958 # check for openpty and forkpty
12960 for ac_func in openpty
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
12970 $as_echo_n "checking for openpty in -lutil... " >&6; }
12975 LIBS="-lutil $LIBS"
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 ac_cv_lib_util_openpty=no
12999 rm -f core conftest.err conftest.$ac_objext \
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
13007 LIBS="$LIBS -lutil"
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lbsd" >&5
13010 $as_echo_n "checking for openpty in -lbsd... " >&6; }
13015 LIBS="-lbsd $LIBS"
13016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 ac_cv_lib_bsd_openpty=no
13039 rm -f core conftest.err conftest.$ac_objext \
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_openpty" >&5
13047 LIBS="$LIBS -lbsd"
13057 for ac_func in forkpty
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
13067 $as_echo_n "checking for forkpty in -lutil... " >&6; }
13072 LIBS="-lutil $LIBS"
13073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094 ac_cv_lib_util_forkpty=no
13096 rm -f core conftest.err conftest.$ac_objext \
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
13104 LIBS="$LIBS -lutil"
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lbsd" >&5
13107 $as_echo_n "checking for forkpty in -lbsd... " >&6; }
13112 LIBS="-lbsd $LIBS"
13113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 ac_cv_lib_bsd_forkpty=no
13136 rm -f core conftest.err conftest.$ac_objext \
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_forkpty" >&5
13144 LIBS="$LIBS -lbsd"
13155 # check for long file support functions
13156 for ac_func in fseek64 fseeko fstatvfs ftell64 ftello statvfs
13183 for ac_func in getpgrp
13190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13211 for ac_func in setpgrp
13218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13240 # We search for both crypt and crypt_r as one or the other may be defined
13241 # This gets us our -lcrypt in LIBS when required on the target platform.
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13243 $as_echo_n "checking for library containing crypt... " >&6; }
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 for ac_lib in '' crypt; do
13267 if test -z "$ac_lib"; then
13270 ac_res=-l$ac_lib
13271 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13276 rm -f core conftest.err conftest.$ac_objext \
13285 ac_cv_search_crypt=no
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13293 if test "$ac_res" != no; then :
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt_r" >&5
13299 $as_echo_n "checking for library containing crypt_r... " >&6; }
13304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322 for ac_lib in '' crypt; do
13323 if test -z "$ac_lib"; then
13326 ac_res=-l$ac_lib
13327 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13332 rm -f core conftest.err conftest.$ac_objext \
13341 ac_cv_search_crypt_r=no
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt_r" >&5
13349 if test "$ac_res" != no; then :
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 #define _GNU_SOURCE /* Required for crypt_r()'s prototype in glibc. */
13379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13384 for ac_func in clock_gettime
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
13395 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
13400 LIBS="-lrt $LIBS"
13401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13422 ac_cv_lib_rt_clock_gettime=no
13424 rm -f core conftest.err conftest.$ac_objext \
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
13432 LIBS="$LIBS -lrt"
13446 for ac_func in clock_getres
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_getres in -lrt" >&5
13457 $as_echo_n "checking for clock_getres in -lrt... " >&6; }
13462 LIBS="-lrt $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 ac_cv_lib_rt_clock_getres=no
13486 rm -f core conftest.err conftest.$ac_objext \
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_getres" >&5
13504 for ac_func in clock_settime
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_settime in -lrt" >&5
13515 $as_echo_n "checking for clock_settime in -lrt... " >&6; }
13520 LIBS="-lrt $LIBS"
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 ac_cv_lib_rt_clock_settime=no
13544 rm -f core conftest.err conftest.$ac_objext \
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_settime" >&5
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for major" >&5
13563 $as_echo_n "checking for major... " >&6; }
13564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13596 $as_echo "no" >&6; }
13599 rm -f core conftest.err conftest.$ac_objext \
13603 # for [no]getaddrinfo in netdb.h.
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
13605 $as_echo_n "checking for getaddrinfo... " >&6; }
13606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 have_getaddrinfo=no
13627 rm -f core conftest.err conftest.$ac_objext \
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getaddrinfo" >&5
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
13641 ac_cv_buggy_getaddrinfo="no -- configured with --(en|dis)able-ipv6"
13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13662 for (passive = 0; passive <= 1; passive++) {
13672 for (ai = aitop; ai; ai = ai->ai_next) {
13673 if (ai->ai_addr == NULL ||
13674 ai->ai_addrlen == 0 ||
13675 getnameinfo(ai->ai_addr, ai->ai_addrlen,
13680 switch (ai->ai_family) {
13740 ac_cv_buggy_getaddrinfo=no
13744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_buggy_getaddrinfo" >&5
13755 if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes
13760 echo ' or you can specify "--disable-ipv6"'.
13769 for ac_func in getnameinfo
13781 # checks for structures
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 ac_cv_header_time=no
13807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
13883 $as_echo_n "checking for tzname... " >&6; }
13887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 ac_cv_var_tzname=no
13907 rm -f core conftest.err conftest.$ac_objext \
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for time.h that defines altzone" >&5
14020 $as_echo_n "checking for time.h that defines altzone... " >&6; }
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 ac_cv_header_time_altzone=no
14041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time_altzone" >&5
14053 was_it_defined=no
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/select.h and sys/time.h may both be i…
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $was_it_defined" >&5
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for addrinfo" >&5
14084 $as_echo_n "checking for addrinfo... " >&6; }
14088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 ac_cv_struct_addrinfo=no
14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage" >&5
14116 $as_echo_n "checking for sockaddr_storage... " >&6; }
14120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 ac_cv_struct_sockaddr_storage=no
14138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_storage" >&5
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_alg" >&5
14150 $as_echo_n "checking for sockaddr_alg... " >&6; }
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 ac_cv_struct_sockaddr_alg=no
14173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_sockaddr_alg" >&5
14184 # checks for compiler characteristics
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14187 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 an arm of an if-expression whose if-part is not a constant
14213 pcpcc = &g + (g ? g-g : 0);
14226 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14231 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14237 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14239 struct s *b = &bx; b->j = 5;
14241 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14255 ac_cv_c_const=no
14257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14261 if test $ac_cv_c_const = no; then
14268 works=no
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working signed char" >&5
14270 $as_echo_n "checking for working signed char... " >&6; }
14271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
14294 have_prototypes=no
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prototypes" >&5
14296 $as_echo_n "checking for prototypes... " >&6; }
14297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_prototypes" >&5
14318 works=no
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for variable length prototypes and stdarg.h" >&5
14320 $as_echo_n "checking for variable length prototypes and stdarg.h... " >&6; }
14321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $works" >&5
14354 # check for socketpair
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socketpair" >&5
14356 $as_echo_n "checking for socketpair... " >&6; }
14357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14379 $as_echo "no" >&6; }
14382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr has sa_len member" >&5
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14408 $as_echo "no" >&6; }
14411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14413 # sigh -- gethostbyname_r is a mess; it can have 3, 5 or 6 arguments :-(
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 6 args" >&5
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14459 $as_echo "no" >&6; }
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 5 args" >&5
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14496 $as_echo "no" >&6; }
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gethostbyname_r with 3 args" >&5
14499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14531 $as_echo "no" >&6; }
14534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14545 for ac_func in gethostbyname
14565 # checks for system services
14568 # Linux requires this for correct f.p. operations
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fpu_control in -lieee" >&5
14574 $as_echo_n "checking for __fpu_control in -lieee... " >&6; }
14579 LIBS="-lieee $LIBS"
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 ac_cv_lib_ieee___fpu_control=no
14603 rm -f core conftest.err conftest.$ac_objext \
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ieee___fpu_control" >&5
14614 LIBS="-lieee $LIBS"
14622 # check for --with-libm=...
14626 *) LIBM=-lm
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libm=STRING" >&5
14629 $as_echo_n "checking for --with-libm=STRING... " >&6; }
14631 # Check whether --with-libm was given.
14634 if test "$withval" = no
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBM empty" >&5
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBM=\"$withval\"" >&5
14642 else as_fn_error $? "proper usage is --with-libm=STRING" "$LINENO" 5
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBM=\"$LIBM\"" >&5
14650 # check for --with-libc=...
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libc=STRING" >&5
14653 $as_echo_n "checking for --with-libc=STRING... " >&6; }
14655 # Check whether --with-libc was given.
14658 if test "$withval" = no
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: force LIBC empty" >&5
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set LIBC=\"$withval\"" >&5
14666 else as_fn_error $? "proper usage is --with-libc=STRING" "$LINENO" 5
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: default LIBC=\"$LIBC\"" >&5
14675 # * Check for gcc x64 inline assembler *
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x64 gcc inline assembler" >&5
14679 $as_echo_n "checking for x64 gcc inline assembler... " >&6; }
14680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 have_gcc_asm_for_x64=no
14698 rm -f core conftest.err conftest.$ac_objext \
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x64" >&5
14710 # * Check for various properties of floating point *
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether float word ordering is bigendian" >&5
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 ax_cv_c_float_words_bigendian=no
14745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_float_words_bigendian" >&5
14755 no)
14761 ax_cv_c_float_words_bigendian=no (or yes) according to your system.
14772 elif test "$ax_cv_c_float_words_bigendian" = "no"
14778 # Some ARM platforms use a mixed-endian representation for doubles.
14779 # While Python doesn't currently have full support for these platforms
14780 # (see e.g., issue 1762561), we can at least make sure that float <-> string
14790 # correctly-rounded string <-> double conversion functions from
14791 # Python/dtoa.c, which in turn require that the FPU uses 53-bit
14793 # rounding precision of 64 bits. For gcc/x86, we can fix this by
14796 # This inline assembler syntax may also work for suncc and icc,
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 have_gcc_asm_for_x87=no
14821 rm -f core conftest.err conftest.$ac_objext \
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_x87" >&5
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use gcc inline assembler to get an…
14834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 have_gcc_asm_for_mc68881=no
14854 rm -f core conftest.err conftest.$ac_objext \
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc_asm_for_mc68881" >&5
14865 # Detect whether system arithmetic is subject to x87-style double
14868 # mode is round-to-nearest and double rounding issues are present, and
14869 # 0 otherwise. See http://bugs.python.org/issue2937 for more info.
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x87-style double rounding" >&5
14871 $as_echo_n "checking for x87-style double rounding... " >&6; }
14876 ac_cv_x87_double_rounding=no
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* 1./(1-2**-53) -> 1+2**-52 (correct), 1.0 (double rounding) */
14886 x = 0.99999999999999989; /* 1-2**-53 */
14890 /* 1e16+2.99999 -> 1e16+2. (correct), 1e16+4. (double rounding) */
14902 ac_cv_x87_double_rounding=no
14906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x87_double_rounding" >&5
14921 # * Check for mathematical functions *
14927 for ac_func in acosh asinh atanh copysign erf erfc expm1 finite gamma
14939 for ac_func in hypot lgamma log1p log2 round tgamma
14986 # For multiprocessing module, check that sem_open
14987 # actually works. For FreeBSD versions <= 7.2,
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether POSIX semaphores are enabled" >&5
14999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 ac_cv_posix_semaphores_enabled=no
15025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_semaphores_enabled" >&5
15034 if test $ac_cv_posix_semaphores_enabled = no
15041 # Multiprocessing check for broken sem_getvalue
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken sem_getvalue" >&5
15043 $as_echo_n "checking for broken sem_getvalue... " >&6; }
15050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 return res==-1 ? 1 : 0;
15076 ac_cv_broken_sem_getvalue=no
15080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_sem_getvalue" >&5
15186 # determine what size digit to use for Python's longs
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking digit size for Python's longs" >&5
15188 $as_echo_n "checking digit size for Python's longs... " >&6; }
15189 # Check whether --enable-big-digits was given.
15194 no)
15199 …as_fn_error $? "bad value $enable_big_digits for --enable-big-digits; value should be 15 or 30" "$…
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_big_digits" >&5
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
15211 $as_echo "no value specified" >&6; }
15215 # check for wchar.h
15225 wchar_h="no"
15235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
15248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15251 See \`config.log' for more details" "$LINENO" 5; }
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UCS-4 tcl" >&5
15271 $as_echo_n "checking for UCS-4 tcl... " >&6; }
15272 have_ucs4_tcl=no
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ucs4_tcl" >&5
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is signed" >&5
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 return ((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1);
15327 ac_cv_wchar_t_signed=no
15329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wchar_t_signed" >&5
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether wchar_t is usable" >&5
15342 if test "$ac_cv_sizeof_wchar_t" -ge 2 \
15343 -a "$ac_cv_wchar_t_signed" = "no"
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15352 $as_echo "no" >&6; }
15357 if test -f /etc/os-release; then
15358 OS_NAME=$(awk -F= '/^NAME=/ {print substr($2,2,length($2)-2)}' /etc/os-release)
15360 # bpo-43667: In Oracle Solaris, the internal form of wchar_t in
15361 # non-Unicode locales is not Unicode and hence cannot be used directly.
15371 # check for endianness
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15389 # Check for potential -arch flags. It is not universal unless
15390 # there are at least two -arch flags with different values.
15393 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15394 if test -n "$ac_prev"; then
15397 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15406 elif test "x$ac_word" = "x-arch"; then
15411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 ac_cv_c_bigendian=no
15455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 ac_cv_c_bigendian=no
15498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 ac_cv_c_bigendian=no
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15561 return u.c[sizeof (long int) - 1] == 1;
15568 ac_cv_c_bigendian=no
15572 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15584 no)
15593 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15597 # ABI version string for Python extension modules. This appears between the
15602 # * The Python implementation (always 'cpython-' for us)
15604 # * --with-pydebug (adds a 'd')
15606 # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc,
15607 # would get a shared library ABI version tag of 'cpython-32dmu' and shared
15608 # libraries would be named 'foo.cpython-32dmu.so'.
15610 # In Python 3.2 and older, --with-wide-unicode added a 'u' flag.
15611 # In Python 3.7 and older, --with-pymalloc added a 'm' flag.
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ABIFLAGS" >&5
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ABIFLAGS" >&5
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SOABI" >&5
15619 SOABI='cpython-'`echo $VERSION | tr -d .`${ABIFLAGS}${PLATFORM_TRIPLET:+-$PLATFORM_TRIPLET}
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOABI" >&5
15624 if test "$Py_DEBUG" = 'true' -a "$with_trace_refs" != "yes"; then
15627 …ALT_SOABI='cpython-'`echo $VERSION | tr -d .``echo $ABIFLAGS | tr -d d`${PLATFORM_TRIPLET:+-$PLATF…
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDVERSION" >&5
15646 if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin"; then
15647 LIBPYTHON="-lpython${VERSION}${ABIFLAGS}"
15657 # Check for --with-platlibdir
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-platlibdir" >&5
15662 $as_echo_n "checking for --with-platlibdir... " >&6; }
15664 # Check whether --with-platlibdir was given.
15668 # --with-platlibdir
15669 # --with-platlibdir=
15670 # --without-platlibdir
15671 if test -n "$withval" -a "$withval" != yes -a "$withval" != no
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15679 $as_echo "no" >&6; }
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15683 $as_echo "no" >&6; }
15690 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}"
15692 LIBPL='$(prefix)'"/${PLATLIBDIR}/python${VERSION}/config-${LDVERSION}-${PLATFORM_TRIPLET}"
15696 # Check for --with-wheel-pkg-dir=PATH
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-wheel-pkg-dir" >&5
15700 $as_echo_n "checking for --with-wheel-pkg-dir... " >&6; }
15702 # Check whether --with-wheel-pkg-dir was given.
15705 if test -n "$withval"; then
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15711 $as_echo "no" >&6; }
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15715 $as_echo "no" >&6; }
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether right shift extends the sign bit" >&5
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15735 return (((-1)>>3 == -1) ? 0 : 1);
15742 ac_cv_rshift_extends_sign=no
15744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_rshift_extends_sign" >&5
15752 if test "$ac_cv_rshift_extends_sign" = no
15759 # check for getc_unlocked and related locking functions
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getc_unlocked() and friends" >&5
15761 $as_echo_n "checking for getc_unlocked() and friends... " >&6; }
15766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 ac_cv_have_getc_unlocked=no
15787 rm -f core conftest.err conftest.$ac_objext \
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getc_unlocked" >&5
15801 # Check whether --with-readline was given.
15810 py_cv_lib_readline=no
15814 if test "$with_readline" != no; then
15826 as_fn_error $? "proper usage is --with(out)-readline[=editline]" "$LINENO" 5
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link readline libs" >&5
15835 for py_libtermcap in "" tinfo ncursesw ncurses curses termcap; do
15836 if test -z "$py_libtermcap"; then
15837 READLINE_LIBS="-l$LIBREADLINE"
15839 READLINE_LIBS="-l$LIBREADLINE -l$py_libtermcap"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 rm -f core conftest.err conftest.$ac_objext \
15872 if test $py_cv_lib_readline = no; then
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_LIBS" >&5
15885 # check for readline 2.2
15887 #include <stdio.h> /* Must be first for Gnu Readline */
15902 #include <stdio.h> /* Must be first for Gnu Readline */
15917 # check for readline 4.0
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_pre_input_hook in -l$LIBREADLINE" >&5
15920 $as_echo_n "checking for rl_pre_input_hook in -l$LIBREADLINE... " >&6; }
15925 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15947 eval "$as_ac_Lib=no"
15949 rm -f core conftest.err conftest.$ac_objext \
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_display_matches_hook in -l$LIBR…
15966 $as_echo_n "checking for rl_completion_display_matches_hook in -l$LIBREADLINE... " >&6; }
15971 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 eval "$as_ac_Lib=no"
15995 rm -f core conftest.err conftest.$ac_objext \
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_resize_terminal in -l$LIBREADLINE" >&5
16012 $as_echo_n "checking for rl_resize_terminal in -l$LIBREADLINE... " >&6; }
16017 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16039 eval "$as_ac_Lib=no"
16041 rm -f core conftest.err conftest.$ac_objext \
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16055 # check for readline 4.2
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -l$LIBREADLINE" >&5
16058 $as_echo_n "checking for rl_completion_matches in -l$LIBREADLINE... " >&6; }
16063 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
16064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085 eval "$as_ac_Lib=no"
16087 rm -f core conftest.err conftest.$ac_objext \
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16103 #include <stdio.h> /* Must be first for Gnu Readline */
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -l$LIBREADLINE" >&5
16120 $as_echo_n "checking for append_history in -l$LIBREADLINE... " >&6; }
16125 LIBS="-l$LIBREADLINE $READLINE_LIBS $LIBS"
16126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 eval "$as_ac_Lib=no"
16149 rm -f core conftest.err conftest.$ac_objext \
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken nice()" >&5
16168 $as_echo_n "checking for broken nice()... " >&6; }
16174 ac_cv_broken_nice=no
16176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16184 if (val1 != -1 && val1 == nice(2))
16193 ac_cv_broken_nice=no
16195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_nice" >&5
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll()" >&5
16211 $as_echo_n "checking for broken poll()... " >&6; }
16216 ac_cv_broken_poll=no
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 ac_cv_broken_poll=no
16246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_poll" >&5
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working tzset()" >&5
16263 $as_echo_n "checking for working tzset()... " >&6; }
16269 ac_cv_working_tzset=no
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16288 tm->tm_zone does not exist since it is the alternative way
16295 time_t groundhogday = 1044144000; /* GMT-based */
16300 if (localtime(&groundhogday)->tm_hour != 0)
16303 /* For UTC, tzname[1] is sometimes "", sometimes " " */
16311 if (localtime(&groundhogday)->tm_hour != 19)
16318 putenv("TZ=AEST-10AEDT-11,M10.5.0,M3.5.0");
16320 if (localtime(&groundhogday)->tm_hour != 11)
16328 if (strcmp(localtime(&groundhogday)->tm_zone, "AEDT"))
16330 if (strcmp(localtime(&midyear)->tm_zone, "AEST"))
16341 ac_cv_working_tzset=no
16343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_tzset" >&5
16358 # Look for subsecond timestamps in struct stat
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec in struct stat" >&5
16360 $as_echo_n "checking for tv_nsec in struct stat... " >&6; }
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 ac_cv_stat_tv_nsec=no
16383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec" >&5
16395 # Look for BSD style subsecond timestamps in struct stat
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tv_nsec2 in struct stat" >&5
16397 $as_echo_n "checking for tv_nsec2 in struct stat... " >&6; }
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16418 ac_cv_stat_tv_nsec2=no
16420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stat_tv_nsec2" >&5
16434 if test "$cross_compiling" = no; then
16435 CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
16438 for ac_header in curses.h ncurses.h
16453 for ac_header in term.h
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mvwdelch is an expression" >&5
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16494 ac_cv_mvwdelch_is_expression=no
16496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mvwdelch_is_expression" >&5
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WINDOW has _flags" >&5
16518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 w->_flags = 0;
16538 ac_cv_window_has_flags=no
16540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_window_has_flags" >&5
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_pad" >&5
16555 $as_echo_n "checking for is_pad... " >&6; }
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16579 $as_echo "no" >&6; }
16582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_term_resized" >&5
16585 $as_echo_n "checking for is_term_resized... " >&6; }
16586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16605 $as_echo "no" >&6; }
16608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resize_term" >&5
16611 $as_echo_n "checking for resize_term... " >&6; }
16612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16631 $as_echo "no" >&6; }
16634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resizeterm" >&5
16637 $as_echo_n "checking for resizeterm... " >&6; }
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16657 $as_echo "no" >&6; }
16660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for immedok" >&5
16663 $as_echo_n "checking for immedok... " >&6; }
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16687 $as_echo "no" >&6; }
16690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syncok" >&5
16693 $as_echo_n "checking for syncok... " >&6; }
16694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16717 $as_echo "no" >&6; }
16720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchgat" >&5
16723 $as_echo_n "checking for wchgat... " >&6; }
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16747 $as_echo "no" >&6; }
16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for filter" >&5
16753 $as_echo_n "checking for filter... " >&6; }
16754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16777 $as_echo "no" >&6; }
16780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for has_key" >&5
16783 $as_echo_n "checking for has_key... " >&6; }
16784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16807 $as_echo "no" >&6; }
16810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeahead" >&5
16813 $as_echo_n "checking for typeahead... " >&6; }
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16837 $as_echo "no" >&6; }
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_env" >&5
16843 $as_echo_n "checking for use_env... " >&6; }
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16867 $as_echo "no" >&6; }
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for device files" >&5
16875 $as_echo "$as_me: checking for device files" >&6;}
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
16880 $as_echo_n "checking for /dev/ptmx... " >&6; }
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
16883 …as_fn_error $? "set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling" …
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
16887 $as_echo_n "checking for /dev/ptc... " >&6; }
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not set" >&5
16890 …as_fn_error $? "set ac_cv_file__dev_ptc to yes/no in your CONFIG_SITE file when cross compiling" "…
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
16895 $as_echo_n "checking for /dev/ptmx... " >&6; }
16900 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16901 if test -r "/dev/ptmx"; then
16904 ac_cv_file__dev_ptmx=no
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptmx" >&5
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
16919 $as_echo_n "checking for /dev/ptc... " >&6; }
16924 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
16925 if test -r "/dev/ptc"; then
16928 ac_cv_file__dev_ptc=no
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_ptc" >&5
16945 LIBS="$LIBS -framework CoreFoundation"
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format support" >&5
16949 $as_echo_n "checking for %zd printf() format support... " >&6; }
16954 ac_cv_have_size_t_format="cross -- assuming yes"
16957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16986 if (sprintf(buffer, "%zd", (Py_ssize_t)-123) < 0)
16989 if (strcmp(buffer, "-123"))
16999 ac_cv_have_size_t_format=no
17001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t_format" >&5
17008 if test "$ac_cv_have_size_t_format" != no ; then
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken mbstowcs" >&5
17033 $as_echo_n "checking for broken mbstowcs... " >&6; }
17038 ac_cv_broken_mbstowcs=no
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 size_t len = -1;
17054 ac_cv_broken_mbstowcs=no
17058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_broken_mbstowcs" >&5
17073 # Check for --with-computed-gotos
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-computed-gotos" >&5
17075 $as_echo_n "checking for --with-computed-gotos... " >&6; }
17077 # Check whether --with-computed-gotos was given.
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17088 if test "$withval" = no
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17094 $as_echo "no" >&6; }
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no value specified" >&5
17099 $as_echo "no value specified" >&6; }
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports computed gotos" >&5
17110 ac_cv_computed_gotos="$with_computed_gotos -- configured --with(out)-computed-gotos"
17112 ac_cv_computed_gotos=no
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 ac_cv_computed_gotos=no
17135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_computed_gotos" >&5
17159 for h in `(cd $srcdir;echo Python/thread_*.h)`
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build directories" >&5
17167 $as_echo_n "checking for build directories... " >&6; }
17168 for dir in $SRCDIRS; do
17169 if test ! -d $dir; then
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17176 # Availability of -O2:
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -O2" >&5
17178 $as_echo_n "checking for -O2... " >&6; }
17180 CFLAGS="-O2"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 have_O2=no
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_O2" >&5
17203 # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect:
17204 # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc _FORTIFY_SOURCE/memmove bug" >&5
17206 $as_echo_n "checking for glibc _FORTIFY_SOURCE/memmove bug... " >&6; }
17208 CFLAGS="-O2 -D_FORTIFY_SOURCE=2"
17209 if test "$have_O2" = no; then
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17235 have_glibc_memmove_bug=no
17239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_glibc_memmove_bug" >&5
17255 # http://gcc.gnu.org/ml/gcc/2010-11/msg00366.html
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc ipa-pure-const bug" >&5
17259 $as_echo_n "checking for gcc ipa-pure-const bug... " >&6; }
17261 CFLAGS="-O2"
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 have_ipa_pure_const_bug=no
17290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipa_pure_const_bug" >&5
17306 # Check for stdatomic.h
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdatomic.h" >&5
17308 $as_echo_n "checking for stdatomic.h... " >&6; }
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 have_stdatomic_h=no
17330 rm -f core conftest.err conftest.$ac_objext \
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_stdatomic_h" >&5
17342 # Check for GCC >= 4.7 and clang __atomic builtin functions
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for builtin __atomic_load_n and __atomic_store_n …
17344 $as_echo_n "checking for builtin __atomic_load_n and __atomic_store_n functions... " >&6; }
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 have_builtin_atomic=no
17363 rm -f core conftest.err conftest.$ac_objext \
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_builtin_atomic" >&5
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ensurepip" >&5
17377 $as_echo_n "checking for ensurepip... " >&6; }
17379 # Check whether --with-ensurepip was given.
17391 no) :
17392 ENSUREPIP=no ;; #(
17394 as_fn_error $? "--with-ensurepip=upgrade|install|no" "$LINENO" 5 ;;
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENSUREPIP" >&5
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the dirent structure of a d_type field" >&5
17403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 have_dirent_d_type=no
17421 rm -f core conftest.err conftest.$ac_objext \
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_dirent_d_type" >&5
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Linux getrandom() syscall" >&5
17434 $as_echo_n "checking for the Linux getrandom() syscall... " >&6; }
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* ignore the result, Python checks for ENOSYS and EAGAIN at runtime */
17457 have_getrandom_syscall=no
17459 rm -f core conftest.err conftest.$ac_objext \
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom_syscall" >&5
17471 # the test was written for the Solaris function of <sys/random.h>
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the getrandom() function" >&5
17473 $as_echo_n "checking for the getrandom() function... " >&6; }
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* ignore the result, Python checks for ENOSYS at runtime */
17494 have_getrandom=no
17496 rm -f core conftest.err conftest.$ac_objext \
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_getrandom" >&5
17507 # checks for POSIX shared memory, used by Modules/_multiprocessing/posixshmem.c
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
17512 $as_echo_n "checking for library containing shm_open... " >&6; }
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535 for ac_lib in '' rt; do
17536 if test -z "$ac_lib"; then
17539 ac_res=-l$ac_lib
17540 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17545 rm -f core conftest.err conftest.$ac_objext \
17554 ac_cv_search_shm_open=no
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
17562 if test "$ac_res" != no; then :
17567 if test "$ac_cv_search_shm_open" = "-lrt"; then
17572 for ac_header in sys/mman.h
17584 # temporarily override ac_includes_default for AC_CHECK_FUNCS below
17593 for ac_func in shm_open shm_unlink
17609 # Check for usable OpenSSL
17613 # Check whether --with-openssl was given.
17617 "" | y | ye | yes | n | no)
17618 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
17626 # if pkg-config is installed and openssl has installed a .pc file,
17628 if test -n "$ac_tool_prefix"; then
17629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17630 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17632 $as_echo_n "checking for $ac_word... " >&6; }
17636 if test -n "$PKG_CONFIG"; then
17640 for as_dir in $PATH
17643 test -z "$as_dir" && as_dir=.
17644 for ac_exec_ext in '' $ac_executable_extensions; do
17646 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
17647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17657 if test -n "$PKG_CONFIG"; then
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17662 $as_echo "no" >&6; }
17667 if test -z "$ac_cv_prog_PKG_CONFIG"; then
17669 # Extract the first word of "pkg-config", so it can be a program name with args.
17670 set dummy pkg-config; ac_word=$2
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17672 $as_echo_n "checking for $ac_word... " >&6; }
17676 if test -n "$ac_ct_PKG_CONFIG"; then
17680 for as_dir in $PATH
17683 test -z "$as_dir" && as_dir=.
17684 for ac_exec_ext in '' $ac_executable_extensions; do
17686 ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
17687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17697 if test -n "$ac_ct_PKG_CONFIG"; then
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17702 $as_echo "no" >&6; }
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
17721 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
17723 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
17724 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
17729 # no such luck; use some default ssldirs
17744 for ssldir in $ssldirs; do
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
17746 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
17747 if test -f "$ssldir/include/openssl/ssl.h"; then
17748 OPENSSL_INCLUDES="-I$ssldir/include"
17749 OPENSSL_LDFLAGS="-L$ssldir/lib"
17750 OPENSSL_LIBS="-lssl -lcrypto"
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17757 $as_echo "no" >&6; }
17761 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
17768 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL wo…
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17799 $as_echo "no" >&6; }
17800 have_openssl=no
17803 rm -f core conftest.err conftest.$ac_objext \
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-openssl-rpath" >&5
17816 $as_echo_n "checking for --with-openssl-rpath... " >&6; }
17818 # Check whether --with-openssl-rpath was given.
17822 with_openssl_rpath=no
17829 no) :
17832 if test -d "$with_openssl_rpath"; then :
17835 as_fn_error $? "--with-openssl-rpath \"$with_openssl_rpath\" is not a directory" "$LINENO" 5
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPENSSL_RPATH" >&5
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL provides required APIs" >&5
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17896 $as_echo "no" >&6; }
17898 rm -f core conftest.err conftest.$ac_objext \
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-ssl-default-suites" >&5
17909 $as_echo_n "checking for --with-ssl-default-suites... " >&6; }
17911 # Check whether --with-ssl-default-suites was given.
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: python" >&5
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-builtin-hashlib-hashes" >&5
17951 $as_echo_n "checking for --with-builtin-hashlib-hashes... " >&6; }
17953 # Check whether --with-builtin-hashlib-hashes was given.
17960 no)
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $default_hashlib_hashes" >&5
17983 # --with-experimental-isolated-subinterpreters
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-experimental-isolated-subinterpreters"…
17986 $as_echo_n "checking for --with-experimental-isolated-subinterpreters... " >&6; }
17988 # Check whether --with-experimental-isolated-subinterpreters was given.
17991 if test "$withval" != no
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17999 $as_echo "no" >&6; };
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18003 $as_echo "no" >&6; }
18007 # --with-static-libpython
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-static-libpython" >&5
18010 $as_echo_n "checking for --with-static-libpython... " >&6; }
18012 # Check whether --with-static-libpython was given.
18015 if test "$withval" = no
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18018 $as_echo "no" >&6; };
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
18044 $as_echo_n "checking for --disable-test-modules... " >&6; }
18045 # Check whether --enable-test-modules was given.
18050 if test "$enable_test_modules" = no; then
18051 TEST_MODULES=no
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18057 $as_echo "no" >&6; }
18063 …fig_files="$ac_config_files Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh"
18070 # scripts and configure runs, see configure's option --config-cache.
18074 # config.status only pays attention to the cache file if you give it
18075 # the --recheck option to rerun configure.
18084 # but we know of no workaround that is simple, portable, and efficient.
18089 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18094 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
18108 # `set' does not quote correctly, so add quotes: double-quote
18110 sed -n \
18116 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18130 if test -w "$cache_file"; then
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18134 if test ! -f "$cache_file" || test -h "$cache_file"; then
18139 mv -f confcache "$cache_file"$$ &&
18140 mv -f "$cache_file"$$ "$cache_file" ;; #(
18142 mv -f confcache "$cache_file" ;;
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18151 rm -f confcache
18157 DEFS=-DHAVE_CONFIG_H
18162 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18178 : "${CONFIG_STATUS=./config.status}"
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18189 # Compiler output produced by configure, useful for debugging
18190 # configure, is in config.log if it exists.
18196 SHELL=\${CONFIG_SHELL-$SHELL}
18200 ## -------------------- ##
18202 ## -------------------- ##
18205 DUALCASE=1; export DUALCASE # for MKS sh
18206 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18209 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18211 alias -g '${1+"$@"}'='"$@"'
18214 case `(set -o) 2>/dev/null` in #(
18216 set -o posix ;; #(
18231 # but without wasting forks for bash or zsh.
18232 if test -z "$BASH_VERSION$ZSH_VERSION" \
18233 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18234 as_echo='print -r --'
18235 as_echo_n='print -rn --'
18240 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18241 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18242 as_echo_n='/usr/ucb/echo -n'
18252 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18255 as_echo_n='sh -c $as_echo_n_body as_echo'
18258 as_echo='sh -c $as_echo_body as_echo'
18264 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18265 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18273 # there to prevent editors from complaining about space-tab.
18278 # Find who we are. Look in the path if we contain no directory separator.
18283 for as_dir in $PATH
18286 test -z "$as_dir" && as_dir=.
18287 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18298 if test ! -f "$as_myself"; then
18304 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18307 for as_var in BASH_ENV ENV MAIL MAILPATH
18326 # ----------------------------------------
18332 as_status=$1; test $as_status -eq 0 && as_status=1
18334 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18335 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18343 # -----------------------
18351 # -----------------
18352 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18361 # ---------------
18369 # ----------------------
18387 # ------------------
18399 as_val=`expr "$@" || test $? -eq 1`
18411 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18417 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18423 as_me=`$as_basename -- "$0" ||
18450 case `echo -n x` in #(((((
18451 -n*)
18459 ECHO_N='-n';;
18462 rm -f conf$$ conf$$.exe conf$$.file
18463 if test -d conf$$.dir; then
18464 rm -f conf$$.dir/conf$$.file
18466 rm -f conf$$.dir
18470 if ln -s conf$$.file conf$$ 2>/dev/null; then
18471 as_ln_s='ln -s'
18473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18475 # In both cases, we have to default to `cp -pR'.
18476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18477 as_ln_s='cp -pR'
18481 as_ln_s='cp -pR'
18484 as_ln_s='cp -pR'
18486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18491 # -------------
18497 -*) as_dir=./$as_dir;;
18499 test -d "$as_dir" || eval $as_mkdir_p || {
18507 as_dir=`$as_dirname -- "$as_dir" ||
18530 test -d "$as_dir" && break
18532 test -z "$as_dirs" || eval "mkdir $as_dirs"
18533 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18537 if mkdir -p . 2>/dev/null; then
18538 as_mkdir_p='mkdir -p "$as_dir"'
18540 test -d ./-p && rmdir ./-p
18546 # -----------------------
18550 test -f "$1" && test -x "$1"
18552 as_test_x='test -x'
18555 # Sed expression to map a string onto a valid CPP name.
18563 ## ----------------------------------- ##
18565 ## ----------------------------------- ##
18583 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18598 # Files that config.status was made for.
18612 -h, --help print this help, then exit
18613 -V, --version print version number and configuration settings, then exit
18614 --config print configuration, then exit
18615 -q, --quiet, --silent
18617 -d, --debug don't remove temporary files
18618 --recheck update $as_me by reconfiguring in the same conditions
18619 --file=FILE[:TEMPLATE]
18621 --header=FILE[:TEMPLATE]
18636 python config.status 3.10
18641 This config.status script is free software; the Free Software Foundation
18648 test -n "\$AWK" || AWK=awk
18657 --*=?*)
18662 --*=)
18676 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18678 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18680 --config | --confi | --conf | --con | --co | --c )
18682 --debug | --debu | --deb | --de | --d | -d )
18684 --file | --fil | --fi | --f )
18692 --header | --heade | --head | --hea )
18699 --he | --h)
18700 # Conflict between --help and --header
18702 Try \`$0 --help' for more information.";;
18703 --help | --hel | -h )
18705 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18706 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18710 -*) as_fn_error $? "unrecognized option: \`$1'
18711 Try \`$0 --help' for more information." ;;
18724 ac_configure_extra_args="$ac_configure_extra_args --silent"
18730 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18740 exec 5>>config.log
18743 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18756 for ac_config_target in $ac_config_targets
18766 "Misc/python-embed.pc") CONFIG_FILES="$CONFIG_FILES Misc/python-embed.pc" ;;
18767 "Misc/python-config.sh") CONFIG_FILES="$CONFIG_FILES Misc/python-config.sh" ;;
18777 # We use the long form for the default assignment because of an extremely
18784 # Have a temporary directory for convenience. Make it in the build tree
18785 # simply because there is no reason against having it here, and in addition,
18787 # Hook for its removal unless debugging.
18795 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18799 # Create a (secure) tmp directory for tmp files.
18802 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18803 test -d "$tmp"
18806 tmp=./conf$$-$RANDOM
18811 # Set up the scripts for CONFIG_FILES section.
18812 # No need to generate them if there are no CONFIG_FILES.
18813 # This happens for instance with `./config.status config.h'.
18814 if test -n "$CONFIG_FILES"; then
18819 # But we know of no other shell where ac_cr would be empty at this
18841 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18843 for ac_last_try in false false false false false :; do
18847 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18856 rm -f conf$$subs.sh
18861 sed -n '
18904 rm -f conf$$subs.awk
18908 for (key in S) S_is_set[key] = 1
18917 for (i = 2; i < nfields; i++) {
18940 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18967 fi # test -n "$CONFIG_FILES"
18969 # Set up the scripts for CONFIG_HEADERS section.
18970 # No need to generate them if there are no CONFIG_HEADERS.
18971 # This happens for instance with `./config.status Makefile'.
18972 if test -n "$CONFIG_HEADERS"; then
18978 # here-document in config.status, that substitutes the proper values into
18979 # config.h.in to produce config.h.
18984 for ac_last_try in false false :; do
18985 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18986 if test -z "$ac_tt"; then
18995 # For the awk script, D is an array of macro values keyed by name,
19000 sed -n '
19040 for (key in D) D_is_set[key] = 1
19055 prefix = substr(line, 1, index(line, defundef) - 1)
19061 # Replace #undef with comments. This is necessary, for example,
19074 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19075 fi # test -n "$CONFIG_HEADERS"
19080 for ac_tag
19088 :[FH]-) ac_tag=-:-;;
19103 for ac_f
19106 -) ac_f="$ac_tmp/stdin";;
19107 *) # Look for the file first in the build tree, then in the source tree
19108 # (if the path is not absolute). The absolute path cannot be DOS-style,
19110 test -f "$ac_f" ||
19113 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19123 # /* config.h. Generated by config.status. */
19127 if test x"$ac_file" != x-; then
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19141 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19147 ac_dir=`$as_dirname -- "$ac_file" ||
19177 # A ".." for each directory in $ac_dir_suffix.
19186 # for backward compatibility:
19237 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19240 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
19241 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19263 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19278 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19281 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19282 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19283 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19284 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19285 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
19290 rm -f "$ac_tmp/stdin"
19292 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19293 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19301 if test x"$ac_file" != x-; then
19304 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19305 } >"$ac_tmp/config.h" \
19307 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19311 rm -f "$ac_file"
19312 mv "$ac_tmp/config.h" "$ac_file" \
19317 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19318 || as_fn_error $? "could not create -" "$LINENO" 5
19330 done # for ac_tag
19341 # configure is writing to config.log, and then calls config.status.
19342 # config.status does its own redirection, appending to config.log.
19343 # Unfortunately, on DOS this fails, as config.log is still kept open
19344 # by configure, so config.status won't be able to write to it; its
19346 # effectively closing config.log, so it can be properly (re)opened and
19347 # appended to by config.status. When coming back to configure, we
19353 ac_config_status_args="$ac_config_status_args --quiet"
19356 exec 5>>config.log
19361 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19368 if test ! -f Modules/Setup.local
19370 echo "# Edit this file for local setup changes" >Modules/Setup.local
19374 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
19375 -s Modules \
19377 mv config.c Modules
19379 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
19383 echo "please run ./configure --enable-optimizations" >&6