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 curl -.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
14 # Copyright (c) 1998 - 2020 Daniel Stenberg, <daniel@haxx.se>
16 # terms of the curl license; see COPYING for more details
18 ## -------------------------------- ##
20 ## -------------------------------- ##
65 # Try built-in echo, and fail.
76 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
92 (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
125 | sed -e 's:unknown:success:' 2>/dev/null`
159 | tr -d "0123456789$xc_tab" 2>/dev/null`
176 | wc -w 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null`
193 | wc -l 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null
209 # Auto-detect and set 'PATH_SEPARATOR', unless it is already non-empty set.
215 for xc_tst_dir in $PATH; do
225 for xc_tst_dir in $PATH; do
232 if test $xc_tst_dirs_sem -eq $xc_tst_dirs_col; then
234 # chose one over the other, and consider auto-detection not possible.
235 if test -z "$PATH_SEPARATOR"; then
242 # Separator with the greater directory count is the auto-detected one.
243 if test $xc_tst_dirs_sem -gt $xc_tst_dirs_col; then
248 if test -z "$PATH_SEPARATOR"; then
249 # Simply use the auto-detected one when not already set.
252 echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2
260 ## -------------------- ##
262 ## -------------------- ##
265 DUALCASE=1; export DUALCASE # for MKS sh
266 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
269 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
271 alias -g '${1+"$@"}'='"$@"'
274 case `(set -o) 2>/dev/null` in #(
276 set -o posix ;; #(
291 # but without wasting forks for bash or zsh.
292 if test -z "$BASH_VERSION$ZSH_VERSION" \
293 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
294 as_echo='print -r --'
295 as_echo_n='print -rn --'
300 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
301 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
302 as_echo_n='/usr/ucb/echo -n'
312 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
315 as_echo_n='sh -c $as_echo_n_body as_echo'
318 as_echo='sh -c $as_echo_body as_echo'
325 # there to prevent editors from complaining about space-tab.
330 # Find who we are. Look in the path if we contain no directory separator.
335 for as_dir in $PATH
338 test -z "$as_dir" && as_dir=.
339 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
350 if test ! -f "$as_myself"; then
356 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
359 for as_var in BASH_ENV ENV MAIL MAILPATH
377 # into an infinite loop, continuously re-executing ourselves.
379 _as_can_reexec=no; export _as_can_reexec;
381 # neutralization value for shells without unset; and this also
383 # Preserve -v and -x to the replacement shell.
387 case $- in # ((((
388 *v*x* | *x*v* ) as_opts=-vx ;;
389 *v* ) as_opts=-v ;;
390 *x* ) as_opts=-x ;;
396 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
402 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
405 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
407 alias -g '\${1+\"\$@\"}'='\"\$@\"'
410 case \`(set -o) 2>/dev/null\` in #(
412 set -o posix ;; #(
435 test -x / || exit 1"
442 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
448 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
452 as_have_required=no
459 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
462 test -z "$as_dir" && as_dir=.
466 for as_base in sh bash ksh sh5; do
469 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
480 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
490 # neutralization value for shells without unset; and this also
492 # Preserve -v and -x to the replacement shell.
496 case $- in # ((((
497 *v*x* | *x*v* ) as_opts=-vx ;;
498 *v* ) as_opts=-v ;;
499 *x* ) as_opts=-x ;;
505 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
516 $as_echo "$0: Please tell bug-autoconf@gnu.org and a suitable curl
526 SHELL=${CONFIG_SHELL-/bin/sh}
532 ## --------------------- ##
534 ## --------------------- ##
536 # ---------------
545 # -----------------------
553 # -----------------
554 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
563 # -------------
569 -*) as_dir=./$as_dir;;
571 test -d "$as_dir" || eval $as_mkdir_p || {
579 as_dir=`$as_dirname -- "$as_dir" ||
602 test -d "$as_dir" && break
604 test -z "$as_dirs" || eval "mkdir $as_dirs"
605 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
611 # -----------------------
615 test -f "$1" && test -x "$1"
618 # ----------------------
636 # ------------------
648 as_val=`expr "$@" || test $? -eq 1`
654 # ----------------------------------------
660 as_status=$1; test $as_status -eq 0 && as_status=1
662 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
663 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
676 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
682 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
688 as_me=`$as_basename -- "$0" ||
719 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
720 sed -n '
725 s/[$]LINENO.*/&-/
733 s/-\n.*//
738 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
741 _as_can_reexec=no; export _as_can_reexec
751 case `echo -n x` in #(((((
752 -n*)
760 ECHO_N='-n';;
763 rm -f conf$$ conf$$.exe conf$$.file
764 if test -d conf$$.dir; then
765 rm -f conf$$.dir/conf$$.file
767 rm -f conf$$.dir
771 if ln -s conf$$.file conf$$ 2>/dev/null; then
772 as_ln_s='ln -s'
774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
776 # In both cases, we have to default to `cp -pR'.
777 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
778 as_ln_s='cp -pR'
782 as_ln_s='cp -pR'
785 as_ln_s='cp -pR'
787 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
790 if mkdir -p . 2>/dev/null; then
791 as_mkdir_p='mkdir -p "$as_dir"'
793 test -d ./-p && rmdir ./-p
797 as_test_x='test -x'
800 # Sed expression to map a string onto a valid CPP name.
806 SHELL=${CONFIG_SHELL-/bin/sh}
809 test -n "$DJDIR" || exec 7<&0 </dev/null
815 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
824 cross_compiling=no
832 PACKAGE_VERSION='-'
833 PACKAGE_STRING='curl -'
838 # Factoring default headers for most tests.
874 enable_option_checking=no
1058 CPP
1238 CPP
1293 for ac_option
1296 if test -n "$ac_prev"; then
1311 --)
1314 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1316 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1319 -build | --build | --buil | --bui | --bu)
1321 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1324 -cache-file | --cache-file | --cache-fil | --cache-fi \
1325 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1327 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1328 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1331 --config-cache | -C)
1332 cache_file=config.cache ;;
1334 -datadir | --datadir | --datadi | --datad)
1336 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1339 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1340 | --dataroo | --dataro | --datar)
1342 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1343 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1346 -disable-* | --disable-*)
1347 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1349 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1352 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1357 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1360 eval enable_$ac_useropt=no ;;
1362 -docdir | --docdir | --docdi | --doc | --do)
1364 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1367 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1369 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1372 -enable-* | --enable-*)
1373 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1375 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1378 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1383 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1388 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1389 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1390 | --exec | --exe | --ex)
1392 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1393 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1394 | --exec=* | --exe=* | --ex=*)
1397 -gas | --gas | --ga | --g)
1398 # Obsolete; use --with-gas.
1401 -help | --help | --hel | --he | -h)
1403 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1405 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1408 -host | --host | --hos | --ho)
1410 -host=* | --host=* | --hos=* | --ho=*)
1413 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1415 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1416 | --ht=*)
1419 -includedir | --includedir | --includedi | --included | --include \
1420 | --includ | --inclu | --incl | --inc)
1422 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1423 | --includ=* | --inclu=* | --incl=* | --inc=*)
1426 -infodir | --infodir | --infodi | --infod | --info | --inf)
1428 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1431 -libdir | --libdir | --libdi | --libd)
1433 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1436 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1437 | --libexe | --libex | --libe)
1439 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1440 | --libexe=* | --libex=* | --libe=*)
1443 -localedir | --localedir | --localedi | --localed | --locale)
1445 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1448 -localstatedir | --localstatedir | --localstatedi | --localstated \
1449 | --localstate | --localstat | --localsta | --localst | --locals)
1451 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1452 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1455 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1457 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1460 -nfp | --nfp | --nf)
1461 # Obsolete; use --without-fp.
1462 with_fp=no ;;
1464 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1465 | --no-cr | --no-c | -n)
1468 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1469 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1472 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1473 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1474 | --oldin | --oldi | --old | --ol | --o)
1476 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1477 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1478 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1481 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1483 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1486 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1487 | --program-pre | --program-pr | --program-p)
1489 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1490 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1493 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1494 | --program-suf | --program-su | --program-s)
1496 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1497 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1500 -program-transform-name | --program-transform-name \
1501 | --program-transform-nam | --program-transform-na \
1502 | --program-transform-n | --program-transform- \
1503 | --program-transform | --program-transfor \
1504 | --program-transfo | --program-transf \
1505 | --program-trans | --program-tran \
1506 | --progr-tra | --program-tr | --program-t)
1508 -program-transform-name=* | --program-transform-name=* \
1509 | --program-transform-nam=* | --program-transform-na=* \
1510 | --program-transform-n=* | --program-transform-=* \
1511 | --program-transform=* | --program-transfor=* \
1512 | --program-transfo=* | --program-transf=* \
1513 | --program-trans=* | --program-tran=* \
1514 | --progr-tra=* | --program-tr=* | --program-t=*)
1517 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1519 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1522 -psdir | --psdir | --psdi | --psd | --ps)
1524 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1531 -runstatedir | --runstatedir | --runstatedi | --runstated \
1532 | --runstate | --runstat | --runsta | --runst | --runs \
1533 | --run | --ru | --r)
1535 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1536 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1537 | --run=* | --ru=* | --r=*)
1540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1543 | --sbi=* | --sb=*)
1546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1548 | --sharedst | --shareds | --shared | --share | --shar \
1549 | --sha | --sh)
1551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1554 | --sha=* | --sh=*)
1557 -site | --site | --sit)
1559 -site=* | --site=* | --sit=*)
1562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1568 | --syscon | --sysco | --sysc | --sys | --sy)
1570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1574 -target | --target | --targe | --targ | --tar | --ta | --t)
1576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1582 -version | --version | --versio | --versi | --vers | -V)
1585 -with-* | --with-*)
1586 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1588 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1591 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1596 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1601 -without-* | --without-*)
1602 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1604 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1607 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1612 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1615 eval with_$ac_useropt=no ;;
1617 --x)
1618 # Obsolete; use --with-x.
1621 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1622 | --x-incl | --x-inc | --x-in | --x-i)
1624 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1625 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1628 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1629 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1631 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1632 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1635 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1636 Try \`$0 --help' for more information"
1643 '' | [0-9]* | *[!_$as_cr_alnum]* )
1651 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1652 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1660 if test -n "$ac_prev"; then
1661 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1665 if test -n "$ac_unrecognized_opts"; then
1667 no) ;;
1673 # Check all directory arguments for consistency.
1674 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1691 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1695 # used to hold the argument of --host etc.
1711 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1716 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1717 ac_ls_di=`ls -di .` &&
1718 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1725 if test -z "$srcdir"; then
1728 ac_confdir=`$as_dirname -- "$as_myself" ||
1752 if test ! -r "$srcdir/$ac_unique_file"; then
1756 ac_srcdir_defaulted=no
1758 if test ! -r "$srcdir/$ac_unique_file"; then
1764 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1772 # mess up M-x gdb in Emacs.
1776 for ac_var in $ac_precious_vars; do
1784 # Report the --help message.
1790 \`configure' configures curl - to adapt to many kinds of systems.
1795 VAR=VALUE. See below for descriptions of some of the useful variables.
1797 Defaults for the options are specified in brackets.
1800 -h, --help display this help and exit
1801 --help=short display options specific to this package
1802 --help=recursive display the short help of all the included packages
1803 -V, --version display version information and exit
1804 -q, --quiet, --silent do not print \`checking ...' messages
1805 --cache-file=FILE cache test results in FILE [disabled]
1806 -C, --config-cache alias for \`--cache-file=config.cache'
1807 -n, --no-create do not create output files
1808 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1811 --prefix=PREFIX install architecture-independent files in PREFIX
1813 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1818 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1819 for instance \`--prefix=\$HOME'.
1821 For better control, use the options below.
1824 --bindir=DIR user executables [EPREFIX/bin]
1825 --sbindir=DIR system admin executables [EPREFIX/sbin]
1826 --libexecdir=DIR program executables [EPREFIX/libexec]
1827 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1828 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1829 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1830 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1831 --libdir=DIR object code libraries [EPREFIX/lib]
1832 --includedir=DIR C header files [PREFIX/include]
1833 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1834 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1835 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1836 --infodir=DIR info documentation [DATAROOTDIR/info]
1837 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1838 --mandir=DIR man documentation [DATAROOTDIR/man]
1839 --docdir=DIR documentation root [DATAROOTDIR/doc/curl]
1840 --htmldir=DIR html documentation [DOCDIR]
1841 --dvidir=DIR dvi documentation [DOCDIR]
1842 --pdfdir=DIR pdf documentation [DOCDIR]
1843 --psdir=DIR ps documentation [DOCDIR]
1849 --program-prefix=PREFIX prepend PREFIX to installed program names
1850 --program-suffix=SUFFIX append SUFFIX to installed program names
1851 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1854 --build=BUILD configure for building on BUILD [guessed]
1855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1859 if test -n "$ac_init_help"; then
1861 short | recursive ) echo "Configuration of curl -:";;
1866 --disable-option-checking ignore unrecognized --enable/--with options
1867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1869 --enable-maintainer-mode
1872 --enable-silent-rules less verbose build output (undo: "make V=1")
1873 --disable-silent-rules verbose build output (undo: "make V=0")
1874 --enable-debug Enable debug build options
1875 --disable-debug Disable debug build options
1876 --enable-optimize Enable compiler optimizations
1877 --disable-optimize Disable compiler optimizations
1878 --enable-warnings Enable strict compiler warnings
1879 --disable-warnings Disable strict compiler warnings
1880 --enable-werror Enable compiler warnings as errors
1881 --disable-werror Disable compiler warnings as errors
1882 --enable-curldebug Enable curl debug memory tracking
1883 --disable-curldebug Disable curl debug memory tracking
1884 --enable-symbol-hiding Enable hiding of library internal symbols
1885 --disable-symbol-hiding Disable hiding of library internal symbols
1886 --enable-hidden-symbols To be deprecated, use --enable-symbol-hiding
1887 --disable-hidden-symbols
1888 To be deprecated, use --disable-symbol-hiding
1889 --enable-ares[=PATH] Enable c-ares for DNS lookups
1890 --disable-ares Disable c-ares for DNS lookups
1891 --disable-rt disable dependency on -lrt
1892 --enable-ech Enable ECH support
1893 --disable-ech Disable ECH support
1894 --enable-code-coverage Provide code coverage
1895 --enable-dependency-tracking
1897 --disable-dependency-tracking
1898 speeds up one-time build
1899 --disable-largefile omit support for large files
1900 --enable-shared[=PKGS] build shared libraries [default=yes]
1901 --enable-static[=PKGS] build static libraries [default=yes]
1902 --enable-fast-install[=PKGS]
1903 optimize for fast installation [default=yes]
1904 --disable-libtool-lock avoid locking (might break parallel builds)
1905 --enable-http Enable HTTP support
1906 --disable-http Disable HTTP support
1907 --enable-ftp Enable FTP support
1908 --disable-ftp Disable FTP support
1909 --enable-file Enable FILE support
1910 --disable-file Disable FILE support
1911 --enable-ldap Enable LDAP support
1912 --disable-ldap Disable LDAP support
1913 --enable-ldaps Enable LDAPS support
1914 --disable-ldaps Disable LDAPS support
1915 --enable-rtsp Enable RTSP support
1916 --disable-rtsp Disable RTSP support
1917 --enable-proxy Enable proxy support
1918 --disable-proxy Disable proxy support
1919 --enable-dict Enable DICT support
1920 --disable-dict Disable DICT support
1921 --enable-telnet Enable TELNET support
1922 --disable-telnet Disable TELNET support
1923 --enable-tftp Enable TFTP support
1924 --disable-tftp Disable TFTP support
1925 --enable-pop3 Enable POP3 support
1926 --disable-pop3 Disable POP3 support
1927 --enable-imap Enable IMAP support
1928 --disable-imap Disable IMAP support
1929 --enable-smb Enable SMB/CIFS support
1930 --disable-smb Disable SMB/CIFS support
1931 --enable-smtp Enable SMTP support
1932 --disable-smtp Disable SMTP support
1933 --enable-gopher Enable Gopher support
1934 --disable-gopher Disable Gopher support
1935 --enable-mqtt Enable MQTT support
1936 --disable-mqtt Disable MQTT support
1937 --enable-manual Enable built-in manual
1938 --disable-manual Disable built-in manual
1939 --enable-libcurl-option Enable --libcurl C code generation support
1940 --disable-libcurl-option
1941 Disable --libcurl C code generation support
1942 --enable-libgcc use libgcc when linking
1943 --enable-ipv6 Enable IPv6 (with IPv4) support
1944 --disable-ipv6 Disable IPv6 support
1945 --enable-openssl-auto-load-config
1947 --disable-openssl-auto-load-config
1949 --enable-versioned-symbols
1951 --disable-versioned-symbols
1953 --enable-threaded-resolver
1955 --disable-threaded-resolver
1957 --enable-pthreads Enable POSIX threads (default for threaded resolver)
1958 --disable-pthreads Disable POSIX threads
1959 --enable-verbose Enable verbose strings
1960 --disable-verbose Disable verbose strings
1961 --enable-sspi Enable SSPI
1962 --disable-sspi Disable SSPI
1963 --enable-crypto-auth Enable cryptographic authentication
1964 --disable-crypto-auth Disable cryptographic authentication
1965 --enable-ntlm-wb[=FILE] Enable NTLM delegation to winbind's ntlm_auth
1968 --disable-ntlm-wb Disable NTLM delegation to winbind's ntlm_auth
1970 --enable-tls-srp Enable TLS-SRP authentication
1971 --disable-tls-srp Disable TLS-SRP authentication
1972 --enable-unix-sockets Enable Unix domain sockets
1973 --disable-unix-sockets Disable Unix domain sockets
1974 --enable-cookies Enable cookies support
1975 --disable-cookies Disable cookies support
1976 --enable-socketpair Enable socketpair support
1977 --disable-socketpair Disable socketpair support
1978 --enable-http-auth Enable HTTP authentication support
1979 --disable-http-auth Disable HTTP authentication support
1980 --enable-doh Enable DoH support
1981 --disable-doh Disable DoH support
1982 --enable-mime Enable mime API support
1983 --disable-mime Disable mime API support
1984 --enable-dateparse Enable date parsing
1985 --disable-dateparse Disable date parsing
1986 --enable-netrc Enable netrc parsing
1987 --disable-netrc Disable netrc parsing
1988 --enable-progress-meter Enable progress-meter
1989 --disable-progress-meter
1990 Disable progress-meter
1991 --enable-dnsshuffle Enable DNS shuffling
1992 --disable-dnsshuffle Disable DNS shuffling
1993 --enable-get-easy-options
1995 --disable-get-easy-options
1997 --enable-alt-svc Enable alt-svc support
1998 --disable-alt-svc Disable alt-svc support
2001 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2002 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2003 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2005 --with-aix-soname=aix|svr4|both
2008 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2009 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2011 --with-zlib=PATH search for zlib in PATH
2012 --without-zlib disable use of zlib
2013 --with-brotli=PATH Where to look for brotli, PATH points to the BROTLI
2016 --without-brotli disable BROTLI
2017 --with-zstd=PATH Where to look for libzstd, PATH points to the
2021 --without-zstd disable libzstd
2022 --with-ldap-lib=libname Specify name of ldap lib file
2023 --with-lber-lib=libname Specify name of lber lib file
2024 --with-gssapi-includes=DIR
2025 Specify location of GSS-API headers
2026 --with-gssapi-libs=DIR Specify location of GSS-API libs
2027 --with-gssapi=DIR Where to look for GSS-API
2028 --with-default-ssl-backend=NAME
2030 --without-default-ssl-backend
2032 --with-winssl enable Windows native SSL/TLS
2033 --without-winssl disable Windows native SSL/TLS
2034 --with-schannel enable Windows native SSL/TLS
2035 --without-schannel disable Windows native SSL/TLS
2036 --with-darwinssl enable Apple OS native SSL/TLS
2037 --without-darwinssl disable Apple OS native SSL/TLS
2038 --with-secure-transport enable Apple OS native SSL/TLS
2039 --without-secure-transport
2041 --with-amissl enable Amiga native SSL/TLS (AmiSSL)
2042 --without-amissl disable Amiga native SSL/TLS (AmiSSL)
2043 --with-ssl=PATH Where to look for OpenSSL, PATH points to the SSL
2047 --without-ssl disable OpenSSL
2048 --with-egd-socket=FILE Entropy Gathering Daemon socket pathname
2049 --with-random=FILE read randomness from FILE (default=/dev/urandom)
2050 --with-gnutls=PATH where to look for GnuTLS, PATH points to the
2052 --without-gnutls disable GnuTLS detection
2053 --with-mbedtls=PATH where to look for mbedTLS, PATH points to the
2055 --without-mbedtls disable mbedTLS detection
2056 --with-wolfssl=PATH where to look for WolfSSL, PATH points to the
2058 --without-wolfssl disable WolfSSL detection
2059 --with-mesalink=PATH where to look for MesaLink, PATH points to the
2061 --without-mesalink disable MesaLink detection
2062 --with-bearssl=PATH where to look for BearSSL, PATH points to the
2064 --without-bearssl disable BearSSL detection
2065 --with-nss=PATH where to look for NSS, PATH points to the
2067 --without-nss disable NSS detection
2068 --with-ca-bundle=FILE Path to a file containing CA certificates (example:
2069 /etc/ca-bundle.crt)
2070 --without-ca-bundle Don't use a default CA bundle
2071 --with-ca-path=DIRECTORY
2076 c_rehash for details. (example: /etc/certificates)
2077 --without-ca-path Don't use a default CA path
2078 --with-ca-fallback Use the built in CA store of the SSL library
2079 --without-ca-fallback Don't use the built in CA store of the SSL library
2080 --without-libpsl disable support for libpsl cookie checking
2081 --with-libmetalink=PATH where to look for libmetalink, PATH points to the
2083 --without-libmetalink disable libmetalink detection
2084 --with-libssh2=PATH Where to look for libssh2, PATH points to the
2088 --with-libssh2 enable libssh2
2089 --with-libssh=PATH Where to look for libssh, PATH points to the libssh
2092 --with-libssh enable libssh
2093 --with-wolfssh=PATH Where to look for wolfssh, PATH points to the
2097 --with-wolfssh enable wolfssh
2098 --with-librtmp=PATH Where to look for librtmp, PATH points to the
2102 --without-librtmp disable LIBRTMP
2103 --with-winidn=PATH enable Windows native IDN
2104 --without-winidn disable Windows native IDN
2105 --with-libidn2=PATH Enable libidn2 usage
2106 --without-libidn2 Disable libidn2 usage
2107 --with-nghttp2=PATH Enable nghttp2 usage
2108 --without-nghttp2 Disable nghttp2 usage
2109 --with-ngtcp2=PATH Enable ngtcp2 usage
2110 --without-ngtcp2 Disable ngtcp2 usage
2111 --with-nghttp3=PATH Enable nghttp3 usage
2112 --without-nghttp3 Disable nghttp3 usage
2113 --with-quiche=PATH Enable quiche usage
2114 --without-quiche Disable quiche usage
2115 --with-zsh-functions-dir=PATH
2117 --without-zsh-functions-dir
2119 --with-fish-functions-dir=PATH
2121 --without-fish-functions-dir
2127 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2129 LIBS libraries to pass to the linker, e.g. -l<library>
2130 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2132 CPP C preprocessor
2134 User-defined run-time library search path.
2145 # If there are subdirs, report their specific --help.
2146 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2147 test -d "$ac_dir" ||
2148 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2156 # A ".." for each directory in $ac_dir_suffix.
2165 # for backward compatibility:
2185 # Check for guested configure.
2186 if test -f "$ac_srcdir/configure.gnu"; then
2188 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2189 elif test -f "$ac_srcdir/configure"; then
2191 $SHELL "$ac_srcdir/configure" --help=recursive
2193 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2199 test -n "$ac_init_help" && exit $ac_status
2202 curl configure -
2209 Copyright (c) 1998 - 2020 Daniel Stenberg, <daniel@haxx.se>
2211 terms of the curl license; see COPYING for more details
2216 ## ------------------------ ##
2218 ## ------------------------ ##
2221 # --------------------------
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 rm -f conftest.$ac_objext
2232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2236 if test -s conftest.err; then
2237 grep -v '^ *+' conftest.err >conftest.er1
2239 mv -f conftest.er1 conftest.err
2241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2243 test -z "$ac_c_werror_flag" ||
2244 test ! -s conftest.err
2245 } && test -s conftest.$ac_objext; then :
2259 # ----------------------
2263 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2273 if test -s conftest.err; then
2274 grep -v '^ *+' conftest.err >conftest.er1
2276 mv -f conftest.er1 conftest.err
2278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2280 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2281 test ! -s conftest.err
2296 # -----------------------
2300 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2301 rm -f conftest.$ac_objext conftest$ac_exeext
2307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2311 if test -s conftest.err; then
2312 grep -v '^ *+' conftest.err >conftest.er1
2314 mv -f conftest.er1 conftest.err
2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2318 test -z "$ac_c_werror_flag" ||
2319 test ! -s conftest.err
2320 } && test -s conftest$ac_exeext && {
2322 test -x conftest$ac_exeext
2335 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2342 # -------------------------------------------------------
2347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2349 $as_echo_n "checking for $2... " >&6; }
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 eval "$3=no"
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2373 # ----------------------
2378 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2408 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2415 # ----------------------------------
2419 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2421 $as_echo_n "checking for $2... " >&6; }
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2453 eval "$3=no"
2455 rm -f core conftest.err conftest.$ac_objext \
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2466 # -------------------------------------------------------
2472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2475 $as_echo_n "checking for $2... " >&6; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2494 ac_header_compiler=no
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2510 ac_header_preproc=no
2512 rm -f conftest.err conftest.i conftest.$ac_ext
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2518 yes:no: )
2519 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2524 no:yes:* )
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2527 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
2528 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2531 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2535 ( $as_echo "## ----------------------------------------------------------------------- ##
2537 ## ----------------------------------------------------------------------- ##"
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2542 $as_echo_n "checking for $2... " >&6; }
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2557 # -------------------------------------------
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2568 eval "$3=no"
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2609 # ---------------------------------------------
2614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2616 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642 eval "$3=no"
2644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2654 # ----------------------------------------------------
2659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2661 $as_echo_n "checking for $2.$3... " >&6; }
2665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695 eval "$4=no"
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2707 cat >config.log <<_ACEOF
2711 It was created by curl $as_me -, which was
2717 exec 5>>config.log
2720 ## --------- ##
2722 ## --------- ##
2724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2731 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2734 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2744 for as_dir in $PATH
2747 test -z "$as_dir" && as_dir=.
2757 ## ----------- ##
2759 ## ----------- ##
2765 # Strip out --no-create and --no-recursion so they do not pile up.
2766 # Strip out --silent because we don't want to record it for future runs.
2767 # Also quote any args containing shell meta-characters.
2768 # Make two passes to allow for proper duplicate-argument suppression.
2773 for ac_pass in 1 2
2775 for ac_arg
2778 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2779 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2780 | -silent | --silent | --silen | --sile | --sil)
2793 *=* | --config-cache | -C | -disable-* | --disable-* \
2794 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2795 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2796 | -with-* | --with-* | -without-* | --without-* | --x)
2801 -* ) ac_must_keep_next=true ;;
2813 # config.log. We remove comments because anyway the quotes in there
2818 # Save into config.log some information that might help in debugging.
2822 $as_echo "## ---------------- ##
2824 ## ---------------- ##"
2828 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2833 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2846 sed -n \
2851 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2858 $as_echo "## ----------------- ##
2860 ## ----------------- ##"
2862 for ac_var in $ac_subst_vars
2872 if test -n "$ac_subst_files"; then
2873 $as_echo "## ------------------- ##
2875 ## ------------------- ##"
2877 for ac_var in $ac_subst_files
2888 if test -s confdefs.h; then
2889 $as_echo "## ----------- ##
2891 ## ----------- ##"
2900 rm -f core *.core core.conftest.* &&
2901 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2904 for ac_signal in 1 2 13 15; do
2910 rm -f -r conftest* confdefs.h
2945 if test -n "$CONFIG_SITE"; then
2946 # We do not want a PATH search for config.site.
2948 -*) ac_site_file1=./$CONFIG_SITE;;
2953 ac_site_file1=$prefix/share/config.site
2954 ac_site_file2=$prefix/etc/config.site
2956 ac_site_file1=$ac_default_prefix/share/config.site
2957 ac_site_file2=$ac_default_prefix/etc/config.site
2959 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2962 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2967 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970 See \`config.log' for more details" "$LINENO" 5; }
2974 if test -r "$cache_file"; then
2977 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2994 for ac_var in $ac_precious_vars; do
3001 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
3005 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3015 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3019 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3029 # Pass precious variables to config.status.
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3044 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
3048 ## -------------------- ##
3050 ## -------------------- ##
3053 ac_cpp='$CPP $CPPFLAGS'
3054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064 # using curl-override.m4
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of…
3075 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3076 # Check whether --enable-maintainer-mode was given.
3080 USE_MAINTAINER_MODE=no
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3096 # Check whether --enable-silent-rules was given.
3103 no) AM_DEFAULT_VERBOSITY=1;;
3106 am_make=${MAKE-make}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3118 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3121 am_cv_make_support_nested_variables=no
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
3140 # Check whether --enable-debug was given.
3146 no)
3147 want_debug="no"
3150 want_debug="no"
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
3166 # Check whether --enable-optimize was given.
3172 no)
3173 want_optimize="no"
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175 $as_echo "no" >&6; }
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
3181 $as_echo "(assumed) no" >&6; }
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3196 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings" >&5
3199 # Check whether --enable-warnings was given.
3205 no)
3206 want_warnings="no"
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
3219 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as errors" >…
3222 # Check whether --enable-werror was given.
3228 no)
3229 want_werror="no"
3232 want_werror="no"
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
3242 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory tracking" >&5
3245 # Check whether --enable-curldebug was given.
3251 no)
3252 want_curldebug="no"
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254 $as_echo "no" >&6; }
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library internal sym…
3284 # Check whether --enable-symbol-hiding was given.
3289 # Check whether --enable-hidden-symbols was given.
3295 no)
3296 want_symbol_hiding="no"
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >&5
3314 $as_echo_n "checking whether to enable c-ares for DNS lookups... " >&6; }
3316 # Check whether --enable-ares was given.
3322 no)
3323 want_ares="no"
3326 want_ares="no"
3330 if test -n "$enableval" && test "$enableval" != "yes"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
3340 $as_echo_n "checking whether to disable dependency on -lrt... " >&6; }
3342 # Check whether --enable-rt was given.
3348 no)
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3354 dontwant_rt="no"
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
3356 $as_echo "(assumed no)" >&6; }
3359 dontwant_rt="no"
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361 $as_echo "no" >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ECH support" >&5
3369 # Check whether --enable-ech was given.
3375 no)
3376 want_ech="no"
3377 curl_ech_msg="no (--enable-ech)"
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379 $as_echo "no" >&6; }
3382 want_ech="no"
3383 curl_ech_msg="no (--enable-ech)"
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 curl_ech_msg="enabled (--disable-ech)"
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401 if test -z "$xc_configure_preamble_result"; then
3409 if test -z "$xc_PATH_SEPARATOR"; then
3412 if test -z "$PATH_SEPARATOR"; then
3413 as_fn_error $? "PATH_SEPARATOR not set (internal or config.site problem)" "$LINENO" 5
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
3416 $as_echo_n "checking for path separator... " >&6; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
3421 $as_echo_n "checking for initial path separator... " >&6; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
3424 as_fn_error $? "path separator mismatch (internal or config.site problem)" "$LINENO" 5
3434 if test -z "$SED"; then
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3449 for as_dir in $as_dummy
3452 test -z "$as_dir" && as_dir=.
3453 for ac_exec_ext in '' $ac_executable_extensions; do
3456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
3468 if test -n "$SED"; then
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473 $as_echo "no" >&6; }
3477 if test -z "$SED" || test "$SED" = "not_found"; then
3483 if test -z "$GREP"; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3487 $as_echo_n "checking for $ac_word... " >&6; }
3498 for as_dir in $as_dummy
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
3517 if test -n "$GREP"; then
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3522 $as_echo "no" >&6; }
3526 if test -z "$GREP" || test "$GREP" = "not_found"; then
3532 if test -z "$EGREP"; then
3533 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3535 $as_echo_n "checking for egrep... " >&6; }
3536 EGREP="$GREP -E"
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3554 for as_dir in $as_dummy
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
3573 if test -n "$EGREP"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3584 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
3589 if test -z "$AR"; then
3590 if test -n "$ac_tool_prefix"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3605 for as_dir in $as_dummy
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 if test -n "$AR"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3633 if test -z "$ac_cv_path_AR"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3649 for as_dir in $as_dummy
3652 test -z "$as_dir" && as_dir=.
3653 for ac_exec_ext in '' $ac_executable_extensions; do
3656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 if test -n "$ac_pt_AR"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3690 if test -z "$AR" || test "$AR" = "not_found"; then
3698 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
3708 xc_bad_var_libs=no
3709 for xc_word in $LIBS; do
3711 -l* | --library=*)
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
3722 …{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libraries …
3723 $as_echo "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
3727 xc_bad_var_ldflags=no
3728 for xc_word in $LDFLAGS; do
3730 -D*)
3733 -U*)
3736 -I*)
3739 -l* | --library=*)
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
3748 for xc_word in $LDFLAGS; do
3750 -D*)
3751 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
3752 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
3754 -U*)
3755 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
3756 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
3758 -I*)
3759 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
3760 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
3762 -l* | --library=*)
3763 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
3764 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
3771 xc_bad_var_cppflags=no
3772 for xc_word in $CPPFLAGS; do
3774 -rpath*)
3777 -L* | --library-path=*)
3780 -l* | --library=*)
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
3789 for xc_word in $CPPFLAGS; do
3791 -rpath*)
3792 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
3793 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
3795 -L* | --library-path=*)
3796 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
3797 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
3799 -l* | --library=*)
3800 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
3801 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
3808 xc_bad_var_cflags=no
3809 for xc_word in $CFLAGS; do
3811 -D*)
3814 -U*)
3817 -I*)
3820 -rpath*)
3823 -L* | --library-path=*)
3826 -l* | --library=*)
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
3835 for xc_word in $CFLAGS; do
3837 -D*)
3838 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
3839 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
3841 -U*)
3842 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
3843 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
3845 -I*)
3846 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
3847 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
3849 -rpath*)
3850 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
3851 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
3853 -L* | --library-path=*)
3854 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
3855 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
3857 -l* | --library=*)
3858 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
3859 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
3869 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immediatel…
3874 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3875 if test -f "$ac_dir/install-sh"; then
3877 ac_install_sh="$ac_aux_dir/install-sh -c"
3879 elif test -f "$ac_dir/install.sh"; then
3881 ac_install_sh="$ac_aux_dir/install.sh -c"
3883 elif test -f "$ac_dir/shtool"; then
3885 ac_install_sh="$ac_aux_dir/shtool install -c"
3889 if test -z "$ac_aux_dir"; then
3890 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
3897 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3898 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3910 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3917 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3918 if test -z "$INSTALL"; then
3923 for as_dir in $PATH
3926 test -z "$as_dir" && as_dir=.
3927 # Account for people who put trailing slashes in PATH elements.
3934 # OSF1 and SCO ODT 3.0 have their own names for install.
3937 for ac_prog in ginstall scoinst install; do
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3946 # program-specific install script used by HP pwplus--don't use.
3949 rm -rf conftest.one conftest.two conftest.dir
3953 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3954 test -s conftest.one && test -s conftest.two &&
3955 test -s conftest.dir/conftest.one &&
3956 test -s conftest.dir/conftest.two
3958 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3971 rm -rf conftest.one conftest.two conftest.dir
3978 # value for INSTALL within a source directory, because that will
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3987 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3989 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3991 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3993 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3999 ac_cpp='$CPP $CPPFLAGS'
4000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4003 if test -n "$ac_tool_prefix"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4007 $as_echo_n "checking for $ac_word... " >&6; }
4011 if test -n "$CC"; then
4015 for as_dir in $PATH
4018 test -z "$as_dir" && as_dir=.
4019 for ac_exec_ext in '' $ac_executable_extensions; do
4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 if test -n "$CC"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4042 if test -z "$ac_cv_prog_CC"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4047 $as_echo_n "checking for $ac_word... " >&6; }
4051 if test -n "$ac_ct_CC"; then
4055 for as_dir in $PATH
4058 test -z "$as_dir" && as_dir=.
4059 for ac_exec_ext in '' $ac_executable_extensions; do
4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4072 if test -n "$ac_ct_CC"; then
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4077 $as_echo "no" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4095 if test -z "$CC"; then
4096 if test -n "$ac_tool_prefix"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 $as_echo_n "checking for $ac_word... " >&6; }
4104 if test -n "$CC"; then
4108 for as_dir in $PATH
4111 test -z "$as_dir" && as_dir=.
4112 for ac_exec_ext in '' $ac_executable_extensions; do
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4136 if test -z "$CC"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4144 if test -n "$CC"; then
4147 ac_prog_rejected=no
4149 for as_dir in $PATH
4152 test -z "$as_dir" && as_dir=.
4153 for ac_exec_ext in '' $ac_executable_extensions; do
4160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 if test -n "$CC"; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187 $as_echo "no" >&6; }
4192 if test -z "$CC"; then
4193 if test -n "$ac_tool_prefix"; then
4194 for ac_prog in cl.exe
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4199 $as_echo_n "checking for $ac_word... " >&6; }
4203 if test -n "$CC"; then
4207 for as_dir in $PATH
4210 test -z "$as_dir" && as_dir=.
4211 for ac_exec_ext in '' $ac_executable_extensions; do
4214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 if test -n "$CC"; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4233 test -n "$CC" && break
4236 if test -z "$CC"; then
4238 for ac_prog in cl.exe
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4243 $as_echo_n "checking for $ac_word... " >&6; }
4247 if test -n "$ac_ct_CC"; then
4251 for as_dir in $PATH
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 if test -n "$ac_ct_CC"; then
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4273 $as_echo "no" >&6; }
4277 test -n "$ac_ct_CC" && break
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4296 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4298 as_fn_error $? "no acceptable C compiler found in \$PATH
4299 See \`config.log' for more details" "$LINENO" 5; }
4302 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4305 for ac_option in --version -v -V -qversion; do
4311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4315 if test -s conftest.err; then
4321 rm -f conftest.er1 conftest.err
4322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 # Try to create an executable without -o first, disregard a.out.
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4343 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4349 for ac_file in $ac_files
4356 rm -f $ac_rmfiles
4363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4370 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4372 # so that the user can short-circuit this test for compilers unknown to
4374 for ac_file in $ac_files ''
4376 test -f "$ac_file" || continue
4385 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4389 # We set ac_cv_exeext here because the later test for it is not
4390 # safe: cross compilers may not add the suffix if given an `-o'
4399 test "$ac_cv_exeext" = no && ac_cv_exeext=
4404 if test -z "$ac_file"; then :
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4413 See \`config.log' for more details" "$LINENO" 5; }
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4419 $as_echo_n "checking for C compiler default output file name... " >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4424 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4427 $as_echo_n "checking for suffix of executables... " >&6; }
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4440 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4443 for ac_file in conftest.exe conftest conftest.*; do
4444 test -f "$ac_file" || continue
4453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 See \`config.log' for more details" "$LINENO" 5; }
4458 rm -f conftest conftest$ac_cv_exeext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4462 rm -f conftest.$ac_ext
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4505 cross_compiling=no
4510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4513 If you meant to cross compile, use \`--host'.
4514 See \`config.log' for more details" "$LINENO" 5; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4521 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4524 $as_echo_n "checking for suffix of object files... " >&6; }
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538 rm -f conftest.o conftest.obj
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4550 for ac_file in conftest.o conftest.obj conftest.*; do
4551 test -f "$ac_file" || continue;
4562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4565 See \`config.log' for more details" "$LINENO" 5; }
4567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 ac_compiler_gnu=no
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4610 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4616 ac_cv_prog_cc_g=no
4617 CFLAGS="-g"
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 CFLAGS="-g"
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4673 CFLAGS="-g -O2"
4675 CFLAGS="-g"
4679 CFLAGS="-O2"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4685 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4689 ac_cv_prog_cc_c89=no
4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4718 as 'x'. The following induces an error, until -std is added to get
4719 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4721 that's true only with -std. */
4722 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4724 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4727 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4742 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4743 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4749 rm -f core conftest.err conftest.$ac_objext
4752 rm -f conftest.$ac_ext
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4774 ac_cpp='$CPP $CPPFLAGS'
4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4780 ac_cpp='$CPP $CPPFLAGS'
4781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4785 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4801 # compilers refuse to overwrite an existing .o file with -o,
4804 for am_i in 1 2; do
4805 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4806 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4810 && test -f conftest2.$ac_objext; then
4813 am_cv_prog_cc_c_o=no
4817 rm -f core conftest*
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4826 # A longer-term fix would be to have automake use am__CC in this case,
4831 ac_cpp='$CPP $CPPFLAGS'
4832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4839 ac_cpp='$CPP $CPPFLAGS'
4840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4845 # On Suns, sometimes $CPP names a directory.
4846 if test -n "$CPP" && test -d "$CPP"; then
4847 CPP=
4849 if test -z "$CPP"; then
4853 # Double quotes because CPP needs to be expanded
4854 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4857 for ac_c_preproc_warn_flag in '' yes
4860 # with a fresh cross-compiler works.
4863 # On the NeXT, cc -E runs the code through the compiler's parser,
4864 # not just through cpp. "Syntax error" is here to catch this case.
4865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 rm -f conftest.err conftest.i conftest.$ac_ext
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 rm -f conftest.err conftest.i conftest.$ac_ext
4900 rm -f conftest.i conftest.err conftest.$ac_ext
4906 ac_cv_prog_CPP=$CPP
4909 CPP=$ac_cv_prog_CPP
4911 ac_cv_prog_CPP=$CPP
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4914 $as_echo "$CPP" >&6; }
4916 for ac_c_preproc_warn_flag in '' yes
4919 # with a fresh cross-compiler works.
4922 # On the NeXT, cc -E runs the code through the compiler's parser,
4923 # not just through cpp. "Syntax error" is here to catch this case.
4924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4939 rm -f conftest.err conftest.i conftest.$ac_ext
4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 rm -f conftest.err conftest.i conftest.$ac_ext
4959 rm -f conftest.i conftest.err conftest.$ac_ext
4963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4965 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4966 See \`config.log' for more details" "$LINENO" 5; }
4970 ac_cpp='$CPP $CPPFLAGS'
4971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4988 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4993 for ac_i in 1 2 3 4 5 6 7; do
4998 if test -z "$SED"; then
5000 # Loop through the user's path and test for each of PROGNAME-LIST
5002 for as_dir in $PATH
5005 test -z "$as_dir" && as_dir=.
5006 for ac_prog in sed gsed; do
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5010 # Check for GNU ac_path_SED and select it if it is found.
5011 # Check for GNU $ac_path_SED
5012 case `"$ac_path_SED" --version 2>&1` in
5024 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5027 if test $ac_count -gt ${ac_path_SED_max-0}; then
5028 # Best one so far, save it but keep looking for a better one
5033 test $ac_count -gt 10 && break
5035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5043 if test -z "$ac_cv_path_SED"; then
5044 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5054 rm -f conftest.sed
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
5060 $as_echo_n "checking for code coverage support... " >&6; }
5061 coverage="no"
5064 # Check whether --enable-code-coverage was given.
5071 coverage="no"
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
5079 if test -n "$ac_tool_prefix"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5087 if test -n "$GCOV"; then
5091 for as_dir in $PATH
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 if test -n "$GCOV"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_GCOV"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5127 if test -n "$ac_ct_GCOV"; then
5131 for as_dir in $PATH
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 if test -n "$ac_ct_GCOV"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5171 if test -z "$GCOV"; then
5172 as_fn_error $? "needs gcov for code coverage" "$LINENO" 5
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5181 if test -n "$LCOV"; then
5185 for as_dir in $PATH
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 if test -n "$LCOV"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 if test -z "$LCOV"; then
5212 as_fn_error $? "needs lcov for code coverage" "$LINENO" 5
5215 CPPFLAGS="$CPPFLAGS -DNDEBUG"
5216 CFLAGS="$CLAGS -O0 -g -fprofile-arcs -ftest-coverage"
5217 LIBS="$LIBS -lgcov"
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5239 # arguments. Must try -L first in case configure is actually a
5244 am_has_slept=no
5245 for am_try in 1 2; do
5247 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5249 # -L didn't work.
5250 set X `ls -t "$srcdir/configure" conftest.file`
5256 # if, for instance, CONFIG_SHELL is bash and it inherits a
5259 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
5262 if test "$2" = conftest.file || test $am_try -eq 2; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5280 # If we didn't sleep, we still need to ensure time stamps of config.status and
5283 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
5288 rm -f conftest.file
5309 if eval "$MISSING --is-lightweight"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5320 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
5322 install_sh="\${SHELL} $am_aux_dir/install-sh"
5327 # run "make install-strip". However 'strip' might not be the right
5328 # tool to use in cross-compilation environments, therefore Automake
5330 if test "$cross_compiling" != no; then
5331 if test -n "$ac_tool_prefix"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5335 $as_echo_n "checking for $ac_word... " >&6; }
5339 if test -n "$STRIP"; then
5343 for as_dir in $PATH
5346 test -z "$as_dir" && as_dir=.
5347 for ac_exec_ext in '' $ac_executable_extensions; do
5350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5360 if test -n "$STRIP"; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5370 if test -z "$ac_cv_prog_STRIP"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375 $as_echo_n "checking for $ac_word... " >&6; }
5379 if test -n "$ac_ct_STRIP"; then
5383 for as_dir in $PATH
5386 test -z "$as_dir" && as_dir=.
5387 for ac_exec_ext in '' $ac_executable_extensions; do
5390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5400 if test -n "$ac_ct_STRIP"; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405 $as_echo "no" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5424 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5427 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5428 if test -z "$MKDIR_P"; then
5433 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5436 test -z "$as_dir" && as_dir=.
5437 for ac_prog in mkdir gmkdir; do
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5440 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5454 test -d ./--version && rmdir ./--version
5456 MKDIR_P="$ac_cv_path_mkdir -p"
5459 # value for MKDIR_P within a source directory, because that will
5462 MKDIR_P="$ac_install_sh -d"
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5468 for ac_prog in gawk mawk nawk awk
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test -n "$AWK"; then
5481 for as_dir in $PATH
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 if test -n "$AWK"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5507 test -n "$AWK" && break
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5511 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5512 set x ${MAKE-make}
5513 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5523 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5527 eval ac_cv_prog_make_${ac_make}_set=no;;
5529 rm -f conftest.make
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5538 SET_MAKE="MAKE=${MAKE-make}"
5541 rm -rf .tst 2>/dev/null
5543 if test -d .tst; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directi…
5555 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5567 _am_result=no
5568 for s in GNU BSD; do
5569 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5570 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5590 rm -f confinc.* confmf.*
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5594 # Check whether --enable-dependency-tracking was given.
5613 ## --------------------------------------- ##
5615 ## --------------------------------------- ##
5618 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5619 # is not polluted with repeated "-I."
5620 am__isrc=' -I$(srcdir)'
5622 if test -f $srcdir/config.status; then
5628 if test -z "$CYGPATH_W"; then
5629 if (cygpath --version) >/dev/null 2>/dev/null; then
5630 CYGPATH_W='cygpath -w'
5639 VERSION='-'
5653 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5656 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5659 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5662 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5665 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5667 # For better backward compatibility. To be removed once Automake 1.9.x
5668 # dies out for good. For more background, see:
5669 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5670 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5673 # We need awk for the "check" target (and possibly the TAP driver). The
5675 # Always define AMTAR for backward compatibility. Yes, it's still used
5676 # in the wild :-( We should find a proper way to deprecate it ...
5677 AMTAR='$${TAR-tar}'
5683 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5696 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5698 # making bogus files that we don't know about and never remove. For
5699 # instance it was reported that on HP-UX the gcc test will end up
5700 # making a dummy file named 'D' -- because '-MD' means "put the output
5702 rm -rf conftest.dir
5709 # it helps to detect inapplicable dependency modes. For instance
5710 # both Tru64's cc and ICC support -MD to output dependencies as a
5718 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5722 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5725 for depmode in $am_compiler_list; do
5730 # We need to recreate these files for each test, as the compiler may
5734 for i in 1 2 3 4 5 6; do
5742 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5744 # handle '-M -o', and we need to detect this. Also, some Intel
5746 am__obj=sub/conftest.${OBJEXT-o}
5747 am__minus_obj="-o $am__obj"
5754 # After this tag, mechanisms are not by side-effect, so they'll
5763 # This compiler won't grok '-c -o', but also, the minuso test has
5766 am__obj=conftest.${OBJEXT-o}
5774 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5779 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5781 # or remarks (even with -Werror). So we grep stderr for any message
5783 # When given -MP, icc 7.0 and 7.1 complain thusly:
5784 # icc: Command line warning: ignoring option '-M'; no argument required
5786 # icc: Command line remark: option '-MP' not supported
5796 rm -rf conftest.dir
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5818 # POSIX will say in a future version that running "rm -f" with no argument
5826 if rm -f && rm -fr && rm -rf; then : OK; else
5831 on the command line, even when the '-f' option is present. This is contrary
5835 Please tell bug-automake@gnu.org about your system, including the value
5853 to "yes", and re-run configure.
5860 ## ------------------------------------- ##
5862 ## ------------------------------------- ##
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
5872 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
5876 PKGADD_NAME="curl - a client that groks URLs"
5882 …curl_ssl_msg="no (--with-{ssl,gnutls,nss,mbedtls,wolfssl,schannel,secure-transport,mesalink,a…
5883 curl_ssh_msg="no (--with-{libssh,libssh2})"
5884 curl_zlib_msg="no (--with-zlib)"
5885 curl_brotli_msg="no (--with-brotli)"
5886 curl_zstd_msg="no (--with-zstd)"
5887 curl_gss_msg="no (--with-gssapi)"
5888 curl_tls_srp_msg="no (--enable-tls-srp)"
5889 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
5890 curl_ipv6_msg="no (--enable-ipv6)"
5891 curl_unix_sockets_msg="no (--enable-unix-sockets)"
5892 curl_idn_msg="no (--with-{libidn2,winidn})"
5893 curl_manual_msg="no (--enable-manual)"
5894 curl_libcurl_msg="enabled (--disable-libcurl-option)"
5895 curl_verbose_msg="enabled (--disable-verbose)"
5896 curl_sspi_msg="no (--enable-sspi)"
5897 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
5898 curl_ldaps_msg="no (--enable-ldaps)"
5899 curl_rtsp_msg="no (--enable-rtsp)"
5900 curl_rtmp_msg="no (--with-librtmp)"
5901 curl_mtlnk_msg="no (--with-libmetalink)"
5902 curl_psl_msg="no (--with-libpsl)"
5910 # Make sure we can run config.sub.
5911 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5912 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5921 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5924 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5925 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5931 *-*-*) ;;
5935 ac_save_IFS=$IFS; IFS='-'
5945 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5956 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5957 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5964 *-*-*) ;;
5968 ac_save_IFS=$IFS; IFS='-'
5978 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5994 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5998 if test -z "$GREP"; then
6000 # Loop through the user's path and test for each of PROGNAME-LIST
6002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6005 test -z "$as_dir" && as_dir=.
6006 for ac_prog in grep ggrep; do
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6010 # Check for GNU ac_path_GREP and select it if it is found.
6011 # Check for GNU $ac_path_GREP
6012 case `"$ac_path_GREP" --version 2>&1` in
6024 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
6027 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6028 # Best one so far, save it but keep looking for a better one
6033 test $ac_count -gt 10 && break
6035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6043 if test -z "$ac_cv_path_GREP"; then
6044 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6057 $as_echo_n "checking for egrep... " >&6; }
6061 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6062 then ac_cv_path_EGREP="$GREP -E"
6064 if test -z "$EGREP"; then
6066 # Loop through the user's path and test for each of PROGNAME-LIST
6068 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6071 test -z "$as_dir" && as_dir=.
6072 for ac_prog in egrep; do
6073 for ac_exec_ext in '' $ac_executable_extensions; do
6076 # Check for GNU ac_path_EGREP and select it if it is found.
6077 # Check for GNU $ac_path_EGREP
6078 case `"$ac_path_EGREP" --version 2>&1` in
6093 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6094 # Best one so far, save it but keep looking for a better one
6099 test $ac_count -gt 10 && break
6101 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6109 if test -z "$ac_cv_path_EGREP"; then
6110 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
6127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6146 $as_echo "no" >&6; }
6149 rm -f conftest*
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
6157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 tmp_thread_safe_initially_defined="no"
6189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6191 if test "$tmp_thread_safe_initially_defined" = "no"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
6197 tmp_need_thread_safe="no"
6203 tmp_need_thread_safe="no"
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6271 tmp_reentrant_initially_defined="no"
6274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 if test "$tmp_reentrant_initially_defined" = "no"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
6285 tmp_need_reentrant="no"
6289 if test "$tmp_need_reentrant" = "no"; then
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6314 tmp_errno="no"
6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 if test "$tmp_need_reentrant" = "no"; then
6381 if test "$tmp_need_reentrant" = "no"; then
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 tmp_gmtime_r="no"
6419 rm -f core conftest.err conftest.$ac_objext \
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 rm -f conftest*
6455 rm -f conftest*
6460 if test "$tmp_need_reentrant" = "no"; then
6462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6495 tmp_localtime_r="no"
6498 rm -f core conftest.err conftest.$ac_objext \
6501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6530 rm -f conftest*
6534 rm -f conftest*
6539 if test "$tmp_need_reentrant" = "no"; then
6541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6574 tmp_strerror_r="no"
6577 rm -f core conftest.err conftest.$ac_objext \
6580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6609 rm -f conftest*
6613 rm -f conftest*
6618 if test "$tmp_need_reentrant" = "no"; then
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6653 tmp_strtok_r="no"
6656 rm -f core conftest.err conftest.$ac_objext \
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 rm -f conftest*
6692 rm -f conftest*
6697 if test "$tmp_need_reentrant" = "no"; then
6699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 tmp_inet_ntoa_r="no"
6735 rm -f core conftest.err conftest.$ac_objext \
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 rm -f conftest*
6775 rm -f conftest*
6780 if test "$tmp_need_reentrant" = "no"; then
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 tmp_gethostbyaddr_r="no"
6818 rm -f core conftest.err conftest.$ac_objext \
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 rm -f conftest*
6854 rm -f conftest*
6859 if test "$tmp_need_reentrant" = "no"; then
6861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 tmp_gethostbyname_r="no"
6897 rm -f core conftest.err conftest.$ac_objext \
6900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6929 rm -f conftest*
6933 rm -f conftest*
6938 if test "$tmp_need_reentrant" = "no"; then
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 tmp_getprotobyname_r="no"
6976 rm -f core conftest.err conftest.$ac_objext \
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 rm -f conftest*
7012 rm -f conftest*
7017 if test "$tmp_need_reentrant" = "no"; then
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7052 tmp_getservbyport_r="no"
7055 rm -f core conftest.err conftest.$ac_objext \
7058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7087 rm -f conftest*
7091 rm -f conftest*
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103 $as_echo "no" >&6; }
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7125 $as_echo "no" >&6; }
7130 # Check whether --enable-largefile was given.
7135 if test "$enable_largefile" != no; then
7137 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large …
7138 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7142 ac_cv_sys_largefile_CC=no
7147 # so use the C compiler's -n32 option if that helps.
7148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7151 /* Check that off_t can represent 2**63 - 1 correctly.
7155 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7158 ? 1 : -1];
7169 rm -f core conftest.err conftest.$ac_objext
7170 CC="$CC -n32"
7172 ac_cv_sys_largefile_CC=' -n32'; break
7174 rm -f core conftest.err conftest.$ac_objext
7178 rm -f conftest.$ac_ext
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7183 if test "$ac_cv_sys_largefile_CC" != no; then
7187 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large fil…
7188 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* Check that off_t can represent 2**63 - 1 correctly.
7200 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7203 ? 1 : -1];
7212 ac_cv_sys_file_offset_bits=no; break
7214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* Check that off_t can represent 2**63 - 1 correctly.
7223 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7226 ? 1 : -1];
7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7245 no | unknown) ;;
7252 rm -rf conftest*
7254 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >…
7255 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7263 /* Check that off_t can represent 2**63 - 1 correctly.
7267 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7270 ? 1 : -1];
7279 ac_cv_sys_large_files=no; break
7281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7286 /* Check that off_t can represent 2**63 - 1 correctly.
7290 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7293 ? 1 : -1];
7304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7312 no | unknown) ;;
7319 rm -rf conftest*
7328 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`…
7352 # double-quoted strings.
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7375 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7376 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7377 ECHO='print -r --'
7392 # Invoke $ECHO with all args, space-separated.
7399 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7401 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7402 $as_echo "print -r" >&6; } ;;
7403 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7421 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7426 for ac_i in 1 2 3 4 5 6 7; do
7431 if test -z "$SED"; then
7433 # Loop through the user's path and test for each of PROGNAME-LIST
7435 for as_dir in $PATH
7438 test -z "$as_dir" && as_dir=.
7439 for ac_prog in sed gsed; do
7440 for ac_exec_ext in '' $ac_executable_extensions; do
7443 # Check for GNU ac_path_SED and select it if it is found.
7444 # Check for GNU $ac_path_SED
7445 case `"$ac_path_SED" --version 2>&1` in
7457 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7460 if test $ac_count -gt ${ac_path_SED_max-0}; then
7461 # Best one so far, save it but keep looking for a better one
7466 test $ac_count -gt 10 && break
7468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7476 if test -z "$ac_cv_path_SED"; then
7477 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7487 rm -f conftest.sed
7489 test -z "$SED" && SED=sed
7490 Xsed="$SED -e 1s/^X//"
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7503 $as_echo_n "checking for fgrep... " >&6; }
7507 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7508 then ac_cv_path_FGREP="$GREP -F"
7510 if test -z "$FGREP"; then
7512 # Loop through the user's path and test for each of PROGNAME-LIST
7514 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7517 test -z "$as_dir" && as_dir=.
7518 for ac_prog in fgrep; do
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7522 # Check for GNU ac_path_FGREP and select it if it is found.
7523 # Check for GNU $ac_path_FGREP
7524 case `"$ac_path_FGREP" --version 2>&1` in
7539 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7540 # Best one so far, save it but keep looking for a better one
7545 test $ac_count -gt 10 && break
7547 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7555 if test -z "$ac_cv_path_FGREP"; then
7556 …as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7569 test -z "$GREP" && GREP=grep
7589 # Check whether --with-gnu-ld was given.
7591 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7593 with_gnu_ld=no
7598 # Check if gcc -print-prog-name=ld gives a path.
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7600 $as_echo_n "checking for ld used by $CC... " >&6; }
7602 *-*-mingw*)
7604 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7606 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7617 test -z "$LD" && LD=$ac_prog
7624 # If it is relative, then search for the first ld in PATH.
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7630 $as_echo_n "checking for GNU ld... " >&6; }
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7633 $as_echo_n "checking for non-GNU ld... " >&6; }
7638 if test -z "$LD"; then
7640 for ac_dir in $PATH; do
7642 test -z "$ac_dir" && ac_dir=.
7643 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7645 # Check to see if the program is GNU ld. I'd rather use --version,
7646 # but apparently some variants of GNU ld only accept -v.
7647 # Break only if it was the GNU/non-GNU ld that we prefer.
7648 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7650 test no != "$with_gnu_ld" && break
7665 if test -n "$LD"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7672 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7678 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7679 case `$LD -v 2>&1 </dev/null` in
7684 lt_cv_prog_gnu_ld=no
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7701 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7705 if test -n "$NM"; then
7710 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7713 for lt_tmp_nm in $lt_nm_to_check; do
7715 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7717 test -z "$ac_dir" && ac_dir=.
7719 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7720 # Check to see if the nm accepts a BSD-compat flag.
7721 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7729 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7731 lt_cv_path_NM="$tmp_nm -B"
7735 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7737 lt_cv_path_NM="$tmp_nm -p"
7751 : ${lt_cv_path_NM=no}
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7756 if test no != "$lt_cv_path_NM"; then
7759 # Didn't find any BSD compatible name lister, look for dumpbin.
7760 if test -n "$DUMPBIN"; then :
7763 if test -n "$ac_tool_prefix"; then
7764 for ac_prog in dumpbin "link -dump"
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7769 $as_echo_n "checking for $ac_word... " >&6; }
7773 if test -n "$DUMPBIN"; then
7777 for as_dir in $PATH
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7794 if test -n "$DUMPBIN"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7799 $as_echo "no" >&6; }
7803 test -n "$DUMPBIN" && break
7806 if test -z "$DUMPBIN"; then
7808 for ac_prog in dumpbin "link -dump"
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813 $as_echo_n "checking for $ac_word... " >&6; }
7817 if test -n "$ac_ct_DUMPBIN"; then
7821 for as_dir in $PATH
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 if test -n "$ac_ct_DUMPBIN"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843 $as_echo "no" >&6; }
7847 test -n "$ac_ct_DUMPBIN" && break
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
7863 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7865 DUMPBIN="$DUMPBIN -symbols -headers"
7877 test -z "$NM" && NM=nm
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7902 rm -f conftest*
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7908 $as_echo_n "checking whether ln -s works... " >&6; }
7910 if test "$LN_S" = "ln -s"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7915 $as_echo "no, using $LN_S" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7938 # no limit to the length of command line arguments.
7939 # Libtool will interpret -1 as no limit whatsoever
7940 lt_cv_sys_max_cmd_len=-1;
7944 # On Win9x/ME, this test blows up -- it succeeds, but takes
7946 # Worse, since 9x/ME are not pre-emptively multitasking,
7967 if test -x /sbin/sysctl; then
7968 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7969 elif test -x /usr/sbin/sysctl; then
7970 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7972 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7996 if test -x /sbin/sysconfig; then
7997 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7998 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8007 if test -n "$kargmax"; then
8015 if test -n "$lt_cv_sys_max_cmd_len" && \
8022 for i in 1 2 3 4 5 6 7 8; do
8025 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8026 # If test is not a shell built-in, we'll probably end up computing a
8049 if test -n "$lt_cv_sys_max_cmd_len"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8063 : ${CP="cp -f"}
8064 : ${MV="mv -f"}
8065 : ${RM="rm -f"}
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format"…
8104 *-*-mingw* )
8106 *-*-mingw* ) # actually msys
8109 *-*-cygwin* )
8117 *-*-cygwin* )
8119 *-*-mingw* ) # actually msys
8122 *-*-cygwin* )
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain for…
8153 *-*-mingw* )
8155 *-*-mingw* ) # actually msys
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8173 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8177 lt_cv_ld_reload_flag='-r'
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8186 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8195 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8197 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8210 if test -n "$ac_tool_prefix"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8214 $as_echo_n "checking for $ac_word... " >&6; }
8218 if test -n "$OBJDUMP"; then
8222 for as_dir in $PATH
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8239 if test -n "$OBJDUMP"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8244 $as_echo "no" >&6; }
8249 if test -z "$ac_cv_prog_OBJDUMP"; then
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8254 $as_echo_n "checking for $ac_word... " >&6; }
8258 if test -n "$ac_ct_OBJDUMP"; then
8262 for as_dir in $PATH
8265 test -z "$as_dir" && as_dir=.
8266 for ac_exec_ext in '' $ac_executable_extensions; do
8269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8279 if test -n "$ac_ct_OBJDUMP"; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8284 $as_echo "no" >&6; }
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8302 test -z "$OBJDUMP" && OBJDUMP=objdump
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8319 # 'none' -- dependencies not supported.
8320 # 'unknown' -- same as none, but documents that we really don't know.
8321 # 'pass_all' -- all dependencies passed with no checks.
8322 # 'test_compile' -- check by making test program.
8323 # 'file_magic [[regex]]' -- check by looking for files in library path
8329 aix[4-9]*)
8338 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8339 lt_cv_file_magic_cmd='/usr/bin/file -L'
8352 # unless we find 'file', for example because we are cross-compiling.
8358 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
8359 lt_cv_file_magic_cmd='$OBJDUMP -f'
8365 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8366 lt_cv_file_magic_cmd='$OBJDUMP -f'
8374 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8379 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
8397 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8401 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
8405 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8411 interix[3-9]*)
8418 *-32|*"-32 ") libmagic=32-bit;;
8419 *-n32|*"-n32 ") libmagic=N32;;
8420 *-64|*"-64 ") libmagic=64-bit;;
8421 *) libmagic=never-match;;
8427 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8431 netbsd* | netbsdelf*-gnu)
8432 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8433 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8440 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8450 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8453 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8476 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-…
8484 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8488 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8513 want_nocaseglob=no
8520 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
8528 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8551 if test -n "$ac_tool_prefix"; then
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8555 $as_echo_n "checking for $ac_word... " >&6; }
8559 if test -n "$DLLTOOL"; then
8563 for as_dir in $PATH
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8580 if test -n "$DLLTOOL"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8585 $as_echo "no" >&6; }
8590 if test -z "$ac_cv_prog_DLLTOOL"; then
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8595 $as_echo_n "checking for $ac_word... " >&6; }
8599 if test -n "$ac_ct_DLLTOOL"; then
8603 for as_dir in $PATH
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8620 if test -n "$ac_ct_DLLTOOL"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8625 $as_echo "no" >&6; }
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8643 test -z "$DLLTOOL" && DLLTOOL=dlltool
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8662 case `$DLLTOOL --help 2>&1` in
8663 *--identify-strict*)
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8681 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8689 if test -n "$ac_tool_prefix"; then
8690 for ac_prog in ar
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8695 $as_echo_n "checking for $ac_word... " >&6; }
8699 if test -n "$AR"; then
8703 for as_dir in $PATH
8706 test -z "$as_dir" && as_dir=.
8707 for ac_exec_ext in '' $ac_executable_extensions; do
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8720 if test -n "$AR"; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8725 $as_echo "no" >&6; }
8729 test -n "$AR" && break
8732 if test -z "$AR"; then
8734 for ac_prog in ar
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8739 $as_echo_n "checking for $ac_word... " >&6; }
8743 if test -n "$ac_ct_AR"; then
8747 for as_dir in $PATH
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8764 if test -n "$ac_ct_AR"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8773 test -n "$ac_ct_AR" && break
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8803 $as_echo_n "checking for archiver @FILE support... " >&6; }
8807 lt_cv_ar_at_file=no
8808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8826 if test 0 -eq "$ac_status"; then
8828 rm -f conftest.$ac_objext libconftest.a
8829 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8834 if test 0 -ne "$ac_status"; then
8838 rm -f conftest.* libconftest.a
8841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8847 if test no = "$lt_cv_ar_at_file"; then
8859 if test -n "$ac_tool_prefix"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8863 $as_echo_n "checking for $ac_word... " >&6; }
8867 if test -n "$STRIP"; then
8871 for as_dir in $PATH
8874 test -z "$as_dir" && as_dir=.
8875 for ac_exec_ext in '' $ac_executable_extensions; do
8878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8888 if test -n "$STRIP"; then
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8893 $as_echo "no" >&6; }
8898 if test -z "$ac_cv_prog_STRIP"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8903 $as_echo_n "checking for $ac_word... " >&6; }
8907 if test -n "$ac_ct_STRIP"; then
8911 for as_dir in $PATH
8914 test -z "$as_dir" && as_dir=.
8915 for ac_exec_ext in '' $ac_executable_extensions; do
8918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8928 if test -n "$ac_ct_STRIP"; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8933 $as_echo "no" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8951 test -z "$STRIP" && STRIP=:
8958 if test -n "$ac_tool_prefix"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962 $as_echo_n "checking for $ac_word... " >&6; }
8966 if test -n "$RANLIB"; then
8970 for as_dir in $PATH
8973 test -z "$as_dir" && as_dir=.
8974 for ac_exec_ext in '' $ac_executable_extensions; do
8977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8987 if test -n "$RANLIB"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 $as_echo "no" >&6; }
8997 if test -z "$ac_cv_prog_RANLIB"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9002 $as_echo_n "checking for $ac_word... " >&6; }
9006 if test -n "$ac_ct_RANLIB"; then
9010 for as_dir in $PATH
9013 test -z "$as_dir" && as_dir=.
9014 for ac_exec_ext in '' $ac_executable_extensions; do
9017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9027 if test -n "$ac_ct_RANLIB"; then
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9032 $as_echo "no" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
9050 test -z "$RANLIB" && RANLIB=:
9057 # Determine commands to create old-style static archives.
9062 if test -n "$RANLIB"; then
9065 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9078 lock_old_archive_extraction=no ;;
9119 # If no C compiler was specified, use CC.
9120 LTCC=${LTCC-"$CC"}
9122 # If no C compiler flags were specified, use CFLAGS.
9123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9129 # Check for command to grab the raw symbol name followed by C symbol from nm.
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object…
9143 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9145 # Define system-specific variables.
9182 case `$NM -V 2>&1` in
9189 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9191 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9192 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9194 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9195 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9207 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9209 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9210 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9213 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9215 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9216 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9220 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9222 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9223 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9224 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9235 for ac_symprfx in "" "_"; do
9242 # Fake it for dumpbin and say T for any non-static function,
9243 # D for any global variable and I for any imported variable.
9248 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9262 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat…
9267 pipe_works=no
9269 rm -f conftest*
9283 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9291 …if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$n…
9294 mv -f "$nlist"T "$nlist"
9296 rm -f "$nlist"T
9306 relocations are performed -- see ld's documentation on pseudo-relocs. */
9321 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9334 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
9356 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9360 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9378 rm -rf conftest* conftst*
9390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9404 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9445 $as_echo_n "checking for sysroot... " >&6; }
9447 # Check whether --with-sysroot was given.
9451 with_sysroot=no
9459 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9463 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9465 no|'')
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9475 $as_echo "${lt_sysroot:-no}" >&6; }
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9482 $as_echo_n "checking for a working dd... " >&6; }
9489 if test -z "$lt_DD"; then
9491 # Loop through the user's path and test for each of PROGNAME-LIST
9493 for as_dir in $PATH
9496 test -z "$as_dir" && as_dir=.
9497 for ac_prog in dd; do
9498 for ac_exec_ext in '' $ac_executable_extensions; do
9502 cmp -s conftest.i conftest.out \
9510 if test -z "$ac_cv_path_lt_DD"; then
9517 rm -f conftest.i conftest2.i conftest.out
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9532 cmp -s conftest.i conftest.out \
9535 rm -f conftest.i conftest2.i conftest.out
9536 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9547 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9550 for cc_temp in $*""; do
9554 \-*) ;;
9558 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9561 # Check whether --enable-libtool-lock was given.
9566 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9568 # Some flags need to be propagated to the compiler or linker for good
9571 ia64-*-hpux*)
9575 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9581 *ELF-32*)
9584 *ELF-64*)
9589 rm -rf conftest*
9591 *-*-irix6*)
9595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9602 *32-bit*)
9603 LD="${LD-ld} -melf32bsmip"
9606 LD="${LD-ld} -melf32bmipn32"
9608 *64-bit*)
9609 LD="${LD-ld} -melf64bmip"
9614 *32-bit*)
9615 LD="${LD-ld} -32"
9618 LD="${LD-ld} -n32"
9620 *64-bit*)
9621 LD="${LD-ld} -64"
9626 rm -rf conftest*
9629 mips64*-*linux*)
9633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9640 *32-bit*)
9643 *64-bit*)
9660 LD="${LD-ld} -m $emul"
9662 rm -rf conftest*
9665 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9666 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9670 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9671 # vice versa); the common cases where no linker options are needed do
9674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9680 *32-bit*)
9682 x86_64-*kfreebsd*-gnu)
9683 LD="${LD-ld} -m elf_i386_fbsd"
9685 x86_64-*linux*)
9687 *x86-64*)
9688 LD="${LD-ld} -m elf32_x86_64"
9691 LD="${LD-ld} -m elf_i386"
9695 powerpc64le-*linux*)
9696 LD="${LD-ld} -m elf32lppclinux"
9698 powerpc64-*linux*)
9699 LD="${LD-ld} -m elf32ppclinux"
9701 s390x-*linux*)
9702 LD="${LD-ld} -m elf_s390"
9704 sparc64-*linux*)
9705 LD="${LD-ld} -m elf32_sparc"
9709 *64-bit*)
9711 x86_64-*kfreebsd*-gnu)
9712 LD="${LD-ld} -m elf_x86_64_fbsd"
9714 x86_64-*linux*)
9715 LD="${LD-ld} -m elf_x86_64"
9717 powerpcle-*linux*)
9718 LD="${LD-ld} -m elf64lppc"
9720 powerpc-*linux*)
9721 LD="${LD-ld} -m elf64ppc"
9723 s390*-*linux*|s390*-*tpf*)
9724 LD="${LD-ld} -m elf64_s390"
9726 sparc*-*linux*)
9727 LD="${LD-ld} -m elf64_sparc"
9733 rm -rf conftest*
9736 *-*-sco3.2v5*)
9737 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9739 CFLAGS="$CFLAGS -belf"
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9741 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9746 ac_cpp='$CPP $CPPFLAGS'
9747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 lt_cv_cc_needs_belf=no
9766 rm -f core conftest.err conftest.$ac_objext \
9769 ac_cpp='$CPP $CPPFLAGS'
9770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9778 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9782 *-*solaris*)
9786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9792 *64-bit*)
9796 i?86-*-solaris*|x86_64-*-solaris*)
9797 LD="${LD-ld} -m elf_x86_64"
9799 sparc*-*-solaris*)
9800 LD="${LD-ld} -m elf64_sparc"
9804 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9805 LD=${LD-ld}_sol2
9809 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9810 LD="${LD-ld} -64"
9817 rm -rf conftest*
9823 if test -n "$ac_tool_prefix"; then
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9827 $as_echo_n "checking for $ac_word... " >&6; }
9831 if test -n "$MANIFEST_TOOL"; then
9835 for as_dir in $PATH
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9852 if test -n "$MANIFEST_TOOL"; then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9857 $as_echo "no" >&6; }
9862 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9867 $as_echo_n "checking for $ac_word... " >&6; }
9871 if test -n "$ac_ct_MANIFEST_TOOL"; then
9875 for as_dir in $PATH
9878 test -z "$as_dir" && as_dir=.
9879 for ac_exec_ext in '' $ac_executable_extensions; do
9882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9892 if test -n "$ac_ct_MANIFEST_TOOL"; then
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 $as_echo "no" >&6; }
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
9915 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9921 lt_cv_path_mainfest_tool=no
9922 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9923 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9928 rm -f conftest*
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9943 if test -n "$ac_tool_prefix"; then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9947 $as_echo_n "checking for $ac_word... " >&6; }
9951 if test -n "$DSYMUTIL"; then
9955 for as_dir in $PATH
9958 test -z "$as_dir" && as_dir=.
9959 for ac_exec_ext in '' $ac_executable_extensions; do
9962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9972 if test -n "$DSYMUTIL"; then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9977 $as_echo "no" >&6; }
9982 if test -z "$ac_cv_prog_DSYMUTIL"; then
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9987 $as_echo_n "checking for $ac_word... " >&6; }
9991 if test -n "$ac_ct_DSYMUTIL"; then
9995 for as_dir in $PATH
9998 test -z "$as_dir" && as_dir=.
9999 for ac_exec_ext in '' $ac_executable_extensions; do
10002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10012 if test -n "$ac_ct_DSYMUTIL"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10017 $as_echo "no" >&6; }
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10035 if test -n "$ac_tool_prefix"; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10039 $as_echo_n "checking for $ac_word... " >&6; }
10043 if test -n "$NMEDIT"; then
10047 for as_dir in $PATH
10050 test -z "$as_dir" && as_dir=.
10051 for ac_exec_ext in '' $ac_executable_extensions; do
10054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10064 if test -n "$NMEDIT"; then
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10069 $as_echo "no" >&6; }
10074 if test -z "$ac_cv_prog_NMEDIT"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10079 $as_echo_n "checking for $ac_word... " >&6; }
10083 if test -n "$ac_ct_NMEDIT"; then
10087 for as_dir in $PATH
10090 test -z "$as_dir" && as_dir=.
10091 for ac_exec_ext in '' $ac_executable_extensions; do
10094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10104 if test -n "$ac_ct_NMEDIT"; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10109 $as_echo "no" >&6; }
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10127 if test -n "$ac_tool_prefix"; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10131 $as_echo_n "checking for $ac_word... " >&6; }
10135 if test -n "$LIPO"; then
10139 for as_dir in $PATH
10142 test -z "$as_dir" && as_dir=.
10143 for ac_exec_ext in '' $ac_executable_extensions; do
10146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10156 if test -n "$LIPO"; then
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10161 $as_echo "no" >&6; }
10166 if test -z "$ac_cv_prog_LIPO"; then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10171 $as_echo_n "checking for $ac_word... " >&6; }
10175 if test -n "$ac_ct_LIPO"; then
10179 for as_dir in $PATH
10182 test -z "$as_dir" && as_dir=.
10183 for ac_exec_ext in '' $ac_executable_extensions; do
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 if test -n "$ac_ct_LIPO"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10201 $as_echo "no" >&6; }
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10219 if test -n "$ac_tool_prefix"; then
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10223 $as_echo_n "checking for $ac_word... " >&6; }
10227 if test -n "$OTOOL"; then
10231 for as_dir in $PATH
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10248 if test -n "$OTOOL"; then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10253 $as_echo "no" >&6; }
10258 if test -z "$ac_cv_prog_OTOOL"; then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10263 $as_echo_n "checking for $ac_word... " >&6; }
10267 if test -n "$ac_ct_OTOOL"; then
10271 for as_dir in $PATH
10274 test -z "$as_dir" && as_dir=.
10275 for ac_exec_ext in '' $ac_executable_extensions; do
10278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10288 if test -n "$ac_ct_OTOOL"; then
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10293 $as_echo "no" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10311 if test -n "$ac_tool_prefix"; then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10315 $as_echo_n "checking for $ac_word... " >&6; }
10319 if test -n "$OTOOL64"; then
10323 for as_dir in $PATH
10326 test -z "$as_dir" && as_dir=.
10327 for ac_exec_ext in '' $ac_executable_extensions; do
10330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10340 if test -n "$OTOOL64"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10345 $as_echo "no" >&6; }
10350 if test -z "$ac_cv_prog_OTOOL64"; then
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10355 $as_echo_n "checking for $ac_word... " >&6; }
10359 if test -n "$ac_ct_OTOOL64"; then
10363 for as_dir in $PATH
10366 test -z "$as_dir" && as_dir=.
10367 for ac_exec_ext in '' $ac_executable_extensions; do
10370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 if test -n "$ac_ct_OTOOL64"; then
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10385 $as_echo "no" >&6; }
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10430 $as_echo_n "checking for -single_module linker flag... " >&6; }
10434 lt_cv_apple_cc_single_mod=no
10435 if test -z "$LT_MULTI_MODULE"; then
10436 # By default we will add the -single_module flag. You can override
10438 # non-empty at configure time, or by adding -multi_module to the
10440 rm -rf libconftest.dylib*
10442 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10443 -dynamiclib -Wl,-single_module conftest.c" >&5
10444 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10445 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10447 # If there is a non-empty error log, and "single_module"
10449 if test -s conftest.err && $GREP single_module conftest.err; then
10453 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10458 rm -rf libconftest.dylib*
10459 rm -f conftest.*
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10466 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10470 lt_cv_ld_exported_symbols_list=no
10473 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10487 lt_cv_ld_exported_symbols_list=no
10489 rm -f core conftest.err conftest.$ac_objext \
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10498 $as_echo_n "checking for -force_load linker flag... " >&6; }
10502 lt_cv_ld_force_load=no
10506 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10507 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10515 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10516 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10518 if test -s conftest.err && $GREP force_load conftest.err; then
10520 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10525 rm -f conftest.err libconftest.a conftest conftest.c
10526 rm -rf conftest.dSYM
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10533 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10535 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10540 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10541 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10542 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10544 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10546 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10554 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10556 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10558 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10567 # -----------------------------------
10592 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10593 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10602 $as_echo_n "checking for ANSI C header files... " >&6; }
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 ac_cv_header_stdc=no
10625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 ac_cv_header_stdc=no
10640 rm -f conftest*
10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 ac_cv_header_stdc=no
10657 rm -f conftest*
10662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10686 for (i = 0; i < 256; i++)
10696 ac_cv_header_stdc=no
10698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10713 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10729 for ac_header in dlfcn.h
10742 # ------------------------------------ #
10744 # ------------------------------------ #
10749 # require separate configuration and build runs for each flavor.
10760 xc_lt_want_enable_shared='no'
10765 xc_lt_want_enable_static='no'
10775 # and build runs for shared and static is to enable shared libraries
10776 # and disable static ones. On these systems option '--disable-shared'
10784 xc_lt_want_enable_static='no'
10799 # Default behavior is to build PIC objects for shared libraries and
10800 # non-PIC objects for static libraries.
10811 xc_lt_want_with_pic='no'
10820 # of non-PIC compiled objects will fail with following linker error
10822 # is to build PIC objects even for static libraries. This behavior may
10823 # be overridden using 'configure --disable-shared --without-pic'.
10846 ## ----------------------- ##
10848 ## ----------------------- ##
10857 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
10858 if test -n "$ac_tool_prefix"; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10862 $as_echo_n "checking for $ac_word... " >&6; }
10866 if test -n "$AS"; then
10870 for as_dir in $PATH
10873 test -z "$as_dir" && as_dir=.
10874 for ac_exec_ext in '' $ac_executable_extensions; do
10877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10887 if test -n "$AS"; then
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10892 $as_echo "no" >&6; }
10897 if test -z "$ac_cv_prog_AS"; then
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10902 $as_echo_n "checking for $ac_word... " >&6; }
10906 if test -n "$ac_ct_AS"; then
10910 for as_dir in $PATH
10913 test -z "$as_dir" && as_dir=.
10914 for ac_exec_ext in '' $ac_executable_extensions; do
10917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10927 if test -n "$ac_ct_AS"; then
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10932 $as_echo "no" >&6; }
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10950 if test -n "$ac_tool_prefix"; then
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10954 $as_echo_n "checking for $ac_word... " >&6; }
10958 if test -n "$DLLTOOL"; then
10962 for as_dir in $PATH
10965 test -z "$as_dir" && as_dir=.
10966 for ac_exec_ext in '' $ac_executable_extensions; do
10969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10979 if test -n "$DLLTOOL"; then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10984 $as_echo "no" >&6; }
10989 if test -z "$ac_cv_prog_DLLTOOL"; then
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10994 $as_echo_n "checking for $ac_word... " >&6; }
10998 if test -n "$ac_ct_DLLTOOL"; then
11002 for as_dir in $PATH
11005 test -z "$as_dir" && as_dir=.
11006 for ac_exec_ext in '' $ac_executable_extensions; do
11009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11019 if test -n "$ac_ct_DLLTOOL"; then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11024 $as_echo "no" >&6; }
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
11042 if test -n "$ac_tool_prefix"; then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11046 $as_echo_n "checking for $ac_word... " >&6; }
11050 if test -n "$OBJDUMP"; then
11054 for as_dir in $PATH
11057 test -z "$as_dir" && as_dir=.
11058 for ac_exec_ext in '' $ac_executable_extensions; do
11061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11071 if test -n "$OBJDUMP"; then
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11076 $as_echo "no" >&6; }
11081 if test -z "$ac_cv_prog_OBJDUMP"; then
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11086 $as_echo_n "checking for $ac_word... " >&6; }
11090 if test -n "$ac_ct_OBJDUMP"; then
11094 for as_dir in $PATH
11097 test -z "$as_dir" && as_dir=.
11098 for ac_exec_ext in '' $ac_executable_extensions; do
11101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11111 if test -n "$ac_ct_OBJDUMP"; then
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11116 $as_echo "no" >&6; }
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
11137 test -z "$AS" && AS=as
11143 test -z "$DLLTOOL" && DLLTOOL=dlltool
11149 test -z "$OBJDUMP" && OBJDUMP=objdump
11157 enable_dlopen=no
11161 # Check whether --enable-shared was given.
11163 enableval=$enable_shared; p=${PACKAGE-default}
11166 no) enable_shared=no ;;
11168 enable_shared=no
11171 for pkg in $enableval; do
11192 # Check whether --enable-static was given.
11194 enableval=$enable_static; p=${PACKAGE-default}
11197 no) enable_static=no ;;
11199 enable_static=no
11202 for pkg in $enableval; do
11224 # Check whether --with-pic was given.
11226 withval=$with_pic; lt_p=${PACKAGE-default}
11228 yes|no) pic_mode=$withval ;;
11233 for lt_pkg in $withval; do
11253 # Check whether --enable-fast-install was given.
11255 enableval=$enable_fast_install; p=${PACKAGE-default}
11258 no) enable_fast_install=no ;;
11260 enable_fast_install=no
11263 for pkg in $enableval; do
11285 power*-*-aix[5-9]*,yes)
11286 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to pr…
11289 # Check whether --with-aix-soname was given.
11295 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11312 # For the AIX way of multilib, we name the shared archive member
11314 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11315 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11317 if test 64 = "${OBJECT_MODE-32}"; then
11373 test -z "$LN_S" && LN_S="ln -s"
11388 if test -n "${ZSH_VERSION+set}"; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11393 $as_echo_n "checking for objdir... " >&6; }
11397 rm -f .libs 2>/dev/null
11399 if test -d .libs; then
11402 # MS-DOS does not allow filenames that begin with a dot.
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11424 # AIX sometimes has problems with the GCC collect2 program. For some
11438 # All known linkers require a '.a' archive for static linking (except MSVC,
11447 # Set sane defaults for various variables
11448 test -z "$CC" && CC=cc
11449 test -z "$LTCC" && LTCC=$CC
11450 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11451 test -z "$LD" && LD=ld
11452 test -z "$ac_objext" && ac_objext=o
11458 # Only perform the check for file, if the check method requires it
11459 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11464 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11476 for ac_dir in $ac_dummy; do
11478 test -z "$ac_dir" && ac_dir=.
11479 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11481 if test -n "$file_magic_test_file"; then
11499 *** bug-libtool@gnu.org
11515 if test -n "$MAGIC_CMD"; then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11520 $as_echo "no" >&6; }
11527 if test -z "$lt_cv_path_MAGIC_CMD"; then
11528 if test -n "$ac_tool_prefix"; then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11530 $as_echo_n "checking for file... " >&6; }
11542 for ac_dir in $ac_dummy; do
11544 test -z "$ac_dir" && ac_dir=.
11545 if test -f "$ac_dir/file"; then
11547 if test -n "$file_magic_test_file"; then
11565 *** bug-libtool@gnu.org
11581 if test -n "$MAGIC_CMD"; then
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586 $as_echo "no" >&6; }
11599 # Use C for the default configuration in the libtool script
11603 ac_cpp='$CPP $CPPFLAGS'
11604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11609 # Source file extension for C test sources.
11612 # Object file extension for compiled C test sources.
11628 # If no C compiler was specified, use CC.
11629 LTCC=${LTCC-"$CC"}
11631 # If no C compiler flags were specified, use CFLAGS.
11632 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11652 $RM -r conftest*
11656 ## There is no encapsulation within the following macros, do not change
11659 if test -n "$compiler"; then
11666 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11668 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11671 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions"…
11672 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11676 lt_cv_prog_compiler_rtti_exceptions=no
11679 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11688 -e 's:$: $lt_compiler_flag:'`
11694 if (exit $ac_status) && test -s "$ac_outfile"; then
11696 # So say no if there are warnings other than the usual output.
11699 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11710 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11728 lt_prog_compiler_wl='-Wl,'
11729 lt_prog_compiler_static='-static'
11736 lt_prog_compiler_static='-Bstatic'
11738 lt_prog_compiler_pic='-fPIC'
11745 lt_prog_compiler_pic='-fPIC'
11749 # adding the '-m68020' flag to GCC prevents building anything better,
11750 # like '-m68040'.
11751 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11757 # PIC is the default for these OSes.
11762 # built for inclusion in a dll (and should export symbols for example).
11763 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11764 # (--disable-auto-import) libraries
11765 lt_prog_compiler_pic='-DDLL_EXPORT'
11768 lt_prog_compiler_static='$wl-static'
11776 lt_prog_compiler_pic='-fno-common'
11780 # PIC is the default for Haiku.
11781 # The "-static" flag exists, but is broken.
11786 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11787 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11794 lt_prog_compiler_pic='-fPIC'
11799 interix[3-9]*)
11800 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11807 lt_prog_compiler_can_build_shared=no
11808 enable_shared=no
11812 # QNX uses GNU C++, but need to define -shared option too, otherwise
11814 lt_prog_compiler_pic='-fPIC -shared'
11818 if test -d /usr/nec; then
11819 lt_prog_compiler_pic=-Kconform_pic
11824 lt_prog_compiler_pic='-fPIC'
11830 lt_prog_compiler_wl='-Xlinker '
11831 if test -n "$lt_prog_compiler_pic"; then
11832 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11837 # PORTME Check for flag to pass linker flags through the system compiler.
11840 lt_prog_compiler_wl='-Wl,'
11843 lt_prog_compiler_static='-Bstatic'
11845 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11852 lt_prog_compiler_pic='-fno-common'
11856 lt_prog_compiler_wl='-Wl,-Wl,,'
11857 lt_prog_compiler_pic='-PIC'
11858 lt_prog_compiler_static='-Bstatic'
11865 # built for inclusion in a dll (and should export symbols for example).
11866 lt_prog_compiler_pic='-DDLL_EXPORT'
11869 lt_prog_compiler_static='$wl-static'
11875 lt_prog_compiler_wl='-Wl,'
11876 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11877 # not for PA HP-UX.
11887 lt_prog_compiler_static='$wl-a ${wl}archive'
11891 lt_prog_compiler_wl='-Wl,'
11892 # PIC (with -KPIC) is the default.
11893 lt_prog_compiler_static='-non_shared'
11896 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11898 # old Intel for x86_64, which still supported -KPIC.
11900 lt_prog_compiler_wl='-Wl,'
11901 lt_prog_compiler_pic='-KPIC'
11902 lt_prog_compiler_static='-static'
11904 # flang / f18. f95 an alias for gfortran or flang on Debian
11906 lt_prog_compiler_wl='-Wl,'
11907 lt_prog_compiler_pic='-fPIC'
11908 lt_prog_compiler_static='-static'
11911 # ICC 10 doesn't accept -KPIC any more.
11913 lt_prog_compiler_wl='-Wl,'
11914 lt_prog_compiler_pic='-fPIC'
11915 lt_prog_compiler_static='-static'
11919 lt_prog_compiler_wl='-Wl,'
11920 lt_prog_compiler_pic='--shared'
11921 lt_prog_compiler_static='--static'
11925 lt_prog_compiler_wl='-Wl,-Wl,,'
11926 lt_prog_compiler_pic='-PIC'
11927 lt_prog_compiler_static='-Bstatic'
11931 lt_prog_compiler_wl='-Wl,'
11932 lt_prog_compiler_pic='-fPIC'
11933 lt_prog_compiler_static='-static'
11938 lt_prog_compiler_wl='-Wl,'
11939 lt_prog_compiler_pic='-fpic'
11940 lt_prog_compiler_static='-Bstatic'
11943 lt_prog_compiler_wl='-Wl,'
11945 lt_prog_compiler_static='-non_shared'
11949 lt_prog_compiler_wl='-Wl,'
11950 lt_prog_compiler_pic='-qpic'
11951 lt_prog_compiler_static='-qstaticlink'
11954 case `$CC -V 2>&1 | sed 5q` in
11955 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11957 lt_prog_compiler_pic='-KPIC'
11958 lt_prog_compiler_static='-Bstatic'
11962 lt_prog_compiler_pic='-KPIC'
11963 lt_prog_compiler_static='-Bstatic'
11964 lt_prog_compiler_wl='-Qoption ld '
11968 lt_prog_compiler_pic='-KPIC'
11969 lt_prog_compiler_static='-Bstatic'
11970 lt_prog_compiler_wl='-Wl,'
11973 lt_prog_compiler_wl='-Wl,'
11974 lt_prog_compiler_pic='-fPIC'
11975 lt_prog_compiler_static='-static'
11978 lt_prog_compiler_wl='-Wl,'
11979 lt_prog_compiler_pic='-fpic'
11980 lt_prog_compiler_static='-Bstatic'
11988 lt_prog_compiler_pic='-KPIC'
11989 lt_prog_compiler_static='-Bstatic'
11993 # QNX uses GNU C++, but need to define -shared option too, otherwise
11995 lt_prog_compiler_pic='-fPIC -shared'
11999 lt_prog_compiler_wl='-Wl,'
12001 lt_prog_compiler_static='-non_shared'
12005 lt_prog_compiler_static='-non_shared'
12009 lt_prog_compiler_pic='-KPIC'
12010 lt_prog_compiler_static='-Bstatic'
12013 lt_prog_compiler_wl='-Qoption ld ';;
12015 lt_prog_compiler_wl='-Wl,';;
12020 lt_prog_compiler_wl='-Qoption ld '
12021 lt_prog_compiler_pic='-PIC'
12022 lt_prog_compiler_static='-Bstatic'
12026 lt_prog_compiler_wl='-Wl,'
12027 lt_prog_compiler_pic='-KPIC'
12028 lt_prog_compiler_static='-Bstatic'
12032 if test -d /usr/nec; then
12033 lt_prog_compiler_pic='-Kconform_pic'
12034 lt_prog_compiler_static='-Bstatic'
12039 lt_prog_compiler_wl='-Wl,'
12040 lt_prog_compiler_pic='-KPIC'
12041 lt_prog_compiler_static='-Bstatic'
12045 lt_prog_compiler_wl='-Wl,'
12046 lt_prog_compiler_can_build_shared=no
12050 lt_prog_compiler_pic='-pic'
12051 lt_prog_compiler_static='-Bstatic'
12055 lt_prog_compiler_can_build_shared=no
12061 # For platforms that do not support PIC, -DPIC is meaningless:
12066 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12071 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12084 if test -n "$lt_prog_compiler_pic"; then
12085 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic work…
12090 lt_cv_prog_compiler_pic_works=no
12093 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
12100 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12101 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12102 -e 's:$: $lt_compiler_flag:'`
12108 if (exit $ac_status) && test -s "$ac_outfile"; then
12110 # So say no if there are warnings other than the usual output.
12113 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12130 lt_prog_compiler_can_build_shared=no
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag work…
12154 lt_cv_prog_compiler_static_works=no
12158 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12160 # So say no if there are warnings
12161 if test -s conftest.err; then
12162 # Append any errors to the config.log.
12173 $RM -r conftest*
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12193 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12197 lt_cv_prog_compiler_c_o=no
12198 $RM -r conftest 2>/dev/null
12204 lt_compiler_flag="-o out/conftest2.$ac_objext"
12210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12212 -e 's:$: $lt_compiler_flag:'`
12218 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12221 # So say no if there are warnings
12224 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12230 # SGI C++ compiler will create directory out/ii_files/ for
12232 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12235 $RM -r conftest
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12248 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12252 lt_cv_prog_compiler_c_o=no
12253 $RM -r conftest 2>/dev/null
12259 lt_compiler_flag="-o out/conftest2.$ac_objext"
12265 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12266 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12267 -e 's:$: $lt_compiler_flag:'`
12273 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12276 # So say no if there are warnings
12279 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12285 # SGI C++ compiler will create directory out/ii_files/ for
12287 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12290 $RM -r conftest
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12301 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12307 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12309 ln conftest.a conftest.b 2>&5 || hard_links=no
12310 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12313 if test no = "$hard_links"; then
12314 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may…
12315 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12319 need_locks=no
12327 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shar…
12332 always_export_symbols=no
12335 compiler_needs_object=no
12336 enable_shared_with_static_runtimes=no
12339 hardcode_automatic=no
12340 hardcode_direct=no
12341 hardcode_direct_absolute=no
12344 hardcode_minus_L=no
12346 inherit_rpath=no
12354 # include_expsyms should be a list of space-separated symbols to be *always*
12376 with_gnu_ld=no
12384 with_gnu_ld=no
12386 linux* | k*bsd*-gnu | gnu*)
12387 link_all_deplibs=no
12394 # that we're better off using the native interface for both.
12395 lt_use_gnu_ld_interface=no
12403 case `$LD -v 2>&1` in
12405 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12406 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12422 # Set some defaults for GNU ld with shared library support. These
12426 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12427 export_dynamic_flag_spec='$wl--export-dynamic'
12428 # ancient GNU ld didn't support --whole-archive et. al.
12429 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12430 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12434 supports_anon_versioning=no
12435 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12437 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12446 aix[3-9]*)
12449 ld_shlibs=no
12455 *** really care for shared libraries, you may want to install binutils
12456 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12467 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12471 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12472 hardcode_libdir_flag_spec='-L$libdir'
12479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12482 # support --undefined. This deserves some investigation. FIXME
12483 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12485 ld_shlibs=no
12491 # as there is no search path for DLLs.
12492 hardcode_libdir_flag_spec='-L$libdir'
12493 export_dynamic_flag_spec='$wl--export-all-symbols'
12495 always_export_symbols=no
12497 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
12498 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
12500 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12501 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
12502 # If the export-symbols file already is a .def file, use it as
12504 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
12510 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
12512 ld_shlibs=no
12517 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12522 hardcode_libdir_flag_spec='-L$libdir'
12531 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
12532 emximp -o $lib $output_objdir/$libname.def'
12539 prefix_cmds="$prefix_cmds -e 1d";
12541 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12543 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
12544 emximp -o $lib $output_objdir/$libname.def'
12545 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12549 interix[3-9]*)
12550 hardcode_direct=no
12551 hardcode_shlibpath_var=no
12552 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12553 export_dynamic_flag_spec='$wl-E'
12558 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12560 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
12561 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
12564 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12565 tmp_diet=no
12566 if test linux-dietlibc = "$host_os"; then
12568 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12571 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12572 && test no = "$tmp_diet"
12575 tmp_sharedflag='-shared'
12578 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12583 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12584 tmp_addflag=' $pic_flag -Mnomain' ;;
12586 tmp_addflag=' -i_dynamic' ;;
12588 tmp_addflag=' -i_dynamic -nofor_main' ;;
12590 tmp_addflag=' -nofor_main' ;;
12593 tmp_sharedflag='--shared' ;;
12595 tmp_sharedflag='-Wl,-shared' ;;
12597 tmp_sharedflag='-qmkshrobj'
12600 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12604 case `$CC -V 2>&1 | sed 5q` in
12606 …--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
12608 tmp_sharedflag='-G' ;;
12610 tmp_sharedflag='-G' ;;
12612 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12616 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12618 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
12623 export_dynamic_flag_spec='-rdynamic'
12627 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12628 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12629 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12634 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
12639 ld_shlibs=no
12643 netbsd* | netbsdelf*-gnu)
12644 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12645 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12648 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
12649 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
12654 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12655 ld_shlibs=no
12666 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12667 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
12668 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
12670 ld_shlibs=no
12675 case `$LD -v 2>&1` in
12676 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12677 ld_shlibs=no
12690 # For security reasons, it is highly recommended that you always
12691 # use absolute paths for naming shared libraries, and exclude the
12694 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12695 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12696 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12697 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
12699 ld_shlibs=no
12706 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12709 hardcode_shlibpath_var=no
12713 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12714 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
12715 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
12717 ld_shlibs=no
12722 if test no = "$ld_shlibs"; then
12734 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
12736 # are no directories specified by -L.
12738 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12745 aix[4-9]*)
12749 aix_use_runtimelinking=no
12750 exp_sym_flag='-Bexport'
12753 # If we're using GNU nm, then we don't want the "-C" option.
12754 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12755 # Without the "-l" option, or with the "-B" option, AIX nm treats
12759 # it in the Import File for the 'aix-soname' feature, so we have
12760 # to replace the "-B" option with "-P" for AIX nm.
12761 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12762 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
12764 …-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
12766 aix_use_runtimelinking=no
12769 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12770 # have runtime linking enabled, and use it for executables.
12771 # For shared libraries, we enable/disable runtime linking
12772 # depending on the kind of the shared library created -
12774 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12775 # "aix,yes" lib.so shared, rtl:yes, for executables
12777 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12778 # lib.a(lib.so.V) shared, rtl:no, for executables
12779 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12780 # lib.a(lib.so.V) shared, rtl:no
12781 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12783 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12784 for ld_flag in $LDFLAGS; do
12785 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12790 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12791 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12795 LDFLAGS="$LDFLAGS -Wl,-brtl"
12800 exp_sym_flag='-bexport'
12801 no_entry_flag='-bnoentry'
12806 # or program results in "error TOC overflow" add -mminimal-toc to
12807 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12808 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12815 file_list_spec='$wl-f,'
12817 aix,*) ;; # traditional, no import file
12820 hardcode_direct=no
12821 hardcode_direct_absolute=no
12828 # below for broken collect2 doesn't work under 4.3+
12829 collect2name=`$CC -print-prog-name=collect2`
12830 if test -f "$collect2name" &&
12842 hardcode_libdir_flag_spec='-L$libdir'
12847 shared_flag='-shared'
12849 shared_flag="$shared_flag "'$wl-G'
12851 # Need to ensure runtime linking is disabled for the traditional
12853 # /with/ Import File - we do not want to mix them.
12854 shared_flag_aix='-shared'
12855 shared_flag_svr4='-shared $wl-G'
12859 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12860 # chokes on -Wl,-G. The following line is correct:
12861 shared_flag='-G'
12864 shared_flag='$wl-G'
12866 shared_flag='$wl-bM:SRE'
12868 shared_flag_aix='$wl-bM:SRE'
12869 shared_flag_svr4='$wl-G'
12873 export_dynamic_flag_spec='$wl-bexpall'
12874 # It seems that -bexpall does not export symbols beginning with
12878 # Warning - without using the other runtime loading flags (-brtl),
12879 # -berok will link without error, but may produce a broken library.
12880 allow_undefined_flag='-berok'
12889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12909 # Check for a 64-bit object if we didn't find anything.
12910 if test -z "$lt_cv_aix_libpath_"; then
12911 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12914 rm -f core conftest.err conftest.$ac_objext \
12916 if test -z "$lt_cv_aix_libpath_"; then
12925 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12926 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
12929 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12930 allow_undefined_flag="-z nodefs"
12931 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12961 # Check for a 64-bit object if we didn't find anything.
12962 if test -z "$lt_cv_aix_libpath_"; then
12963 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12966 rm -f core conftest.err conftest.$ac_objext \
12968 if test -z "$lt_cv_aix_libpath_"; then
12977 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12978 # Warning - without using the other run time loading flags,
12979 # -berok will link without error, but may produce a broken library.
12980 no_undefined_flag=' $wl-bernotok'
12981 allow_undefined_flag=' $wl-berok'
12983 # We only use this code for GNU lds that support --whole-archive.
12984 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12990 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12991 # -brtl affects multiple linker settings, -berok does not and is overridden later
12992 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
12995 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
12998 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
13000 # used by -dlpreopen to get the symbols
13003 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
13012 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13016 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13017 hardcode_libdir_flag_spec='-L$libdir'
13024 export_dynamic_flag_spec=-rdynamic
13031 # no search path for DLLs.
13044 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
13045 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
13049 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
13051 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
13057 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
13069 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
13070 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
13083 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
13087 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13096 archive_cmds_need_lc=no
13097 hardcode_direct=no
13101 …whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\…
13114 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
13115 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
13116 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
13117 …le_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
13120 ld_shlibs=no
13126 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13127 hardcode_libdir_flag_spec='-L$libdir'
13128 hardcode_shlibpath_var=no
13136 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13137 hardcode_libdir_flag_spec='-R$libdir'
13139 hardcode_shlibpath_var=no
13144 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13147 hardcode_shlibpath_var=no
13150 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13152 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13153 hardcode_libdir_flag_spec='-R$libdir'
13155 hardcode_shlibpath_var=no
13160 …archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output…
13162 …archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libo…
13171 export_dynamic_flag_spec='$wl-E'
13175 if test yes,no = "$GCC,$with_gnu_ld"; then
13176 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
13178 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13180 if test no = "$with_gnu_ld"; then
13185 export_dynamic_flag_spec='$wl-E'
13193 if test yes,no = "$GCC,$with_gnu_ld"; then
13196 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13199 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
13202 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
13208 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13215 # Older versions of the 11.00 compiler do not understand -b yet
13216 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13218 $as_echo_n "checking if $CC understands -b... " >&6; }
13222 lt_cv_prog_compiler__b=no
13224 LDFLAGS="$LDFLAGS -b"
13226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13228 # So say no if there are warnings
13229 if test -s conftest.err; then
13230 # Append any errors to the config.log.
13241 $RM -r conftest*
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13249 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
13251 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13257 if test no = "$with_gnu_ld"; then
13263 hardcode_direct=no
13264 hardcode_shlibpath_var=no
13269 export_dynamic_flag_spec='$wl-E'
13281 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
13282 # Try to use the -exported_symbol ld option, if it does not
13283 # work, assume that -exports_file does not work either and
13285 # This should be the same for all languages, so no per-tag cache variable.
13286 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_sy…
13287 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13292 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13300 lt_cv_irix_exported_symbol=no
13302 rm -f core conftest.err conftest.$ac_objext \
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13309 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
13311 link_all_deplibs=no
13313 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
13314 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
13316 archive_cmds_need_lc='no'
13317 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13328 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13333 netbsd* | netbsdelf*-gnu)
13334 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13335 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13337 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13339 hardcode_libdir_flag_spec='-R$libdir'
13341 hardcode_shlibpath_var=no
13345 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13347 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13349 hardcode_shlibpath_var=no
13356 if test -f /usr/libexec/ld.so; then
13358 hardcode_shlibpath_var=no
13360 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13361 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13362 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
13363 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13364 export_dynamic_flag_spec='$wl-E'
13366 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13367 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13370 ld_shlibs=no
13375 hardcode_libdir_flag_spec='-L$libdir'
13384 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13385 emximp -o $lib $output_objdir/$libname.def'
13392 prefix_cmds="$prefix_cmds -e 1d";
13394 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13396 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13397 emximp -o $lib $output_objdir/$libname.def'
13398 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13404 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13405 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
13407 allow_undefined_flag=' -expect_unresolved \*'
13408 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
13410 archive_cmds_need_lc='no'
13411 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13415 osf4* | osf5*) # as osf3* with the addition of -msym flag
13417 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13418 …-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
13419 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13421 allow_undefined_flag=' -expect_unresolved \*'
13422 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
13423 …rchive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >>…
13424 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
13426 # Both c and cxx compiler support -rpath directly
13427 hardcode_libdir_flag_spec='-rpath $libdir'
13429 archive_cmds_need_lc='no'
13434 no_undefined_flag=' -z defs'
13437 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
13438 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13439 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
13441 case `$CC -V 2>&1` in
13444 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13445 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13446 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
13450 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13451 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13452 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
13456 hardcode_libdir_flag_spec='-R$libdir'
13457 hardcode_shlibpath_var=no
13459 solaris2.[0-5] | solaris2.[0-5].*) ;;
13462 # but understands '-z linker_flag'. GCC discards it without '$wl',
13466 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13468 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13479 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13481 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13483 hardcode_libdir_flag_spec='-L$libdir'
13486 hardcode_shlibpath_var=no
13492 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13498 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13499 reload_cmds='$CC -r -o $output$reload_objs'
13500 hardcode_direct=no
13503 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13504 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13508 hardcode_shlibpath_var=no
13512 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13513 hardcode_shlibpath_var=no
13514 export_dynamic_flag_spec='-Bexport'
13518 if test -d /usr/nec; then
13519 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13520 hardcode_shlibpath_var=no
13528 no_undefined_flag='$wl-z,text'
13529 archive_cmds_need_lc=no
13530 hardcode_shlibpath_var=no
13534 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13535 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
13537 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13538 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
13543 # Note: We CANNOT use -z defs as we might desire, because we do not
13544 # link with -lc, and that would cause any symbols used from libc to
13545 # always be unresolved, which means just about no library would
13546 # ever link correctly. If we're not using GNU ld we use -z text
13547 # though, which does catch some bad symbols but isn't as heavy-handed
13548 # as -z defs.
13549 no_undefined_flag='$wl-z,text'
13550 allow_undefined_flag='$wl-z,nodefs'
13551 archive_cmds_need_lc=no
13552 hardcode_shlibpath_var=no
13553 hardcode_libdir_flag_spec='$wl-R,$libdir'
13556 export_dynamic_flag_spec='$wl-Bexport'
13560 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13561 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
13563 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13564 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
13569 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13570 hardcode_libdir_flag_spec='-L$libdir'
13571 hardcode_shlibpath_var=no
13575 ld_shlibs=no
13582 export_dynamic_flag_spec='$wl-Blargedynsym'
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13590 test no = "$ld_shlibs" && can_build_shared=no
13613 # Assume -lc should be added
13619 # FIXME: we may have to deal with multi-command sequences.
13622 # Test whether the compiler implicitly links with -lc since on some
13623 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13624 # to ld, don't add -lc before -lgcc.
13625 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13626 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13644 compiler_flags=-v
13645 linker_flags=-v
13651 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
13652 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13657 lt_cv_archive_cmds_need_lc=no
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13837 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13840 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
13844 # otherwise default to the standard path separator (i.e. ":") - it is
13845 # assumed that no part of a normal pathname contains ";" but that should
13856 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13858 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13864 for lt_sys_path in $lt_search_path_spec; do
13865 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13867 elif test -n "$lt_multi_os_dir"; then
13868 test -d "$lt_sys_path" && \
13876 for (lt_i = NF; lt_i > 0; lt_i--) {
13884 lt_count--;
13893 # for these hosts.
13896 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13916 hardcode_into_libs=no
13918 # when you set need_version to no, make sure it does not cause -set_version
13930 # AIX 3 has no versioning support, so we append a major version to the name.
13934 aix[4-9]*)
13936 need_lib_prefix=no
13937 need_version=no
13945 # for dependence libraries. The import file would start with
13953 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13956 can_build_shared=no
13961 # filename-based versioning of shared library archives on AIX. While
13962 # this would work for both with and without runtime linking, it will
13963 # prevent static linking of such archives. So we do filename-based
13968 # versioned .so libs for executables only if there is the -brtl
13969 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13970 # To allow for filename-based versioning support, we need to create
13980 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13983 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13993 aix,no) # traditional AIX only
13995 # We preserve .a as extension for shared libraries through AIX4.2
14010 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
14011 …postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~…
14015 *,no) # both, prefer aix
14020 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
14021 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
14032 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14038 …finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $…
14051 need_version=no
14060 # libtool to hard-code these into programs
14066 need_version=no
14067 need_lib_prefix=no
14075 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14077 test -d \$dldir || mkdir -p \$dldir~
14080 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14083 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14091 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix…
14097 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14101 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ver…
14110 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14118 for lt_path in $LIB
14122 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14127 …_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
14131 # but this time dos style (no spaces!) so that the unix form looks
14133 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14134 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14135 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
14139 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14141 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14143 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14146 # common. (e.g. "Program Files" -> "PROGRA~1")
14152 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14154 test -d \$dldir || mkdir -p \$dldir~
14156 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14165 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
14176 need_lib_prefix=no
14177 need_version=no
14190 need_lib_prefix=no
14191 need_version=no
14200 if test -x /usr/bin/objformat; then
14208 version_type=freebsd-$objformat
14210 freebsd-elf*)
14213 need_version=no
14214 need_lib_prefix=no
14216 freebsd-*)
14230 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14231 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14232 shlibpath_overrides_runpath=no
14244 need_lib_prefix=no
14245 need_version=no
14250 shlibpath_overrides_runpath=no
14251 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14259 need_lib_prefix=no
14260 need_version=no
14293 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14298 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14304 interix[3-9]*)
14306 need_lib_prefix=no
14307 need_version=no
14312 shlibpath_overrides_runpath=no
14326 need_lib_prefix=no
14327 need_version=no
14336 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14337 libsuff= shlibsuff= libmagic=32-bit;;
14338 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14340 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14341 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14342 *) libsuff= shlibsuff= libmagic=never-match;;
14347 shlibpath_overrides_runpath=no
14353 # No shared lib support for Linux oldld, aout, or coff.
14355 dynamic_linker=no
14360 need_lib_prefix=no
14361 need_version=no
14368 # This implies no fast_install, which is unacceptable.
14369 # Some rework will be needed to allow for fast_install
14374 # Don't embed -rpath directories since the linker doesn't support them.
14375 hardcode_libdir_flag_spec='-L$libdir'
14379 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14381 need_lib_prefix=no
14382 need_version=no
14385 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14387 shlibpath_overrides_runpath=no
14393 lt_cv_shlibpath_overrides_runpath=no
14398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14409 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14413 rm -f core conftest.err conftest.$ac_objext \
14422 # This implies no fast_install, which is unacceptable.
14423 # Some rework will be needed to allow for fast_install
14428 # searched for libraries, however this is still not possible. Aside from not
14430 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14431 # even though it is searched at run-time. Try to do the best guess by
14433 if test -f /etc/ld.so.conf; then
14434 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
14438 # We used to test for /lib/ld.so.1 and disable shared libraries on
14441 # most powerpc-linux boxes support dynamic linking these days and
14442 # people can always --disable-shared, the test was removed, and we
14447 netbsdelf*-gnu)
14449 need_lib_prefix=no
14450 need_version=no
14454 shlibpath_overrides_runpath=no
14461 need_lib_prefix=no
14462 need_version=no
14463 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14465 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14486 need_lib_prefix=no
14487 need_version=no
14491 shlibpath_overrides_runpath=no
14499 need_lib_prefix=no
14500 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14501 need_version=no
14506 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14515 need_version=no
14516 need_lib_prefix=no
14518 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14519 v=$($ECHO $release$versuffix | tr -d .-);
14520 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14528 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14530 test -d \$dldir || mkdir -p \$dldir~
14533 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14536 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14543 need_lib_prefix=no
14544 need_version=no
14553 dynamic_linker=no
14558 need_lib_prefix=no
14559 need_version=no
14576 need_lib_prefix=no
14588 shlibpath_overrides_runpath=no
14589 need_lib_prefix=no
14593 need_lib_prefix=no
14596 need_lib_prefix=no
14597 need_version=no
14598 shlibpath_overrides_runpath=no
14605 if test -d /usr/nec; then
14615 need_lib_prefix=no
14616 need_version=no
14636 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14638 need_lib_prefix=no
14639 need_version=no
14642 shlibpath_overrides_runpath=no
14654 dynamic_linker=no
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14659 test no = "$dynamic_linker" && can_build_shared=no
14674 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14677 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14782 if test -n "$hardcode_libdir_flag_spec" ||
14783 test -n "$runpath_var" ||
14786 # We can hardcode non-existent directories.
14787 if test no != "$hardcode_direct" &&
14790 # when we should be linking with a yet-to-be-installed one
14791 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14792 test no != "$hardcode_minus_L"; then
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14810 enable_fast_install=no
14812 test no = "$enable_shared"; then
14827 lt_cv_dlopen=no
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14850 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14855 LIBS="-ldl $LIBS"
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 ac_cv_lib_dl_dlopen=no
14876 rm -f core conftest.err conftest.$ac_objext \
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14883 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14895 # Don't try to run any link tests for TPF. We know it's impossible
14896 # because TPF is a cross-compiler, and we know how we open DSOs.
14899 lt_cv_dlopen_self=no
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14908 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14913 LIBS="-ldld $LIBS"
14914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14932 ac_cv_lib_dld_shl_load=no
14934 rm -f core conftest.err conftest.$ac_objext \
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14941 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14948 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14953 LIBS="-ldl $LIBS"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 ac_cv_lib_dl_dlopen=no
14974 rm -f core conftest.err conftest.$ac_objext \
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14981 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14984 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14989 LIBS="-lsvld $LIBS"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 ac_cv_lib_svld_dlopen=no
15010 rm -f core conftest.err conftest.$ac_objext \
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
15017 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
15019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
15020 $as_echo_n "checking for dld_link in -ldld... " >&6; }
15025 LIBS="-ldld $LIBS"
15026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 ac_cv_lib_dld_dld_link=no
15046 rm -f core conftest.err conftest.$ac_objext \
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
15053 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
15074 if test no = "$lt_cv_dlopen"; then
15075 enable_dlopen=no
15083 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15143 /* When -fvisibility=hidden is used, assume the code has been annotated
15144 correspondingly for the symbols needed. */
15171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15175 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15181 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15185 lt_cv_dlopen_self=no
15188 rm -fr conftest*
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15197 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen i…
15249 /* When -fvisibility=hidden is used, assume the code has been annotated
15250 correspondingly for the symbols needed. */
15277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15281 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15287 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15291 lt_cv_dlopen_self_static=no
15294 rm -fr conftest*
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15309 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15314 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15339 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15340 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15341 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15345 # FIXME - insert some real tests, host_os isn't really good enough
15348 if test -n "$STRIP"; then
15349 striplib="$STRIP -x"
15350 old_striplib="$STRIP -S"
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15355 $as_echo "no" >&6; }
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15360 $as_echo "no" >&6; }
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15384 test no = "$can_build_shared" && enable_shared=no
15390 test yes = "$enable_shared" && enable_static=no
15391 if test -n "$RANLIB"; then
15397 aix[4-9]*)
15402 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15422 ac_cpp='$CPP $CPPFLAGS'
15423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15451 ## --------------------- ##
15453 ## --------------------- ##
15482 # Verify if libtool shared libraries should be linked using flag -version-info
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -version-i…
15486 $as_echo_n "checking whether to build shared libraries with -version-info... " >&6; }
15489 xc_lt_shlib_use_version_info='no'
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
15500 # Verify if libtool shared libraries should be linked using flag -no-undefined
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-undefi…
15504 $as_echo_n "checking whether to build shared libraries with -no-undefined... " >&6; }
15505 xc_lt_shlib_use_no_undefined='no'
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
15520 # Verify if libtool shared libraries should be linked using flag -mimpure-text
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimpure-t…
15524 $as_echo_n "checking whether to build shared libraries with -mimpure-text... " >&6; }
15525 xc_lt_shlib_use_mimpure_text='no'
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
15543 xc_lt_build_static_with_pic='no'
15550 xc_lt_build_shared_with_pic='no'
15551 xc_lt_build_static_with_pic='no'
15556 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mode" >&5
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" >&5
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" >&5
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
15576 test "$xc_lt_build_static" = 'no'; then
15579 xc_lt_build_shared_only='no'
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
15591 test "$xc_lt_build_shared" = 'no'; then
15594 xc_lt_build_static_only='no'
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
15633 # specifying separate CPPFLAGS or CFLAGS when compiling objects for
15635 # build using separate configure runs for shared and static libraries
15637 # to compile objects for each kind of library. Notice that relying on
15638 # the '-DPIC' CFLAG that libtool provides is not valid given that the
15639 # user might for example choose to build static libraries with PIC.
15664 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
15670 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
15672 REQUIRE_LIB_DEPS=no
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15687 $as_echo_n "checking for inline... " >&6; }
15691 ac_cv_c_inline=no
15692 for ac_kw in inline __inline__ __inline; do
15693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15706 test "$ac_cv_c_inline" != no && break
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15717 no) ac_val=;;
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
15732 $as_echo_n "checking if cpp -P is needed... " >&6; }
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 cpp=no
15744 cpp=yes
15746 rm -f conftest*
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
15749 $as_echo "$cpp" >&6; }
15751 if test "x$cpp" = "xyes"; then
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
15753 $as_echo_n "checking if cpp -P works... " >&6; }
15755 CPPFLAGS="$CPPFLAGS -P"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 cpp_p=no
15769 rm -f conftest*
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
15776 $as_echo "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
15777 # without -P
15780 # with -P
15781 CPPPFLAG="-P"
15785 # without -P
15801 flags_prefer_cppflags="no"
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
15810 if test -z "$SED"; then
15813 if test -z "$GREP"; then
15818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
15839 rm -f conftest.err conftest.i conftest.$ac_ext
15840 if test -z "$tmp_exp"; then
15841 curl_cv_have_def___DECC=no
15854 if test -z "$SED"; then
15857 if test -z "$GREP"; then
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15878 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
15883 rm -f conftest.err conftest.i conftest.$ac_ext
15884 if test -z "$tmp_exp"; then
15885 curl_cv_have_def___DECC_VER=no
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15899 flags_dbg_all="-g -g0 -g1 -g2 -g3"
15900 flags_dbg_yes="-g2"
15902 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
15903 flags_opt_yes="-O1"
15904 flags_opt_off="-O0"
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15907 $as_echo "no" >&6; }
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
15912 $as_echo_n "checking if compiler is HP-UX C... " >&6; }
15917 if test -z "$SED"; then
15920 if test -z "$GREP"; then
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
15946 rm -f conftest.err conftest.i conftest.$ac_ext
15947 if test -z "$tmp_exp"; then
15948 curl_cv_have_def___HP_cc=no
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15961 flags_dbg_all="-g -s"
15962 flags_dbg_yes="-g"
15963 flags_dbg_off="-s"
15964 flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15969 $as_echo "no" >&6; }
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
15979 if test -z "$SED"; then
15982 if test -z "$GREP"; then
15987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
16008 rm -f conftest.err conftest.i conftest.$ac_ext
16009 if test -z "$tmp_exp"; then
16010 curl_cv_have_def___IBMC__=no
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16023 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16024 flags_dbg_yes="-g"
16026 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
16027 flags_opt_all="$flags_opt_all -qnooptimize"
16028 flags_opt_all="$flags_opt_all -qoptimize=0"
16029 flags_opt_all="$flags_opt_all -qoptimize=1"
16030 flags_opt_all="$flags_opt_all -qoptimize=2"
16031 flags_opt_all="$flags_opt_all -qoptimize=3"
16032 flags_opt_all="$flags_opt_all -qoptimize=4"
16033 flags_opt_all="$flags_opt_all -qoptimize=5"
16034 flags_opt_yes="-O2"
16035 flags_opt_off="-qnooptimize"
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16039 $as_echo "no" >&6; }
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
16049 if test -z "$SED"; then
16052 if test -z "$GREP"; then
16057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073 if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
16078 rm -f conftest.err conftest.i conftest.$ac_ext
16079 if test -z "$tmp_exp"; then
16080 curl_cv_have_def___INTEL_COMPILER=no
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16097 if test -z "$SED"; then
16100 if test -z "$GREP"; then
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16121 if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
16126 rm -f conftest.err conftest.i conftest.$ac_ext
16127 if test -z "$tmp_exp"; then
16128 curl_cv_have_def___unix__=no
16139 flags_dbg_all="-g -g0"
16140 flags_dbg_yes="-g"
16142 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
16143 flags_opt_yes="-O2"
16144 flags_opt_off="-O0"
16147 flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
16155 flags_dbg_yes="/Zi /Oy-"
16156 flags_dbg_off="/debug:none /Oy-"
16157 flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16163 $as_echo "no" >&6; }
16167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
16173 if test -z "$SED"; then
16176 if test -z "$GREP"; then
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
16202 rm -f conftest.err conftest.i conftest.$ac_ext
16203 if test -z "$tmp_exp"; then
16204 curl_cv_have_def___clang__=no
16214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
16222 if test -z "$SED"; then
16225 if test -z "$GREP"; then
16230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246 if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
16251 rm -f conftest.err conftest.i conftest.$ac_ext
16252 if test -z "$tmp_exp"; then
16253 curl_cv_have_def___ibmxl__=no
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16268 $as_echo "no" >&6; }
16271 fullclangver=`$CC -v 2>&1 | grep version`
16272 …clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*…
16273 if test -z "$clangver"; then
16277 clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
16280 clangvhi=`echo $clangver | cut -d . -f1`
16281 clangvlo=`echo $clangver | cut -d . -f2`
16283 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16284 flags_dbg_all="$flags_dbg_all -ggdb"
16285 flags_dbg_all="$flags_dbg_all -gstabs"
16286 flags_dbg_all="$flags_dbg_all -gstabs+"
16287 flags_dbg_all="$flags_dbg_all -gcoff"
16288 flags_dbg_all="$flags_dbg_all -gxcoff"
16289 flags_dbg_all="$flags_dbg_all -gdwarf-2"
16290 flags_dbg_all="$flags_dbg_all -gvms"
16291 flags_dbg_yes="-g"
16293 flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
16294 flags_opt_yes="-Os"
16295 flags_opt_off="-O0"
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16298 $as_echo "no" >&6; }
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
16308 if test -z "$SED"; then
16311 if test -z "$GREP"; then
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
16337 rm -f conftest.err conftest.i conftest.$ac_ext
16338 if test -z "$tmp_exp"; then
16339 curl_cv_have_def___GNUC__=no
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16353 gccver=`$CC -dumpversion`
16354 gccvhi=`echo $gccver | cut -d . -f1`
16355 gccvlo=`echo $gccver | cut -d . -f2`
16357 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16358 flags_dbg_all="$flags_dbg_all -ggdb"
16359 flags_dbg_all="$flags_dbg_all -gstabs"
16360 flags_dbg_all="$flags_dbg_all -gstabs+"
16361 flags_dbg_all="$flags_dbg_all -gcoff"
16362 flags_dbg_all="$flags_dbg_all -gxcoff"
16363 flags_dbg_all="$flags_dbg_all -gdwarf-2"
16364 flags_dbg_all="$flags_dbg_all -gvms"
16365 flags_dbg_yes="-g"
16367 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
16368 flags_opt_yes="-O2"
16369 flags_opt_off="-O0"
16374 if test -z "$SED"; then
16377 if test -z "$GREP"; then
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16398 if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then
16403 rm -f conftest.err conftest.i conftest.$ac_ext
16404 if test -z "$tmp_exp"; then
16405 curl_cv_have_def__WIN32=no
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16416 $as_echo "no" >&6; }
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5
16426 if test -z "$SED"; then
16429 if test -z "$GREP"; then
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then
16455 rm -f conftest.err conftest.i conftest.$ac_ext
16456 if test -z "$tmp_exp"; then
16457 curl_cv_have_def___LCC__=no
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16470 flags_dbg_all="-g"
16471 flags_dbg_yes="-g"
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16478 $as_echo "no" >&6; }
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
16488 if test -z "$SED"; then
16491 if test -z "$GREP"; then
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
16517 rm -f conftest.err conftest.i conftest.$ac_ext
16518 if test -z "$tmp_exp"; then
16519 curl_cv_have_def___GNUC__=no
16532 if test -z "$SED"; then
16535 if test -z "$GREP"; then
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
16561 rm -f conftest.err conftest.i conftest.$ac_ext
16562 if test -z "$tmp_exp"; then
16563 curl_cv_have_def__COMPILER_VERSION=no
16576 if test -z "$SED"; then
16579 if test -z "$GREP"; then
16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
16605 rm -f conftest.err conftest.i conftest.$ac_ext
16606 if test -z "$tmp_exp"; then
16607 curl_cv_have_def__SGI_COMPILER_VERSION=no
16616 if test "$curl_cv_have_def___GNUC__" = "no" &&
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16622 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16623 flags_dbg_yes="-g"
16625 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
16626 flags_opt_yes="-O2"
16627 flags_opt_off="-O0"
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630 $as_echo "no" >&6; }
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
16640 if test -z "$SED"; then
16643 if test -z "$GREP"; then
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
16669 rm -f conftest.err conftest.i conftest.$ac_ext
16670 if test -z "$tmp_exp"; then
16671 curl_cv_have_def___GNUC__=no
16684 if test -z "$SED"; then
16687 if test -z "$GREP"; then
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
16713 rm -f conftest.err conftest.i conftest.$ac_ext
16714 if test -z "$tmp_exp"; then
16715 curl_cv_have_def___sgi=no
16724 if test "$curl_cv_have_def___GNUC__" = "no" &&
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16730 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16731 flags_dbg_yes="-g"
16733 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
16734 flags_opt_yes="-O2"
16735 flags_opt_off="-O0"
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16738 $as_echo "no" >&6; }
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
16748 if test -z "$SED"; then
16751 if test -z "$GREP"; then
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
16777 rm -f conftest.err conftest.i conftest.$ac_ext
16778 if test -z "$tmp_exp"; then
16779 curl_cv_have_def___SUNPRO_C=no
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16792 flags_dbg_all="-g -s"
16793 flags_dbg_yes="-g"
16794 flags_dbg_off="-s"
16795 flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
16796 flags_opt_yes="-xO2"
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16800 $as_echo "no" >&6; }
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
16810 if test -z "$SED"; then
16813 if test -z "$GREP"; then
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
16839 rm -f conftest.err conftest.i conftest.$ac_ext
16840 if test -z "$tmp_exp"; then
16841 curl_cv_have_def___TINYC__=no
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16854 flags_dbg_all="-g -b"
16855 flags_dbg_yes="-g"
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16862 $as_echo "no" >&6; }
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Watcom C" >&5
16872 if test -z "$SED"; then
16875 if test -z "$GREP"; then
16880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 if test -z "$tmp_exp" || test "$tmp_exp" = "__WATCOMC__"; then
16901 rm -f conftest.err conftest.i conftest.$ac_ext
16902 if test -z "$tmp_exp"; then
16903 curl_cv_have_def___WATCOMC__=no
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16919 if test -z "$SED"; then
16922 if test -z "$GREP"; then
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 if test -z "$tmp_exp" || test "$tmp_exp" = "__UNIX__"; then
16948 rm -f conftest.err conftest.i conftest.$ac_ext
16949 if test -z "$tmp_exp"; then
16950 curl_cv_have_def___UNIX__=no
16961 flags_dbg_all="-g1 -g1+ -g2 -g3"
16962 flags_dbg_yes="-g2"
16964 flags_opt_all="-O0 -O1 -O2 -O3"
16965 flags_opt_yes="-O2"
16966 flags_opt_off="-O0"
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16978 $as_echo "no" >&6; }
16989 *** Whatever settings are present in CFLAGS will be used for this run.
16993 *** mailing list: https://cool.haxx.se/mailman/listinfo/curl-library/
17002 for _sqz_token in $_sqz_input; do
17003 if test -z "$_sqz_result"; then
17026 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
17031 tmp_CFLAGS="$tmp_CFLAGS -std1"
17032 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
17033 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
17034 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
17039 if test "$compiler_num" -ge "295"; then
17040 tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
17046 tmp_CFLAGS="$tmp_CFLAGS -z"
17052 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
17053 tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
17054 tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
17059 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
17060 tmp_CPPFLAGS="$tmp_CPPFLAGS -we140,147,165,266"
17061 tmp_CPPFLAGS="$tmp_CPPFLAGS -wd279,981,1469"
17071 tmp_CFLAGS="$tmp_CFLAGS -n"
17109 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140 tmp_compiler_works="no"
17142 sed 's/^/cc-fail: /' conftest.err >&6
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 tmp_compiler_works="no"
17172 sed 's/^/link-fail: /' conftest.err >&6
17176 rm -f core conftest.err conftest.$ac_objext \
17186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17189 See \`config.log' for more details" "$LINENO" 5; }
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 tmp_compiler_works="no"
17216 echo "run-fail: test program exited with status $ac_status" >&6
17220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17231 … { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17237 $as_echo "no" >&6; }
17238 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPF…
17261 for word1 in $tmp_CFLAGS; do
17262 ac_var_strip_word="no"
17263 for word2 in $flags_dbg_all; do
17268 if test "$ac_var_strip_word" = "no"; then
17277 for word1 in $tmp_CPPFLAGS; do
17278 ac_var_strip_word="no"
17279 for word2 in $flags_dbg_all; do
17284 if test "$ac_var_strip_word" = "no"; then
17293 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5
17297 if test "$want_debug" = "no"; then
17298 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug disabling options" >&5
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 tmp_compiler_works="no"
17338 sed 's/^/cc-fail: /' conftest.err >&6
17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 tmp_compiler_works="no"
17368 sed 's/^/link-fail: /' conftest.err >&6
17372 rm -f core conftest.err conftest.$ac_objext \
17382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17385 See \`config.log' for more details" "$LINENO" 5; }
17387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17410 tmp_compiler_works="no"
17412 echo "run-fail: test program exited with status $ac_status" >&6
17416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17433 $as_echo "no" >&6; }
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
17459 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be u…
17463 ac_var_match_word="no"
17464 for word1 in $tmp_CFLAGS; do
17465 for word2 in $flags_opt_all; do
17474 honor_optimize_option="no"
17481 ac_var_match_word="no"
17482 for word1 in $tmp_CPPFLAGS; do
17483 for word2 in $flags_opt_all; do
17492 honor_optimize_option="no"
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
17504 want_optimize="no"
17512 for word1 in $tmp_CFLAGS; do
17513 ac_var_strip_word="no"
17514 for word2 in $flags_opt_all; do
17519 if test "$ac_var_strip_word" = "no"; then
17528 for word1 in $tmp_CPPFLAGS; do
17529 ac_var_strip_word="no"
17530 for word2 in $flags_opt_all; do
17535 if test "$ac_var_strip_word" = "no"; then
17543 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" …
17547 if test "$want_optimize" = "no"; then
17548 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options"…
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 tmp_compiler_works="no"
17587 sed 's/^/cc-fail: /' conftest.err >&6
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 tmp_compiler_works="no"
17617 sed 's/^/link-fail: /' conftest.err >&6
17621 rm -f core conftest.err conftest.$ac_objext \
17631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17634 See \`config.log' for more details" "$LINENO" 5; }
17636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 tmp_compiler_works="no"
17661 echo "run-fail: test program exited with status $ac_status" >&6
17665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17682 $as_echo "no" >&6; }
17683 … { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
17708 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
17711 for warning in all extra; do
17713 ac_var_match_word="no"
17714 for word1 in $CFLAGS; do
17715 for word2 in -Wno-$warning -W$warning; do
17722 if test "$ac_var_match_word" = "no"; then
17723 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17731 for warning in pointer-arith write-strings; do
17733 ac_var_match_word="no"
17734 for word1 in $CFLAGS; do
17735 for word2 in -Wno-$warning -W$warning; do
17742 if test "$ac_var_match_word" = "no"; then
17743 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17751 for warning in shadow; do
17753 ac_var_match_word="no"
17754 for word1 in $CFLAGS; do
17755 for word2 in -Wno-$warning -W$warning; do
17762 if test "$ac_var_match_word" = "no"; then
17763 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17771 for warning in inline nested-externs; do
17773 ac_var_match_word="no"
17774 for word1 in $CFLAGS; do
17775 for word2 in -Wno-$warning -W$warning; do
17782 if test "$ac_var_match_word" = "no"; then
17783 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17791 for warning in missing-declarations; do
17793 ac_var_match_word="no"
17794 for word1 in $CFLAGS; do
17795 for word2 in -Wno-$warning -W$warning; do
17802 if test "$ac_var_match_word" = "no"; then
17803 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17811 for warning in missing-prototypes; do
17813 ac_var_match_word="no"
17814 for word1 in $CFLAGS; do
17815 for word2 in -Wno-$warning -W$warning; do
17822 if test "$ac_var_match_word" = "no"; then
17823 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17829 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
17832 for warning in float-equal; do
17834 ac_var_match_word="no"
17835 for word1 in $CFLAGS; do
17836 for word2 in -Wno-$warning -W$warning; do
17843 if test "$ac_var_match_word" = "no"; then
17844 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17852 for warning in no-multichar sign-compare; do
17854 ac_var_match_word="no"
17855 for word1 in $CFLAGS; do
17856 for word2 in -Wno-$warning -W$warning; do
17863 if test "$ac_var_match_word" = "no"; then
17864 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17872 for warning in undef; do
17874 ac_var_match_word="no"
17875 for word1 in $CFLAGS; do
17876 for word2 in -Wno-$warning -W$warning; do
17883 if test "$ac_var_match_word" = "no"; then
17884 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17890 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
17893 for warning in endif-labels strict-prototypes; do
17895 ac_var_match_word="no"
17896 for word1 in $CFLAGS; do
17897 for word2 in -Wno-$warning -W$warning; do
17904 if test "$ac_var_match_word" = "no"; then
17905 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17913 for warning in declaration-after-statement; do
17915 ac_var_match_word="no"
17916 for word1 in $CFLAGS; do
17917 for word2 in -Wno-$warning -W$warning; do
17924 if test "$ac_var_match_word" = "no"; then
17925 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17933 for warning in cast-align; do
17935 ac_var_match_word="no"
17936 for word1 in $CFLAGS; do
17937 for word2 in -Wno-$warning -W$warning; do
17944 if test "$ac_var_match_word" = "no"; then
17945 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17951 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
17954 for warning in shorten-64-to-32; do
17956 ac_var_match_word="no"
17957 for word1 in $CFLAGS; do
17958 for word2 in -Wno-$warning -W$warning; do
17965 if test "$ac_var_match_word" = "no"; then
17966 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17973 if test "$compiler_num" -ge "101"; then
17976 for warning in unused; do
17978 ac_var_match_word="no"
17979 for word1 in $CFLAGS; do
17980 for word2 in -Wno-$warning -W$warning; do
17987 if test "$ac_var_match_word" = "no"; then
17988 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
17996 if test "$compiler_num" -ge "208"; then
17999 for warning in vla; do
18001 ac_var_match_word="no"
18002 for word1 in $CFLAGS; do
18003 for word2 in -Wno-$warning -W$warning; do
18010 if test "$ac_var_match_word" = "no"; then
18011 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18019 if test "$compiler_num" -ge "209"; then
18022 for warning in shift-sign-overflow; do
18024 ac_var_match_word="no"
18025 for word1 in $CFLAGS; do
18026 for word2 in -Wno-$warning -W$warning; do
18033 if test "$ac_var_match_word" = "no"; then
18034 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18042 if test "$compiler_num" -ge "302"; then
18049 for warning in missing-variable-declarations; do
18051 ac_var_match_word="no"
18052 for word1 in $CFLAGS; do
18053 for word2 in -Wno-$warning -W$warning; do
18060 if test "$ac_var_match_word" = "no"; then
18061 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18071 if test "$compiler_num" -ge "306"; then
18074 for warning in double-promotion; do
18076 ac_var_match_word="no"
18077 for word1 in $CFLAGS; do
18078 for word2 in -Wno-$warning -W$warning; do
18085 if test "$ac_var_match_word" = "no"; then
18086 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18094 if test "$compiler_num" -ge "309"; then
18097 for warning in comma; do
18099 ac_var_match_word="no"
18100 for word1 in $CFLAGS; do
18101 for word2 in -Wno-$warning -W$warning; do
18108 if test "$ac_var_match_word" = "no"; then
18109 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18117 if test "$compiler_num" -lt "400"; then
18118 tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
18121 if test "$compiler_num" -ge "700"; then
18124 for warning in assign-enum; do
18126 ac_var_match_word="no"
18127 for word1 in $CFLAGS; do
18128 for word2 in -Wno-$warning -W$warning; do
18135 if test "$ac_var_match_word" = "no"; then
18136 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18149 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
18158 test "$compiler_num" -ge "300"; then
18159 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
18164 for warning in all; do
18166 ac_var_match_word="no"
18167 for word1 in $CFLAGS; do
18168 for word2 in -Wno-$warning -W$warning; do
18175 if test "$ac_var_match_word" = "no"; then
18176 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18182 tmp_CFLAGS="$tmp_CFLAGS -W"
18184 if test "$compiler_num" -ge "104"; then
18187 for warning in pointer-arith write-strings; do
18189 ac_var_match_word="no"
18190 for word1 in $CFLAGS; do
18191 for word2 in -Wno-$warning -W$warning; do
18198 if test "$ac_var_match_word" = "no"; then
18199 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18206 test "$compiler_num" -ge "300"; then
18209 for warning in unused shadow; do
18211 ac_var_match_word="no"
18212 for word1 in $CFLAGS; do
18213 for word2 in -Wno-$warning -W$warning; do
18220 if test "$ac_var_match_word" = "no"; then
18221 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18230 if test "$compiler_num" -ge "207"; then
18233 for warning in inline nested-externs; do
18235 ac_var_match_word="no"
18236 for word1 in $CFLAGS; do
18237 for word2 in -Wno-$warning -W$warning; do
18244 if test "$ac_var_match_word" = "no"; then
18245 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18252 test "$compiler_num" -ge "300"; then
18255 for warning in missing-declarations; do
18257 ac_var_match_word="no"
18258 for word1 in $CFLAGS; do
18259 for word2 in -Wno-$warning -W$warning; do
18266 if test "$ac_var_match_word" = "no"; then
18267 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18275 for warning in missing-prototypes; do
18277 ac_var_match_word="no"
18278 for word1 in $CFLAGS; do
18279 for word2 in -Wno-$warning -W$warning; do
18286 if test "$ac_var_match_word" = "no"; then
18287 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18296 if test "$compiler_num" -ge "295"; then
18297 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
18300 for warning in bad-function-cast; do
18302 ac_var_match_word="no"
18303 for word1 in $CFLAGS; do
18304 for word2 in -Wno-$warning -W$warning; do
18311 if test "$ac_var_match_word" = "no"; then
18312 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18320 if test "$compiler_num" -ge "296"; then
18323 for warning in float-equal; do
18325 ac_var_match_word="no"
18326 for word1 in $CFLAGS; do
18327 for word2 in -Wno-$warning -W$warning; do
18334 if test "$ac_var_match_word" = "no"; then
18335 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18341 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
18344 for warning in sign-compare; do
18346 ac_var_match_word="no"
18347 for word1 in $CFLAGS; do
18348 for word2 in -Wno-$warning -W$warning; do
18355 if test "$ac_var_match_word" = "no"; then
18356 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18364 for warning in undef; do
18366 ac_var_match_word="no"
18367 for word1 in $CFLAGS; do
18368 for word2 in -Wno-$warning -W$warning; do
18375 if test "$ac_var_match_word" = "no"; then
18376 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18384 if test "$compiler_num" -ge "297"; then
18385 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
18388 if test "$compiler_num" -ge "300"; then
18392 if test "$compiler_num" -ge "303"; then
18395 for warning in endif-labels strict-prototypes; do
18397 ac_var_match_word="no"
18398 for word1 in $CFLAGS; do
18399 for word2 in -Wno-$warning -W$warning; do
18406 if test "$ac_var_match_word" = "no"; then
18407 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18415 if test "$compiler_num" -ge "304"; then
18418 for warning in declaration-after-statement; do
18420 ac_var_match_word="no"
18421 for word1 in $CFLAGS; do
18422 for word2 in -Wno-$warning -W$warning; do
18429 if test "$ac_var_match_word" = "no"; then
18430 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18438 for warning in old-style-definition; do
18440 ac_var_match_word="no"
18441 for word1 in $CFLAGS; do
18442 for word2 in -Wno-$warning -W$warning; do
18449 if test "$ac_var_match_word" = "no"; then
18450 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18458 if test "$compiler_num" -ge "400"; then
18459 tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
18462 if test "$compiler_num" -ge "402"; then
18465 for warning in cast-align; do
18467 ac_var_match_word="no"
18468 for word1 in $CFLAGS; do
18469 for word2 in -Wno-$warning -W$warning; do
18476 if test "$ac_var_match_word" = "no"; then
18477 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18485 if test "$compiler_num" -ge "403"; then
18488 for warning in type-limits old-style-declaration; do
18490 ac_var_match_word="no"
18491 for word1 in $CFLAGS; do
18492 for word2 in -Wno-$warning -W$warning; do
18499 if test "$ac_var_match_word" = "no"; then
18500 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18508 for warning in missing-parameter-type empty-body; do
18510 ac_var_match_word="no"
18511 for word1 in $CFLAGS; do
18512 for word2 in -Wno-$warning -W$warning; do
18519 if test "$ac_var_match_word" = "no"; then
18520 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18528 for warning in clobbered ignored-qualifiers; do
18530 ac_var_match_word="no"
18531 for word1 in $CFLAGS; do
18532 for word2 in -Wno-$warning -W$warning; do
18539 if test "$ac_var_match_word" = "no"; then
18540 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18548 for warning in conversion; do
18550 ac_var_match_word="no"
18551 for word1 in $CFLAGS; do
18552 for word2 in -Wno-$warning -W$warning; do
18559 if test "$ac_var_match_word" = "no"; then
18560 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18566 tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion"
18569 for warning in vla; do
18571 ac_var_match_word="no"
18572 for word1 in $CFLAGS; do
18573 for word2 in -Wno-$warning -W$warning; do
18580 if test "$ac_var_match_word" = "no"; then
18581 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18587 tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
18590 if test "$compiler_num" -ge "405"; then
18592 tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
18596 if test "$compiler_num" -ge "406"; then
18599 for warning in double-promotion; do
18601 ac_var_match_word="no"
18602 for word1 in $CFLAGS; do
18603 for word2 in -Wno-$warning -W$warning; do
18610 if test "$ac_var_match_word" = "no"; then
18611 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18619 if test "$compiler_num" -ge "408"; then
18620 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
18623 if test "$compiler_num" -ge "500"; then
18624 tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
18627 if test "$compiler_num" -ge "600"; then
18630 for warning in shift-negative-value; do
18632 ac_var_match_word="no"
18633 for word1 in $CFLAGS; do
18634 for word2 in -Wno-$warning -W$warning; do
18641 if test "$ac_var_match_word" = "no"; then
18642 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18648 tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
18651 for warning in null-dereference; do
18653 ac_var_match_word="no"
18654 for word1 in $CFLAGS; do
18655 for word2 in -Wno-$warning -W$warning; do
18662 if test "$ac_var_match_word" = "no"; then
18663 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18669 tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
18672 for warning in duplicated-cond; do
18674 ac_var_match_word="no"
18675 for word1 in $CFLAGS; do
18676 for word2 in -Wno-$warning -W$warning; do
18683 if test "$ac_var_match_word" = "no"; then
18684 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18692 for warning in unused-const-variable; do
18694 ac_var_match_word="no"
18695 for word1 in $CFLAGS; do
18696 for word2 in -Wno-$warning -W$warning; do
18703 if test "$ac_var_match_word" = "no"; then
18704 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18712 if test "$compiler_num" -ge "700"; then
18715 for warning in duplicated-branches; do
18717 ac_var_match_word="no"
18718 for word1 in $CFLAGS; do
18719 for word2 in -Wno-$warning -W$warning; do
18726 if test "$ac_var_match_word" = "no"; then
18727 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18735 for warning in restrict; do
18737 ac_var_match_word="no"
18738 for word1 in $CFLAGS; do
18739 for word2 in -Wno-$warning -W$warning; do
18746 if test "$ac_var_match_word" = "no"; then
18747 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18755 for warning in alloc-zero; do
18757 ac_var_match_word="no"
18758 for word1 in $CFLAGS; do
18759 for word2 in -Wno-$warning -W$warning; do
18766 if test "$ac_var_match_word" = "no"; then
18767 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18773 tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
18774 tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
18775 tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
18780 if test "$compiler_num" -ge "300"; then
18781 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
18784 if test "$compiler_num" -ge "104"; then
18785 tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
18787 if test "$compiler_num" -ge "207"; then
18788 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
18789 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
18793 if test "$compiler_num" -ge "1000"; then
18796 for warning in enum-conversion; do
18798 ac_var_match_word="no"
18799 for word1 in $CFLAGS; do
18800 for word2 in -Wno-$warning -W$warning; do
18807 if test "$ac_var_match_word" = "no"; then
18808 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18832 if test "$compiler_num" -gt "600"; then
18833 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
18834 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
18835 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
18836 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
18837 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
18838 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
18839 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
18840 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
18841 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
18842 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
18843 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
18846 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
18847 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
18848 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
18866 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
18873 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
18874 tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
18881 tmp_CFLAGS="$tmp_CFLAGS -v"
18890 for warning in all; do
18892 ac_var_match_word="no"
18893 for word1 in $CFLAGS; do
18894 for word2 in -Wno-$warning -W$warning; do
18901 if test "$ac_var_match_word" = "no"; then
18902 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18910 for warning in write-strings; do
18912 ac_var_match_word="no"
18913 for word1 in $CFLAGS; do
18914 for word2 in -Wno-$warning -W$warning; do
18921 if test "$ac_var_match_word" = "no"; then
18922 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18930 for warning in unsupported; do
18932 ac_var_match_word="no"
18933 for word1 in $CFLAGS; do
18934 for word2 in -Wno-$warning -W$warning; do
18941 if test "$ac_var_match_word" = "no"; then
18942 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
18954 tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
18968 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
18969 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5
18977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18999 tmp_compiler_works="no"
19001 sed 's/^/cc-fail: /' conftest.err >&6
19005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 tmp_compiler_works="no"
19031 sed 's/^/link-fail: /' conftest.err >&6
19035 rm -f core conftest.err conftest.$ac_objext \
19045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19048 See \`config.log' for more details" "$LINENO" 5; }
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19073 tmp_compiler_works="no"
19075 echo "run-fail: test program exited with status $ac_status" >&6
19079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19090 … { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19096 $as_echo "no" >&6; }
19097 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPF…
19111 if test "$compiler_num" -ge "1000"; then
19112 CFLAGS="$CFLAGS -shared-intel"
19113 elif test "$compiler_num" -ge "900"; then
19114 CFLAGS="$CFLAGS -i-dynamic"
19121 CURL_CFLAG_EXTRAS="-Werror"
19123 if test "$compiler_num" -ge "500"; then
19124 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
19131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19151 $as_echo "no" >&6; }
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays" >&5
19165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19184 $as_echo "no" >&6; }
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19196 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mismatch…
19198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19228 $as_echo "no" >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library internal sym…
19242 supports_symbol_hiding="no"
19250 tmp_CFLAGS="-fvisibility=hidden"
19254 if test "$compiler_num" -ge "304"; then
19255 if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
19257 tmp_CFLAGS="-fvisibility=hidden"
19263 if test "$compiler_num" -ge "900"; then
19264 if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
19266 CFLAGS="$CFLAGS -fvisibility=hidden"
19267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 tmp_CFLAGS="-fvisibility=hidden"
19290 rm -f core conftest.err conftest.$ac_objext \
19297 if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
19299 tmp_CFLAGS="-xldscope=hidden"
19308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 if test -f conftest.err; then
19339 if test "$?" -eq "0"; then
19340 supports_symbol_hiding="no"
19346 supports_symbol_hiding="no"
19348 sed 's/^/cc-src: /' conftest.$ac_ext >&6
19349 sed 's/^/cc-err: /' conftest.err >&6
19353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19363 $as_echo "no" >&6; }
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
19374 supports_curldebug="no"
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
19380 supports_curldebug="no"
19382 if test "$supports_curldebug" != "no"; then
19385 supports_curldebug="no"
19386 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined symbol…
19393 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enabled" >&5
19395 test "$supports_curldebug" = "no" || supports_curldebug="yes"
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
19398 if test "$supports_curldebug" = "no"; then
19399 … { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." >&5
19401 want_curldebug="no"
19415 # cross-compilation of unit tests static library/programs fails when
19420 supports_unittests=no
19427 mips-sgi-irix6.5)
19429 supports_unittests=no
19435 # due to unittests library being built with no symbols or members. Libtool ?
19439 supports_unittests=no
19447 want_unittests=no
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
19462 $as_echo_n "checking for windows.h... " >&6; }
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 curl_cv_header_windows_h="no"
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
19516 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5
19522 if test "$curl_cv_header_windows_h" = "no"; then
19523 curl_cv_native_windows="no"
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 curl_cv_native_windows="no"
19554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
19569 case X-"$curl_cv_native_windows" in
19570 X-yes)
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
19573 $as_echo_n "checking for winsock.h... " >&6; }
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 curl_cv_header_winsock_h="no"
19612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock_h" >&5
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
19629 $as_echo_n "checking for winsock2.h... " >&6; }
19634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 curl_cv_header_winsock2_h="no"
19668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
19685 $as_echo_n "checking for ws2tcpip.h... " >&6; }
19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19722 curl_cv_header_ws2tcpip_h="no"
19725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winldap.h" >&5
19742 $as_echo_n "checking for winldap.h... " >&6; }
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19781 curl_cv_header_winldap_h="no"
19784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winldap_h" >&5
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winber.h" >&5
19801 $as_echo_n "checking for winber.h... " >&6; }
19806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19842 curl_cv_header_winber_h="no"
19845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winber_h" >&5
19862 curl_cv_header_winsock_h="no"
19863 curl_cv_header_winsock2_h="no"
19864 curl_cv_header_ws2tcpip_h="no"
19865 curl_cv_header_winldap_h="no"
19866 curl_cv_header_winber_h="no"
19870 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5
19872 curl_win32_file_api="no"
19875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 if test "$curl_win32_file_api" = "no"; then
19904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19952 $as_echo "no" >&6; }
19959 tst_cflags="no"
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good-to-use Mac CFLAGS" >&5
19967 $as_echo_n "checking for good-to-use Mac CFLAGS... " >&6; }
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for *version-min in CFLAGS" >&5
19973 $as_echo_n "checking for *version-min in CFLAGS... " >&6; }
19975 if test -z "$(echo $CFLAGS | grep m.*os.*-version-min)"; then
19976 min="-mmacosx-version-min=10.8"
19979 if test -z "$min"; then
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set by user" >&5
19983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $min set" >&5
19988 CFLAGS="$CFLAGS -Werror=partial-availability"
19989 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availability…
19990 $as_echo_n "checking whether $CC accepts -Werror=partial-availability... " >&6; }
19991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20006 $as_echo "no" >&6; }
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_availa…
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20045 $as_echo "no" >&6; }
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
20054 # Check whether --enable-http was given.
20057 no)
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20059 $as_echo "no" >&6; }
20064 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RTSP" >…
20074 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
20086 # Check whether --enable-ftp was given.
20089 no)
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20091 $as_echo "no" >&6; }
20098 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
20110 # Check whether --enable-file was given.
20113 no)
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20115 $as_echo "no" >&6; }
20122 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
20134 # Check whether --enable-ldap was given.
20137 no)
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20139 $as_echo "no" >&6; }
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
20160 # Check whether --enable-ldaps was given.
20163 no)
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20165 $as_echo "no" >&6; }
20173 … { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >&5
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20195 $as_echo "no" >&6; }
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
20216 # Check whether --enable-rtsp was given.
20219 no)
20220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20221 $as_echo "no" >&6; }
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20244 $as_echo "no" >&6; }
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
20252 # Check whether --enable-proxy was given.
20255 no)
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20257 $as_echo "no" >&6; }
20263 https_proxy="no"
20265 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
20278 # Check whether --enable-dict was given.
20281 no)
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20283 $as_echo "no" >&6; }
20290 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
20302 # Check whether --enable-telnet was given.
20305 no)
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20307 $as_echo "no" >&6; }
20314 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
20326 # Check whether --enable-tftp was given.
20329 no)
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20331 $as_echo "no" >&6; }
20338 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
20351 # Check whether --enable-pop3 was given.
20354 no)
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20356 $as_echo "no" >&6; }
20363 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
20377 # Check whether --enable-imap was given.
20380 no)
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20382 $as_echo "no" >&6; }
20389 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
20403 # Check whether --enable-smb was given.
20406 no)
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20408 $as_echo "no" >&6; }
20415 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
20428 # Check whether --enable-smtp was given.
20431 no)
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20433 $as_echo "no" >&6; }
20440 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
20453 # Check whether --enable-gopher was given.
20456 no)
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20458 $as_echo "no" >&6; }
20465 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support mqtt" >&5
20478 # Check whether --enable-mqtt was given.
20481 no)
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20483 $as_echo "no" >&6; }
20490 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20496 $as_echo "no" >&6; }
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
20503 $as_echo_n "checking whether to provide built-in manual... " >&6; }
20504 # Check whether --enable-manual was given.
20507 no)
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20509 $as_echo "no" >&6; }
20511 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
20526 # Check whether --enable-libcurl_option was given.
20529 no)
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20531 $as_echo "no" >&6; }
20535 curl_libcurl_msg="no"
20537 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
20551 # Check whether --enable-libgcc was given.
20555 LIBS="-lgcc $LIBS"
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20559 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20560 $as_echo "no" >&6; }
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20565 $as_echo "no" >&6; }
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
20573 tst_lib_xnet_required="no"
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 LIBS="-lxnet $LIBS"
20597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20608 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20613 LIBS="-lnsl $LIBS"
20614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 ac_cv_lib_nsl_gethostbyname=no
20634 rm -f core conftest.err conftest.$ac_objext \
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20642 LIBS="-lnsl $LIBS"
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
20653 $as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
20658 LIBS="-lsocket $LIBS"
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20677 ac_cv_lib_socket_gethostbyname=no
20679 rm -f core conftest.err conftest.$ac_objext \
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
20687 LIBS="-lsocket $LIBS"
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
20696 $as_echo_n "checking for gethostbyname in -lwatt... " >&6; }
20701 LIBS="-lwatt $LIBS"
20702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 ac_cv_lib_watt_gethostbyname=no
20722 rm -f core conftest.err conftest.$ac_objext \
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
20730 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
20731 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
20732 LIBS="-lwatt $LIBS"
20740 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket libs"…
20741 $as_echo_n "checking for gethostbyname with both nsl and socket libs... " >&6; }
20743 LIBS="-lnsl -lsocket $LIBS"
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20768 $as_echo "no" >&6; }
20772 rm -f core conftest.err conftest.$ac_objext \
20781 *-*-mingw32ce*)
20782 winsock_LIB="-lwinsock"
20785 winsock_LIB="-lwsock32"
20790 winsock_LIB="-lws2_32"
20792 if test ! -z "$winsock_LIB"; then
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
20796 $as_echo_n "checking for gethostbyname in $winsock_LIB... " >&6; }
20797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20834 $as_echo "no" >&6; }
20839 rm -f core conftest.err conftest.$ac_objext \
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
20848 $as_echo_n "checking for gethostbyname for Minix 3... " >&6; }
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20875 $as_echo "no" >&6; }
20878 rm -f core conftest.err conftest.$ac_objext \
20884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
20885 $as_echo_n "checking for gethostbyname for eCos... " >&6; }
20886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20912 $as_echo "no" >&6; }
20915 rm -f core conftest.err conftest.$ac_objext \
20921 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.library"…
20922 $as_echo_n "checking for gethostbyname for AmigaOS bsdsocket.library... " >&6; }
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20955 $as_echo "no" >&6; }
20958 rm -f core conftest.err conftest.$ac_objext \
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
20965 $as_echo_n "checking for gethostbyname in -lnetwork... " >&6; }
20970 LIBS="-lnetwork $LIBS"
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 ac_cv_lib_network_gethostbyname=no
20991 rm -f core conftest.err conftest.$ac_objext \
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
20999 LIBS="-lnetwork $LIBS"
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnet" >&5
21008 $as_echo_n "checking for gethostbyname in -lnet... " >&6; }
21013 LIBS="-lnet $LIBS"
21014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 ac_cv_lib_net_gethostbyname=no
21034 rm -f core conftest.err conftest.$ac_objext \
21038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_gethostbyname" >&5
21042 LIBS="-lnet $LIBS"
21050 as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
21072 $as_echo_n "checking for windows.h... " >&6; }
21077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 curl_cv_header_windows_h="no"
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
21127 $as_echo_n "checking for winsock.h... " >&6; }
21132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21163 curl_cv_header_winsock_h="no"
21166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock_h" >&5
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
21183 $as_echo_n "checking for winsock2.h... " >&6; }
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 curl_cv_header_winsock2_h="no"
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
21246 for ac_header in proto/bsdsocket.h
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
21262 $as_echo_n "checking for connect in libraries... " >&6; }
21265 for tst_lib in '' '-lsocket' ; do
21268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21294 rm -f core conftest.err conftest.$ac_objext \
21300 case X-"$tst_connect_need_LIBS" in
21301 X-unknown)
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
21306 X-)
21307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
21325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21342 ac_cv_header_time=no
21344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
21355 for ac_header in sys/types.h sys/time.h time.h
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
21369 $as_echo_n "checking for monotonic clock_gettime... " >&6; }
21372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21410 $as_echo "no" >&6; }
21411 curl_func_clock_gettime="no"
21414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
21422 $as_echo_n "checking for clock_gettime in libraries... " >&6; }
21427 for x_xlibs in '' '-lrt' '-lposix4' ; do
21429 if test -z "$x_xlibs"; then
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21468 rm -f core conftest.err conftest.$ac_objext \
21475 case X-"$curl_cv_gclk_LIBS" in
21476 X-unknown)
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
21479 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined…
21481 curl_func_clock_gettime="no"
21483 X-)
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
21485 $as_echo "no additional lib required" >&6; }
21489 if test -z "$curl_cv_save_LIBS"; then
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
21502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
21509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21512 See \`config.log' for more details" "$LINENO" 5; }
21514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21555 $as_echo "no" >&6; }
21556 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined…
21558 curl_func_clock_gettime="no"
21562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21593 # Check whether --with-zlib was given.
21599 if test "$OPT_ZLIB" = "no" ; then
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
21607 if test -z "$OPT_ZLIB" ; then
21609 if test -n "$PKG_CONFIG"; then
21612 if test -n "$ac_tool_prefix"; then
21613 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21614 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21616 $as_echo_n "checking for $ac_word... " >&6; }
21627 for as_dir in $as_dummy
21630 test -z "$as_dir" && as_dir=.
21631 for ac_exec_ext in '' $ac_executable_extensions; do
21634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21645 if test -n "$PKGCONFIG"; then
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21650 $as_echo "no" >&6; }
21655 if test -z "$ac_cv_path_PKGCONFIG"; then
21657 # Extract the first word of "pkg-config", so it can be a program name with args.
21658 set dummy pkg-config; ac_word=$2
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21660 $as_echo_n "checking for $ac_word... " >&6; }
21671 for as_dir in $as_dummy
21674 test -z "$as_dir" && as_dir=.
21675 for ac_exec_ext in '' $ac_executable_extensions; do
21678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21689 if test -n "$ac_pt_PKGCONFIG"; then
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21694 $as_echo "no" >&6; }
21698 PKGCONFIG="no"
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
21716 $as_echo_n "checking for zlib options with pkg-config... " >&6; }
21718 if test -n ""; then
21722 $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
21724 if test -z "$itexists"; then
21725 PKGCONFIG="no"
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21727 $as_echo "no" >&6; }
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
21735 if test "$PKGCONFIG" != "no" ; then
21736 LIBS="`$PKGCONFIG --libs-only-l zlib` $LIBS"
21737 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
21738 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags-only-I zlib`"
21743 if test -z "$HAVE_LIBZ"; then
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
21747 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
21752 LIBS="-lz $LIBS"
21753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21771 ac_cv_lib_z_inflateEnd=no
21773 rm -f core conftest.err conftest.$ac_objext \
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
21781 LIBS="-lz $LIBS"
21789 if test -n "$OPT_ZLIB"; then
21790 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
21791 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
21800 $as_echo_n "checking for gzread in -lz... " >&6; }
21805 LIBS="-lz $LIBS"
21806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 ac_cv_lib_z_gzread=no
21826 rm -f core conftest.err conftest.$ac_objext \
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
21835 LIBS="-lz $LIBS"
21855 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the heade…
21863 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, not t…
21878 ZLIB_LIBS="-lz"
21879 LIBS="-lz $clean_LIBS"
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
21902 # Check whether --with-brotli was given.
21916 if test -n "$PKG_CONFIG"; then
21919 if test -n "$ac_tool_prefix"; then
21920 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21921 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21923 $as_echo_n "checking for $ac_word... " >&6; }
21934 for as_dir in $as_dummy
21937 test -z "$as_dir" && as_dir=.
21938 for ac_exec_ext in '' $ac_executable_extensions; do
21941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21952 if test -n "$PKGCONFIG"; then
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21957 $as_echo "no" >&6; }
21962 if test -z "$ac_cv_path_PKGCONFIG"; then
21964 # Extract the first word of "pkg-config", so it can be a program name with args.
21965 set dummy pkg-config; ac_word=$2
21966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21967 $as_echo_n "checking for $ac_word... " >&6; }
21978 for as_dir in $as_dummy
21981 test -z "$as_dir" && as_dir=.
21982 for ac_exec_ext in '' $ac_executable_extensions; do
21985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21996 if test -n "$ac_pt_PKGCONFIG"; then
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22001 $as_echo "no" >&6; }
22005 PKGCONFIG="no"
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
22022 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >&5
22023 $as_echo_n "checking for libbrotlidec options with pkg-config... " >&6; }
22025 if test -n ""; then
22029 $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
22031 if test -z "$itexists"; then
22032 PKGCONFIG="no"
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22034 $as_echo "no" >&6; }
22036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
22042 if test "$PKGCONFIG" != "no" ; then
22043 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
22044 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
22045 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
22046 version=`$PKGCONFIG --modversion libbrotlidec`
22047 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'`
22058 if test -n "$PREFIX_BROTLI"; then
22059 LIB_BROTLI="-lbrotlidec"
22060 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
22061 CPP_BROTLI=-I${PREFIX_BROTLI}/include
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec" >&5
22070 $as_echo_n "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
22075 LIBS="-lbrotlidec $LIBS"
22076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 ac_cv_lib_brotlidec_BrotliDecoderDecompress=no
22096 rm -f core conftest.err conftest.$ac_objext \
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress" >&5
22107 LIBS="-lbrotlidec $LIBS"
22112 for ac_header in brotli/decode.h
22138 if test -n "$DIR_BROTLI"; then
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
22157 # Check whether --with-zstd was given.
22171 if test -n "$PKG_CONFIG"; then
22174 if test -n "$ac_tool_prefix"; then
22175 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22176 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22178 $as_echo_n "checking for $ac_word... " >&6; }
22189 for as_dir in $as_dummy
22192 test -z "$as_dir" && as_dir=.
22193 for ac_exec_ext in '' $ac_executable_extensions; do
22196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22207 if test -n "$PKGCONFIG"; then
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22212 $as_echo "no" >&6; }
22217 if test -z "$ac_cv_path_PKGCONFIG"; then
22219 # Extract the first word of "pkg-config", so it can be a program name with args.
22220 set dummy pkg-config; ac_word=$2
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22222 $as_echo_n "checking for $ac_word... " >&6; }
22233 for as_dir in $as_dummy
22236 test -z "$as_dir" && as_dir=.
22237 for ac_exec_ext in '' $ac_executable_extensions; do
22240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22251 if test -n "$ac_pt_PKGCONFIG"; then
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22256 $as_echo "no" >&6; }
22260 PKGCONFIG="no"
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzstd options with pkg-config" >&5
22278 $as_echo_n "checking for libzstd options with pkg-config... " >&6; }
22280 if test -n ""; then
22284 $PKGCONFIG --exists libzstd >/dev/null 2>&1 && echo 1`
22286 if test -z "$itexists"; then
22287 PKGCONFIG="no"
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22289 $as_echo "no" >&6; }
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
22297 if test "$PKGCONFIG" != "no" ; then
22298 LIB_ZSTD=`$PKGCONFIG --libs-only-l libzstd`
22299 LD_ZSTD=`$PKGCONFIG --libs-only-L libzstd`
22300 CPP_ZSTD=`$PKGCONFIG --cflags-only-I libzstd`
22301 version=`$PKGCONFIG --modversion libzstd`
22302 DIR_ZSTD=`echo $LD_ZSTD | $SED -e 's/-L//'`
22313 if test -n "$PREFIX_ZSTD"; then
22314 LIB_ZSTD="-lzstd"
22315 LD_ZSTD=-L${PREFIX_ZSTD}/lib$libsuff
22316 CPP_ZSTD=-I${PREFIX_ZSTD}/include
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZSTD_createDStream in -lzstd" >&5
22325 $as_echo_n "checking for ZSTD_createDStream in -lzstd... " >&6; }
22330 LIBS="-lzstd $LIBS"
22331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 ac_cv_lib_zstd_ZSTD_createDStream=no
22351 rm -f core conftest.err conftest.$ac_objext \
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_createDStream" >&5
22362 LIBS="-lzstd $LIBS"
22367 for ac_header in zstd.h
22393 if test -n "$DIR_ZSTD"; then
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_ZSTD to CURL_LIBRARY_PATH" >&5
22412 # Check whether --with-ldap-lib was given.
22420 # Check whether --with-lber-lib was given.
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
22430 $as_echo_n "checking for lber.h... " >&6; }
22435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22473 curl_cv_header_lber_h="no"
22476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
22488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22525 curl_cv_need_header_lber_h="no"
22532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
22547 $as_echo_n "checking for ldap.h... " >&6; }
22552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22592 curl_cv_header_ldap_h="no"
22595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldapssl.h" >&5
22612 $as_echo_n "checking for ldapssl.h... " >&6; }
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663 curl_cv_header_ldapssl_h="no"
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldapssl_h" >&5
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
22683 $as_echo_n "checking for ldap_ssl.h... " >&6; }
22688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22730 curl_cv_header_ldap_ssl_h="no"
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
22749 if test -z "$LDAPLIBNAME" ; then
22752 LBERLIBNAME="no"
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
22759 $as_echo_n "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
22764 LIBS="-l"$LDAPLIBNAME" $LIBS"
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22783 eval "$as_ac_Lib=no"
22785 rm -f core conftest.err conftest.$ac_objext \
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22797 LIBS="-l"$LDAPLIBNAME" $LIBS"
22801 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LDAP di…
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
22819 $as_echo_n "checking for LDAP libraries... " >&6; }
22828 for x_nlibs in '' "$u_libs" \
22829 '-lldap' \
22830 '-lldap -llber' \
22831 '-llber -lldap' \
22832 '-lldapssl -lldapx -lldapsdk' \
22833 '-lldapsdk -lldapx -lldapssl' \
22834 '-lldap -llber -lssl -lcrypto' ; do
22837 if test -z "$x_nlibs"; then
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889 rm -f core conftest.err conftest.$ac_objext \
22896 case X-"$curl_cv_ldap_LIBS" in
22897 X-unknown)
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
22901 X-)
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
22903 $as_echo "no additional lib required" >&6; }
22906 if test -z "$curl_cv_save_LIBS"; then
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
22917 case X-"$curl_cv_ldap_LIBS" in
22918 X-unknown)
22919 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDAP dis…
22920 $as_echo "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;}
22939 if test "$LBERLIBNAME" != "no" ; then
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
22942 $as_echo_n "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
22947 LIBS="-l"$LBERLIBNAME" $LIBS"
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22966 eval "$as_ac_Lib=no"
22968 rm -f core conftest.err conftest.$ac_objext \
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22980 LIBS="-l"$LBERLIBNAME" $LIBS"
22984 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LDAP di…
23003 for ac_func in ldap_url_parse ldap_init_fd
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
23040 # Check whether --enable-ipv6 was given.
23043 no)
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23045 $as_echo "no" >&6; }
23046 ipv6=no
23048 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 #include <stdlib.h> /* for exit() */
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23092 $as_echo "no" >&6; }
23093 ipv6=no
23095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23110 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id member"…
23112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23144 $as_echo "no" >&6; }
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
23159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 curl_cv_writable_argv=no
23177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23191 no)
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23193 $as_echo "no" >&6; }
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23197 $as_echo "no" >&6; }
23198 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made default was…
23207 # Check whether --with-gssapi-includes was given.
23209 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
23216 # Check whether --with-gssapi-libs was given.
23218 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
23225 # Check whether --with-gssapi was given.
23239 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
23243 $as_echo_n "checking if GSS-API support is requested... " >&6; }
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23248 if test -z "$GSSAPI_INCS"; then
23249 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
23250 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
23251 elif test -f "$KRB5CONFIG"; then
23252 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
23254 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
23270 for ac_header in gssapi/gssapi.h
23284 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
23315 want_gss=no
23316 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header files …
23317 $as_echo "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
23327 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SE…
23328 $as_echo_n "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
23329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23359 $as_echo "no" >&6; }
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23374 $as_echo "no" >&6; }
23383 if test -n "$gnu_gss"; then
23386 LIBS="-lgss $LIBS"
23387 elif test -z "$GSSAPI_LIB_DIR"; then
23389 *-*-darwin*)
23390 LIBS="-lgssapi_krb5 -lresolv $LIBS"
23393 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
23394 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
23396 elif test -f "$KRB5CONFIG"; then
23397 gss_libs=`$KRB5CONFIG --libs gssapi`
23401 *-hp-hpux*)
23410 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
23411 LIBS="-l$gss_libname $LIBS"
23413 LIBS="-l$gss_libname $LIBS"
23421 *-hp-hpux*)
23422 LIBS="-lgss $LIBS"
23425 LIBS="-lgssapi $LIBS"
23433 build_libstubgss=no
23448 DEFAULT_SSL_BACKEND=no
23451 # Check whether --with-default-ssl-backend was given.
23457 no)
23464 VALID_DEFAULT_SSL_BACKEND=no
23470 OPT_SCHANNEL=no
23472 # Check whether --with-winssl was given.
23479 # Check whether --with-schannel was given.
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS (Windows…
23487 if test -z "$ssl_backends" -o "x$OPT_SCHANNEL" != xno; then
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23498 ssl_msg="Windows-native"
23501 # --with-schannel implies --enable-sspi
23508 LIBS="-lcrypt32 $LIBS"
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23511 $as_echo "no" >&6; }
23513 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23516 $as_echo "no" >&6; }
23519 OPT_SECURETRANSPORT=no
23521 # Check whether --with-darwinssl was given.
23528 # Check whether --with-secure-transport was given.
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
23536 if test -z "$ssl_backends" -o "x$OPT_SECURETRANSPORT" != xno; then
23538 …(test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); th…
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23547 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
23549 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security"
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23552 $as_echo "no" >&6; }
23554 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23557 $as_echo "no" >&6; }
23560 OPT_AMISSL=no
23562 # Check whether --with-amissl was given.
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiSSL)" …
23571 if test -z "$ssl_backends" -o "x$OPT_AMISSL" != xno; then
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23579 LIBS="-lamisslauto $LIBS"
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23588 $as_echo "no" >&6; }
23590 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23593 $as_echo "no" >&6; }
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23602 ca="no"
23604 # Check whether --with-ssl was given.
23610 if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
23619 *-*-msys* | *-*-mingw*)
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
23621 $as_echo_n "checking for gdi32... " >&6; }
23623 LIBS="-lgdi32 $LIBS"
23624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23641 $as_echo "no" >&6; }
23644 rm -f core conftest.err conftest.$ac_objext \
23664 PKGTEST="no"
23668 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
23669 … { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5
23672 elif test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
23673 as_fn_error $? "$PREFIX_OPENSSL is a bad --with-ssl prefix!" "$LINENO" 5
23678 SSL_LDFLAGS="-L$LIB_OPENSSL"
23679 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
23681 SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl"
23688 if test -n "$PKG_CONFIG"; then
23691 if test -n "$ac_tool_prefix"; then
23692 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23693 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23695 $as_echo_n "checking for $ac_word... " >&6; }
23706 for as_dir in $as_dummy
23709 test -z "$as_dir" && as_dir=.
23710 for ac_exec_ext in '' $ac_executable_extensions; do
23713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23724 if test -n "$PKGCONFIG"; then
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23729 $as_echo "no" >&6; }
23734 if test -z "$ac_cv_path_PKGCONFIG"; then
23736 # Extract the first word of "pkg-config", so it can be a program name with args.
23737 set dummy pkg-config; ac_word=$2
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23739 $as_echo_n "checking for $ac_word... " >&6; }
23750 for as_dir in $as_dummy
23753 test -z "$as_dir" && as_dir=.
23754 for ac_exec_ext in '' $ac_executable_extensions; do
23757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23768 if test -n "$ac_pt_PKGCONFIG"; then
23769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23773 $as_echo "no" >&6; }
23777 PKGCONFIG="no"
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
23795 $as_echo_n "checking for openssl options with pkg-config... " >&6; }
23797 if test -n "$OPENSSL_PCDIR"; then
23801 $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
23803 if test -z "$itexists"; then
23804 PKGCONFIG="no"
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23806 $as_echo "no" >&6; }
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
23814 if test "$PKGCONFIG" != "no" ; then
23816 if test -n "$OPENSSL_PCDIR"; then
23820 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
23823 if test -n "$OPENSSL_PCDIR"; then
23827 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
23830 if test -n "$OPENSSL_PCDIR"; then
23834 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
23838 $as_echo "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
23840 $as_echo "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
23842 $as_echo "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
23844 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
23854 $as_echo_n "checking for HMAC_Update in -lcrypto... " >&6; }
23859 LIBS="-lcrypto $LIBS"
23860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23878 ac_cv_lib_crypto_HMAC_Update=no
23880 rm -f core conftest.err conftest.$ac_objext \
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
23889 LIBS="-lcrypto $LIBS"
23893 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
23894 if test "$PKGCONFIG" = "no" ; then
23895 # only set this if pkg-config wasn't used
23896 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
23898 # Linking previously failed, try extra paths from --with-ssl or pkg-config.
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
23901 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
23906 LIBS="-lcrypto $LIBS"
23907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23925 ac_cv_lib_crypto_HMAC_Init_ex=no
23927 rm -f core conftest.err conftest.$ac_objext \
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
23936 LIBS="-lcrypto $LIBS"
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
23941 $as_echo_n "checking OpenSSL linking with -ldl... " >&6; }
23942 LIBS="$CLEANLIBS -lcrypto -ldl"
23943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23966 $as_echo "no" >&6; }
23968 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
23969 $as_echo_n "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
23970 LIBS="$CLEANLIBS -lcrypto -ldl -lpthread"
23971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23994 $as_echo "no" >&6; }
24001 rm -f core conftest.err conftest.$ac_objext \
24006 rm -f core conftest.err conftest.$ac_objext \
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
24019 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
24024 LIBS="-lssl $LIBS"
24025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24043 ac_cv_lib_ssl_SSL_connect=no
24045 rm -f core conftest.err conftest.$ac_objext \
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
24056 LIBS="-lssl $LIBS"
24062 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
24063 $as_echo_n "checking for ssl with RSAglue/rsaref libs in use... " >&6; };
24065 LIBS="-lRSAglue -lrsaref $LIBS"
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
24067 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
24072 LIBS="-lssl $LIBS"
24073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24091 ac_cv_lib_ssl_SSL_connect=no
24093 rm -f core conftest.err conftest.$ac_objext \
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
24104 LIBS="-lssl $LIBS"
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24110 $as_echo "no" >&6; }
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24119 for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h \
24139 if test $ac_cv_header_openssl_x509_h = no; then
24140 for ac_header in x509.h rsa.h crypto.h pem.h ssl.h err.h
24175 for ac_func in RAND_egd \
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
24191 $as_echo_n "checking for BoringSSL... " >&6; }
24192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24224 $as_echo "no" >&6; }
24227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
24230 $as_echo_n "checking for libressl... " >&6; }
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24261 $as_echo "no" >&6; }
24264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= v3" >&5
24267 $as_echo_n "checking for OpenSSL >= v3... " >&6; }
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24297 CPPFLAGS="$CPPFLAGS -DOPENSSL_SUPPRESS_DEPRECATED"
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24303 $as_echo "no" >&6; }
24306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24310 if test -n "$LIB_OPENSSL"; then
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
24324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers version" >&5
24325 $as_echo_n "checking for OpenSSL headers version... " >&6; }
24330 if test -z "$SED"; then
24333 if test -z "$GREP"; then
24338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 if test -z "$tmp_exp" || test "$tmp_exp" = "OPENSSL_VERSION_NUMBER"; then
24365 rm -f conftest.err conftest.i conftest.$ac_ext
24366 if test -z "$tmp_exp"; then
24367 curl_cv_have_def_OPENSSL_VERSION_NUMBER=no
24380 tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
24381 tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 4`
24382 tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
24386 tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
24387 tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
24388 tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 7`
24412 tst_show="$tst_show - $curl_cv_def_OPENSSL_VERSION_NUMBER"
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_show" >&5
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library version" >&5
24426 $as_echo_n "checking for OpenSSL library version... " >&6; }
24428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 rm -f core conftest.err conftest.$ac_objext \
24465 *-*-vms*)
24466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24498 rm -f core conftest.err conftest.$ac_objext \
24502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 rm -f core conftest.err conftest.$ac_objext \
24540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 rm -f core conftest.err conftest.$ac_objext \
24576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24608 rm -f core conftest.err conftest.$ac_objext \
24612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24644 rm -f core conftest.err conftest.$ac_objext \
24648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 rm -f core conftest.err conftest.$ac_objext \
24684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 rm -f core conftest.err conftest.$ac_objext \
24720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24752 rm -f core conftest.err conftest.$ac_objext \
24756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24788 rm -f core conftest.err conftest.$ac_objext \
24792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 rm -f core conftest.err conftest.$ac_objext \
24828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24860 rm -f core conftest.err conftest.$ac_objext \
24864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24896 rm -f core conftest.err conftest.$ac_objext \
24900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 rm -f core conftest.err conftest.$ac_objext \
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_show" >&5
24960 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers and library versions matchin…
24961 $as_echo_n "checking for OpenSSL headers and library versions matching... " >&6; }
24967 tst_match="no"
24970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_match" >&5
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $tst_warns" >&5
24980 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
24986 { $as_echo "$as_me:${as_lineno-$LINENO}: OPT_SSL: $OPT_SSL" >&5
24988 { $as_echo "$as_me:${as_lineno-$LINENO}: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&5
24990 as_fn_error $? "--with-ssl was given but OpenSSL could not be detected" "$LINENO" 5
24996 # Check whether --with-egd-socket was given.
25002 if test -n "$EGD_SOCKET" ; then
25011 # Check whether --with-random was given.
25018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
25019 $as_echo_n "checking for \"/dev/urandom\"... " >&6; }
25024 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
25025 if test -r ""/dev/urandom""; then
25028 eval "$as_ac_File=no"
25032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25039 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cross-co…
25040 $as_echo "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
25046 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRP_Calc_client_key in -lcrypto" >&5
25058 $as_echo_n "checking for SRP_Calc_client_key in -lcrypto... " >&6; }
25063 LIBS="-lcrypto $LIBS"
25064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25082 ac_cv_lib_crypto_SRP_Calc_client_key=no
25084 rm -f core conftest.err conftest.$ac_objext \
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SRP_Calc_client_key" >&5
25103 # Check whether --enable-openssl-auto-load-config was given.
25105 enableval=$enable_openssl_auto_load_config; if test X"$enableval" = X"no"; then
25106 … { $as_echo "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled" >&5
25118 OPT_GNUTLS=no
25121 # Check whether --with-gnutls was given.
25127 if test -z "$ssl_backends" -o "x$OPT_GNUTLS" != xno; then
25140 if test -n "$PKG_CONFIG"; then
25143 if test -n "$ac_tool_prefix"; then
25144 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25145 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25147 $as_echo_n "checking for $ac_word... " >&6; }
25158 for as_dir in $as_dummy
25161 test -z "$as_dir" && as_dir=.
25162 for ac_exec_ext in '' $ac_executable_extensions; do
25165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25176 if test -n "$PKGCONFIG"; then
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25181 $as_echo "no" >&6; }
25186 if test -z "$ac_cv_path_PKGCONFIG"; then
25188 # Extract the first word of "pkg-config", so it can be a program name with args.
25189 set dummy pkg-config; ac_word=$2
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25191 $as_echo_n "checking for $ac_word... " >&6; }
25202 for as_dir in $as_dummy
25205 test -z "$as_dir" && as_dir=.
25206 for ac_exec_ext in '' $ac_executable_extensions; do
25209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25220 if test -n "$ac_pt_PKGCONFIG"; then
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25225 $as_echo "no" >&6; }
25229 PKGCONFIG="no"
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
25247 $as_echo_n "checking for gnutls options with pkg-config... " >&6; }
25249 if test -n ""; then
25253 $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
25255 if test -z "$itexists"; then
25256 PKGCONFIG="no"
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25258 $as_echo "no" >&6; }
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25266 if test "$PKGCONFIG" != "no" ; then
25267 addlib=`$PKGCONFIG --libs-only-l gnutls`
25268 addld=`$PKGCONFIG --libs-only-L gnutls`
25269 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
25270 version=`$PKGCONFIG --modversion gnutls`
25271 gtlslib=`echo $addld | $SED -e 's/^-L//'`
25273 check=`libgnutls-config --version 2>/dev/null`
25274 if test -n "$check"; then
25275 addlib=`libgnutls-config --libs`
25276 addcflags=`libgnutls-config --cflags`
25277 version=`libgnutls-config --version`
25278 gtlslib=`libgnutls-config --prefix`/lib$libsuff
25282 cfg=$OPT_GNUTLS/bin/libgnutls-config
25283 check=`$cfg --version 2>/dev/null`
25284 if test -n "$check"; then
25285 addlib=`$cfg --libs`
25286 addcflags=`$cfg --cflags`
25287 version=`$cfg --version`
25288 gtlslib=`$cfg --prefix`/lib$libsuff
25290 addlib=-lgnutls
25291 addld=-L$OPT_GNUTLS/lib$libsuff
25292 addcflags=-I$OPT_GNUTLS/include
25298 if test -z "$version"; then
25302 if test -n "$addlib"; then
25310 if test "$addcflags" != "-I/usr/include"; then
25314 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_get_dn2 in -lgnutls" >&5
25315 $as_echo_n "checking for gnutls_x509_crt_get_dn2 in -lgnutls... " >&6; }
25320 LIBS="-lgnutls $LIBS"
25321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25339 ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2=no
25341 rm -f core conftest.err conftest.$ac_objext \
25345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&5
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
25371 if test -n "$gtlslib"; then
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
25384 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
25392 $as_echo_n "checking for nettle_MD5Init in -lgnutls... " >&6; }
25397 LIBS="-lgnutls $LIBS"
25398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 ac_cv_lib_gnutls_nettle_MD5Init=no
25418 rm -f core conftest.err conftest.$ac_objext \
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgnutls" >&5
25430 $as_echo_n "checking for gcry_control in -lgnutls... " >&6; }
25435 LIBS="-lgnutls $LIBS"
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25454 ac_cv_lib_gnutls_gcry_control=no
25456 rm -f core conftest.err conftest.$ac_objext \
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gcry_control" >&5
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
25470 $as_echo_n "checking for nettle_MD5Init in -lnettle... " >&6; }
25475 LIBS="-lnettle $LIBS"
25476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25494 ac_cv_lib_nettle_nettle_MD5Init=no
25496 rm -f core conftest.err conftest.$ac_objext \
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
25509 $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
25514 LIBS="-lgcrypt $LIBS"
25515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25533 ac_cv_lib_gcrypt_gcry_control=no
25535 rm -f core conftest.err conftest.$ac_objext \
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
25555 LIBS="-lnettle $LIBS"
25557 LIBS="-lgcrypt $LIBS"
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
25563 $as_echo_n "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
25568 LIBS="-lgnutls $LIBS"
25569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 ac_cv_lib_gnutls_gnutls_srp_verifier=no
25589 rm -f core conftest.err conftest.$ac_objext \
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
25608 OPT_MBEDTLS=no
25613 # Check whether --with-mbedtls was given.
25619 if test -z "$ssl_backends" -o "x$OPT_MBEDTLS" != xno; then
25628 if test -z "$OPT_MBEDTLS" ; then
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
25631 $as_echo_n "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
25636 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
25637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25655 ac_cv_lib_mbedtls_mbedtls_havege_init=no
25657 rm -f core conftest.err conftest.$ac_objext \
25661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
25685 addld=-L$OPT_MBEDTLS/lib$libsuff
25686 addcflags=-I$OPT_MBEDTLS/include
25690 if test "$addcflags" != "-I/usr/include"; then
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
25695 $as_echo_n "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
25700 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25719 ac_cv_lib_mbedtls_mbedtls_ssl_init=no
25721 rm -f core conftest.err conftest.$ac_objext \
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
25753 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
25755 if test -n "$mbedtlslib"; then
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
25766 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
25770 OPT_WOLFSSL=no
25776 # Check whether --with-wolfssl was given.
25783 yes|no)
25791 if test -z "$ssl_backends" -o "x$OPT_WOLFSSL" != xno; then
25801 if test -n "$PKG_CONFIG"; then
25804 if test -n "$ac_tool_prefix"; then
25805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25808 $as_echo_n "checking for $ac_word... " >&6; }
25819 for as_dir in $as_dummy
25822 test -z "$as_dir" && as_dir=.
25823 for ac_exec_ext in '' $ac_executable_extensions; do
25826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25837 if test -n "$PKGCONFIG"; then
25838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25842 $as_echo "no" >&6; }
25847 if test -z "$ac_cv_path_PKGCONFIG"; then
25849 # Extract the first word of "pkg-config", so it can be a program name with args.
25850 set dummy pkg-config; ac_word=$2
25851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25852 $as_echo_n "checking for $ac_word... " >&6; }
25863 for as_dir in $as_dummy
25866 test -z "$as_dir" && as_dir=.
25867 for ac_exec_ext in '' $ac_executable_extensions; do
25870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25881 if test -n "$ac_pt_PKGCONFIG"; then
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25886 $as_echo "no" >&6; }
25890 PKGCONFIG="no"
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfssl options with pkg-config" >&5
25908 $as_echo_n "checking for wolfssl options with pkg-config... " >&6; }
25910 if test -n "$wolfpkg"; then
25914 $PKGCONFIG --exists wolfssl >/dev/null 2>&1 && echo 1`
25916 if test -z "$itexists"; then
25917 PKGCONFIG="no"
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25919 $as_echo "no" >&6; }
25921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: Check dir $wolfpkg" >&5
25932 if test "$PKGCONFIG" != "no" ; then
25934 if test -n "$wolfpkg"; then
25939 $PKGCONFIG --libs-only-l wolfssl`
25941 if test -n "$wolfpkg"; then
25946 $PKGCONFIG --libs-only-L wolfssl`
25948 if test -n "$wolfpkg"; then
25953 $PKGCONFIG --cflags-only-I wolfssl`
25955 if test -n "$wolfpkg"; then
25960 $PKGCONFIG --modversion wolfssl`
25961 wolfssllibpath=`echo $addld | $SED -e 's/^-L//'`
25963 addlib=-lwolfssl
25964 if test -n "$OPT_WOLFSSL"; then
25965 addld=-L$OPT_WOLFSSL/lib$libsuff
25966 addcflags=-I$OPT_WOLFSSL/include
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: Add $addld to LDFLAGS" >&5
25976 if test "$addcflags" != "-I/usr/include"; then
25978 { $as_echo "$as_me:${as_lineno-$LINENO}: Add $addcflags to CPPFLAGS" >&5
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: Add $addlib to LIBS" >&5
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -lwolfssl" >&5
25988 $as_echo_n "checking for wolfSSL_Init in -lwolfssl... " >&6; }
25989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25993 /* These aren't needed for detection and confuse WolfSSL.
26011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26026 $as_echo "no" >&6; }
26032 rm -f core conftest.err conftest.$ac_objext \
26038 { $as_echo "$as_me:${as_lineno-$LINENO}: detected wolfSSL" >&5
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
26047 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
26048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 as_fn_error $? "cannot determine a size for long long" "$LINENO" 5
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
26082 LIBS="$addlib -lm $LIBS"
26084 for ac_func in wolfSSLv3_client_method \
26105 if test -n "$addcflags"; then
26106 for f in $addcflags; do
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: Add $f/wolfssl to CPPFLAGS" >&5
26113 CPPFLAGS="-I$includedir/wolfssl $CPPFLAGS"
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: Add $includedir/wolfssl to CPPFLAGS" >&5
26123 if test -n "$wolfssllibpath"; then
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&5
26135 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26139 OPT_MESALINK=no
26144 # Check whether --with-mesalink was given.
26150 if test -z "$ssl_backends" -o "x$OPT_MESALINK" != xno; then
26159 if test -z "$OPT_MESALINK" ; then
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mesalink_library_init in -lmesalink" >&5
26162 $as_echo_n "checking for mesalink_library_init in -lmesalink... " >&6; }
26167 LIBS="-lmesalink $LIBS"
26168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 ac_cv_lib_mesalink_mesalink_library_init=no
26188 rm -f core conftest.err conftest.$ac_objext \
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mesalink_mesalink_library_init" >&5
26216 addld=-L$OPT_MESALINK/lib$libsuff
26217 addcflags=-I$OPT_MESALINK/include
26221 if test "$addcflags" != "-I/usr/include"; then
26225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mesalink_library_init in -lmesalink" >&5
26226 $as_echo_n "checking for mesalink_library_init in -lmesalink... " >&6; }
26231 LIBS="-lmesalink $LIBS"
26232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250 ac_cv_lib_mesalink_mesalink_library_init=no
26252 rm -f core conftest.err conftest.$ac_objext \
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mesalink_mesalink_library_init" >&5
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MesaLink" >&5
26283 LIBS="-lmesalink $LIBS"
26285 if test -n "$mesalinklib"; then
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $mesalinklib to LD_LIBRARY_PATH" >&5
26296 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26300 OPT_BEARSSL=no
26305 # Check whether --with-bearssl was given.
26311 if test -z "$ssl_backends" -o "x$OPT_BEARSSL" != xno; then
26320 if test -z "$OPT_BEARSSL" ; then
26322 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >&5
26323 $as_echo_n "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
26328 LIBS="-lbearssl -lbearssl $LIBS"
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26347 ac_cv_lib_bearssl_br_ssl_client_init_full=no
26349 rm -f core conftest.err conftest.$ac_objext \
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >&5
26377 addld=-L$OPT_BEARSSL/lib$libsuff
26378 addcflags=-I$OPT_BEARSSL/include
26382 if test "$addcflags" != "-I/usr/include"; then
26386 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >&5
26387 $as_echo_n "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
26392 LIBS="-lbearssl -lbearssl $LIBS"
26393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26411 ac_cv_lib_bearssl_br_ssl_client_init_full=no
26413 rm -f core conftest.err conftest.$ac_objext \
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >&5
26441 { $as_echo "$as_me:${as_lineno-$LINENO}: detected BearSSL" >&5
26445 LIBS="-lbearssl $LIBS"
26447 if test -n "$bearssllib"; then
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $bearssllib to CURL_LIBRARY_PATH" >&5
26458 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26462 OPT_NSS=no
26465 # Check whether --with-nss was given.
26471 if test -z "$ssl_backends" -o "x$OPT_NSS" != xno; then
26485 if test -n "$PKG_CONFIG"; then
26488 if test -n "$ac_tool_prefix"; then
26489 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26490 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26492 $as_echo_n "checking for $ac_word... " >&6; }
26503 for as_dir in $as_dummy
26506 test -z "$as_dir" && as_dir=.
26507 for ac_exec_ext in '' $ac_executable_extensions; do
26510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26521 if test -n "$PKGCONFIG"; then
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26526 $as_echo "no" >&6; }
26531 if test -z "$ac_cv_path_PKGCONFIG"; then
26533 # Extract the first word of "pkg-config", so it can be a program name with args.
26534 set dummy pkg-config; ac_word=$2
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26536 $as_echo_n "checking for $ac_word... " >&6; }
26547 for as_dir in $as_dummy
26550 test -z "$as_dir" && as_dir=.
26551 for ac_exec_ext in '' $ac_executable_extensions; do
26554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26565 if test -n "$ac_pt_PKGCONFIG"; then
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26570 $as_echo "no" >&6; }
26574 PKGCONFIG="no"
26578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
26592 $as_echo_n "checking for nss options with pkg-config... " >&6; }
26594 if test -n ""; then
26598 $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
26600 if test -z "$itexists"; then
26601 PKGCONFIG="no"
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26603 $as_echo "no" >&6; }
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26611 if test "$PKGCONFIG" != "no" ; then
26612 addlib=`$PKGCONFIG --libs nss`
26613 addcflags=`$PKGCONFIG --cflags nss`
26614 version=`$PKGCONFIG --modversion nss`
26615 nssprefix=`$PKGCONFIG --variable=prefix nss`
26618 check=`nss-config --version 2>/dev/null`
26619 if test -n "$check"; then
26620 addlib=`nss-config --libs`
26621 addcflags=`nss-config --cflags`
26622 version=`nss-config --version`
26623 nssprefix=`nss-config --prefix`
26625 addlib="-lnss3"
26632 if test -f "$NSS_PCDIR/nss.pc"; then
26634 if test -n "$PKG_CONFIG"; then
26637 if test -n "$ac_tool_prefix"; then
26638 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26639 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26641 $as_echo_n "checking for $ac_word... " >&6; }
26652 for as_dir in $as_dummy
26655 test -z "$as_dir" && as_dir=.
26656 for ac_exec_ext in '' $ac_executable_extensions; do
26659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26670 if test -n "$PKGCONFIG"; then
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26675 $as_echo "no" >&6; }
26680 if test -z "$ac_cv_path_PKGCONFIG"; then
26682 # Extract the first word of "pkg-config", so it can be a program name with args.
26683 set dummy pkg-config; ac_word=$2
26684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26685 $as_echo_n "checking for $ac_word... " >&6; }
26696 for as_dir in $as_dummy
26699 test -z "$as_dir" && as_dir=.
26700 for ac_exec_ext in '' $ac_executable_extensions; do
26703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26714 if test -n "$ac_pt_PKGCONFIG"; then
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26719 $as_echo "no" >&6; }
26723 PKGCONFIG="no"
26727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
26740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
26741 $as_echo_n "checking for nss options with pkg-config... " >&6; }
26743 if test -n "$NSS_PCDIR"; then
26747 $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
26749 if test -z "$itexists"; then
26750 PKGCONFIG="no"
26751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26752 $as_echo "no" >&6; }
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26759 if test "$PKGCONFIG" != "no" ; then
26761 if test -n "$NSS_PCDIR"; then
26765 $PKGCONFIG --libs-only-L nss`
26767 if test -n "$NSS_PCDIR"; then
26771 $PKGCONFIG --libs-only-l nss`
26773 if test -n "$NSS_PCDIR"; then
26777 $PKGCONFIG --cflags nss`
26779 if test -n "$NSS_PCDIR"; then
26783 $PKGCONFIG --modversion nss`
26785 if test -n "$NSS_PCDIR"; then
26789 $PKGCONFIG --variable=prefix nss`
26794 if test -z "$addlib"; then
26795 # Without pkg-config, we'll kludge in some defaults
26796 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags…
26797 $as_echo "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
26798 addld="-L$OPT_NSS/lib"
26799 addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
26800 addcflags="-I$OPT_NSS/include"
26811 if test "$addcflags" != "-I/usr/include"; then
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_VersionRangeSet in -lnss3" >&5
26816 $as_echo_n "checking for SSL_VersionRangeSet in -lnss3... " >&6; }
26821 LIBS="-lnss3 $LIBS"
26822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26840 ac_cv_lib_nss3_SSL_VersionRangeSet=no
26842 rm -f core conftest.err conftest.$ac_objext \
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_SSL_VersionRangeSet" >&5
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: detected NSS version $version" >&5
26889 … { $as_echo "$as_me:${as_lineno-$LINENO}: Added $nssprefix/lib$libsuff to CURL_LIBRARY_PATH" >&5
26895 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26900 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SSL disabled, you will not be able to use HTTPS,…
26902 …-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --w…
26903 …--with-ssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --with-schannel, --with-sec…
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
26921 { $as_echo "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
26926 if test -n "$ssl_backends"; then
26930 if test no = "$VALID_DEFAULT_SSL_BACKEND"
26932 if test -n "$SSL_ENABLED"
26948 if test -n "$check_for_ca_bundle"; then
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
26955 # Check whether --with-ca-bundle was given.
26960 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
26968 # Check whether --with-ca-path was given.
26973 as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
26985 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
26986 "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
26989 elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
26991 capath="no"
26992 elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
26993 …if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1" -a "x$MBEDTLS_ENABLED" != "x1"; …
26994 as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS" "$LINENO" 5
26997 ca="no"
26999 ca="no"
27000 capath="no"
27004 cac="${prefix}/share/curl/curl-ca-bundle.crt"
27006 cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
27009 for a in /etc/ssl/certs/ca-certificates.crt \
27010 /etc/pki/tls/certs/ca-bundle.crt \
27011 /usr/share/ssl/certs/ca-bundle.crt \
27012 /usr/local/share/certs/ca-root-nss.crt \
27015 if test -f "$a"; then
27021 if test "x$want_capath" = "xunset" -a "x$ca" = "xno" -a \
27026 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cross-co…
27027 $as_echo "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
27031 if test "x$ca" = "xno" || test -f "$ca"; then
27039 if test ! -z "$check_capath"; then
27040 for a in "$check_capath"; do
27041 …if test -d "$a" && ls "$a"/[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].0 >/de…
27063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
27077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27078 $as_echo "no" >&6; }
27081 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL library" …
27084 # Check whether --with-ca-fallback was given.
27087 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
27088 as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
27092 with_ca_fallback="no"
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
27098 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
27099 as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
27112 # Check whether --with-libpsl was given.
27119 if test $with_libpsl != "no"; then
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5
27121 $as_echo_n "checking for library containing psl_builtin... " >&6; }
27126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27141 for ac_lib in '' psl; do
27142 if test -z "$ac_lib"; then
27145 ac_res=-l$ac_lib
27146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
27151 rm -f core conftest.err conftest.$ac_objext \
27160 ac_cv_search_psl_builtin=no
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5
27168 if test "$ac_res" != no; then :
27176 curl_psl_msg="no (libpsl not found)";
27177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5
27194 OPT_LIBMETALINK=no
27197 # Check whether --with-libmetalink was given.
27211 PKGTEST="no"
27215 if test -n "$PKG_CONFIG"; then
27218 if test -n "$ac_tool_prefix"; then
27219 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27220 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27222 $as_echo_n "checking for $ac_word... " >&6; }
27233 for as_dir in $as_dummy
27236 test -z "$as_dir" && as_dir=.
27237 for ac_exec_ext in '' $ac_executable_extensions; do
27240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27251 if test -n "$PKGCONFIG"; then
27252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27256 $as_echo "no" >&6; }
27261 if test -z "$ac_cv_path_PKGCONFIG"; then
27263 # Extract the first word of "pkg-config", so it can be a program name with args.
27264 set dummy pkg-config; ac_word=$2
27265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27266 $as_echo_n "checking for $ac_word... " >&6; }
27277 for as_dir in $as_dummy
27280 test -z "$as_dir" && as_dir=.
27281 for ac_exec_ext in '' $ac_executable_extensions; do
27284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27295 if test -n "$ac_pt_PKGCONFIG"; then
27296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27300 $as_echo "no" >&6; }
27304 PKGCONFIG="no"
27308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmetalink options with pkg-config" >&5
27322 $as_echo_n "checking for libmetalink options with pkg-config... " >&6; }
27324 if test -n ""; then
27328 $PKGCONFIG --exists libmetalink >/dev/null 2>&1 && echo 1`
27330 if test -z "$itexists"; then
27331 PKGCONFIG="no"
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27333 $as_echo "no" >&6; }
27335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27342 …{ $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$LIBMETALINK_PCDIR\"" …
27344 if test -f "$LIBMETALINK_PCDIR/libmetalink.pc"; then
27349 if test -n "$PKG_CONFIG"; then
27352 if test -n "$ac_tool_prefix"; then
27353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27354 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27356 $as_echo_n "checking for $ac_word... " >&6; }
27367 for as_dir in $as_dummy
27370 test -z "$as_dir" && as_dir=.
27371 for ac_exec_ext in '' $ac_executable_extensions; do
27374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27385 if test -n "$PKGCONFIG"; then
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27390 $as_echo "no" >&6; }
27395 if test -z "$ac_cv_path_PKGCONFIG"; then
27397 # Extract the first word of "pkg-config", so it can be a program name with args.
27398 set dummy pkg-config; ac_word=$2
27399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27400 $as_echo_n "checking for $ac_word... " >&6; }
27411 for as_dir in $as_dummy
27414 test -z "$as_dir" && as_dir=.
27415 for ac_exec_ext in '' $ac_executable_extensions; do
27418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27429 if test -n "$ac_pt_PKGCONFIG"; then
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27434 $as_echo "no" >&6; }
27438 PKGCONFIG="no"
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmetalink options with pkg-config" >&5
27456 $as_echo_n "checking for libmetalink options with pkg-config... " >&6; }
27458 if test -n "$LIBMETALINK_PCDIR"; then
27462 $PKGCONFIG --exists libmetalink >/dev/null 2>&1 && echo 1`
27464 if test -z "$itexists"; then
27465 PKGCONFIG="no"
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27467 $as_echo "no" >&6; }
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27476 if test "$PKGTEST" = "yes" && test "$PKGCONFIG" != "no"; then
27478 if test -n "$LIBMETALINK_PCDIR"; then
27482 $PKGCONFIG --libs-only-l libmetalink`
27484 if test -n "$LIBMETALINK_PCDIR"; then
27488 $PKGCONFIG --libs-only-L libmetalink`
27490 if test -n "$LIBMETALINK_PCDIR"; then
27494 $PKGCONFIG --cflags-only-I libmetalink`
27496 if test -n "$LIBMETALINK_PCDIR"; then
27500 $PKGCONFIG --modversion libmetalink`
27501 libmetalinklib=`echo $addld | $SED -e 's/^-L//'`
27503 if test -n "$addlib"; then
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libmetalink is recent enough" >&5
27513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($version)" >&5
27538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($version)" >&5
27539 $as_echo "no ($version)" >&6; }
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: libmetalink library defective or too old" >&5
27542 want_metalink="no"
27545 rm -f core conftest.err conftest.$ac_objext \
27547 if test "x$OPENSSL_ENABLED" != "x1" -a "x$USE_WINDOWS_SSPI" != "x1" \
27548 -a "x$GNUTLS_ENABLED" != "x1" -a "x$NSS_ENABLED" != "x1" \
27549 -a "x$SECURETRANSPORT_ENABLED" != "x1"; then
27550 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: metalink support requires a compatible SSL/TLS b…
27552 want_metalink="no"
27576 # Check whether --with-libssh2 was given.
27580 OPT_LIBSSH2=no
27587 # Check whether --with-libssh was given.
27591 OPT_LIBSSH=no
27597 # Check whether --with-wolfssh was given.
27601 OPT_WOLFSSH=no
27613 if test -n "$PKG_CONFIG"; then
27616 if test -n "$ac_tool_prefix"; then
27617 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27618 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27620 $as_echo_n "checking for $ac_word... " >&6; }
27631 for as_dir in $as_dummy
27634 test -z "$as_dir" && as_dir=.
27635 for ac_exec_ext in '' $ac_executable_extensions; do
27638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27649 if test -n "$PKGCONFIG"; then
27650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27654 $as_echo "no" >&6; }
27659 if test -z "$ac_cv_path_PKGCONFIG"; then
27661 # Extract the first word of "pkg-config", so it can be a program name with args.
27662 set dummy pkg-config; ac_word=$2
27663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27664 $as_echo_n "checking for $ac_word... " >&6; }
27675 for as_dir in $as_dummy
27678 test -z "$as_dir" && as_dir=.
27679 for ac_exec_ext in '' $ac_executable_extensions; do
27682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27693 if test -n "$ac_pt_PKGCONFIG"; then
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27698 $as_echo "no" >&6; }
27702 PKGCONFIG="no"
27706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
27720 $as_echo_n "checking for libssh2 options with pkg-config... " >&6; }
27722 if test -n ""; then
27726 $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
27728 if test -z "$itexists"; then
27729 PKGCONFIG="no"
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27731 $as_echo "no" >&6; }
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27739 if test "$PKGCONFIG" != "no" ; then
27740 LIB_SSH2=`$PKGCONFIG --libs libssh2`
27741 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
27742 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
27743 version=`$PKGCONFIG --modversion libssh2`
27744 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/^-L//'`
27755 if test -n "$PREFIX_SSH2"; then
27756 LIB_SSH2="-lssh2"
27757 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
27758 CPP_SSH2=-I${PREFIX_SSH2}/include
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2_channel_open_ex in -lssh2" >&5
27767 $as_echo_n "checking for libssh2_channel_open_ex in -lssh2... " >&6; }
27772 LIBS="-lssh2 $LIBS"
27773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27791 ac_cv_lib_ssh2_libssh2_channel_open_ex=no
27793 rm -f core conftest.err conftest.$ac_objext \
27797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_channel_open_ex" >&5
27804 LIBS="-lssh2 $LIBS"
27809 for ac_header in libssh2.h
27835 if test -n "$DIR_SSH2"; then
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
27857 if test -n "$PKG_CONFIG"; then
27860 if test -n "$ac_tool_prefix"; then
27861 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27862 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27864 $as_echo_n "checking for $ac_word... " >&6; }
27875 for as_dir in $as_dummy
27878 test -z "$as_dir" && as_dir=.
27879 for ac_exec_ext in '' $ac_executable_extensions; do
27882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27893 if test -n "$PKGCONFIG"; then
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27898 $as_echo "no" >&6; }
27903 if test -z "$ac_cv_path_PKGCONFIG"; then
27905 # Extract the first word of "pkg-config", so it can be a program name with args.
27906 set dummy pkg-config; ac_word=$2
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27908 $as_echo_n "checking for $ac_word... " >&6; }
27919 for as_dir in $as_dummy
27922 test -z "$as_dir" && as_dir=.
27923 for ac_exec_ext in '' $ac_executable_extensions; do
27926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27937 if test -n "$ac_pt_PKGCONFIG"; then
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27942 $as_echo "no" >&6; }
27946 PKGCONFIG="no"
27950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
27964 $as_echo_n "checking for libssh options with pkg-config... " >&6; }
27966 if test -n ""; then
27970 $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
27972 if test -z "$itexists"; then
27973 PKGCONFIG="no"
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27975 $as_echo "no" >&6; }
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27983 if test "$PKGCONFIG" != "no" ; then
27984 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
27985 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
27986 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
27987 version=`$PKGCONFIG --modversion libssh`
27988 DIR_SSH=`echo $LD_SSH | $SED -e 's/^-L//'`
27999 if test -n "$PREFIX_SSH"; then
28000 LIB_SSH="-lssh"
28001 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
28002 CPP_SSH=-I${PREFIX_SSH}/include
28010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
28011 $as_echo_n "checking for ssh_new in -lssh... " >&6; }
28016 LIBS="-lssh $LIBS"
28017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28035 ac_cv_lib_ssh_ssh_new=no
28037 rm -f core conftest.err conftest.$ac_objext \
28041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
28048 LIBS="-lssh $LIBS"
28053 for ac_header in libssh/libssh.h
28079 if test -n "$DIR_SSH"; then
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
28100 WOLFCONFIG="$OPT_WOLFSSH/bin/wolfssh-config"
28101 LDFLAGS="$LDFLAGS `$WOLFCONFIG --libs`"
28102 CPPFLAGS="$CPPFLAGS `$WOLFCONFIG --cflags`"
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfSSH_Init in -lwolfssh" >&5
28106 $as_echo_n "checking for wolfSSH_Init in -lwolfssh... " >&6; }
28111 LIBS="-lwolfssh $LIBS"
28112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 ac_cv_lib_wolfssh_wolfSSH_Init=no
28132 rm -f core conftest.err conftest.$ac_objext \
28136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssh_wolfSSH_Init" >&5
28143 LIBS="-lwolfssh $LIBS"
28148 for ac_header in wolfssh/ssh.h
28173 # Check whether --with-librtmp was given.
28187 if test -n "$PKG_CONFIG"; then
28190 if test -n "$ac_tool_prefix"; then
28191 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28192 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28194 $as_echo_n "checking for $ac_word... " >&6; }
28205 for as_dir in $as_dummy
28208 test -z "$as_dir" && as_dir=.
28209 for ac_exec_ext in '' $ac_executable_extensions; do
28212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28223 if test -n "$PKGCONFIG"; then
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28228 $as_echo "no" >&6; }
28233 if test -z "$ac_cv_path_PKGCONFIG"; then
28235 # Extract the first word of "pkg-config", so it can be a program name with args.
28236 set dummy pkg-config; ac_word=$2
28237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28238 $as_echo_n "checking for $ac_word... " >&6; }
28249 for as_dir in $as_dummy
28252 test -z "$as_dir" && as_dir=.
28253 for ac_exec_ext in '' $ac_executable_extensions; do
28256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28267 if test -n "$ac_pt_PKGCONFIG"; then
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28272 $as_echo "no" >&6; }
28276 PKGCONFIG="no"
28280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
28294 $as_echo_n "checking for librtmp options with pkg-config... " >&6; }
28296 if test -n ""; then
28300 $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
28302 if test -z "$itexists"; then
28303 PKGCONFIG="no"
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28305 $as_echo "no" >&6; }
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
28313 if test "$PKGCONFIG" != "no" ; then
28314 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
28315 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
28316 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
28317 version=`$PKGCONFIG --modversion librtmp`
28318 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/^-L//'`
28320 … as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
28325 LIB_RTMP="-lrtmp"
28328 LIB_RTMP="-lrtmp"
28333 if test -n "$PREFIX_RTMP"; then
28334 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
28335 CPP_RTMP=-I${PREFIX_RTMP}/include
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
28344 $as_echo_n "checking for RTMP_Init in -lrtmp... " >&6; }
28349 LIBS="-lrtmp $LIBS"
28350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 ac_cv_lib_rtmp_RTMP_Init=no
28370 rm -f core conftest.err conftest.$ac_objext \
28374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
28378 for ac_header in librtmp/rtmp.h
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
28417 # Check whether --enable-versioned-symbols was given.
28420 yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
28424 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
28425 if test -z "$GLD"; then
28426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28427 $as_echo "no" >&6; }
28428 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --version-…
28429 $as_echo "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
28431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28454 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28455 $as_echo "no" >&6; }
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28462 $as_echo "no" >&6; }
28480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Windows nat…
28484 # Check whether --with-winidn was given.
28490 no|default)
28491 want_winidn="no"
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28493 $as_echo "no" >&6; }
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
28513 WINIDN_LIBS="-lnormaliz"
28514 WINIDN_CPPFLAGS="-DWINVER=0x0600"
28517 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
28518 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
28528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28553 $as_echo "no" >&6; }
28554 tst_links_winidn="no"
28557 rm -f core conftest.err conftest.$ac_objext \
28569 curl_idn_msg="enabled (Windows-native)"
28571 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN disab…
28572 $as_echo "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
28584 # Check whether --with-libidn2 was given.
28590 no)
28591 want_idn="no"
28592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28593 $as_echo "no" >&6; }
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
28619 PKGCONFIG="no"
28624 if test -n "$PKG_CONFIG"; then
28627 if test -n "$ac_tool_prefix"; then
28628 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28629 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28631 $as_echo_n "checking for $ac_word... " >&6; }
28642 for as_dir in $as_dummy
28645 test -z "$as_dir" && as_dir=.
28646 for ac_exec_ext in '' $ac_executable_extensions; do
28649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28660 if test -n "$PKGCONFIG"; then
28661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28665 $as_echo "no" >&6; }
28670 if test -z "$ac_cv_path_PKGCONFIG"; then
28672 # Extract the first word of "pkg-config", so it can be a program name with args.
28673 set dummy pkg-config; ac_word=$2
28674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28675 $as_echo_n "checking for $ac_word... " >&6; }
28686 for as_dir in $as_dummy
28689 test -z "$as_dir" && as_dir=.
28690 for ac_exec_ext in '' $ac_executable_extensions; do
28693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28704 if test -n "$ac_pt_PKGCONFIG"; then
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28709 $as_echo "no" >&6; }
28713 PKGCONFIG="no"
28717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
28731 $as_echo_n "checking for libidn2 options with pkg-config... " >&6; }
28733 if test -n "$IDN_PCDIR"; then
28737 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
28739 if test -z "$itexists"; then
28740 PKGCONFIG="no"
28741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28742 $as_echo "no" >&6; }
28744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
28749 if test "$PKGCONFIG" != "no"; then
28751 if test -n "$IDN_PCDIR"; then
28755 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
28757 if test -n "$IDN_PCDIR"; then
28761 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
28763 if test -n "$IDN_PCDIR"; then
28767 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
28768 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
28770 IDN_LIBS="-lidn2"
28771 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
28772 IDN_CPPFLAGS="-I$want_idn_path/include"
28777 if test -n "$PKG_CONFIG"; then
28780 if test -n "$ac_tool_prefix"; then
28781 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28782 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28784 $as_echo_n "checking for $ac_word... " >&6; }
28795 for as_dir in $as_dummy
28798 test -z "$as_dir" && as_dir=.
28799 for ac_exec_ext in '' $ac_executable_extensions; do
28802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28813 if test -n "$PKGCONFIG"; then
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28818 $as_echo "no" >&6; }
28823 if test -z "$ac_cv_path_PKGCONFIG"; then
28825 # Extract the first word of "pkg-config", so it can be a program name with args.
28826 set dummy pkg-config; ac_word=$2
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28828 $as_echo_n "checking for $ac_word... " >&6; }
28839 for as_dir in $as_dummy
28842 test -z "$as_dir" && as_dir=.
28843 for ac_exec_ext in '' $ac_executable_extensions; do
28846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28857 if test -n "$ac_pt_PKGCONFIG"; then
28858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28862 $as_echo "no" >&6; }
28866 PKGCONFIG="no"
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
28883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
28884 $as_echo_n "checking for libidn2 options with pkg-config... " >&6; }
28886 if test -n ""; then
28890 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
28892 if test -z "$itexists"; then
28893 PKGCONFIG="no"
28894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28895 $as_echo "no" >&6; }
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
28902 if test "$PKGCONFIG" != "no"; then
28903 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
28904 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
28905 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
28906 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
28908 IDN_LIBS="-lidn2"
28912 if test "$PKGCONFIG" != "no"; then
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
28914 $as_echo "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
28916 $as_echo "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
28918 $as_echo "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
28920 $as_echo "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
28924 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
28926 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
28928 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
28936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
28938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28974 $as_echo "no" >&6; }
28975 tst_links_libidn="no"
28978 rm -f core conftest.err conftest.$ac_objext \
28981 for ac_header in idn2.h
29003 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
29010 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN disab…
29011 $as_echo "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
29025 # without HTTP, nghttp2 is no use
29026 OPT_H2="no"
29030 # Check whether --with-nghttp2 was given.
29036 no)
29037 want_h2="no"
29049 curl_h2_msg="no (--with-nghttp2)"
29056 if test -n "$PKG_CONFIG"; then
29059 if test -n "$ac_tool_prefix"; then
29060 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29061 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29063 $as_echo_n "checking for $ac_word... " >&6; }
29074 for as_dir in $as_dummy
29077 test -z "$as_dir" && as_dir=.
29078 for ac_exec_ext in '' $ac_executable_extensions; do
29081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29092 if test -n "$PKGCONFIG"; then
29093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29097 $as_echo "no" >&6; }
29102 if test -z "$ac_cv_path_PKGCONFIG"; then
29104 # Extract the first word of "pkg-config", so it can be a program name with args.
29105 set dummy pkg-config; ac_word=$2
29106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29107 $as_echo_n "checking for $ac_word... " >&6; }
29118 for as_dir in $as_dummy
29121 test -z "$as_dir" && as_dir=.
29122 for ac_exec_ext in '' $ac_executable_extensions; do
29125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29136 if test -n "$ac_pt_PKGCONFIG"; then
29137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29141 $as_echo "no" >&6; }
29145 PKGCONFIG="no"
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
29162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
29163 $as_echo_n "checking for libnghttp2 options with pkg-config... " >&6; }
29165 if test -n "$want_h2_path"; then
29169 $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
29171 if test -z "$itexists"; then
29172 PKGCONFIG="no"
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29174 $as_echo "no" >&6; }
29176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
29182 if test "$PKGCONFIG" != "no" ; then
29184 if test -n "$want_h2_path"; then
29189 $PKGCONFIG --libs-only-l libnghttp2`
29190 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
29191 $as_echo "$as_me: -l is $LIB_H2" >&6;}
29194 if test -n "$want_h2_path"; then
29198 $PKGCONFIG --cflags-only-I libnghttp2`
29199 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
29200 $as_echo "$as_me: -I is $CPP_H2" >&6;}
29203 if test -n "$want_h2_path"; then
29208 $PKGCONFIG --libs-only-L libnghttp2`
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
29210 $as_echo "$as_me: -L is $LD_H2" >&6;}
29218 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nghttp2_session_set_local_window_size in -ln…
29219 $as_echo_n "checking for nghttp2_session_set_local_window_size in -lnghttp2... " >&6; }
29224 LIBS="-lnghttp2 $LIBS"
29225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29243 ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size=no
29245 rm -f core conftest.err conftest.$ac_objext \
29249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_session_set_local_windo…
29253 for ac_header in nghttp2/nghttp2.h
29283 …as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LIN…
29291 curl_h3_msg="no (--with-ngtcp2, --with-quiche)"
29294 # without HTTP, ngtcp2 is no use
29295 OPT_TCP2="no"
29299 # Check whether --with-ngtcp2 was given.
29305 no)
29306 want_tcp2="no"
29318 curl_tcp2_msg="no (--with-ngtcp2)"
29325 if test -n "$PKG_CONFIG"; then
29328 if test -n "$ac_tool_prefix"; then
29329 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29330 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29332 $as_echo_n "checking for $ac_word... " >&6; }
29343 for as_dir in $as_dummy
29346 test -z "$as_dir" && as_dir=.
29347 for ac_exec_ext in '' $ac_executable_extensions; do
29350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29361 if test -n "$PKGCONFIG"; then
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29366 $as_echo "no" >&6; }
29371 if test -z "$ac_cv_path_PKGCONFIG"; then
29373 # Extract the first word of "pkg-config", so it can be a program name with args.
29374 set dummy pkg-config; ac_word=$2
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29376 $as_echo_n "checking for $ac_word... " >&6; }
29387 for as_dir in $as_dummy
29390 test -z "$as_dir" && as_dir=.
29391 for ac_exec_ext in '' $ac_executable_extensions; do
29394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29405 if test -n "$ac_pt_PKGCONFIG"; then
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29410 $as_echo "no" >&6; }
29414 PKGCONFIG="no"
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
29431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options with pkg-config" >&5
29432 $as_echo_n "checking for libngtcp2 options with pkg-config... " >&6; }
29434 if test -n "$want_tcp2_path"; then
29438 $PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
29440 if test -z "$itexists"; then
29441 PKGCONFIG="no"
29442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29443 $as_echo "no" >&6; }
29445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
29451 if test "$PKGCONFIG" != "no" ; then
29453 if test -n "$want_tcp2_path"; then
29458 $PKGCONFIG --libs-only-l libngtcp2`
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
29460 $as_echo "$as_me: -l is $LIB_TCP2" >&6;}
29463 if test -n "$want_tcp2_path"; then
29467 $PKGCONFIG --cflags-only-I libngtcp2`
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
29469 $as_echo "$as_me: -I is $CPP_TCP2" >&6;}
29472 if test -n "$want_tcp2_path"; then
29477 $PKGCONFIG --libs-only-L libngtcp2`
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
29479 $as_echo "$as_me: -L is $LD_TCP2" >&6;}
29486 DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/^-L//'`
29488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new in -lngtcp2" >&5
29489 $as_echo_n "checking for ngtcp2_conn_client_new in -lngtcp2... " >&6; }
29494 LIBS="-lngtcp2 $LIBS"
29495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29513 ac_cv_lib_ngtcp2_ngtcp2_conn_client_new=no
29515 rm -f core conftest.err conftest.$ac_objext \
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_client_new" >&5
29523 for ac_header in ngtcp2/ngtcp2.h
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&5
29556 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2 pkg-config file." "$LINENO" 5
29562 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then
29568 if test -n "$PKG_CONFIG"; then
29571 if test -n "$ac_tool_prefix"; then
29572 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29573 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29575 $as_echo_n "checking for $ac_word... " >&6; }
29586 for as_dir in $as_dummy
29589 test -z "$as_dir" && as_dir=.
29590 for ac_exec_ext in '' $ac_executable_extensions; do
29593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29604 if test -n "$PKGCONFIG"; then
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29609 $as_echo "no" >&6; }
29614 if test -z "$ac_cv_path_PKGCONFIG"; then
29616 # Extract the first word of "pkg-config", so it can be a program name with args.
29617 set dummy pkg-config; ac_word=$2
29618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29619 $as_echo_n "checking for $ac_word... " >&6; }
29630 for as_dir in $as_dummy
29633 test -z "$as_dir" && as_dir=.
29634 for ac_exec_ext in '' $ac_executable_extensions; do
29637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29648 if test -n "$ac_pt_PKGCONFIG"; then
29649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29653 $as_echo "no" >&6; }
29657 PKGCONFIG="no"
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
29674 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_openssl options with pkg-co…
29675 $as_echo_n "checking for libngtcp2_crypto_openssl options with pkg-config... " >&6; }
29677 if test -n "$want_tcp2_path"; then
29681 $PKGCONFIG --exists libngtcp2_crypto_openssl >/dev/null 2>&1 && echo 1`
29683 if test -z "$itexists"; then
29684 PKGCONFIG="no"
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29686 $as_echo "no" >&6; }
29688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
29694 if test "$PKGCONFIG" != "no" ; then
29696 if test -n "$want_tcp2_path"; then
29701 $PKGCONFIG --libs-only-l libngtcp2_crypto_openssl`
29702 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&5
29703 $as_echo "$as_me: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&6;}
29706 if test -n "$want_tcp2_path"; then
29710 $PKGCONFIG --cflags-only-I libngtcp2_crypto_openssl`
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&5
29712 $as_echo "$as_me: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&6;}
29715 if test -n "$want_tcp2_path"; then
29720 $PKGCONFIG --libs-only-L libngtcp2_crypto_openssl`
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&5
29722 $as_echo "$as_me: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&6;}
29729 DIR_NGTCP2_CRYPTO_OPENSSL=`echo $LD_NGTCP2_CRYPTO_OPENSSL | $SED -e 's/^-L//'`
29731 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto…
29732 $as_echo_n "checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_openssl... " >&6; }
29737 LIBS="-lngtcp2_crypto_openssl $LIBS"
29738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29756 ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx_initial=no
29758 rm -f core conftest.err conftest.$ac_objext \
29762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_ctx…
29766 for ac_header in ngtcp2/ngtcp2_crypto.h
29781 …{ $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_OPENSSL to CURL_LIBRARY_PATH" >&5
29799 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_openssl pkg-config fi…
29804 if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then
29810 if test -n "$PKG_CONFIG"; then
29813 if test -n "$ac_tool_prefix"; then
29814 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29815 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29817 $as_echo_n "checking for $ac_word... " >&6; }
29828 for as_dir in $as_dummy
29831 test -z "$as_dir" && as_dir=.
29832 for ac_exec_ext in '' $ac_executable_extensions; do
29835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29846 if test -n "$PKGCONFIG"; then
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29851 $as_echo "no" >&6; }
29856 if test -z "$ac_cv_path_PKGCONFIG"; then
29858 # Extract the first word of "pkg-config", so it can be a program name with args.
29859 set dummy pkg-config; ac_word=$2
29860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29861 $as_echo_n "checking for $ac_word... " >&6; }
29872 for as_dir in $as_dummy
29875 test -z "$as_dir" && as_dir=.
29876 for ac_exec_ext in '' $ac_executable_extensions; do
29879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29890 if test -n "$ac_pt_PKGCONFIG"; then
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29895 $as_echo "no" >&6; }
29899 PKGCONFIG="no"
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
29916 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_gnutls options with pkg-con…
29917 $as_echo_n "checking for libngtcp2_crypto_gnutls options with pkg-config... " >&6; }
29919 if test -n "$want_tcp2_path"; then
29923 $PKGCONFIG --exists libngtcp2_crypto_gnutls >/dev/null 2>&1 && echo 1`
29925 if test -z "$itexists"; then
29926 PKGCONFIG="no"
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29928 $as_echo "no" >&6; }
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
29936 if test "$PKGCONFIG" != "no" ; then
29938 if test -n "$want_tcp2_path"; then
29943 $PKGCONFIG --libs-only-l libngtcp2_crypto_gnutls`
29944 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&5
29945 $as_echo "$as_me: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&6;}
29948 if test -n "$want_tcp2_path"; then
29952 $PKGCONFIG --cflags-only-I libngtcp2_crypto_gnutls`
29953 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&5
29954 $as_echo "$as_me: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&6;}
29957 if test -n "$want_tcp2_path"; then
29962 $PKGCONFIG --libs-only-L libngtcp2_crypto_gnutls`
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&5
29964 $as_echo "$as_me: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&6;}
29971 DIR_NGTCP2_CRYPTO_GNUTLS=`echo $LD_NGTCP2_CRYPTO_GNUTLS | $SED -e 's/^-L//'`
29973 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto…
29974 $as_echo_n "checking for ngtcp2_crypto_ctx_initial in -lngtcp2_crypto_gnutls... " >&6; }
29979 LIBS="-lngtcp2_crypto_gnutls $LIBS"
29980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29998 ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_initial=no
30000 rm -f core conftest.err conftest.$ac_objext \
30004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_ctx_…
30008 for ac_header in ngtcp2/ngtcp2_crypto.h
30023 … { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH" >&5
30041 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_gnutls pkg-config fil…
30050 # without ngtcp2, nghttp3 is of no use for us
30051 OPT_NGHTTP3="no"
30055 # Check whether --with-nghttp3 was given.
30061 no)
30062 want_nghttp3="no"
30074 curl_http3_msg="no (--with-nghttp3)"
30081 if test -n "$PKG_CONFIG"; then
30084 if test -n "$ac_tool_prefix"; then
30085 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30086 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30088 $as_echo_n "checking for $ac_word... " >&6; }
30099 for as_dir in $as_dummy
30102 test -z "$as_dir" && as_dir=.
30103 for ac_exec_ext in '' $ac_executable_extensions; do
30106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30117 if test -n "$PKGCONFIG"; then
30118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30122 $as_echo "no" >&6; }
30127 if test -z "$ac_cv_path_PKGCONFIG"; then
30129 # Extract the first word of "pkg-config", so it can be a program name with args.
30130 set dummy pkg-config; ac_word=$2
30131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30132 $as_echo_n "checking for $ac_word... " >&6; }
30143 for as_dir in $as_dummy
30146 test -z "$as_dir" && as_dir=.
30147 for ac_exec_ext in '' $ac_executable_extensions; do
30150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30161 if test -n "$ac_pt_PKGCONFIG"; then
30162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30166 $as_echo "no" >&6; }
30170 PKGCONFIG="no"
30174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options with pkg-config" >&5
30188 $as_echo_n "checking for libnghttp3 options with pkg-config... " >&6; }
30190 if test -n "$want_nghttp3_path"; then
30194 $PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
30196 if test -z "$itexists"; then
30197 PKGCONFIG="no"
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30199 $as_echo "no" >&6; }
30201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
30207 if test "$PKGCONFIG" != "no" ; then
30209 if test -n "$want_nghttp3_path"; then
30214 $PKGCONFIG --libs-only-l libnghttp3`
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
30216 $as_echo "$as_me: -l is $LIB_NGHTTP3" >&6;}
30219 if test -n "$want_nghttp3_path"; then
30223 $PKGCONFIG --cflags-only-I libnghttp3`
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
30225 $as_echo "$as_me: -I is $CPP_NGHTTP3" >&6;}
30228 if test -n "$want_nghttp3_path"; then
30233 $PKGCONFIG --libs-only-L libnghttp3`
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
30235 $as_echo "$as_me: -L is $LD_NGHTTP3" >&6;}
30242 DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/^-L//'`
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_new in -lnghttp3" >&5
30245 $as_echo_n "checking for nghttp3_conn_client_new in -lnghttp3... " >&6; }
30250 LIBS="-lnghttp3 $LIBS"
30251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30269 ac_cv_lib_nghttp3_nghttp3_conn_client_new=no
30271 rm -f core conftest.err conftest.$ac_objext \
30275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn_client_new" >&5
30279 for ac_header in nghttp3/nghttp3.h
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5
30314 …as_fn_error $? "--with-nghttp3 was specified but could not find nghttp3 pkg-config file." "$LINENO…
30323 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
30324 # without HTTP or with ngtcp2, quiche is no use
30325 OPT_QUICHE="no"
30329 # Check whether --with-quiche was given.
30335 no)
30336 want_quiche="no"
30354 if test -n "$PKG_CONFIG"; then
30357 if test -n "$ac_tool_prefix"; then
30358 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30359 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30361 $as_echo_n "checking for $ac_word... " >&6; }
30372 for as_dir in $as_dummy
30375 test -z "$as_dir" && as_dir=.
30376 for ac_exec_ext in '' $ac_executable_extensions; do
30379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30390 if test -n "$PKGCONFIG"; then
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30395 $as_echo "no" >&6; }
30400 if test -z "$ac_cv_path_PKGCONFIG"; then
30402 # Extract the first word of "pkg-config", so it can be a program name with args.
30403 set dummy pkg-config; ac_word=$2
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30405 $as_echo_n "checking for $ac_word... " >&6; }
30416 for as_dir in $as_dummy
30419 test -z "$as_dir" && as_dir=.
30420 for ac_exec_ext in '' $ac_executable_extensions; do
30423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30434 if test -n "$ac_pt_PKGCONFIG"; then
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30439 $as_echo "no" >&6; }
30443 PKGCONFIG="no"
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quiche options with pkg-config" >&5
30461 $as_echo_n "checking for quiche options with pkg-config... " >&6; }
30463 if test -n "$want_quiche_path"; then
30467 $PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
30469 if test -z "$itexists"; then
30470 PKGCONFIG="no"
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30472 $as_echo "no" >&6; }
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
30480 if test "$PKGCONFIG" != "no" ; then
30482 if test -n "$want_quiche_path"; then
30487 $PKGCONFIG --libs-only-l quiche`
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
30489 $as_echo "$as_me: -l is $LIB_QUICHE" >&6;}
30492 if test -n "$want_quiche_path"; then
30496 $PKGCONFIG --cflags-only-I quiche`
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
30498 $as_echo "$as_me: -I is $CPP_QUICHE" >&6;}
30501 if test -n "$want_quiche_path"; then
30506 $PKGCONFIG --libs-only-L quiche`
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
30508 $as_echo "$as_me: -L is $LD_QUICHE" >&6;}
30515 DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/^-L//'`
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quiche_connect in -lquiche" >&5
30518 $as_echo_n "checking for quiche_connect in -lquiche... " >&6; }
30523 LIBS="-lquiche $LIBS"
30524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30542 ac_cv_lib_quiche_quiche_connect=no
30544 rm -f core conftest.err conftest.$ac_objext \
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_connect" >&5
30552 for ac_header in quiche.h
30560 { $as_echo "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
30569 for ac_func in quiche_conn_set_qlog_fd
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&5
30598 …as_fn_error $? "--with-quiche was specified but could not find quiche pkg-config file." "$LINENO" 5
30606 # Check whether --with-zsh-functions-dir was given.
30612 no)
30615 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
30627 # Check whether --with-fish-functions-dir was given.
30633 no)
30637 if test -n "$PKG_CONFIG"; then
30640 if test -n "$ac_tool_prefix"; then
30641 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30642 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30644 $as_echo_n "checking for $ac_word... " >&6; }
30655 for as_dir in $as_dummy
30658 test -z "$as_dir" && as_dir=.
30659 for ac_exec_ext in '' $ac_executable_extensions; do
30662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30673 if test -n "$PKGCONFIG"; then
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30678 $as_echo "no" >&6; }
30683 if test -z "$ac_cv_path_PKGCONFIG"; then
30685 # Extract the first word of "pkg-config", so it can be a program name with args.
30686 set dummy pkg-config; ac_word=$2
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30688 $as_echo_n "checking for $ac_word... " >&6; }
30699 for as_dir in $as_dummy
30702 test -z "$as_dir" && as_dir=.
30703 for ac_exec_ext in '' $ac_executable_extensions; do
30706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30717 if test -n "$ac_pt_PKGCONFIG"; then
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30722 $as_echo "no" >&6; }
30726 PKGCONFIG="no"
30730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
30743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fish options with pkg-config" >&5
30744 $as_echo_n "checking for fish options with pkg-config... " >&6; }
30746 if test -n ""; then
30750 $PKGCONFIG --exists fish >/dev/null 2>&1 && echo 1`
30752 if test -z "$itexists"; then
30753 PKGCONFIG="no"
30754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30755 $as_echo "no" >&6; }
30757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
30762 if test "$PKGCONFIG" != "no" ; then
30763 FISH_FUNCTIONS_DIR="$($PKGCONFIG --variable completionsdir fish)"
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
30777 $as_echo_n "checking for ANSI C header files... " >&6; }
30781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30798 ac_cv_header_stdc=no
30800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 ac_cv_header_stdc=no
30815 rm -f conftest*
30821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30830 ac_cv_header_stdc=no
30832 rm -f conftest*
30837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
30841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
30861 for (i = 0; i < 256; i++)
30871 ac_cv_header_stdc=no
30873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
30889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc.h" >&5
30890 $as_echo_n "checking for malloc.h... " >&6; }
30895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30920 curl_cv_header_malloc_h="no"
30923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_malloc_h" >&5
30935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30956 curl_cv_need_header_malloc_h="no"
30963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memory.h" >&5
30978 $as_echo_n "checking for memory.h... " >&6; }
30983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31008 curl_cv_header_memory_h="no"
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_memory_h" >&5
31023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31044 curl_cv_need_header_memory_h="no"
31051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065 for ac_header in sys/types.h \
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
31148 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
31152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31170 an arm of an if-expression whose if-part is not a constant
31173 pcpcc = &g + (g ? g-g : 0);
31186 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
31191 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
31197 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
31199 struct s *b = &bx; b->j = 5;
31201 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
31215 ac_cv_c_const=no
31217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
31221 if test $ac_cv_c_const = no; then
31228 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style…
31229 $as_echo_n "checking for compiler support of C99 variadic macro style... " >&6; }
31234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 curl_cv_variadic_macros_c99="no"
31267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5
31281 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro s…
31282 $as_echo_n "checking for compiler support of old gcc variadic macro style... " >&6; }
31287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31317 curl_cv_variadic_macros_gcc="no"
31320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5
31346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
31351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31368 ac_cv_header_time=no
31370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
31381 for ac_header in sys/types.h sys/time.h time.h sys/socket.h
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
31395 $as_echo_n "checking for struct timeval... " >&6; }
31400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31453 curl_cv_struct_timeval="no"
31456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
31476 $as_echo_n "checking run-time libs availability... " >&6; }
31482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
31485 See \`config.log' for more details" "$LINENO" 5; }
31487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: fine" >&5
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
31502 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
31505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
31520 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31544 as_fn_error $? "cannot determine a size for size_t" "$LINENO" 5
31546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
31559 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31583 as_fn_error $? "cannot determine a size for long" "$LINENO" 5
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
31598 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31622 as_fn_error $? "cannot determine a size for int" "$LINENO" 5
31624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
31637 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31661 as_fn_error $? "cannot determine a size for short" "$LINENO" 5
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
31676 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31700 as_fn_error $? "cannot determine a size for time_t" "$LINENO" 5
31702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
31710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
31715 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31739 as_fn_error $? "cannot determine a size for off_t" "$LINENO" 5
31741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
31751 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
31757 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
31758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31783 as_fn_error $? "cannot determine a size for curl_off_t" "$LINENO" 5
31785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_curl_off_t" >&5
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if numberLL works" >&5
31808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31834 $as_echo "no" >&6; }
31837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31841 # check for ssize_t
31852 # check for bool type
31871 # check for sa_family_t
31905 # check for suseconds_t
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
31931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31932 $as_echo "no" >&6; }
31935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31940 time_t t = -1;
31945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31953 $as_echo "no" >&6; }
31956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31976 for ac_header in sys/types.h poll.h sys/poll.h
31995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32021 tst_poll_events_macro_defined="no"
32024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
32074 $as_echo_n "checking for in_addr_t equivalent... " >&6; }
32080 for t in "unsigned long" int size_t unsigned long; do
32082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32129 rm -f core conftest.err conftest.$ac_objext \
32135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
32190 for ac_header in signal.h
32219 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sig_atomic_t is already defined as volatile" …
32221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32242 $as_echo "no" >&6; }
32243 curl_cv_sig_atomic_t_volatile="no"
32247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32252 rm -f core conftest.err conftest.$ac_objext \
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
32269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
32298 for ac_header in sys/select.h sys/socket.h
32312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
32313 $as_echo_n "checking for select... " >&6; }
32314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32380 $as_echo "no" >&6; }
32381 curl_cv_select="no"
32384 rm -f core conftest.err conftest.$ac_objext \
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for select" >&5
32389 $as_echo_n "checking types of args and return type for select... " >&6; }
32395 for sel_retv in 'int' 'ssize_t'; do
32396 for sel_arg1 in 'int' 'ssize_t' 'size_t' 'unsigned long int' 'unsigned int'; do
32397 for sel_arg234 in 'fd_set *' 'int *' 'void *'; do
32398 for sel_arg5 in 'struct timeval *' 'const struct timeval *'; do
32400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_select_args" >&5
32491 $as_echo "$curl_cv_func_select_args" >&6; } # AC-CACHE-CHECK
32493 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for select args"…
32494 $as_echo "$as_me: WARNING: Cannot find proper types to use for select args" >&2;}
32495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_SELECT will not be defined" >&5
32521 prev_sh_opts=$-
32527 set -f
32572 for ac_header in sys/types.h sys/socket.h
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
32587 $as_echo_n "checking for recv... " >&6; }
32588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32637 $as_echo "no" >&6; }
32638 curl_cv_recv="no"
32641 rm -f core conftest.err conftest.$ac_objext \
32645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recv" >&5
32646 $as_echo_n "checking types of args and return type for recv... " >&6; }
32652 for recv_retv in 'int' 'ssize_t'; do
32653 for recv_arg1 in 'int' 'ssize_t' 'SOCKET'; do
32654 for recv_arg2 in 'char *' 'void *'; do
32655 for recv_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
32656 for recv_arg4 in 'int' 'unsigned int'; do
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recv_args" >&5
32723 $as_echo "$curl_cv_func_recv_args" >&6; } # AC-CACHE-CHECK
32725 as_fn_error $? "Cannot find proper types to use for recv args" "$LINENO" 5
32770 for ac_header in sys/types.h sys/socket.h
32784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for send" >&5
32785 $as_echo_n "checking for send... " >&6; }
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32835 $as_echo "no" >&6; }
32836 curl_cv_send="no"
32839 rm -f core conftest.err conftest.$ac_objext \
32843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for send" >&5
32844 $as_echo_n "checking types of args and return type for send... " >&6; }
32850 for send_retv in 'int' 'ssize_t'; do
32851 for send_arg1 in 'int' 'ssize_t' 'SOCKET'; do
32852 for send_arg2 in 'char *' 'void *' 'const char *' 'const void *'; do
32853 for send_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
32854 for send_arg4 in 'int' 'unsigned int'; do
32856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_send_args" >&5
32920 $as_echo "$curl_cv_func_send_args" >&6; } # AC-CACHE-CHECK
32922 as_fn_error $? "Cannot find proper types to use for send args" "$LINENO" 5
32952 prev_sh_opts=$-
32958 set -f
33004 for ac_header in sys/types.h sys/socket.h
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
33018 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
33023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33069 curl_cv_msg_nosignal="no"
33072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
33098 for ac_header in sys/types.h unistd.h
33120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
33122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33158 $as_echo "no" >&6; }
33159 tst_links_alarm="no"
33162 rm -f core conftest.err conftest.$ac_objext \
33166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
33168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33184 $as_echo "no" >&6; }
33185 tst_proto_alarm="no"
33188 rm -f conftest*
33193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
33195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33221 $as_echo "no" >&6; }
33222 tst_compi_alarm="no"
33225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
33232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33237 $as_echo "no" >&6; }
33238 tst_allow_alarm="no"
33242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33258 $as_echo "no" >&6; }
33259 curl_cv_func_alarm="no"
33275 for ac_header in sys/types.h string.h strings.h
33300 for ac_header in sys/types.h libgen.h
33322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
33324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33360 $as_echo "no" >&6; }
33361 tst_links_basename="no"
33364 rm -f core conftest.err conftest.$ac_objext \
33368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
33370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33388 $as_echo "no" >&6; }
33389 tst_proto_basename="no"
33392 rm -f conftest*
33397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
33399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33427 $as_echo "no" >&6; }
33428 tst_compi_basename="no"
33431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33443 $as_echo "no" >&6; }
33444 tst_allow_basename="no"
33448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
33454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33464 $as_echo "no" >&6; }
33465 curl_cv_func_basename="no"
33478 for ac_header in sys/types.h socket.h
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
33502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33530 $as_echo "no" >&6; }
33531 tst_links_closesocket="no"
33534 rm -f core conftest.err conftest.$ac_objext \
33538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
33540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33558 $as_echo "no" >&6; }
33559 tst_proto_closesocket="no"
33562 rm -f conftest*
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
33569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33597 $as_echo "no" >&6; }
33598 tst_compi_closesocket="no"
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
33608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33613 $as_echo "no" >&6; }
33614 tst_allow_closesocket="no"
33618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
33624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33634 $as_echo "no" >&6; }
33635 curl_cv_func_closesocket="no"
33648 for ac_header in sys/types.h sys/socket.h
33670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
33672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33698 $as_echo "no" >&6; }
33699 tst_links_closesocket_camel="no"
33702 rm -f core conftest.err conftest.$ac_objext \
33706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
33708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33724 $as_echo "no" >&6; }
33725 tst_proto_closesocket_camel="no"
33728 rm -f conftest*
33733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
33735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33761 $as_echo "no" >&6; }
33762 tst_compi_closesocket_camel="no"
33765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
33772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33777 $as_echo "no" >&6; }
33778 tst_allow_closesocket_camel="no"
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
33788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33798 $as_echo "no" >&6; }
33799 curl_cv_func_closesocket_camel="no"
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect can be linked" >&5
33811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33840 $as_echo "no" >&6; }
33841 tst_links_connect="no"
33844 rm -f core conftest.err conftest.$ac_objext \
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is prototyped" >&5
33850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33869 $as_echo "no" >&6; }
33870 tst_proto_connect="no"
33873 rm -f conftest*
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is compilable" >&5
33880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33909 $as_echo "no" >&6; }
33910 tst_compi_connect="no"
33913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect usage allowed" >&5
33920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33925 $as_echo "no" >&6; }
33926 tst_allow_connect="no"
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect might be used" >&5
33936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33946 $as_echo "no" >&6; }
33947 curl_cv_func_connect="no"
33963 for ac_header in sys/types.h unistd.h fcntl.h
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
33987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34023 $as_echo "no" >&6; }
34024 tst_links_fcntl="no"
34027 rm -f core conftest.err conftest.$ac_objext \
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
34033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34049 $as_echo "no" >&6; }
34050 tst_proto_fcntl="no"
34053 rm -f conftest*
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
34060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34086 $as_echo "no" >&6; }
34087 tst_compi_fcntl="no"
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34102 $as_echo "no" >&6; }
34103 tst_allow_fcntl="no"
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
34135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34162 $as_echo "no" >&6; }
34163 tst_compi_fcntl_o_nonblock="no"
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
34173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34178 $as_echo "no" >&6; }
34179 tst_allow_fcntl_o_nonblock="no"
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34197 $as_echo "no" >&6; }
34198 curl_cv_func_fcntl_o_nonblock="no"
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34203 $as_echo "no" >&6; }
34204 curl_cv_func_fcntl="no"
34224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
34225 $as_echo_n "checking for windows.h... " >&6; }
34230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34260 curl_cv_header_windows_h="no"
34263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
34279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
34280 $as_echo_n "checking for winsock2.h... " >&6; }
34285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34316 curl_cv_header_winsock2_h="no"
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
34335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
34336 $as_echo_n "checking for ws2tcpip.h... " >&6; }
34341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34373 curl_cv_header_ws2tcpip_h="no"
34376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
34402 for ac_header in sys/types.h netdb.h
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
34426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34453 $as_echo "no" >&6; }
34454 tst_links_freeaddrinfo="no"
34457 rm -f core conftest.err conftest.$ac_objext \
34461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
34463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34481 $as_echo "no" >&6; }
34482 tst_proto_freeaddrinfo="no"
34485 rm -f conftest*
34490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
34492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34519 $as_echo "no" >&6; }
34520 tst_compi_freeaddrinfo="no"
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
34530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34535 $as_echo "no" >&6; }
34536 tst_allow_freeaddrinfo="no"
34540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34556 $as_echo "no" >&6; }
34557 curl_cv_func_freeaddrinfo="no"
34576 for ac_header in sys/types.h sys/socket.h netinet/in.h ifaddrs.h
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs can be linked" >&5
34600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34636 $as_echo "no" >&6; }
34637 tst_links_freeifaddrs="no"
34640 rm -f core conftest.err conftest.$ac_objext \
34644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is prototyped" >&5
34646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34662 $as_echo "no" >&6; }
34663 tst_proto_freeifaddrs="no"
34666 rm -f conftest*
34671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is compilable" >&5
34673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34698 $as_echo "no" >&6; }
34699 tst_compi_freeifaddrs="no"
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs usage allowed" >&5
34709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34714 $as_echo "no" >&6; }
34715 tst_allow_freeifaddrs="no"
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs might be used" >&5
34725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34735 $as_echo "no" >&6; }
34736 curl_cv_func_freeifaddrs="no"
34749 for ac_header in sys/types.h sys/xattr.h
34772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
34774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34810 $as_echo "no" >&6; }
34811 tst_links_fsetxattr="no"
34814 rm -f core conftest.err conftest.$ac_objext \
34818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
34820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34836 $as_echo "no" >&6; }
34837 tst_proto_fsetxattr="no"
34840 rm -f conftest*
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
34848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34875 $as_echo "no" >&6; }
34876 tst_compi_fsetxattr="no"
34879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34911 $as_echo "no" >&6; }
34912 tst_compi_fsetxattr="no"
34915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
34920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34924 $as_echo "no" >&6; }
34929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34937 $as_echo "no" >&6; }
34938 tst_allow_fsetxattr="no"
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34956 if test "$tst_nargs_fsetxattr" -eq "5"; then
34960 elif test "$tst_nargs_fsetxattr" -eq "6"; then
34968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34969 $as_echo "no" >&6; }
34970 curl_cv_func_fsetxattr="no"
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
34982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35018 $as_echo "no" >&6; }
35019 tst_links_ftruncate="no"
35022 rm -f core conftest.err conftest.$ac_objext \
35026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
35028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35044 $as_echo "no" >&6; }
35045 tst_proto_ftruncate="no"
35048 rm -f conftest*
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
35055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35081 $as_echo "no" >&6; }
35082 tst_compi_ftruncate="no"
35085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35097 $as_echo "no" >&6; }
35098 tst_allow_ftruncate="no"
35102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
35108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35118 $as_echo "no" >&6; }
35119 curl_cv_func_ftruncate="no"
35132 for ac_header in sys/types.h stdlib.h
35156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
35158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35186 $as_echo "no" >&6; }
35187 tst_links_getaddrinfo="no"
35190 rm -f core conftest.err conftest.$ac_objext \
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
35196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35214 $as_echo "no" >&6; }
35215 tst_proto_getaddrinfo="no"
35218 rm -f conftest*
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
35225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35253 $as_echo "no" >&6; }
35254 tst_compi_getaddrinfo="no"
35257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
35269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35272 See \`config.log' for more details" "$LINENO" 5; }
35274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35319 $as_echo "no" >&6; }
35320 tst_works_getaddrinfo="no"
35323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35332 test "$tst_works_getaddrinfo" != "no"; then
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35341 $as_echo "no" >&6; }
35342 tst_allow_getaddrinfo="no"
35346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
35352 test "$tst_works_getaddrinfo" != "no"; then
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35363 $as_echo "no" >&6; }
35364 curl_cv_func_getaddrinfo="no"
35365 curl_cv_func_getaddrinfo_threadsafe="no"
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
35373 tst_tsafe_getaddrinfo="no"
35379 tst_tsafe_getaddrinfo="no"
35385 tst_tsafe_getaddrinfo="no"
35391 tst_tsafe_getaddrinfo="no"
35397 tst_tsafe_getaddrinfo="no"
35403 tst_tsafe_getaddrinfo="no"
35416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35440 tst_symbol_defined="no"
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35448 curl_cv_have_def_h_errno=no
35455 tst_h_errno_macro="no"
35457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35482 tst_h_errno_modifiable_lvalue="no"
35485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35513 tst_h_errno_sbs_issue_7="no"
35516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35517 if test "$tst_h_errno_macro" = "no" &&
35518 test "$tst_h_errno_modifiable_lvalue" = "no" &&
35519 test "$tst_h_errno_sbs_issue_7" = "no"; then
35520 tst_tsafe_getaddrinfo="no"
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
35535 curl_cv_func_getaddrinfo_threadsafe="no"
35546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror can be linked" >&5
35548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35576 $as_echo "no" >&6; }
35577 tst_links_gai_strerror="no"
35580 rm -f core conftest.err conftest.$ac_objext \
35584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror is prototyped" >&5
35586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35604 $as_echo "no" >&6; }
35605 tst_proto_gai_strerror="no"
35608 rm -f conftest*
35613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror is compilable" >&5
35615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35643 $as_echo "no" >&6; }
35644 tst_compi_gai_strerror="no"
35647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror usage allowed" >&5
35654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35659 $as_echo "no" >&6; }
35660 tst_allow_gai_strerror="no"
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror might be used" >&5
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35680 $as_echo "no" >&6; }
35681 curl_cv_func_gai_strerror="no"
35691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr can be linked" >&5
35693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35721 $as_echo "no" >&6; }
35722 tst_links_gethostbyaddr="no"
35725 rm -f core conftest.err conftest.$ac_objext \
35729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is prototyped" >&5
35731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35749 $as_echo "no" >&6; }
35750 tst_proto_gethostbyaddr="no"
35753 rm -f conftest*
35758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is compilable" >&5
35760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35788 $as_echo "no" >&6; }
35789 tst_compi_gethostbyaddr="no"
35792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr usage allowed" >&5
35799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35804 $as_echo "no" >&6; }
35805 tst_allow_gethostbyaddr="no"
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr might be used" >&5
35815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35825 $as_echo "no" >&6; }
35826 curl_cv_func_gethostbyaddr="no"
35837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r can be linked" >&5
35839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35875 $as_echo "no" >&6; }
35876 tst_links_gethostbyaddr_r="no"
35879 rm -f core conftest.err conftest.$ac_objext \
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is prototyped" >&5
35885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35901 $as_echo "no" >&6; }
35902 tst_proto_gethostbyaddr_r="no"
35905 rm -f conftest*
35911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 5 args." >&5
35913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35940 $as_echo "no" >&6; }
35941 tst_compi_gethostbyaddr_r="no"
35944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 7 args." >&5
35949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35976 $as_echo "no" >&6; }
35977 tst_compi_gethostbyaddr_r="no"
35980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 8 args." >&5
35985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36012 $as_echo "no" >&6; }
36013 tst_compi_gethostbyaddr_r="no"
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is compilable" >&5
36021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36025 $as_echo "no" >&6; }
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r usage allowed" >&5
36033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36038 $as_echo "no" >&6; }
36039 tst_allow_gethostbyaddr_r="no"
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r might be used" >&5
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36057 if test "$tst_nargs_gethostbyaddr_r" -eq "5"; then
36061 elif test "$tst_nargs_gethostbyaddr_r" -eq "7"; then
36065 elif test "$tst_nargs_gethostbyaddr_r" -eq "8"; then
36073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36074 $as_echo "no" >&6; }
36075 curl_cv_func_gethostbyaddr_r="no"
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
36087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36115 $as_echo "no" >&6; }
36116 tst_links_gethostbyname="no"
36119 rm -f core conftest.err conftest.$ac_objext \
36123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
36125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36143 $as_echo "no" >&6; }
36144 tst_proto_gethostbyname="no"
36147 rm -f conftest*
36152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
36154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36182 $as_echo "no" >&6; }
36183 tst_compi_gethostbyname="no"
36186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36198 $as_echo "no" >&6; }
36199 tst_allow_gethostbyname="no"
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36219 $as_echo "no" >&6; }
36220 curl_cv_func_gethostbyname="no"
36231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
36233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36269 $as_echo "no" >&6; }
36270 tst_links_gethostbyname_r="no"
36273 rm -f core conftest.err conftest.$ac_objext \
36277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
36279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36295 $as_echo "no" >&6; }
36296 tst_proto_gethostbyname_r="no"
36299 rm -f conftest*
36305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
36307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36334 $as_echo "no" >&6; }
36335 tst_compi_gethostbyname_r="no"
36338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
36343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36370 $as_echo "no" >&6; }
36371 tst_compi_gethostbyname_r="no"
36374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
36379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36406 $as_echo "no" >&6; }
36407 tst_compi_gethostbyname_r="no"
36410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
36415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36419 $as_echo "no" >&6; }
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
36427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36432 $as_echo "no" >&6; }
36433 tst_allow_gethostbyname_r="no"
36437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
36443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36451 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
36455 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
36459 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
36467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36468 $as_echo "no" >&6; }
36469 curl_cv_func_gethostbyname_r="no"
36489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
36491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36519 $as_echo "no" >&6; }
36520 tst_links_gethostname="no"
36523 rm -f core conftest.err conftest.$ac_objext \
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
36529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36547 $as_echo "no" >&6; }
36548 tst_proto_gethostname="no"
36551 rm -f conftest*
36556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36586 $as_echo "no" >&6; }
36587 tst_compi_gethostname="no"
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
36595 $as_echo_n "checking for gethostname arg 2 data type... " >&6; }
36597 for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do
36598 for tst_arg2 in 'int' 'unsigned int' 'size_t'; do
36600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
36642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
36645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36650 $as_echo "no" >&6; }
36651 tst_allow_gethostname="no"
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36671 $as_echo "no" >&6; }
36672 curl_cv_func_gethostname="no"
36682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername can be linked" >&5
36684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36712 $as_echo "no" >&6; }
36713 tst_links_getpeername="no"
36716 rm -f core conftest.err conftest.$ac_objext \
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername is prototyped" >&5
36722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36740 $as_echo "no" >&6; }
36741 tst_proto_getpeername="no"
36744 rm -f conftest*
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername is compilable" >&5
36751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36779 $as_echo "no" >&6; }
36780 tst_compi_getpeername="no"
36783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername usage allowed" >&5
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36795 $as_echo "no" >&6; }
36796 tst_allow_getpeername="no"
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getpeername might be used" >&5
36806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36816 $as_echo "no" >&6; }
36817 curl_cv_func_getpeername="no"
36827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname can be linked" >&5
36829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36857 $as_echo "no" >&6; }
36858 tst_links_getsockname="no"
36861 rm -f core conftest.err conftest.$ac_objext \
36865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname is prototyped" >&5
36867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36885 $as_echo "no" >&6; }
36886 tst_proto_getsockname="no"
36889 rm -f conftest*
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname is compilable" >&5
36896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36924 $as_echo "no" >&6; }
36925 tst_compi_getsockname="no"
36928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname usage allowed" >&5
36935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36940 $as_echo "no" >&6; }
36941 tst_allow_getsockname="no"
36945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getsockname might be used" >&5
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36961 $as_echo "no" >&6; }
36962 curl_cv_func_getsockname="no"
36972 for ac_header in net/if.h
36993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex can be linked" >&5
36995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37023 $as_echo "no" >&6; }
37024 tst_links_if_nametoindex="no"
37027 rm -f core conftest.err conftest.$ac_objext \
37031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is prototyped" >&5
37033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37050 $as_echo "no" >&6; }
37051 tst_proto_if_nametoindex="no"
37054 rm -f conftest*
37059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is compilable" >&5
37061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37088 $as_echo "no" >&6; }
37089 tst_compi_if_nametoindex="no"
37092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex usage allowed" >&5
37099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37104 $as_echo "no" >&6; }
37105 tst_allow_if_nametoindex="no"
37109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex might be used" >&5
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37125 $as_echo "no" >&6; }
37126 curl_cv_func_if_nametoindex="no"
37137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
37139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37175 $as_echo "no" >&6; }
37176 tst_links_getifaddrs="no"
37179 rm -f core conftest.err conftest.$ac_objext \
37183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
37185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37201 $as_echo "no" >&6; }
37202 tst_proto_getifaddrs="no"
37205 rm -f conftest*
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
37212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37238 $as_echo "no" >&6; }
37239 tst_compi_getifaddrs="no"
37242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
37254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37257 See \`config.log' for more details" "$LINENO" 5; }
37259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37290 $as_echo "no" >&6; }
37291 tst_works_getifaddrs="no"
37294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37303 test "$tst_works_getifaddrs" != "no"; then
37304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
37307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37312 $as_echo "no" >&6; }
37313 tst_allow_getifaddrs="no"
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
37323 test "$tst_works_getifaddrs" != "no"; then
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37334 $as_echo "no" >&6; }
37335 curl_cv_func_getifaddrs="no"
37346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r can be linked" >&5
37348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37384 $as_echo "no" >&6; }
37385 tst_links_getservbyport_r="no"
37388 rm -f core conftest.err conftest.$ac_objext \
37392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is prototyped" >&5
37394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37410 $as_echo "no" >&6; }
37411 tst_proto_getservbyport_r="no"
37414 rm -f conftest*
37420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 4 args." >&5
37422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37449 $as_echo "no" >&6; }
37450 tst_compi_getservbyport_r="no"
37453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 5 args." >&5
37458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37485 $as_echo "no" >&6; }
37486 tst_compi_getservbyport_r="no"
37489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 6 args." >&5
37494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37521 $as_echo "no" >&6; }
37522 tst_compi_getservbyport_r="no"
37525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is compilable" >&5
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37534 $as_echo "no" >&6; }
37539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r usage allowed" >&5
37542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37547 $as_echo "no" >&6; }
37548 tst_allow_getservbyport_r="no"
37552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r might be used" >&5
37558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37570 if test "$tst_nargs_getservbyport_r" -eq "4"; then
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37582 $as_echo "no" >&6; }
37583 curl_cv_func_getservbyport_r="no"
37603 for ac_header in sys/types.h sys/time.h time.h
37626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
37628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37664 $as_echo "no" >&6; }
37665 tst_links_gmtime_r="no"
37668 rm -f core conftest.err conftest.$ac_objext \
37672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
37674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37690 $as_echo "no" >&6; }
37691 tst_proto_gmtime_r="no"
37694 rm -f conftest*
37699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
37701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37727 $as_echo "no" >&6; }
37728 tst_compi_gmtime_r="no"
37731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
37743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37746 See \`config.log' for more details" "$LINENO" 5; }
37748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37779 $as_echo "no" >&6; }
37780 tst_works_gmtime_r="no"
37783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37792 test "$tst_works_gmtime_r" != "no"; then
37793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37801 $as_echo "no" >&6; }
37802 tst_allow_gmtime_r="no"
37806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
37812 test "$tst_works_gmtime_r" != "no"; then
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37823 $as_echo "no" >&6; }
37824 curl_cv_func_gmtime_r="no"
37847 for ac_header in sys/types.h sys/socket.h netinet/in.h arpa/inet.h
37870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r can be linked" >&5
37872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37908 $as_echo "no" >&6; }
37909 tst_links_inet_ntoa_r="no"
37912 rm -f core conftest.err conftest.$ac_objext \
37916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is prototyped" >&5
37918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37934 $as_echo "no" >&6; }
37935 tst_proto_inet_ntoa_r="no"
37938 rm -f conftest*
37944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 2 args." >&5
37946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37974 $as_echo "no" >&6; }
37975 tst_compi_inet_ntoa_r="no"
37978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 3 args." >&5
37983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38011 $as_echo "no" >&6; }
38012 tst_compi_inet_ntoa_r="no"
38015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is compilable" >&5
38020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38024 $as_echo "no" >&6; }
38029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r usage allowed" >&5
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38037 $as_echo "no" >&6; }
38038 tst_allow_inet_ntoa_r="no"
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r might be used" >&5
38048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38056 if test "$tst_nargs_inet_ntoa_r" -eq "2"; then
38060 elif test "$tst_nargs_inet_ntoa_r" -eq "3"; then
38068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38069 $as_echo "no" >&6; }
38070 curl_cv_func_inet_ntoa_r="no"
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
38083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38119 $as_echo "no" >&6; }
38120 tst_links_inet_ntop="no"
38123 rm -f core conftest.err conftest.$ac_objext \
38127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
38129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38145 $as_echo "no" >&6; }
38146 tst_proto_inet_ntop="no"
38149 rm -f conftest*
38154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
38156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38182 $as_echo "no" >&6; }
38183 tst_compi_inet_ntop="no"
38186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
38198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38201 See \`config.log' for more details" "$LINENO" 5; }
38203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38220 /* - */
38227 /* - */
38237 /* - */
38251 /* - */
38261 /* - */
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38276 $as_echo "no" >&6; }
38277 tst_works_inet_ntop="no"
38280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38289 test "$tst_works_inet_ntop" != "no"; then
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
38293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38298 $as_echo "no" >&6; }
38299 tst_allow_inet_ntop="no"
38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
38309 test "$tst_works_inet_ntop" != "no"; then
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38320 $as_echo "no" >&6; }
38321 curl_cv_func_inet_ntop="no"
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
38334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38370 $as_echo "no" >&6; }
38371 tst_links_inet_pton="no"
38374 rm -f core conftest.err conftest.$ac_objext \
38378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
38380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38396 $as_echo "no" >&6; }
38397 tst_proto_inet_pton="no"
38400 rm -f conftest*
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
38407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38433 $as_echo "no" >&6; }
38434 tst_compi_inet_pton="no"
38437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
38449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38452 See \`config.log' for more details" "$LINENO" 5; }
38454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38469 /* - */
38473 /* - */
38480 /* - */
38484 /* - */
38497 /* - */
38505 /* - */
38514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38520 $as_echo "no" >&6; }
38521 tst_works_inet_pton="no"
38524 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38533 test "$tst_works_inet_pton" != "no"; then
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
38537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38542 $as_echo "no" >&6; }
38543 tst_allow_inet_pton="no"
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
38553 test "$tst_works_inet_pton" != "no"; then
38554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38564 $as_echo "no" >&6; }
38565 curl_cv_func_inet_pton="no"
38587 for ac_header in sys/types.h unistd.h sys/socket.h sys/ioctl.h stropts.h
38609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5
38611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38647 $as_echo "no" >&6; }
38648 tst_links_ioctl="no"
38651 rm -f core conftest.err conftest.$ac_objext \
38655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5
38657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38673 $as_echo "no" >&6; }
38674 tst_proto_ioctl="no"
38677 rm -f conftest*
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5
38684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38710 $as_echo "no" >&6; }
38711 tst_compi_ioctl="no"
38714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38726 $as_echo "no" >&6; }
38727 tst_allow_ioctl="no"
38731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5
38737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5
38753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38780 $as_echo "no" >&6; }
38781 tst_compi_ioctl_fionbio="no"
38784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5
38791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38796 $as_echo "no" >&6; }
38797 tst_allow_ioctl_fionbio="no"
38801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5
38805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38815 $as_echo "no" >&6; }
38816 curl_cv_func_ioctl_fionbio="no"
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5
38827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38855 $as_echo "no" >&6; }
38856 tst_compi_ioctl_siocgifaddr="no"
38859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5
38866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38871 $as_echo "no" >&6; }
38872 tst_allow_ioctl_siocgifaddr="no"
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5
38880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38890 $as_echo "no" >&6; }
38891 curl_cv_func_ioctl_siocgifaddr="no"
38895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38896 $as_echo "no" >&6; }
38897 curl_cv_func_ioctl="no"
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
38909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38936 $as_echo "no" >&6; }
38937 tst_links_ioctlsocket="no"
38940 rm -f core conftest.err conftest.$ac_objext \
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
38946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38963 $as_echo "no" >&6; }
38964 tst_proto_ioctlsocket="no"
38967 rm -f conftest*
38972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
38974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39001 $as_echo "no" >&6; }
39002 tst_compi_ioctlsocket="no"
39005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
39012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39017 $as_echo "no" >&6; }
39018 tst_allow_ioctlsocket="no"
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
39028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
39044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39072 $as_echo "no" >&6; }
39073 tst_compi_ioctlsocket_fionbio="no"
39076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39088 $as_echo "no" >&6; }
39089 tst_allow_ioctlsocket_fionbio="no"
39093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
39097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39107 $as_echo "no" >&6; }
39108 curl_cv_func_ioctlsocket_fionbio="no"
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39113 $as_echo "no" >&6; }
39114 curl_cv_func_ioctlsocket="no"
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
39126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39162 $as_echo "no" >&6; }
39163 tst_links_ioctlsocket_camel="no"
39166 rm -f core conftest.err conftest.$ac_objext \
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
39172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39188 $as_echo "no" >&6; }
39189 tst_proto_ioctlsocket_camel="no"
39192 rm -f conftest*
39197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
39199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39225 $as_echo "no" >&6; }
39226 tst_compi_ioctlsocket_camel="no"
39229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
39236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39241 $as_echo "no" >&6; }
39242 tst_allow_ioctlsocket_camel="no"
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
39268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39295 $as_echo "no" >&6; }
39296 tst_compi_ioctlsocket_camel_fionbio="no"
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39311 $as_echo "no" >&6; }
39312 tst_allow_ioctlsocket_camel_fionbio="no"
39316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39330 $as_echo "no" >&6; }
39331 curl_cv_func_ioctlsocket_camel_fionbio="no"
39335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39336 $as_echo "no" >&6; }
39337 curl_cv_func_ioctlsocket_camel="no"
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r can be linked" >&5
39350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39386 $as_echo "no" >&6; }
39387 tst_links_localtime_r="no"
39390 rm -f core conftest.err conftest.$ac_objext \
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is prototyped" >&5
39396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39412 $as_echo "no" >&6; }
39413 tst_proto_localtime_r="no"
39416 rm -f conftest*
39421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is compilable" >&5
39423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39449 $as_echo "no" >&6; }
39450 tst_compi_localtime_r="no"
39453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r seems to work" >&5
39465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39468 See \`config.log' for more details" "$LINENO" 5; }
39470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39501 $as_echo "no" >&6; }
39502 tst_works_localtime_r="no"
39505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39514 test "$tst_works_localtime_r" != "no"; then
39515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r usage allowed" >&5
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39523 $as_echo "no" >&6; }
39524 tst_allow_localtime_r="no"
39528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r might be used" >&5
39534 test "$tst_works_localtime_r" != "no"; then
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39545 $as_echo "no" >&6; }
39546 curl_cv_func_localtime_r="no"
39557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
39559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39595 $as_echo "no" >&6; }
39596 tst_links_memrchr="no"
39599 rm -f core conftest.err conftest.$ac_objext \
39602 if test "$tst_links_memrchr" = "no"; then
39603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
39605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39631 $as_echo "no" >&6; }
39632 tst_macro_memrchr="no"
39635 rm -f core conftest.err conftest.$ac_objext \
39640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
39642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39658 $as_echo "no" >&6; }
39659 tst_proto_memrchr="no"
39662 rm -f conftest*
39668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
39670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39696 $as_echo "no" >&6; }
39697 tst_compi_memrchr="no"
39700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39712 $as_echo "no" >&6; }
39713 tst_allow_memrchr="no"
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
39723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39733 $as_echo "no" >&6; }
39734 curl_cv_func_memrchr="no"
39748 tst_compi_poll="no"
39752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
39754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39780 $as_echo "no" >&6; }
39781 tst_links_poll="no"
39784 rm -f core conftest.err conftest.$ac_objext \
39788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39806 $as_echo "no" >&6; }
39807 tst_proto_poll="no"
39810 rm -f conftest*
39815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
39817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39843 $as_echo "no" >&6; }
39844 tst_compi_poll="no"
39847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
39859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39862 See \`config.log' for more details" "$LINENO" 5; }
39864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39888 us = (after.tv_sec - before.tv_sec) * 1000000 +
39889 (after.tv_usec - before.tv_usec);
39901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39907 $as_echo "no" >&6; }
39908 tst_works_poll="no"
39911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39920 test "$tst_works_poll" != "no"; then
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39929 $as_echo "no" >&6; }
39930 tst_allow_poll="no"
39934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
39940 test "$tst_works_poll" != "no"; then
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39956 $as_echo "no" >&6; }
39957 curl_cv_func_poll="no"
39967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt can be linked" >&5
39969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39997 $as_echo "no" >&6; }
39998 tst_links_setsockopt="no"
40001 rm -f core conftest.err conftest.$ac_objext \
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is prototyped" >&5
40007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40025 $as_echo "no" >&6; }
40026 tst_proto_setsockopt="no"
40029 rm -f conftest*
40034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is compilable" >&5
40036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40064 $as_echo "no" >&6; }
40065 tst_compi_setsockopt="no"
40068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt usage allowed" >&5
40075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40080 $as_echo "no" >&6; }
40081 tst_allow_setsockopt="no"
40085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt might be used" >&5
40091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK is compilable" >&5
40107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40135 $as_echo "no" >&6; }
40136 tst_compi_setsockopt_so_nonblock="no"
40139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK usage allowed" >&5
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40151 $as_echo "no" >&6; }
40152 tst_allow_setsockopt_so_nonblock="no"
40156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK might be used" >&5
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40170 $as_echo "no" >&6; }
40171 curl_cv_func_setsockopt_so_nonblock="no"
40175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40176 $as_echo "no" >&6; }
40177 curl_cv_func_setsockopt="no"
40190 for ac_header in sys/types.h signal.h
40212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
40214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40250 $as_echo "no" >&6; }
40251 tst_links_sigaction="no"
40254 rm -f core conftest.err conftest.$ac_objext \
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
40260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40276 $as_echo "no" >&6; }
40277 tst_proto_sigaction="no"
40280 rm -f conftest*
40285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
40287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40313 $as_echo "no" >&6; }
40314 tst_compi_sigaction="no"
40317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
40324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40329 $as_echo "no" >&6; }
40330 tst_allow_sigaction="no"
40334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
40340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40350 $as_echo "no" >&6; }
40351 curl_cv_func_sigaction="no"
40361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
40363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40399 $as_echo "no" >&6; }
40400 tst_links_siginterrupt="no"
40403 rm -f core conftest.err conftest.$ac_objext \
40407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
40409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40425 $as_echo "no" >&6; }
40426 tst_proto_siginterrupt="no"
40429 rm -f conftest*
40434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
40436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40462 $as_echo "no" >&6; }
40463 tst_compi_siginterrupt="no"
40466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
40473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40478 $as_echo "no" >&6; }
40479 tst_allow_siginterrupt="no"
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
40489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40499 $as_echo "no" >&6; }
40500 curl_cv_func_siginterrupt="no"
40510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
40512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40548 $as_echo "no" >&6; }
40549 tst_links_signal="no"
40552 rm -f core conftest.err conftest.$ac_objext \
40556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
40558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40574 $as_echo "no" >&6; }
40575 tst_proto_signal="no"
40578 rm -f conftest*
40583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
40585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40611 $as_echo "no" >&6; }
40612 tst_compi_signal="no"
40615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
40622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40627 $as_echo "no" >&6; }
40628 tst_allow_signal="no"
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
40638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40648 $as_echo "no" >&6; }
40649 curl_cv_func_signal="no"
40662 for ac_header in sys/types.h setjmp.h
40685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
40687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40723 $as_echo "no" >&6; }
40724 tst_links_sigsetjmp="no"
40727 rm -f core conftest.err conftest.$ac_objext \
40730 if test "$tst_links_sigsetjmp" = "no"; then
40731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
40733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40760 $as_echo "no" >&6; }
40761 tst_macro_sigsetjmp="no"
40764 rm -f core conftest.err conftest.$ac_objext \
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
40771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40787 $as_echo "no" >&6; }
40788 tst_proto_sigsetjmp="no"
40791 rm -f conftest*
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
40799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40826 $as_echo "no" >&6; }
40827 tst_compi_sigsetjmp="no"
40830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40842 $as_echo "no" >&6; }
40843 tst_allow_sigsetjmp="no"
40847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
40853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40863 $as_echo "no" >&6; }
40864 curl_cv_func_sigsetjmp="no"
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
40876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40905 $as_echo "no" >&6; }
40906 tst_links_socket="no"
40909 rm -f core conftest.err conftest.$ac_objext \
40913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
40915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40934 $as_echo "no" >&6; }
40935 tst_proto_socket="no"
40938 rm -f conftest*
40943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
40945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40974 $as_echo "no" >&6; }
40975 tst_compi_socket="no"
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40990 $as_echo "no" >&6; }
40991 tst_allow_socket="no"
40995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
41001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41011 $as_echo "no" >&6; }
41012 curl_cv_func_socket="no"
41022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
41024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41060 $as_echo "no" >&6; }
41061 tst_links_socketpair="no"
41064 rm -f core conftest.err conftest.$ac_objext \
41068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
41070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41087 $as_echo "no" >&6; }
41088 tst_proto_socketpair="no"
41091 rm -f conftest*
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
41098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41126 $as_echo "no" >&6; }
41127 tst_compi_socketpair="no"
41130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
41137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41142 $as_echo "no" >&6; }
41143 tst_allow_socketpair="no"
41147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
41153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41163 $as_echo "no" >&6; }
41164 curl_cv_func_socketpair="no"
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
41176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41212 $as_echo "no" >&6; }
41213 tst_links_strcasecmp="no"
41216 rm -f core conftest.err conftest.$ac_objext \
41220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
41222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41238 $as_echo "no" >&6; }
41239 tst_proto_strcasecmp="no"
41242 rm -f conftest*
41247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
41249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41275 $as_echo "no" >&6; }
41276 tst_compi_strcasecmp="no"
41279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
41286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41291 $as_echo "no" >&6; }
41292 tst_allow_strcasecmp="no"
41296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
41302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41312 $as_echo "no" >&6; }
41313 curl_cv_func_strcasecmp="no"
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
41325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41361 $as_echo "no" >&6; }
41362 tst_links_strcmpi="no"
41365 rm -f core conftest.err conftest.$ac_objext \
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
41371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41387 $as_echo "no" >&6; }
41388 tst_proto_strcmpi="no"
41391 rm -f conftest*
41396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
41398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41424 $as_echo "no" >&6; }
41425 tst_compi_strcmpi="no"
41428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
41435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41440 $as_echo "no" >&6; }
41441 tst_allow_strcmpi="no"
41445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41461 $as_echo "no" >&6; }
41462 curl_cv_func_strcmpi="no"
41472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
41474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41510 $as_echo "no" >&6; }
41511 tst_links_strdup="no"
41514 rm -f core conftest.err conftest.$ac_objext \
41518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
41520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41536 $as_echo "no" >&6; }
41537 tst_proto_strdup="no"
41540 rm -f conftest*
41545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
41547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41573 $as_echo "no" >&6; }
41574 tst_compi_strdup="no"
41577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
41584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41589 $as_echo "no" >&6; }
41590 tst_allow_strdup="no"
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
41600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41610 $as_echo "no" >&6; }
41611 curl_cv_func_strdup="no"
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
41629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41665 $as_echo "no" >&6; }
41666 tst_links_strerror_r="no"
41669 rm -f core conftest.err conftest.$ac_objext \
41673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41691 $as_echo "no" >&6; }
41692 tst_proto_strerror_r="no"
41695 rm -f conftest*
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
41702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41728 $as_echo "no" >&6; }
41729 tst_compi_strerror_r="no"
41732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
41739 for arg3 in 'size_t' 'int' 'unsigned int'; do
41741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41770 $as_echo "no" >&6; }
41771 tst_glibc_strerror_r="no"
41774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
41790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41793 See \`config.log' for more details" "$LINENO" 5; }
41795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41829 $as_echo "no" >&6; }
41830 tst_works_glibc_strerror_r="no"
41833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
41846 for arg3 in 'size_t' 'int' 'unsigned int'; do
41848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41877 $as_echo "no" >&6; }
41878 tst_posix_strerror_r="no"
41881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
41897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41900 See \`config.log' for more details" "$LINENO" 5; }
41902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41936 $as_echo "no" >&6; }
41937 tst_works_posix_strerror_r="no"
41940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41949 tst_posix_strerror_r="no"
41952 tst_glibc_strerror_r="no"
41955 test "$tst_works_glibc_strerror_r" != "no" &&
41960 test "$tst_works_posix_strerror_r" != "no" &&
41965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
41968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41973 $as_echo "no" >&6; }
41974 tst_allow_strerror_r="no"
41978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
41984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42023 $as_echo "no" >&6; }
42024 curl_cv_func_strerror_r="no"
42029 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit lib/cu…
42041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
42043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42079 $as_echo "no" >&6; }
42080 tst_links_stricmp="no"
42083 rm -f core conftest.err conftest.$ac_objext \
42087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
42089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42105 $as_echo "no" >&6; }
42106 tst_proto_stricmp="no"
42109 rm -f conftest*
42114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42142 $as_echo "no" >&6; }
42143 tst_compi_stricmp="no"
42146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
42153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42158 $as_echo "no" >&6; }
42159 tst_allow_stricmp="no"
42163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42179 $as_echo "no" >&6; }
42180 curl_cv_func_stricmp="no"
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp can be linked" >&5
42192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42228 $as_echo "no" >&6; }
42229 tst_links_strncasecmp="no"
42232 rm -f core conftest.err conftest.$ac_objext \
42236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is prototyped" >&5
42238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42254 $as_echo "no" >&6; }
42255 tst_proto_strncasecmp="no"
42258 rm -f conftest*
42263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is compilable" >&5
42265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42291 $as_echo "no" >&6; }
42292 tst_compi_strncasecmp="no"
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp usage allowed" >&5
42302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42307 $as_echo "no" >&6; }
42308 tst_allow_strncasecmp="no"
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp might be used" >&5
42318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42328 $as_echo "no" >&6; }
42329 curl_cv_func_strncasecmp="no"
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi can be linked" >&5
42341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42377 $as_echo "no" >&6; }
42378 tst_links_strncmpi="no"
42381 rm -f core conftest.err conftest.$ac_objext \
42385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is prototyped" >&5
42387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42403 $as_echo "no" >&6; }
42404 tst_proto_strncmpi="no"
42407 rm -f conftest*
42412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is compilable" >&5
42414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42440 $as_echo "no" >&6; }
42441 tst_compi_strncmpi="no"
42444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi usage allowed" >&5
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42456 $as_echo "no" >&6; }
42457 tst_allow_strncmpi="no"
42461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi might be used" >&5
42467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42477 $as_echo "no" >&6; }
42478 curl_cv_func_strncmpi="no"
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp can be linked" >&5
42490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42526 $as_echo "no" >&6; }
42527 tst_links_strnicmp="no"
42530 rm -f core conftest.err conftest.$ac_objext \
42534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is prototyped" >&5
42536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42552 $as_echo "no" >&6; }
42553 tst_proto_strnicmp="no"
42556 rm -f conftest*
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is compilable" >&5
42563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42589 $as_echo "no" >&6; }
42590 tst_compi_strnicmp="no"
42593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp usage allowed" >&5
42600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42605 $as_echo "no" >&6; }
42606 tst_allow_strnicmp="no"
42610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp might be used" >&5
42616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42626 $as_echo "no" >&6; }
42627 curl_cv_func_strnicmp="no"
42637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr can be linked" >&5
42639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42675 $as_echo "no" >&6; }
42676 tst_links_strstr="no"
42679 rm -f core conftest.err conftest.$ac_objext \
42683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is prototyped" >&5
42685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42701 $as_echo "no" >&6; }
42702 tst_proto_strstr="no"
42705 rm -f conftest*
42710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is compilable" >&5
42712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42738 $as_echo "no" >&6; }
42739 tst_compi_strstr="no"
42742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr usage allowed" >&5
42749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42754 $as_echo "no" >&6; }
42755 tst_allow_strstr="no"
42759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr might be used" >&5
42765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42775 $as_echo "no" >&6; }
42776 curl_cv_func_strstr="no"
42786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
42788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42824 $as_echo "no" >&6; }
42825 tst_links_strtok_r="no"
42828 rm -f core conftest.err conftest.$ac_objext \
42832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
42834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42850 $as_echo "no" >&6; }
42851 tst_proto_strtok_r="no"
42854 rm -f conftest*
42859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
42861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42887 $as_echo "no" >&6; }
42888 tst_compi_strtok_r="no"
42891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
42898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42903 $as_echo "no" >&6; }
42904 tst_allow_strtok_r="no"
42908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
42914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42924 $as_echo "no" >&6; }
42925 curl_cv_func_strtok_r="no"
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
42937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42973 $as_echo "no" >&6; }
42974 tst_links_strtoll="no"
42977 rm -f core conftest.err conftest.$ac_objext \
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
42983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42999 $as_echo "no" >&6; }
43000 tst_proto_strtoll="no"
43003 rm -f conftest*
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
43010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43036 $as_echo "no" >&6; }
43037 tst_compi_strtoll="no"
43040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43052 $as_echo "no" >&6; }
43053 tst_allow_strtoll="no"
43057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43073 $as_echo "no" >&6; }
43074 curl_cv_func_strtoll="no"
43087 for ac_header in sys/types.h sys/uio.h
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev can be linked" >&5
43111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43147 $as_echo "no" >&6; }
43148 tst_links_writev="no"
43151 rm -f core conftest.err conftest.$ac_objext \
43155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is prototyped" >&5
43157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43173 $as_echo "no" >&6; }
43174 tst_proto_writev="no"
43177 rm -f conftest*
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is compilable" >&5
43184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43210 $as_echo "no" >&6; }
43211 tst_compi_writev="no"
43214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev usage allowed" >&5
43221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43226 $as_echo "no" >&6; }
43227 tst_allow_writev="no"
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev might be used" >&5
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43247 $as_echo "no" >&6; }
43248 curl_cv_func_writev="no"
43254 ac_cv_func_pipe=no
43256 { $as_echo "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
43257 $as_echo "$as_me: skip check for pipe on msdosdjgpp" >&6;}
43283 for ac_func in fnmatch \
43315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
43316 $as_echo_n "checking deeper for $func... " >&6; }
43317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43339 …E_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
43345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
43346 $as_echo "but still no" >&6; }
43349 rm -f core conftest.err conftest.$ac_objext \
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode" >&5
43362 $as_echo_n "checking how to set a socket into non-blocking mode... " >&6; }
43374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
43377 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method." >&5
43378 $as_echo "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
43385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43386 $as_echo_n "checking for $ac_word... " >&6; }
43397 for as_dir in $as_dummy
43400 test -z "$as_dir" && as_dir=.
43401 for ac_exec_ext in '' $ac_executable_extensions; do
43404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43415 if test -n "$PERL"; then
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43420 $as_echo "no" >&6; }
43426 for ac_prog in gnroff nroff
43430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43431 $as_echo_n "checking for $ac_word... " >&6; }
43442 for as_dir in $as_dummy
43445 test -z "$as_dir" && as_dir=.
43446 for ac_exec_ext in '' $ac_executable_extensions; do
43449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43460 if test -n "$NROFF"; then
43461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43465 $as_echo "no" >&6; }
43469 test -n "$NROFF" && break
43474 if test -n "$NROFF"; then
43476 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pag…
43478 MANOPT="-man"
43480 if test -z "$mancheck"; then
43481 MANOPT="-mandoc"
43483 if test -z "$mancheck"; then
43485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
43487 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man…
43488 $as_echo "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;}
43490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
43500 if test -z "$MANOPT"
43502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5
43503 $as_echo "$as_me: WARNING: disabling built-in manual" >&2;}
43504 USE_MANUAL="no";
43535 if test -n "$want_ares_path"; then
43538 if test -n "$PKG_CONFIG"; then
43541 if test -n "$ac_tool_prefix"; then
43542 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43543 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43545 $as_echo_n "checking for $ac_word... " >&6; }
43556 for as_dir in $as_dummy
43559 test -z "$as_dir" && as_dir=.
43560 for ac_exec_ext in '' $ac_executable_extensions; do
43563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43574 if test -n "$PKGCONFIG"; then
43575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
43578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43579 $as_echo "no" >&6; }
43584 if test -z "$ac_cv_path_PKGCONFIG"; then
43586 # Extract the first word of "pkg-config", so it can be a program name with args.
43587 set dummy pkg-config; ac_word=$2
43588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43589 $as_echo_n "checking for $ac_word... " >&6; }
43600 for as_dir in $as_dummy
43603 test -z "$as_dir" && as_dir=.
43604 for ac_exec_ext in '' $ac_executable_extensions; do
43607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43618 if test -n "$ac_pt_PKGCONFIG"; then
43619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
43622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43623 $as_echo "no" >&6; }
43627 PKGCONFIG="no"
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
43645 $as_echo_n "checking for libcares options with pkg-config... " >&6; }
43647 if test -n "$ARES_PCDIR"; then
43651 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
43653 if test -z "$itexists"; then
43654 PKGCONFIG="no"
43655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43656 $as_echo "no" >&6; }
43658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
43663 if test "$PKGCONFIG" != "no" ; then
43665 if test -n "$ARES_PCDIR"; then
43670 $PKGCONFIG --libs-only-l libcares`
43672 if test -n "$ARES_PCDIR"; then
43677 $PKGCONFIG --libs-only-L libcares`
43679 if test -n "$ARES_PCDIR"; then
43684 $PKGCONFIG --cflags-only-I libcares`
43685 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
43686 $as_echo "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
43688 $as_echo "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
43690 $as_echo "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
43692 ares_CPPFLAGS="-I$want_ares_path/include"
43693 ares_LDFLAGS="-L$want_ares_path/lib"
43694 ares_LIBS="-lcares"
43697 if test -d "$srcdir/ares"; then
43702 ares_LDFLAGS="-L$embedded_ares_builddir"
43703 ares_LIBS="-lcares"
43706 if test -n "$PKG_CONFIG"; then
43709 if test -n "$ac_tool_prefix"; then
43710 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43711 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43713 $as_echo_n "checking for $ac_word... " >&6; }
43724 for as_dir in $as_dummy
43727 test -z "$as_dir" && as_dir=.
43728 for ac_exec_ext in '' $ac_executable_extensions; do
43731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43742 if test -n "$PKGCONFIG"; then
43743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
43746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43747 $as_echo "no" >&6; }
43752 if test -z "$ac_cv_path_PKGCONFIG"; then
43754 # Extract the first word of "pkg-config", so it can be a program name with args.
43755 set dummy pkg-config; ac_word=$2
43756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43757 $as_echo_n "checking for $ac_word... " >&6; }
43768 for as_dir in $as_dummy
43771 test -z "$as_dir" && as_dir=.
43772 for ac_exec_ext in '' $ac_executable_extensions; do
43775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
43786 if test -n "$ac_pt_PKGCONFIG"; then
43787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
43790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43791 $as_echo "no" >&6; }
43795 PKGCONFIG="no"
43799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
43812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
43813 $as_echo_n "checking for libcares options with pkg-config... " >&6; }
43815 if test -n ""; then
43819 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
43821 if test -z "$itexists"; then
43822 PKGCONFIG="no"
43823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43824 $as_echo "no" >&6; }
43826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
43831 if test "$PKGCONFIG" != "no" ; then
43832 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
43833 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
43834 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
43836 $as_echo "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
43837 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
43838 $as_echo "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
43839 … { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
43840 $as_echo "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
43844 ares_LIBS="-lcares"
43854 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
43855 $as_echo_n "checking that c-ares is good and recent enough... " >&6; }
43856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43861 /* set of dummy functions in case c-ares was built with debug */
43883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43889 $as_echo "no" >&6; }
43890 as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
43895 want_ares="no"
43898 rm -f core conftest.err conftest.$ac_objext \
43907 curl_res_msg="c-ares"
43924 build_libhostname=no
43937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
43940 # Check whether --enable-threaded_resolver was given.
43946 no)
43947 want_thres="no"
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded resolve…
43959 $as_echo_n "checking whether to use POSIX threads for threaded resolver... " >&6; }
43960 # Check whether --enable-pthreads was given.
43963 no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43964 $as_echo "no" >&6; }
43965 want_pthreads=no
43967 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto" >&5
43982 if test "$want_pthreads" != "no"; then
43984 as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
43986 if test "$dontwant_rt" != "no"; then
43988 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is disable…
43989 $as_echo "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
43991 want_pthreads=no
43995 if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
43996 want_pthreads=no
43999 if test "$want_pthreads" != "no"; then
44017 *-hp-hpux*)
44026 CFLAGS="$CFLAGS -pthread"
44027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
44028 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
44033 LIBS="-lpthread $LIBS"
44034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44052 ac_cv_lib_pthread_pthread_create=no
44054 rm -f core conftest.err conftest.$ac_objext \
44058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
44083 as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
44092 as_fn_error $? "Threaded resolver enabled but no thread library found" "$LINENO" 5
44097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking convert -I options to -isystem" >&5
44098 $as_echo_n "checking convert -I options to -isystem... " >&6; }
44101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44103 tmp_has_include="no"
44105 for word1 in $tmp_chg_FLAGS; do
44107 -I*)
44113 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44114 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44118 tmp_has_include="no"
44120 for word1 in $tmp_chg_FLAGS; do
44122 -I*)
44128 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44129 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44135 $as_echo "no" >&6; }
44139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
44141 # Check whether --enable-verbose was given.
44144 no)
44145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44146 $as_echo "no" >&6; }
44150 curl_verbose_msg="no"
44152 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows native bu…
44165 # Check whether --enable-sspi was given.
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44180 $as_echo "no" >&6; }
44181 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on native …
44182 $as_echo "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&2;}
44187 # --with-schannel implies --enable-sspi
44188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44192 $as_echo "no" >&6; }
44198 # --with-schannel implies --enable-sspi
44199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44203 $as_echo "no" >&6; }
44209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable cryptographic authentication me…
44211 # Check whether --enable-crypto-auth was given.
44214 no)
44215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44216 $as_echo "no" >&6; }
44222 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44235 # Check whether --enable-ntlm-wb was given.
44242 no)
44243 want_ntlm_wb="no"
44250 if test -n "$enableval" && test "$enableval" != "yes"; then
44258 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable NTLM delegation to winbind's h…
44263 want_ntlm_wb="no"
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ntlm_wb" >&5
44280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
44281 $as_echo_n "checking whether to enable TLS-SRP authentication... " >&6; }
44282 # Check whether --enable-tls-srp was given.
44285 no)
44286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44287 $as_echo "no" >&6; }
44288 want_tls_srp=no
44290 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
44313 # Check whether --enable-unix-sockets was given.
44316 no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44317 $as_echo "no" >&6; }
44318 want_unix_sockets=no
44320 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto" >&5
44351 as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
44358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support cookies" >&5
44360 # Check whether --enable-cookies was given.
44363 no)
44364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44365 $as_echo "no" >&6; }
44370 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support socketpair" >&5
44383 # Check whether --enable-socketpair was given.
44386 no)
44387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44388 $as_echo "no" >&6; }
44393 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support HTTP authentication" >&5
44406 # Check whether --enable-http-auth was given.
44409 no)
44410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44411 $as_echo "no" >&6; }
44416 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support DoH" >&5
44429 # Check whether --enable-doh was given.
44432 no)
44433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44434 $as_echo "no" >&6; }
44439 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support the MIME API" >&5
44452 # Check whether --enable-mime was given.
44455 no)
44456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44457 $as_echo "no" >&6; }
44462 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support date parsing" >&5
44475 # Check whether --enable-dateparse was given.
44478 no)
44479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44480 $as_echo "no" >&6; }
44485 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support netrc parsing" >&5
44498 # Check whether --enable-netrc was given.
44501 no)
44502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44503 $as_echo "no" >&6; }
44508 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support progress-meter" >&5
44520 $as_echo_n "checking whether to support progress-meter... " >&6; }
44521 # Check whether --enable-progress-meter was given.
44524 no)
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44526 $as_echo "no" >&6; }
44531 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support DNS shuffling" >&5
44544 # Check whether --enable-dnsshuffle was given.
44547 no)
44548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44549 $as_echo "no" >&6; }
44554 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support curl_easy_option*" >&5
44567 # Check whether --enable-get-easy-option was given.
44570 no)
44571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44572 $as_echo "no" >&6; }
44577 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44588 curl_altsvc_msg="no (--enable-alt-svc)";
44589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
44590 $as_echo_n "checking whether to support alt-svc... " >&6; }
44591 # Check whether --enable-alt-svc was given.
44594 no)
44595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44596 $as_echo "no" >&6; }
44598 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44606 $as_echo "no" >&6; }
44615 experimental="$experimental alt-svc"
44619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ECH support is available" >&5
44626 for ac_func in SSL_get_ech_status
44645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECH_SUPPORT" >&5
44649 as_fn_error $? "--enable-ech ignored: No ECH support found" "$LINENO" 5
44654 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols will …
44657 doing_symbol_hiding="no"
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44672 $as_echo "no" >&6; }
44719 elif test -n "$SSL_ENABLED"; then
44737 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
44738 -o "x$USE_THREADS_WIN32" = "x1"; then
44749 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
44757 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
44760 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
44761 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
44765 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
44766 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
44771 if test "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
44772 -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
44773 -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1" \
44774 -o "x$WOLFSSL_NTLM" = "x1"; then
44777 if test "x$CURL_DISABLE_HTTP" != "x1" -a \
44785 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
44792 if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1"; then
44801 if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \
44802 -o "x$NSS_ENABLED" = "x1"; then
44803 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
44866 -a "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" \
44867 -a \( "x$OPENSSL_ENABLED" = "x1" \
44868 -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
44869 -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1" \
44870 -o "x$WOLFSSL_NTLM" = "x1" \); then
44920 xc_bad_var_libs=no
44921 for xc_word in $LIBS; do
44923 -l* | --library=*)
44932 { $as_echo "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
44934 …{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libraries …
44935 $as_echo "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
44939 xc_bad_var_ldflags=no
44940 for xc_word in $LDFLAGS; do
44942 -D*)
44945 -U*)
44948 -I*)
44951 -l* | --library=*)
44957 { $as_echo "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
44960 for xc_word in $LDFLAGS; do
44962 -D*)
44963 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
44964 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
44966 -U*)
44967 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
44968 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
44970 -I*)
44971 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
44972 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
44974 -l* | --library=*)
44975 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
44976 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
44983 xc_bad_var_cppflags=no
44984 for xc_word in $CPPFLAGS; do
44986 -rpath*)
44989 -L* | --library-path=*)
44992 -l* | --library=*)
44998 { $as_echo "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
45001 for xc_word in $CPPFLAGS; do
45003 -rpath*)
45004 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
45005 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
45007 -L* | --library-path=*)
45008 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
45009 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
45011 -l* | --library=*)
45012 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
45013 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45020 xc_bad_var_cflags=no
45021 for xc_word in $CFLAGS; do
45023 -D*)
45026 -U*)
45029 -I*)
45032 -rpath*)
45035 -L* | --library-path=*)
45038 -l* | --library=*)
45044 { $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
45047 for xc_word in $CFLAGS; do
45049 -D*)
45050 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
45051 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
45053 -U*)
45054 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
45055 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
45057 -I*)
45058 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
45059 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
45061 -rpath*)
45062 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
45063 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
45065 -L* | --library-path=*)
45066 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
45067 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
45069 -l* | --library=*)
45070 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
45071 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45081 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immediatel…
45091 ac_configure_args="$ac_configure_args --enable-curldebug"
45094 …-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile l…
45099 # scripts and configure runs, see configure's option --config-cache.
45103 # config.status only pays attention to the cache file if you give it
45104 # the --recheck option to rerun configure.
45113 # but we know of no workaround that is simple, portable, and efficient.
45118 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
45123 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
45137 # `set' does not quote correctly, so add quotes: double-quote
45139 sed -n \
45145 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
45159 if test -w "$cache_file"; then
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
45163 if test ! -f "$cache_file" || test -h "$cache_file"; then
45168 mv -f confcache "$cache_file"$$ &&
45169 mv -f "$cache_file"$$ "$cache_file" ;; #(
45171 mv -f confcache "$cache_file" ;;
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
45180 rm -f confcache
45186 DEFS=-DHAVE_CONFIG_H
45191 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45205 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
45211 if test -n "$am_sleep_pid"; then
45215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
45217 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
45221 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
45225 if test -n "$EXEEXT"; then
45233 if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FA…
45237 if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FA…
45241 if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FA…
45245 if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; t…
45249 if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
45253 if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
45257 if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
45261 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
45265 if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
45269 if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
45273 if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
45277 if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_…
45281 if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
45285 if test -z "${USE_EMBEDDED_ARES_TRUE}" && test -z "${USE_EMBEDDED_ARES_FALSE}"; then
45289 if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
45293 if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
45297 if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
45302 : "${CONFIG_STATUS=./config.status}"
45306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
45313 # Compiler output produced by configure, useful for debugging
45314 # configure, is in config.log if it exists.
45320 SHELL=\${CONFIG_SHELL-$SHELL}
45324 ## -------------------- ##
45326 ## -------------------- ##
45329 DUALCASE=1; export DUALCASE # for MKS sh
45330 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
45333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
45335 alias -g '${1+"$@"}'='"$@"'
45338 case `(set -o) 2>/dev/null` in #(
45340 set -o posix ;; #(
45355 # but without wasting forks for bash or zsh.
45356 if test -z "$BASH_VERSION$ZSH_VERSION" \
45357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45358 as_echo='print -r --'
45359 as_echo_n='print -rn --'
45364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
45365 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
45366 as_echo_n='/usr/ucb/echo -n'
45376 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
45379 as_echo_n='sh -c $as_echo_n_body as_echo'
45382 as_echo='sh -c $as_echo_body as_echo'
45389 # there to prevent editors from complaining about space-tab.
45394 # Find who we are. Look in the path if we contain no directory separator.
45399 for as_dir in $PATH
45402 test -z "$as_dir" && as_dir=.
45403 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
45414 if test ! -f "$as_myself"; then
45420 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
45423 for as_var in BASH_ENV ENV MAIL MAILPATH
45442 # ----------------------------------------
45448 as_status=$1; test $as_status -eq 0 && as_status=1
45450 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
45451 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
45459 # -----------------------
45467 # -----------------
45468 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
45477 # ---------------
45485 # ----------------------
45503 # ------------------
45515 as_val=`expr "$@" || test $? -eq 1`
45527 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
45533 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
45539 as_me=`$as_basename -- "$0" ||
45566 case `echo -n x` in #(((((
45567 -n*)
45575 ECHO_N='-n';;
45578 rm -f conf$$ conf$$.exe conf$$.file
45579 if test -d conf$$.dir; then
45580 rm -f conf$$.dir/conf$$.file
45582 rm -f conf$$.dir
45586 if ln -s conf$$.file conf$$ 2>/dev/null; then
45587 as_ln_s='ln -s'
45589 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
45590 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
45591 # In both cases, we have to default to `cp -pR'.
45592 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
45593 as_ln_s='cp -pR'
45597 as_ln_s='cp -pR'
45600 as_ln_s='cp -pR'
45602 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
45607 # -------------
45613 -*) as_dir=./$as_dir;;
45615 test -d "$as_dir" || eval $as_mkdir_p || {
45623 as_dir=`$as_dirname -- "$as_dir" ||
45646 test -d "$as_dir" && break
45648 test -z "$as_dirs" || eval "mkdir $as_dirs"
45649 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
45653 if mkdir -p . 2>/dev/null; then
45654 as_mkdir_p='mkdir -p "$as_dir"'
45656 test -d ./-p && rmdir ./-p
45662 # -----------------------
45666 test -f "$1" && test -x "$1"
45668 as_test_x='test -x'
45671 # Sed expression to map a string onto a valid CPP name.
45679 ## ----------------------------------- ##
45681 ## ----------------------------------- ##
45690 This file was extended by curl $as_me -, which was
45699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
45714 # Files that config.status was made for.
45729 -h, --help print this help, then exit
45730 -V, --version print version number and configuration settings, then exit
45731 --config print configuration, then exit
45732 -q, --quiet, --silent
45734 -d, --debug don't remove temporary files
45735 --recheck update $as_me by reconfiguring in the same conditions
45736 --file=FILE[:TEMPLATE]
45738 --header=FILE[:TEMPLATE]
45756 curl config.status -
45761 This config.status script is free software; the Free Software Foundation
45769 test -n "\$AWK" || AWK=awk
45778 --*=?*)
45783 --*=)
45797 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
45799 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
45801 --config | --confi | --conf | --con | --co | --c )
45803 --debug | --debu | --deb | --de | --d | -d )
45805 --file | --fil | --fi | --f )
45813 --header | --heade | --head | --hea )
45820 --he | --h)
45821 # Conflict between --help and --header
45823 Try \`$0 --help' for more information.";;
45824 --help | --hel | -h )
45826 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
45827 | -silent | --silent | --silen | --sile | --sil | --si | --s)
45831 -*) as_fn_error $? "unrecognized option: \`$1'
45832 Try \`$0 --help' for more information." ;;
45845 ac_configure_extra_args="$ac_configure_extra_args --silent"
45851 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
45861 exec 5>>config.log
45864 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
45873 # INIT-COMMANDS
45875 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
45878 # The HP-UX ksh and POSIX shell print the target directory to stdout
46026 # A function that is used when there is no print builtin or printf.
46035 for var in AS \
46114 # Double-quote double-evaled strings.
46115 for var in reload_cmds \
46137 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
46149 if test -n "\${ZSH_VERSION+set}"; then
46167 for ac_config_target in $ac_config_targets
46178 "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
46194 "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
46204 # We use the long form for the default assignment because of an extremely
46212 # Have a temporary directory for convenience. Make it in the build tree
46213 # simply because there is no reason against having it here, and in addition,
46215 # Hook for its removal unless debugging.
46223 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
46227 # Create a (secure) tmp directory for tmp files.
46230 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
46231 test -d "$tmp"
46234 tmp=./conf$$-$RANDOM
46239 # Set up the scripts for CONFIG_FILES section.
46240 # No need to generate them if there are no CONFIG_FILES.
46241 # This happens for instance with `./config.status config.h'.
46242 if test -n "$CONFIG_FILES"; then
46247 # But we know of no other shell where ac_cr would be empty at this
46269 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
46271 for ac_last_try in false false false false false :; do
46275 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
46284 rm -f conf$$subs.sh
46289 sed -n '
46332 rm -f conf$$subs.awk
46336 for (key in S) S_is_set[key] = 1
46345 for (i = 2; i < nfields; i++) {
46368 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
46395 fi # test -n "$CONFIG_FILES"
46397 # Set up the scripts for CONFIG_HEADERS section.
46398 # No need to generate them if there are no CONFIG_HEADERS.
46399 # This happens for instance with `./config.status Makefile'.
46400 if test -n "$CONFIG_HEADERS"; then
46406 # here-document in config.status, that substitutes the proper values into
46407 # config.h.in to produce config.h.
46412 for ac_last_try in false false :; do
46413 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
46414 if test -z "$ac_tt"; then
46423 # For the awk script, D is an array of macro values keyed by name,
46428 sed -n '
46468 for (key in D) D_is_set[key] = 1
46483 prefix = substr(line, 1, index(line, defundef) - 1)
46489 # Replace #undef with comments. This is necessary, for example,
46502 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
46503 fi # test -n "$CONFIG_HEADERS"
46508 for ac_tag
46516 :[FH]-) ac_tag=-:-;;
46531 for ac_f
46534 -) ac_f="$ac_tmp/stdin";;
46535 *) # Look for the file first in the build tree, then in the source tree
46536 # (if the path is not absolute). The absolute path cannot be DOS-style,
46538 test -f "$ac_f" ||
46541 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
46551 # /* config.h. Generated by config.status. */
46555 if test x"$ac_file" != x-; then
46557 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
46569 *:-:* | *:-) cat >"$ac_tmp/stdin" \
46575 ac_dir=`$as_dirname -- "$ac_file" ||
46605 # A ".." for each directory in $ac_dir_suffix.
46614 # for backward compatibility:
46665 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
46668 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
46669 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
46691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
46706 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
46709 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
46710 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
46711 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
46712 "$ac_tmp/out"`; test -z "$ac_out"; } &&
46713 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
46718 rm -f "$ac_tmp/stdin"
46720 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
46721 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
46729 if test x"$ac_file" != x-; then
46732 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
46733 } >"$ac_tmp/config.h" \
46735 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
46739 rm -f "$ac_file"
46740 mv "$ac_tmp/config.h" "$ac_file" \
46745 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
46746 || as_fn_error $? "could not create -" "$LINENO" 5
46751 for _am_header in $config_headers :; do
46759 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
46781 s/.*/./; q'`/stamp-h$_am_stamp_count
46784 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
46792 # Older Autoconf quotes --file arguments for eval, but not when files
46793 # are listed without --file. Let's play safe and only enable the eval
46808 for am_mf
46811 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
46813 # dependency-tracking related rules and includes.
46816 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
46818 am_dirpart=`$as_dirname -- "$am_mf" ||
46841 am_filepart=`$as_basename -- "$am_mf" ||
46860 && sed -e '/# am--include-marker/d' "$am_filepart" \
46861 | $MAKE -f - am--depfiles" >&5
46863 && sed -e '/# am--include-marker/d' "$am_filepart" \
46864 | $MAKE -f - am--depfiles) >&5 2>&5
46869 if test $am_rc -ne 0; then
46870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46873 for automatic dependency tracking. If GNU make was not used, consider
46874 re-running the configure script with MAKE=\"gmake\" (or whatever is
46875 necessary). You can also try re-running configure with the
46876 '--disable-dependency-tracking' option to at least be able to build
46877 the package (albeit without support for automatic dependency tracking).
46878 See \`config.log' for more details" "$LINENO" 5; }
46884 rm -f conftest-deps.mk
46891 if test -n "${ZSH_VERSION+set}"; then
46904 # Provide generalized library-building support services.
46908 # This is free software; see the source for copying conditions. There is NO
46909 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46919 # distribution terms that you use for the rest of that program.
46923 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46924 # GNU General Public License for more details.
46933 # Configured defaults for sys_lib_dlsearch_path munging.
46936 # ### BEGIN LIBTOOL CONFIG
46960 # Whether or not to optimize for fast installation.
46963 # Shared archive member basename,for filename based shared library versioning on AIX.
46972 # The PATH separator for the build system.
46988 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
46989 Xsed="\$SED -e 1s/^X//"
47000 # A BSD- or MS-compatible name lister.
47057 # Commands used to install an old-style archive.
47062 # Whether to use a lock for old archive extraction.
47089 # Specify filename containing input files for \$NM.
47092 # The root where to search for dependent libraries,and where our libraries should be installed.
47119 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
47122 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
47138 # Do we need the "lib" prefix for modules?
47141 # Do we need a version for libraries?
47153 # Is shlibpath searched before the hard-coded library search path?
47160 # The last name is the one that the linker finds with -lNAME
47166 # Permission mode override for installation of shared libraries.
47185 # Compile-time system search path for libraries.
47188 # Detected run-time system search path for libraries.
47215 # Commands used to build an old-style archive.
47227 # Additional compiler flags for building library objects.
47236 # Does compiler simultaneously support -c and -o options?
47239 # Whether or not to add -lc for building shared libraries.
47251 # Whether the compiler copes with passing no objects directly.
47254 # Create an old-style archive from a shared archive.
47257 # Create a temporary old-style archive to link instead of a shared archive.
47275 # Flag that enforces no undefined symbols.
47282 # Whether we need a single "-rpath" flag with a separated argument.
47295 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
47327 # Commands necessary for linking programs (against libraries) with templates.
47330 # Commands necessary for finishing linking programs.
47339 # ### END LIBTOOL CONFIG
47348 # -----------------------------------
47373 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
47374 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
47383 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
47386 for cc_temp in $*""; do
47390 \-*) ;;
47394 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
47405 # AIX sometimes has problems with the GCC collect2 program. For some
47421 # if finds mixed CR/LF and LF-only lines. Since sed operates in
47425 || (rm -f "$cfgfile"; exit 1)
47427 mv -f "$cfgfile" "$ofile" ||
47428 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
47434 done # for ac_tag
47445 # configure is writing to config.log, and then calls config.status.
47446 # config.status does its own redirection, appending to config.log.
47447 # Unfortunately, on DOS this fails, as config.log is still kept open
47448 # by configure, so config.status won't be able to write to it; its
47450 # effectively closing config.log, so it can be properly (re)opened and
47451 # appended to by config.status. When coming back to configure, we
47457 ac_config_status_args="$ac_config_status_args --quiet"
47460 exec 5>>config.log
47471 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
47477 for ac_arg
47479 if test -n "$ac_prev"; then
47484 -cache-file | --cache-file | --cache-fil | --cache-fi \
47485 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
47487 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
47488 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
47489 | --c=*)
47491 --config-cache | -C)
47493 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
47495 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
47497 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
47499 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
47501 --disable-option-checking)
47511 # Always prepend --prefix to ensure using the same prefix
47513 ac_arg="--prefix=$prefix"
47519 # Pass --silent
47521 ac_sub_configure_args="--silent $ac_sub_configure_args"
47524 # Always prepend --disable-option-checking to silence warnings, since
47525 # different subdirs can have different --enable and --with options.
47526 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
47529 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
47533 test -d "$srcdir/$ac_dir" || continue
47536 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
47545 # A ".." for each directory in $ac_dir_suffix.
47554 # for backward compatibility:
47576 # Check for guested configure; otherwise get Cygnus style configure.
47577 if test -f "$ac_srcdir/configure.gnu"; then
47579 elif test -f "$ac_srcdir/configure"; then
47581 elif test -f "$ac_srcdir/configure.in"; then
47585 … { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
47586 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
47591 if test -n "$ac_sub_configure"; then
47599 …s_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cac…
47600 …e: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdi…
47603 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
47604 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
47610 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
47611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
47618 if test -z "$tmp_cpp"; then
47619 tmp_cpp='cpp'
47649 ## ---------------------------------- ##
47651 ## ---------------------------------- ##
47653 for xc_subdir in lib src tests/unit tests/server tests/libtest docs/examples
47656 if test ! -f "$xc_subdir/Makefile"; then
47664 xc_cnt_words=`echo "$xc_inc_lines" | wc -w | tr -d "$xc_space$xc_tab"`
47666 # --disable-dependency-tracking might have been used, consequently
47669 if test $xc_cnt_words -gt 0; then
47671 { $as_echo "$as_me:${as_lineno-$LINENO}: amending $xc_subdir/Makefile" >&5
47679 | $SED 's%include% -rm -f%' 2>/dev/null`
47688 for xc_dep_dir in $xc_dep_subdirs; do
47689 echo "${xc_tab}@xm_dep_cnt=\`ls $xc_dep_dir | wc -l 2>/dev/null\`; \\" >>$xc_p
47690 echo "${xc_tab}if test \$\$xm_dep_cnt -eq 0 && test -d $xc_dep_dir; then \\" >>$xc_p
47691 echo "${xc_tab} rm -rf $xc_dep_dir; \\" >>$xc_p
47705 /^maintainer-clean[ ]*:/,/^[^ ][^ ]*:/{
47726 $SED -f "$xc_s1" "$xc_subdir/Makefile" >"$xc_subdir/Makefile.tmp1"
47727 $SED -f "$xc_s2" "$xc_subdir/Makefile.tmp1" >"$xc_subdir/Makefile.tmp2"
47728 $SED -f "$xc_s3" "$xc_subdir/Makefile.tmp2" >"$xc_subdir/Makefile.tmp3"
47730 if test -f "$xc_subdir/Makefile.tmp3"; then
47731 mv -f "$xc_subdir/Makefile.tmp3" "$xc_subdir/Makefile"
47734 test -f "$xc_subdir/Makefile.tmp1" && rm -f "$xc_subdir/Makefile.tmp1"
47735 test -f "$xc_subdir/Makefile.tmp2" && rm -f "$xc_subdir/Makefile.tmp2"
47736 test -f "$xc_subdir/Makefile.tmp3" && rm -f "$xc_subdir/Makefile.tmp3"
47738 test -f "$xc_p" && rm -f "$xc_p"
47739 test -f "$xc_s1" && rm -f "$xc_s1"
47740 test -f "$xc_s2" && rm -f "$xc_s2"
47741 test -f "$xc_s3" && rm -f "$xc_s3"
47747 ## -------------------------------- ##
47749 ## -------------------------------- ##
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
47769 GSS-API: ${curl_gss_msg}
47770 TLS-SRP: ${curl_tls_srp_msg}
47776 Built-in manual: ${curl_manual_msg}
47777 --libcurl option: ${curl_libcurl_msg}
47790 Alt-svc: ${curl_altsvc_msg}
47813 GSS-API: ${curl_gss_msg}
47814 TLS-SRP: ${curl_tls_srp_msg}
47820 Built-in manual: ${curl_manual_msg}
47821 --libcurl option: ${curl_libcurl_msg}
47834 Alt-svc: ${curl_altsvc_msg}
47841 if test -n "$experimental"; then