• Home
  • Raw
  • Download

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

2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for curl -.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
17 # terms of the curl license; see COPYING for more details
19 ## -------------------------------- ##
21 ## -------------------------------- ##
66 # Try built-in echo, and fail.
77 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
93 (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
126 | sed -e 's:unknown:success:' 2>/dev/null`
160 | tr -d "0123456789$xc_tab" 2>/dev/null`
177 | wc -w 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null`
194 | wc -l 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null
210 # Auto-detect and set 'PATH_SEPARATOR', unless it is already non-empty set.
216 for xc_tst_dir in $PATH; do
226 for xc_tst_dir in $PATH; do
233 if test $xc_tst_dirs_sem -eq $xc_tst_dirs_col; then
235 # chose one over the other, and consider auto-detection not possible.
236 if test -z "$PATH_SEPARATOR"; then
243 # Separator with the greater directory count is the auto-detected one.
244 if test $xc_tst_dirs_sem -gt $xc_tst_dirs_col; then
249 if test -z "$PATH_SEPARATOR"; then
250 # Simply use the auto-detected one when not already set.
253 echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2
261 ## -------------------- ##
263 ## -------------------- ##
266 DUALCASE=1; export DUALCASE # for MKS sh
272 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
274 alias -g '${1+"$@"}'='"$@"'
277 case `(set -o) 2>/dev/null` in #(
279 set -o posix ;; #(
293 # Quoting is to prevent editors from complaining about space-tab.
303 # Ensure predictable behavior from utilities with locale-dependent output.
310 # to be unset--not just set to an empty or harmless value--now, to
311 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
314 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
326 # Find who we are. Look in the path if we contain no directory separator.
331 for as_dir in $PATH
339 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
350 if test ! -f "$as_myself"; then
357 # into an infinite loop, continuously re-executing ourselves.
359 _as_can_reexec=no; export _as_can_reexec;
361 # neutralization value for shells without unset; and this also
363 # Preserve -v and -x to the replacement shell.
367 case $- in # ((((
368 *v*x* | *x*v* ) as_opts=-vx ;;
369 *v* ) as_opts=-v ;;
370 *x* ) as_opts=-x ;;
376 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
387 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
389 alias -g '\${1+\"\$@\"}'='\"\$@\"'
392 case \`(set -o) 2>/dev/null\` in #(
394 set -o posix ;; #(
420 test -x / || exit 1"
427 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
433 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
438 as_have_required=no
446 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
457 for as_base in sh bash ksh sh5; do
460 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
461 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
464 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
478 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
479 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
517 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and a suitable curl
527 SHELL=${CONFIG_SHELL-/bin/sh}
533 ## --------------------- ##
535 ## --------------------- ##
537 # ---------------
547 # -----------------------
555 # -----------------
556 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
564 # ---------
573 # -------------
579 -*) as_dir=./$as_dir;;
581 test -d "$as_dir" || eval $as_mkdir_p || {
589 as_dir=`$as_dirname -- "$as_dir" ||
612 test -d "$as_dir" && break
614 test -z "$as_dirs" || eval "mkdir $as_dirs"
615 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
621 # -----------------------
625 test -f "$1" && test -x "$1"
628 # ----------------------
647 # ------------------
660 as_val=`expr "$@" || test $? -eq 1`
665 # ---------
674 # ----------------------------------------
680 as_status=$1; test $as_status -eq 0 && as_status=1
682 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
696 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
702 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
708 as_me=`$as_basename -- "$0" ||
739 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
740 sed -n '
745 s/[$]LINENO.*/&-/
753 s/-\n.*//
758 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
761 _as_can_reexec=no; export _as_can_reexec
772 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
773 # for compatibility with existing Makefiles.
775 case `echo -n x` in #(((((
776 -n*)
784 ECHO_N='-n';;
787 # For backward compatibility with old third-party macros, we provide
794 rm -f conf$$ conf$$.exe conf$$.file
795 if test -d conf$$.dir; then
796 rm -f conf$$.dir/conf$$.file
798 rm -f conf$$.dir
802 if ln -s conf$$.file conf$$ 2>/dev/null; then
803 as_ln_s='ln -s'
805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
807 # In both cases, we have to default to `cp -pR'.
808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
809 as_ln_s='cp -pR'
813 as_ln_s='cp -pR'
816 as_ln_s='cp -pR'
818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
821 if mkdir -p . 2>/dev/null; then
822 as_mkdir_p='mkdir -p "$as_dir"'
824 test -d ./-p && rmdir ./-p
828 as_test_x='test -x'
831 # Sed expression to map a string onto a valid CPP name.
837 SHELL=${CONFIG_SHELL-/bin/sh}
840 test -n "$DJDIR" || exec 7<&0 </dev/null
846 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
855 cross_compiling=no
863 PACKAGE_VERSION='-'
864 PACKAGE_STRING='curl -'
869 # Factoring default headers for most tests.
1107 CPP
1304 CPP
1359 for ac_option
1362 if test -n "$ac_prev"; then
1375 --)
1378 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1380 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1383 -build | --build | --buil | --bui | --bu)
1385 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1388 -cache-file | --cache-file | --cache-fil | --cache-fi \
1389 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1391 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1392 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1395 --config-cache | -C)
1396 cache_file=config.cache ;;
1398 -datadir | --datadir | --datadi | --datad)
1400 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1403 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1404 | --dataroo | --dataro | --datar)
1406 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1407 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1410 -disable-* | --disable-*)
1411 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1413 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1416 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1421 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1424 eval enable_$ac_useropt=no ;;
1426 -docdir | --docdir | --docdi | --doc | --do)
1428 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1431 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1433 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1436 -enable-* | --enable-*)
1437 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1439 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1442 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1447 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1452 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1453 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1454 | --exec | --exe | --ex)
1456 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1457 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1458 | --exec=* | --exe=* | --ex=*)
1461 -gas | --gas | --ga | --g)
1462 # Obsolete; use --with-gas.
1465 -help | --help | --hel | --he | -h)
1467 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1469 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1472 -host | --host | --hos | --ho)
1474 -host=* | --host=* | --hos=* | --ho=*)
1477 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1479 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1480 | --ht=*)
1483 -includedir | --includedir | --includedi | --included | --include \
1484 | --includ | --inclu | --incl | --inc)
1486 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1487 | --includ=* | --inclu=* | --incl=* | --inc=*)
1490 -infodir | --infodir | --infodi | --infod | --info | --inf)
1492 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1495 -libdir | --libdir | --libdi | --libd)
1497 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1500 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1501 | --libexe | --libex | --libe)
1503 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1504 | --libexe=* | --libex=* | --libe=*)
1507 -localedir | --localedir | --localedi | --localed | --locale)
1509 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1512 -localstatedir | --localstatedir | --localstatedi | --localstated \
1513 | --localstate | --localstat | --localsta | --localst | --locals)
1515 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1516 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1519 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1521 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1524 -nfp | --nfp | --nf)
1525 # Obsolete; use --without-fp.
1526 with_fp=no ;;
1528 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1529 | --no-cr | --no-c | -n)
1532 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1533 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1536 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1537 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1538 | --oldin | --oldi | --old | --ol | --o)
1540 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1541 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1542 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1545 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1547 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1550 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1551 | --program-pre | --program-pr | --program-p)
1553 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1554 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1557 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1558 | --program-suf | --program-su | --program-s)
1560 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1561 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1564 -program-transform-name | --program-transform-name \
1565 | --program-transform-nam | --program-transform-na \
1566 | --program-transform-n | --program-transform- \
1567 | --program-transform | --program-transfor \
1568 | --program-transfo | --program-transf \
1569 | --program-trans | --program-tran \
1570 | --progr-tra | --program-tr | --program-t)
1572 -program-transform-name=* | --program-transform-name=* \
1573 | --program-transform-nam=* | --program-transform-na=* \
1574 | --program-transform-n=* | --program-transform-=* \
1575 | --program-transform=* | --program-transfor=* \
1576 | --program-transfo=* | --program-transf=* \
1577 | --program-trans=* | --program-tran=* \
1578 | --progr-tra=* | --program-tr=* | --program-t=*)
1581 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1583 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1586 -psdir | --psdir | --psdi | --psd | --ps)
1588 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1592 | -silent | --silent | --silen | --sile | --sil)
1595 -runstatedir | --runstatedir | --runstatedi | --runstated \
1596 | --runstate | --runstat | --runsta | --runst | --runs \
1597 | --run | --ru | --r)
1599 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1600 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1601 | --run=* | --ru=* | --r=*)
1604 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1606 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1607 | --sbi=* | --sb=*)
1610 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1611 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1612 | --sharedst | --shareds | --shared | --share | --shar \
1613 | --sha | --sh)
1615 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1616 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1617 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1618 | --sha=* | --sh=*)
1621 -site | --site | --sit)
1623 -site=* | --site=* | --sit=*)
1626 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1628 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1631 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1632 | --syscon | --sysco | --sysc | --sys | --sy)
1634 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1635 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1638 -target | --target | --targe | --targ | --tar | --ta | --t)
1640 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1643 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1646 -version | --version | --versio | --versi | --vers | -V)
1649 -with-* | --with-*)
1650 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1652 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1655 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1660 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1665 -without-* | --without-*)
1666 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1668 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1671 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1676 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1679 eval with_$ac_useropt=no ;;
1681 --x)
1682 # Obsolete; use --with-x.
1685 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1686 | --x-incl | --x-inc | --x-in | --x-i)
1688 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1689 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1692 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1693 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1695 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1696 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1699 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1700 Try \`$0 --help' for more information"
1707 '' | [0-9]* | *[!_$as_cr_alnum]* )
1715 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1716 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1724 if test -n "$ac_prev"; then
1725 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1729 if test -n "$ac_unrecognized_opts"; then
1731 no) ;;
1737 # Check all directory arguments for consistency.
1738 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1755 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1759 # used to hold the argument of --host etc.
1775 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1780 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1781 ac_ls_di=`ls -di .` &&
1782 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1789 if test -z "$srcdir"; then
1792 ac_confdir=`$as_dirname -- "$as_myself" ||
1816 if test ! -r "$srcdir/$ac_unique_file"; then
1820 ac_srcdir_defaulted=no
1822 if test ! -r "$srcdir/$ac_unique_file"; then
1828 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1836 # mess up M-x gdb in Emacs.
1840 for ac_var in $ac_precious_vars; do
1848 # Report the --help message.
1854 \`configure' configures curl - to adapt to many kinds of systems.
1859 VAR=VALUE. See below for descriptions of some of the useful variables.
1861 Defaults for the options are specified in brackets.
1864 -h, --help display this help and exit
1865 --help=short display options specific to this package
1866 --help=recursive display the short help of all the included packages
1867 -V, --version display version information and exit
1868 -q, --quiet, --silent do not print \`checking ...' messages
1869 --cache-file=FILE cache test results in FILE [disabled]
1870 -C, --config-cache alias for \`--cache-file=config.cache'
1871 -n, --no-create do not create output files
1872 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1875 --prefix=PREFIX install architecture-independent files in PREFIX
1877 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1882 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1883 for instance \`--prefix=\$HOME'.
1885 For better control, use the options below.
1888 --bindir=DIR user executables [EPREFIX/bin]
1889 --sbindir=DIR system admin executables [EPREFIX/sbin]
1890 --libexecdir=DIR program executables [EPREFIX/libexec]
1891 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1892 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1893 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1894 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1895 --libdir=DIR object code libraries [EPREFIX/lib]
1896 --includedir=DIR C header files [PREFIX/include]
1897 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1898 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1899 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1900 --infodir=DIR info documentation [DATAROOTDIR/info]
1901 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1902 --mandir=DIR man documentation [DATAROOTDIR/man]
1903 --docdir=DIR documentation root [DATAROOTDIR/doc/curl]
1904 --htmldir=DIR html documentation [DOCDIR]
1905 --dvidir=DIR dvi documentation [DOCDIR]
1906 --pdfdir=DIR pdf documentation [DOCDIR]
1907 --psdir=DIR ps documentation [DOCDIR]
1913 --program-prefix=PREFIX prepend PREFIX to installed program names
1914 --program-suffix=SUFFIX append SUFFIX to installed program names
1915 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1918 --build=BUILD configure for building on BUILD [guessed]
1919 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1923 if test -n "$ac_init_help"; then
1925 short | recursive ) echo "Configuration of curl -:";;
1930 --disable-option-checking ignore unrecognized --enable/--with options
1931 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1932 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1933 --enable-maintainer-mode
1936 --enable-silent-rules less verbose build output (undo: "make V=1")
1937 --disable-silent-rules verbose build output (undo: "make V=0")
1938 --enable-debug Enable debug build options
1939 --disable-debug Disable debug build options
1940 --enable-optimize Enable compiler optimizations
1941 --disable-optimize Disable compiler optimizations
1942 --enable-warnings Enable strict compiler warnings
1943 --disable-warnings Disable strict compiler warnings
1944 --enable-werror Enable compiler warnings as errors
1945 --disable-werror Disable compiler warnings as errors
1946 --enable-curldebug Enable curl debug memory tracking
1947 --disable-curldebug Disable curl debug memory tracking
1948 --enable-symbol-hiding Enable hiding of library internal symbols
1949 --disable-symbol-hiding Disable hiding of library internal symbols
1950 --enable-ares[=PATH] Enable c-ares for DNS lookups
1951 --disable-ares Disable c-ares for DNS lookups
1952 --disable-rt disable dependency on -lrt
1953 --enable-httpsrr Enable HTTPSRR support
1954 --disable-httpsrr Disable HTTPSRR support
1955 --enable-ech Enable ECH support
1956 --disable-ech Disable ECH support
1957 --enable-code-coverage Provide code coverage
1958 --enable-dependency-tracking
1960 --disable-dependency-tracking
1961 speeds up one-time build
1962 --disable-largefile omit support for large files
1963 --enable-shared[=PKGS] build shared libraries [default=yes]
1964 --enable-static[=PKGS] build static libraries [default=yes]
1965 --enable-fast-install[=PKGS]
1966 optimize for fast installation [default=yes]
1967 --disable-libtool-lock avoid locking (might break parallel builds)
1968 --enable-http Enable HTTP support
1969 --disable-http Disable HTTP support
1970 --enable-ftp Enable FTP support
1971 --disable-ftp Disable FTP support
1972 --enable-file Enable FILE support
1973 --disable-file Disable FILE support
1974 --enable-ldap Enable LDAP support
1975 --disable-ldap Disable LDAP support
1976 --enable-ldaps Enable LDAPS support
1977 --disable-ldaps Disable LDAPS support
1978 --enable-rtsp Enable RTSP support
1979 --disable-rtsp Disable RTSP support
1980 --enable-proxy Enable proxy support
1981 --disable-proxy Disable proxy support
1982 --enable-dict Enable DICT support
1983 --disable-dict Disable DICT support
1984 --enable-telnet Enable TELNET support
1985 --disable-telnet Disable TELNET support
1986 --enable-tftp Enable TFTP support
1987 --disable-tftp Disable TFTP support
1988 --enable-pop3 Enable POP3 support
1989 --disable-pop3 Disable POP3 support
1990 --enable-imap Enable IMAP support
1991 --disable-imap Disable IMAP support
1992 --enable-smb Enable SMB/CIFS support
1993 --disable-smb Disable SMB/CIFS support
1994 --enable-smtp Enable SMTP support
1995 --disable-smtp Disable SMTP support
1996 --enable-gopher Enable Gopher support
1997 --disable-gopher Disable Gopher support
1998 --enable-mqtt Enable MQTT support
1999 --disable-mqtt Disable MQTT support
2000 --enable-manual Enable built-in manual
2001 --disable-manual Disable built-in manual
2002 --enable-docs Enable documentation
2003 --disable-docs Disable documentation
2004 --enable-libcurl-option Enable --libcurl C code generation support
2005 --disable-libcurl-option
2006 Disable --libcurl C code generation support
2007 --enable-libgcc use libgcc when linking
2008 --enable-ipv6 Enable IPv6 (with IPv4) support
2009 --disable-ipv6 Disable IPv6 support
2010 --enable-openssl-auto-load-config
2012 --disable-openssl-auto-load-config
2014 --enable-versioned-symbols
2016 --disable-versioned-symbols
2018 --enable-threaded-resolver
2020 --disable-threaded-resolver
2022 --enable-pthreads Enable POSIX threads (default for threaded resolver)
2023 --disable-pthreads Disable POSIX threads
2024 --enable-verbose Enable verbose strings
2025 --disable-verbose Disable verbose strings
2026 --enable-sspi Enable SSPI
2027 --disable-sspi Disable SSPI
2028 --enable-basic-auth Enable basic authentication (default)
2029 --disable-basic-auth Disable basic authentication
2030 --enable-bearer-auth Enable bearer authentication (default)
2031 --disable-bearer-auth Disable bearer authentication
2032 --enable-digest-auth Enable digest authentication (default)
2033 --disable-digest-auth Disable digest authentication
2034 --enable-kerberos-auth Enable kerberos authentication (default)
2035 --disable-kerberos-auth Disable kerberos authentication
2036 --enable-negotiate-auth Enable negotiate authentication (default)
2037 --disable-negotiate-auth
2039 --enable-aws Enable AWS sig support (default)
2040 --disable-aws Disable AWS sig support
2041 --enable-ntlm Enable NTLM support
2042 --disable-ntlm Disable NTLM support
2043 --enable-tls-srp Enable TLS-SRP authentication
2044 --disable-tls-srp Disable TLS-SRP authentication
2045 --enable-unix-sockets Enable Unix domain sockets
2046 --disable-unix-sockets Disable Unix domain sockets
2047 --enable-cookies Enable cookies support
2048 --disable-cookies Disable cookies support
2049 --enable-socketpair Enable socketpair support
2050 --disable-socketpair Disable socketpair support
2051 --enable-http-auth Enable HTTP authentication support
2052 --disable-http-auth Disable HTTP authentication support
2053 --enable-doh Enable DoH support
2054 --disable-doh Disable DoH support
2055 --enable-mime Enable mime API support
2056 --disable-mime Disable mime API support
2057 --enable-bindlocal Enable local binding support
2058 --disable-bindlocal Disable local binding support
2059 --enable-form-api Enable form API support
2060 --disable-form-api Disable form API support
2061 --enable-dateparse Enable date parsing
2062 --disable-dateparse Disable date parsing
2063 --enable-netrc Enable netrc parsing
2064 --disable-netrc Disable netrc parsing
2065 --enable-progress-meter Enable progress-meter
2066 --disable-progress-meter
2067 Disable progress-meter
2068 --enable-dnsshuffle Enable DNS shuffling
2069 --disable-dnsshuffle Disable DNS shuffling
2070 --enable-get-easy-options
2072 --disable-get-easy-options
2074 --enable-alt-svc Enable alt-svc support
2075 --disable-alt-svc Disable alt-svc support
2076 --enable-headers-api Enable headers-api support
2077 --disable-headers-api Disable headers-api support
2078 --enable-hsts Enable HSTS support
2079 --disable-hsts Disable HSTS support
2080 --enable-websockets Enable WebSockets support
2081 --disable-websockets Disable WebSockets support
2084 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2085 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2086 --with-schannel enable Windows native SSL/TLS
2087 --with-secure-transport enable Apple OS native SSL/TLS
2088 --with-amissl enable Amiga native SSL/TLS (AmiSSL)
2089 --with-ssl=PATH old version of --with-openssl
2090 --without-ssl build without any TLS library
2091 --with-openssl=PATH Where to look for OpenSSL, PATH points to the SSL
2095 --with-gnutls=PATH where to look for GnuTLS, PATH points to the
2097 --with-mbedtls=PATH where to look for mbedTLS, PATH points to the
2099 --with-wolfssl=PATH where to look for WolfSSL, PATH points to the
2101 --with-bearssl=PATH where to look for BearSSL, PATH points to the
2103 --with-rustls=PATH where to look for rustls, PATH points to the
2105 --with-test-nghttpx=PATH
2106 where to find nghttpx for testing
2107 --with-test-caddy=PATH where to find caddy for testing
2108 --with-test-vsftpd=PATH where to find vsftpd for testing
2109 --with-test-httpd=PATH where to find httpd/apache2 for testing
2111 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2113 --with-aix-soname=aix|svr4|both
2116 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2117 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2119 --with-hyper=PATH Enable hyper usage
2120 --without-hyper Disable hyper usage
2121 --with-zlib=PATH search for zlib in PATH
2122 --without-zlib disable use of zlib
2123 --with-brotli=PATH Where to look for brotli, PATH points to the BROTLI
2126 --without-brotli disable BROTLI
2127 --with-zstd=PATH Where to look for libzstd, PATH points to the
2131 --without-zstd disable libzstd
2132 --with-ldap-lib=libname Specify name of ldap lib file
2133 --with-lber-lib=libname Specify name of lber lib file
2134 --with-gssapi-includes=DIR
2135 Specify location of GSS-API headers
2136 --with-gssapi-libs=DIR Specify location of GSS-API libs
2137 --with-gssapi=DIR Where to look for GSS-API
2138 --with-default-ssl-backend=NAME
2140 --without-default-ssl-backend
2142 --with-random=FILE read randomness from FILE (default=/dev/urandom)
2143 --with-ca-bundle=FILE Path to a file containing CA certificates (example:
2144 /etc/ca-bundle.crt)
2145 --without-ca-bundle Don't use a default CA bundle
2146 --with-ca-path=DIRECTORY
2151 OpenSSL c_rehash for details. (example:
2153 --without-ca-path Don't use a default CA path
2154 --with-ca-fallback Use the built in CA store of the SSL library
2155 --without-ca-fallback Don't use the built in CA store of the SSL library
2156 --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL
2159 --without-libpsl disable LIBPSL
2160 --without-libgsasl disable libgsasl support for SCRAM
2161 --with-libssh2=PATH Where to look for libssh2, PATH points to the
2165 --with-libssh2 enable libssh2
2166 --with-libssh=PATH Where to look for libssh, PATH points to the libssh
2169 --with-libssh enable libssh
2170 --with-wolfssh=PATH Where to look for wolfssh, PATH points to the
2174 --with-wolfssh enable wolfssh
2175 --with-librtmp=PATH Where to look for librtmp, PATH points to the
2179 --without-librtmp disable LIBRTMP
2180 --with-winidn=PATH enable Windows native IDN
2181 --without-winidn disable Windows native IDN
2182 --with-libidn2=PATH Enable libidn2 usage
2183 --without-libidn2 Disable libidn2 usage
2184 --with-nghttp2=PATH Enable nghttp2 usage
2185 --without-nghttp2 Disable nghttp2 usage
2186 --with-ngtcp2=PATH Enable ngtcp2 usage
2187 --without-ngtcp2 Disable ngtcp2 usage
2188 --with-openssl-quic Enable OpenSSL QUIC usage
2189 --without-openssl-quic Disable OpenSSL QUIC usage
2190 --with-nghttp3=PATH Enable nghttp3 usage
2191 --without-nghttp3 Disable nghttp3 usage
2192 --with-quiche=PATH Enable quiche usage
2193 --without-quiche Disable quiche usage
2194 --with-msh3=PATH Enable msh3 usage
2195 --without-msh3 Disable msh3 usage
2196 --with-zsh-functions-dir=PATH
2198 --without-zsh-functions-dir
2200 --with-fish-functions-dir=PATH
2202 --without-fish-functions-dir
2208 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2210 LIBS libraries to pass to the linker, e.g. -l<library>
2211 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2213 CPP C preprocessor
2215 User-defined run-time library search path.
2226 # If there are subdirs, report their specific --help.
2227 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2228 test -d "$ac_dir" ||
2229 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2237 # A ".." for each directory in $ac_dir_suffix.
2246 # for backward compatibility:
2266 # Check for configure.gnu first; this name is used for a wrapper for
2267 # Metaconfig's "Configure" on case-insensitive file systems.
2268 if test -f "$ac_srcdir/configure.gnu"; then
2270 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2271 elif test -f "$ac_srcdir/configure"; then
2273 $SHELL "$ac_srcdir/configure" --help=recursive
2275 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2281 test -n "$ac_init_help" && exit $ac_status
2284 curl configure -
2293 terms of the curl license; see COPYING for more details
2298 ## ------------------------ ##
2300 ## ------------------------ ##
2303 # --------------------------
2307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308 rm -f conftest.$ac_objext conftest.beam
2314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 if test -s conftest.err; then
2319 grep -v '^ *+' conftest.err >conftest.er1
2321 mv -f conftest.er1 conftest.err
2323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2325 test -z "$ac_c_werror_flag" ||
2326 test ! -s conftest.err
2327 } && test -s conftest.$ac_objext
2342 # ----------------------
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 if test -s conftest.err; then
2357 grep -v '^ *+' conftest.err >conftest.er1
2359 mv -f conftest.er1 conftest.err
2361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2364 test ! -s conftest.err
2380 # -------------------------------------------------------
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2387 printf %s "checking for $2... " >&6; }
2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 eval "$3=no"
2403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2413 # -----------------------
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2428 if test -s conftest.err; then
2429 grep -v '^ *+' conftest.err >conftest.er1
2431 mv -f conftest.er1 conftest.err
2433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2435 test -z "$ac_c_werror_flag" ||
2436 test ! -s conftest.err
2437 } && test -s conftest$ac_exeext && {
2439 test -x conftest$ac_exeext
2453 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2460 # ----------------------------------
2464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2466 printf %s "checking for $2... " >&6; }
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2500 eval "$3=no"
2502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2513 # ----------------------
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2556 # -------------------------------------------------------
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2563 printf %s "checking for $2... " >&6; }
2568 eval "$3=no"
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2611 # ------------------------------------------------------------------
2613 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2624 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 eval "$3=no"
2650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 # ----------------------------------------------------
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2669 printf %s "checking for $2.$3... " >&6; }
2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 eval "$4=no"
2708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2719 for ac_arg
2738 cat >config.log <<_ACEOF
2742 It was created by curl $as_me -, which was
2748 exec 5>>config.log
2751 ## --------- ##
2753 ## --------- ##
2755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2762 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2765 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2775 for as_dir in $PATH
2792 ## ----------- ##
2794 ## ----------- ##
2800 # Strip out --no-create and --no-recursion so they do not pile up.
2801 # Strip out --silent because we don't want to record it for future runs.
2802 # Also quote any args containing shell meta-characters.
2803 # Make two passes to allow for proper duplicate-argument suppression.
2808 for ac_pass in 1 2
2810 for ac_arg
2813 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2814 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2815 | -silent | --silent | --silen | --sile | --sil)
2828 *=* | --config-cache | -C | -disable-* | --disable-* \
2829 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2830 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2831 | -with-* | --with-* | -without-* | --without-* | --x)
2836 -* ) ac_must_keep_next=true ;;
2848 # config.log. We remove comments because anyway the quotes in there
2855 # Save into config.log some information that might help in debugging.
2859 printf "%s\n" "## ---------------- ##
2861 ## ---------------- ##"
2865 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2870 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2883 sed -n \
2888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2895 printf "%s\n" "## ----------------- ##
2897 ## ----------------- ##"
2899 for ac_var in $ac_subst_vars
2909 if test -n "$ac_subst_files"; then
2910 printf "%s\n" "## ------------------- ##
2912 ## ------------------- ##"
2914 for ac_var in $ac_subst_files
2925 if test -s confdefs.h; then
2926 printf "%s\n" "## ----------- ##
2928 ## ----------- ##"
2937 rm -f core *.core core.conftest.* &&
2938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2941 for ac_signal in 1 2 13 15; do
2947 rm -f -r conftest* confdefs.h
2968 if test -n "$CONFIG_SITE"; then
2971 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2973 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2976 for ac_site_file in $ac_site_files
2984 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2989 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 See \`config.log' for more details" "$LINENO" 5; }
2996 if test -r "$cache_file"; then
2999 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3013 # Test code for whether the C compiler supports C89 (global declarations)
3044 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3047 as an "x". The following induces an error, until -std is added to get
3048 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3050 that is true only with -std. */
3051 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3053 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3056 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3064 # Test code for whether the C compiler supports C89 (body of main).
3069 # Test code for whether the C compiler supports C99 (global declarations)
3110 static long long int bignum = -9223372036854775807LL;
3130 // See if C++-style comments work.
3132 // Also check for declarations in for loops.
3133 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3175 # Test code for whether the C compiler supports C99 (body of main).
3193 ia->datasize = 10;
3194 for (int i = 0; i < ia->datasize; ++i)
3195 ia->data[i] = i * 1.234;
3208 dynamic_array[ni.number - 1] = 543;
3212 || dynamic_array[ni.number - 1] != 543);
3215 # Test code for whether the C compiler supports C11 (global declarations)
3235 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3238 int _Noreturn does_not_return (void) { for (;;) continue; }
3249 // Check UTF-8 literals.
3258 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3269 # Test code for whether the C compiler supports C11 (body of main).
3279 # Test code for whether the C compiler supports C11 (complete).
3295 # Test code for whether the C compiler supports C99 (complete).
3309 # Test code for whether the C compiler supports C89 (complete).
3332 ac_aux_files="ltmain.sh config.guess config.sub missing compile install-sh"
3334 # Locations in which to look for auxiliary files.
3337 # Search for a directory containing all of the required auxiliary files,
3338 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3347 for as_dir in $ac_aux_dir_candidates
3357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3360 for ac_aux in $ac_aux_files
3362 # As a special case, if "install-sh" is required, that requirement
3363 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3364 # and $ac_install_sh is set appropriately for whichever one is found.
3365 if test x"$ac_aux" = x"install-sh"
3367 if test -f "${as_dir}install-sh"; then
3368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3369 ac_install_sh="${as_dir}install-sh -c"
3370 elif test -f "${as_dir}install.sh"; then
3371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3372 ac_install_sh="${as_dir}install.sh -c"
3373 elif test -f "${as_dir}shtool"; then
3374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3375 ac_install_sh="${as_dir}shtool install -c"
3377 ac_aux_dir_found=no
3379 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3385 if test -f "${as_dir}${ac_aux}"; then
3386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3388 ac_aux_dir_found=no
3418 if test -f "${ac_aux_dir}config.guess"; then
3419 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3421 if test -f "${ac_aux_dir}config.sub"; then
3422 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3424 if test -f "$ac_aux_dir/configure"; then
3431 for ac_var in $ac_precious_vars; do
3438 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
3442 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
3452 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
3456 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3466 # Pass precious variables to config.status.
3479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
3483 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3486 ## -------------------- ##
3488 ## -------------------- ##
3491 ac_cpp='$CPP $CPPFLAGS'
3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 # using curl-override.m4
3512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portio…
3513 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3514 # Check whether --enable-maintainer-mode was given.
3519 USE_MAINTAINER_MODE=no
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3535 # Check whether --enable-silent-rules was given.
3543 no) AM_DEFAULT_VERBOSITY=1;;
3546 am_make=${MAKE-make}
3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" …
3559 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3562 am_cv_make_support_nested_variables=no
3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3578 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
3581 # Check whether --enable-debug was given.
3588 no)
3589 want_debug="no"
3592 want_debug="no"
3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
3605 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
3608 # Check whether --enable-optimize was given.
3615 no)
3616 want_optimize="no"
3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 printf "%s\n" "no" >&6; }
3623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
3624 printf "%s\n" "(assumed) no" >&6; }
3627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings"…
3642 # Check whether --enable-warnings was given.
3649 no)
3650 want_warnings="no"
3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
3663 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as erro…
3666 # Check whether --enable-werror was given.
3673 no)
3674 want_werror="no"
3677 want_werror="no"
3683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
3687 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory trackin…
3690 # Check whether --enable-curldebug was given.
3697 no)
3698 want_curldebug="no"
3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3700 printf "%s\n" "no" >&6; }
3704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 printf "%s\n" "no" >&6; }
3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3727 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library interna…
3730 # Check whether --enable-symbol-hiding was given.
3737 no)
3738 want_symbol_hiding="no"
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 printf "%s\n" "no" >&6; }
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3755 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >…
3756 printf %s "checking whether to enable c-ares for DNS lookups... " >&6; }
3758 # Check whether --enable-ares was given.
3765 no)
3766 want_ares="no"
3769 want_ares="no"
3773 if test -n "$enableval" && test "$enableval" != "yes"; then
3778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
3782 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
3783 printf %s "checking whether to disable dependency on -lrt... " >&6; }
3785 # Check whether --enable-rt was given.
3792 no)
3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3798 dontwant_rt="no"
3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
3800 printf "%s\n" "(assumed no)" >&6; }
3803 dontwant_rt="no"
3804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 printf "%s\n" "no" >&6; }
3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable HTTPSRR support" >&5
3813 # Check whether --enable-httpsrr was given.
3820 no)
3821 want_httpsrr="no"
3822 curl_httpsrr_msg="no (--enable-httpsrr)"
3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 printf "%s\n" "no" >&6; }
3827 want_httpsrr="no"
3828 curl_httpsrr_msg="no (--enable-httpsrr)"
3829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3830 printf "%s\n" "no" >&6; }
3834 curl_httpsrr_msg="enabled (--disable-httpsrr)"
3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable ECH support" >&5
3845 # Check whether --enable-ech was given.
3852 no)
3853 want_ech="no"
3854 curl_ech_msg="no (--enable-ech)"
3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 printf "%s\n" "no" >&6; }
3859 want_ech="no"
3860 curl_ech_msg="no (--enable-ech)"
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 printf "%s\n" "no" >&6; }
3866 curl_ech_msg="enabled (--disable-ech)"
3868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3878 if test -z "$xc_configure_preamble_result"; then
3886 if test -z "$xc_PATH_SEPARATOR"; then
3889 if test -z "$PATH_SEPARATOR"; then
3890 as_fn_error $? "PATH_SEPARATOR not set (internal or config.site problem)" "$LINENO" 5
3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
3893 printf %s "checking for path separator... " >&6; }
3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
3898 printf %s "checking for initial path separator... " >&6; }
3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
3901 as_fn_error $? "path separator mismatch (internal or config.site problem)" "$LINENO" 5
3911 if test -z "$SED"; then
3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 printf %s "checking for $ac_word... " >&6; }
3927 for as_dir in $as_dummy
3935 for ac_exec_ext in '' $ac_executable_extensions; do
3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3945 test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
3950 if test -n "$SED"; then
3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 printf "%s\n" "no" >&6; }
3959 if test -z "$SED" || test "$SED" = "not_found"; then
3965 if test -z "$GREP"; then
3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3969 printf %s "checking for $ac_word... " >&6; }
3981 for as_dir in $as_dummy
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3999 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
4004 if test -n "$GREP"; then
4005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
4008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009 printf "%s\n" "no" >&6; }
4013 if test -z "$GREP" || test "$GREP" = "not_found"; then
4019 if test -z "$EGREP"; then
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that grep -E works" >&5
4021 printf %s "checking that grep -E works... " >&6; }
4022 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
4023 EGREP="$GREP -E"
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 printf "%s\n" "no" >&6; }
4031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 printf %s "checking for $ac_word... " >&6; }
4044 for as_dir in $as_dummy
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4062 test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
4067 if test -n "$EGREP"; then
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 printf "%s\n" "no" >&6; }
4078 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
4079 …as_fn_error $? "grep -E is not working and egrep is not found in PATH. Cannot continue." "$LINENO"…
4083 if test -z "$AR"; then
4084 if test -n "$ac_tool_prefix"; then
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 printf %s "checking for $ac_word... " >&6; }
4100 for as_dir in $as_dummy
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4122 if test -n "$AR"; then
4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 printf "%s\n" "no" >&6; }
4132 if test -z "$ac_cv_path_AR"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4137 printf %s "checking for $ac_word... " >&6; }
4149 for as_dir in $as_dummy
4157 for ac_exec_ext in '' $ac_executable_extensions; do
4160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4171 if test -n "$ac_pt_AR"; then
4172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176 printf "%s\n" "no" >&6; }
4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4194 if test -z "$AR" || test "$AR" = "not_found"; then
4202 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
4212 xc_bad_var_libs=no
4213 for xc_word in $LIBS; do
4215 -l* | --library=*)
4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
4226 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
4227 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
4231 xc_bad_var_ldflags=no
4232 for xc_word in $LDFLAGS; do
4234 -D*)
4237 -U*)
4240 -I*)
4243 -l* | --library=*)
4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
4252 for xc_word in $LDFLAGS; do
4254 -D*)
4255 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4256 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
4258 -U*)
4259 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
4260 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
4262 -I*)
4263 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4264 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
4266 -l* | --library=*)
4267 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4268 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4275 xc_bad_var_cppflags=no
4276 for xc_word in $CPPFLAGS; do
4278 -rpath*)
4281 -L* | --library-path=*)
4284 -l* | --library=*)
4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
4293 for xc_word in $CPPFLAGS; do
4295 -rpath*)
4296 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4297 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
4299 -L* | --library-path=*)
4300 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
4301 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
4303 -l* | --library=*)
4304 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4305 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4312 xc_bad_var_cflags=no
4313 for xc_word in $CFLAGS; do
4315 -D*)
4318 -U*)
4321 -I*)
4324 -rpath*)
4327 -L* | --library-path=*)
4330 -l* | --library=*)
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
4339 for xc_word in $CFLAGS; do
4341 -D*)
4342 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4343 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
4345 -U*)
4346 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
4347 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
4349 -I*)
4350 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4351 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
4353 -rpath*)
4354 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4355 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
4357 -L* | --library-path=*)
4358 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
4359 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
4361 -l* | --library=*)
4362 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4363 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4373 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
4387 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4394 printf %s "checking for a BSD-compatible install... " >&6; }
4395 if test -z "$INSTALL"; then
4401 for as_dir in $PATH
4409 # Account for fact that we put trailing slashes in our PATH walk.
4416 # OSF1 and SCO ODT 3.0 have their own names for install.
4419 for ac_prog in ginstall scoinst install; do
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4428 # program-specific install script used by HP pwplus--don't use.
4431 rm -rf conftest.one conftest.two conftest.dir
4435 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
4436 test -s conftest.one && test -s conftest.two &&
4437 test -s conftest.dir/conftest.one &&
4438 test -s conftest.dir/conftest.two
4440 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
4453 rm -rf conftest.one conftest.two conftest.dir
4460 # value for INSTALL within a source directory, because that will
4466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4491 ac_cpp='$CPP $CPPFLAGS'
4492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 if test -n "$ac_tool_prefix"; then
4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4499 printf %s "checking for $ac_word... " >&6; }
4504 if test -n "$CC"; then
4508 for as_dir in $PATH
4516 for ac_exec_ext in '' $ac_executable_extensions; do
4519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4529 if test -n "$CC"; then
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4534 printf "%s\n" "no" >&6; }
4539 if test -z "$ac_cv_prog_CC"; then
4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4544 printf %s "checking for $ac_word... " >&6; }
4549 if test -n "$ac_ct_CC"; then
4553 for as_dir in $PATH
4561 for ac_exec_ext in '' $ac_executable_extensions; do
4564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4574 if test -n "$ac_ct_CC"; then
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4579 printf "%s\n" "no" >&6; }
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4597 if test -z "$CC"; then
4598 if test -n "$ac_tool_prefix"; then
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 printf %s "checking for $ac_word... " >&6; }
4607 if test -n "$CC"; then
4611 for as_dir in $PATH
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4632 if test -n "$CC"; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 printf "%s\n" "no" >&6; }
4643 if test -z "$CC"; then
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 printf %s "checking for $ac_word... " >&6; }
4652 if test -n "$CC"; then
4655 ac_prog_rejected=no
4657 for as_dir in $PATH
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4694 if test -n "$CC"; then
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4699 printf "%s\n" "no" >&6; }
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4706 for ac_prog in cl.exe
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4711 printf %s "checking for $ac_word... " >&6; }
4716 if test -n "$CC"; then
4720 for as_dir in $PATH
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4741 if test -n "$CC"; then
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 printf "%s\n" "no" >&6; }
4750 test -n "$CC" && break
4753 if test -z "$CC"; then
4755 for ac_prog in cl.exe
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 printf %s "checking for $ac_word... " >&6; }
4765 if test -n "$ac_ct_CC"; then
4769 for as_dir in $PATH
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4790 if test -n "$ac_ct_CC"; then
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 printf "%s\n" "no" >&6; }
4799 test -n "$ac_ct_CC" && break
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4816 if test -z "$CC"; then
4817 if test -n "$ac_tool_prefix"; then
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 printf %s "checking for $ac_word... " >&6; }
4826 if test -n "$CC"; then
4830 for as_dir in $PATH
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 printf "%s\n" "no" >&6; }
4861 if test -z "$ac_cv_prog_CC"; then
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 printf %s "checking for $ac_word... " >&6; }
4871 if test -n "$ac_ct_CC"; then
4875 for as_dir in $PATH
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4896 if test -n "$ac_ct_CC"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 printf "%s\n" "no" >&6; }
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4922 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4924 as_fn_error $? "no acceptable C compiler found in \$PATH
4925 See \`config.log' for more details" "$LINENO" 5; }
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4931 for ac_option in --version -v -V -qversion -version; do
4937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4941 if test -s conftest.err; then
4947 rm -f conftest.er1 conftest.err
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 # Try to create an executable without -o first, disregard a.out.
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4969 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4975 for ac_file in $ac_files
4982 rm -f $ac_rmfiles
4989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4997 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4999 # so that the user can short-circuit this test for compilers unknown to
5001 for ac_file in $ac_files ''
5003 test -f "$ac_file" || continue
5012 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5016 # We set ac_cv_exeext here because the later test for it is not
5017 # safe: cross compilers may not add the suffix if given an `-o'
5026 test "$ac_cv_exeext" = no && ac_cv_exeext=
5031 if test -z "$ac_file"
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 printf "%s\n" "no" >&6; }
5038 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5041 See \`config.log' for more details" "$LINENO" 5; }
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5047 printf %s "checking for C compiler default output file name... " >&6; }
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5052 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5055 printf %s "checking for suffix of executables... " >&6; }
5061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5069 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5072 for ac_file in conftest.exe conftest conftest.*; do
5073 test -f "$ac_file" || continue
5082 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5085 See \`config.log' for more details" "$LINENO" 5; }
5087 rm -f conftest conftest$ac_cv_exeext
5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5091 rm -f conftest.$ac_ext
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5134 cross_compiling=no
5139 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5142 If you meant to cross compile, use \`--host'.
5143 See \`config.log' for more details" "$LINENO" 5; }
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5150 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5153 printf %s "checking for suffix of object files... " >&6; }
5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 rm -f conftest.o conftest.obj
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5181 for ac_file in conftest.o conftest.obj conftest.*; do
5182 test -f "$ac_file" || continue;
5193 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5196 See \`config.log' for more details" "$LINENO" 5; }
5198 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 ac_compiler_gnu=no
5229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5245 printf %s "checking whether $CC accepts -g... " >&6; }
5252 ac_cv_prog_cc_g=no
5253 CFLAGS="-g"
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 CFLAGS="-g"
5285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5312 CFLAGS="-g -O2"
5314 CFLAGS="-g"
5318 CFLAGS="-O2"
5323 ac_prog_cc_stdc=no
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5327 printf %s "checking for $CC option to enable C11 features... " >&6; }
5332 ac_cv_prog_cc_c11=no
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 for ac_arg in '' -std=gnu11
5345 rm -f core conftest.err conftest.$ac_objext conftest.beam
5348 rm -f conftest.$ac_ext
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5373 printf %s "checking for $CC option to enable C99 features... " >&6; }
5378 ac_cv_prog_cc_c99=no
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5391 rm -f core conftest.err conftest.$ac_objext conftest.beam
5394 rm -f conftest.$ac_ext
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5419 printf %s "checking for $CC option to enable C89 features... " >&6; }
5424 ac_cv_prog_cc_c89=no
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
5437 rm -f core conftest.err conftest.$ac_objext conftest.beam
5440 rm -f conftest.$ac_ext
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5464 ac_cpp='$CPP $CPPFLAGS'
5465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_cpp='$CPP $CPPFLAGS'
5472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" …
5476 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 # compilers refuse to overwrite an existing .o file with -o,
5496 for am_i in 1 2; do
5497 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5498 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5502 && test -f conftest2.$ac_objext; then
5505 am_cv_prog_cc_c_o=no
5509 rm -f core conftest*
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5518 # A longer-term fix would be to have automake use am__CC in this case,
5523 ac_cpp='$CPP $CPPFLAGS'
5524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5537 # On Suns, sometimes $CPP names a directory.
5538 if test -n "$CPP" && test -d "$CPP"; then
5539 CPP=
5541 if test -z "$CPP"; then
5547 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5550 for ac_c_preproc_warn_flag in '' yes
5553 # with a fresh cross-compiler works.
5554 # On the NeXT, cc -E runs the code through the compiler's parser,
5555 # not just through cpp. "Syntax error" is here to catch this case.
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5568 rm -f conftest.err conftest.i conftest.$ac_ext
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 rm -f conftest.err conftest.i conftest.$ac_ext
5589 rm -f conftest.i conftest.err conftest.$ac_ext
5596 ac_cv_prog_CPP=$CPP
5599 CPP=$ac_cv_prog_CPP
5601 ac_cv_prog_CPP=$CPP
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5604 printf "%s\n" "$CPP" >&6; }
5606 for ac_c_preproc_warn_flag in '' yes
5609 # with a fresh cross-compiler works.
5610 # On the NeXT, cc -E runs the code through the compiler's parser,
5611 # not just through cpp. "Syntax error" is here to catch this case.
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 rm -f conftest.err conftest.i conftest.$ac_ext
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 rm -f conftest.err conftest.i conftest.$ac_ext
5645 rm -f conftest.i conftest.err conftest.$ac_ext
5650 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5652 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5653 See \`config.log' for more details" "$LINENO" 5; }
5657 ac_cpp='$CPP $CPPFLAGS'
5658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5675 for ac_item in $ac_header_c_list
5704 for ac_header in stdatomic.h
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _Atomic is available" >&5
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723 i = 4; // Force an atomic-write operation.
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743 printf "%s\n" "no" >&6; }
5744 tst_atomic="no"
5747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5756 printf %s "checking for a sed that does not truncate output... " >&6; }
5762 for ac_i in 1 2 3 4 5 6 7; do
5767 if test -z "$SED"; then
5769 # Loop through the user's path and test for each of PROGNAME-LIST
5771 for as_dir in $PATH
5779 for ac_prog in sed gsed
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5784 # Check for GNU ac_path_SED and select it if it is found.
5785 # Check for GNU $ac_path_SED
5786 case `"$ac_path_SED" --version 2>&1` in
5798 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5801 if test $ac_count -gt ${ac_path_SED_max-0}; then
5802 # Best one so far, save it but keep looking for a better one
5807 test $ac_count -gt 10 && break
5809 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5817 if test -z "$ac_cv_path_SED"; then
5818 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5828 rm -f conftest.sed
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
5834 printf %s "checking for code coverage support... " >&6; }
5835 coverage="no"
5838 # Check whether --enable-code-coverage was given.
5847 coverage="no"
5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
5855 if test -n "$ac_tool_prefix"; then
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 printf %s "checking for $ac_word... " >&6; }
5864 if test -n "$GCOV"; then
5868 for as_dir in $PATH
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5889 if test -n "$GCOV"; then
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 printf "%s\n" "no" >&6; }
5899 if test -z "$ac_cv_prog_GCOV"; then
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 printf %s "checking for $ac_word... " >&6; }
5909 if test -n "$ac_ct_GCOV"; then
5913 for as_dir in $PATH
5921 for ac_exec_ext in '' $ac_executable_extensions; do
5924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5934 if test -n "$ac_ct_GCOV"; then
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5939 printf "%s\n" "no" >&6; }
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5957 if test -z "$GCOV"; then
5958 as_fn_error $? "needs gcov for code coverage" "$LINENO" 5
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 printf %s "checking for $ac_word... " >&6; }
5968 if test -n "$LCOV"; then
5972 for as_dir in $PATH
5980 for ac_exec_ext in '' $ac_executable_extensions; do
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5993 if test -n "$LCOV"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998 printf "%s\n" "no" >&6; }
6002 if test -z "$LCOV"; then
6003 as_fn_error $? "needs lcov for code coverage" "$LINENO" 5
6006 CPPFLAGS="$CPPFLAGS -DNDEBUG"
6007 CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage"
6008 LIBS="$LIBS -lgcov"
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
6030 # arguments. Must try -L first in case configure is actually a
6035 am_has_slept=no
6036 for am_try in 1 2; do
6038 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
6040 # -L didn't work.
6041 set X `ls -t "$srcdir/configure" conftest.file`
6047 # if, for instance, CONFIG_SHELL is bash and it inherits a
6050 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
6053 if test "$2" = conftest.file || test $am_try -eq 2; then
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6071 # If we didn't sleep, we still need to ensure time stamps of config.status and
6074 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
6079 rm -f conftest.file
6096 if eval "$MISSING --is-lightweight"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
6107 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
6109 install_sh="\${SHELL} $am_aux_dir/install-sh"
6114 # run "make install-strip". However 'strip' might not be the right
6115 # tool to use in cross-compilation environments, therefore Automake
6117 if test "$cross_compiling" != no; then
6118 if test -n "$ac_tool_prefix"; then
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 printf %s "checking for $ac_word... " >&6; }
6127 if test -n "$STRIP"; then
6131 for as_dir in $PATH
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6152 if test -n "$STRIP"; then
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 printf "%s\n" "no" >&6; }
6162 if test -z "$ac_cv_prog_STRIP"; then
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6167 printf %s "checking for $ac_word... " >&6; }
6172 if test -n "$ac_ct_STRIP"; then
6176 for as_dir in $PATH
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6197 if test -n "$ac_ct_STRIP"; then
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 printf "%s\n" "no" >&6; }
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6221 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
6225 printf %s "checking for a race-free mkdir -p... " >&6; }
6226 if test -z "$MKDIR_P"; then
6232 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6240 for ac_prog in mkdir gmkdir; do
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6243 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
6257 test -d ./--version && rmdir ./--version
6259 MKDIR_P="$ac_cv_path_mkdir -p"
6262 # value for MKDIR_P within a source directory, because that will
6265 MKDIR_P="$ac_install_sh -d"
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6271 for ac_prog in gawk mawk nawk awk
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 printf %s "checking for $ac_word... " >&6; }
6281 if test -n "$AWK"; then
6285 for as_dir in $PATH
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6306 if test -n "$AWK"; then
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311 printf "%s\n" "no" >&6; }
6315 test -n "$AWK" && break
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6319 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6320 set x ${MAKE-make}
6321 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6332 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6336 eval ac_cv_prog_make_${ac_make}_set=no;;
6338 rm -f conftest.make
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6346 printf "%s\n" "no" >&6; }
6347 SET_MAKE="MAKE=${MAKE-make}"
6350 rm -rf .tst 2>/dev/null
6352 if test -d .tst; then
6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include di…
6364 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
6376 _am_result=no
6377 for s in GNU BSD; do
6378 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
6379 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
6399 rm -f confinc.* confmf.*
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
6403 # Check whether --enable-dependency-tracking was given.
6423 ## --------------------------------------- ##
6425 ## --------------------------------------- ##
6428 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6429 # is not polluted with repeated "-I."
6430 am__isrc=' -I$(srcdir)'
6432 if test -f $srcdir/config.status; then
6438 if test -z "$CYGPATH_W"; then
6439 if (cygpath --version) >/dev/null 2>/dev/null; then
6440 CYGPATH_W='cygpath -w'
6449 VERSION='-'
6459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6473 # For better backward compatibility. To be removed once Automake 1.9.x
6474 # dies out for good. For more background, see:
6475 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6476 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6479 # We need awk for the "check" target (and possibly the TAP driver). The
6481 # Always define AMTAR for backward compatibility. Yes, it's still used
6482 # in the wild :-( We should find a proper way to deprecate it ...
6483 AMTAR='$${TAR-tar}'
6489 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6503 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6505 # making bogus files that we don't know about and never remove. For
6506 # instance it was reported that on HP-UX the gcc test will end up
6507 # making a dummy file named 'D' -- because '-MD' means "put the output
6509 rm -rf conftest.dir
6516 # it helps to detect inapplicable dependency modes. For instance
6517 # both Tru64's cc and ICC support -MD to output dependencies as a
6525 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6529 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6532 for depmode in $am_compiler_list; do
6537 # We need to recreate these files for each test, as the compiler may
6541 for i in 1 2 3 4 5 6; do
6549 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6551 # handle '-M -o', and we need to detect this. Also, some Intel
6553 am__obj=sub/conftest.${OBJEXT-o}
6554 am__minus_obj="-o $am__obj"
6561 # After this tag, mechanisms are not by side-effect, so they'll
6570 # This compiler won't grok '-c -o', but also, the minuso test has
6573 am__obj=conftest.${OBJEXT-o}
6581 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6586 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6588 # or remarks (even with -Werror). So we grep stderr for any message
6590 # When given -MP, icc 7.0 and 7.1 complain thusly:
6591 # icc: Command line warning: ignoring option '-M'; no argument required
6593 # icc: Command line remark: option '-MP' not supported
6603 rm -rf conftest.dir
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6624 # Variables for tags utilities; see am/tags.am
6625 if test -z "$CTAGS"; then
6629 if test -z "$ETAGS"; then
6633 if test -z "$CSCOPE"; then
6639 # POSIX will say in a future version that running "rm -f" with no argument
6647 if rm -f && rm -fr && rm -rf; then : OK; else
6652 on the command line, even when the '-f' option is present. This is contrary
6656 Please tell bug-automake@gnu.org about your system, including the value
6674 to "yes", and re-run configure.
6681 ## ------------------------------------- ##
6683 ## ------------------------------------- ##
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
6693 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
6697 PKGADD_NAME="curl - a client that groks URLs"
6703 …curl_ssl_msg="no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,secure-transport,amissl,bea…
6704 curl_ssh_msg="no (--with-{libssh,libssh2})"
6705 curl_zlib_msg="no (--with-zlib)"
6706 curl_brotli_msg="no (--with-brotli)"
6707 curl_zstd_msg="no (--with-zstd)"
6708 curl_gss_msg="no (--with-gssapi)"
6709 curl_gsasl_msg="no (--with-gsasl)"
6710 curl_tls_srp_msg="no (--enable-tls-srp)"
6711 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
6712 curl_ipv6_msg="no (--enable-ipv6)"
6713 curl_unix_sockets_msg="no (--enable-unix-sockets)"
6714 curl_idn_msg="no (--with-{libidn2,winidn})"
6715 curl_docs_msg="enabled (--disable-docs)"
6716 curl_manual_msg="no (--enable-manual)"
6717 curl_libcurl_msg="enabled (--disable-libcurl-option)"
6718 curl_verbose_msg="enabled (--disable-verbose)"
6719 curl_sspi_msg="no (--enable-sspi)"
6720 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
6721 curl_ldaps_msg="no (--enable-ldaps)"
6722 curl_rtsp_msg="no (--enable-rtsp)"
6723 curl_rtmp_msg="no (--with-librtmp)"
6724 curl_psl_msg="no (--with-libpsl)"
6725 curl_altsvc_msg="enabled (--disable-alt-svc)"
6726 curl_headers_msg="enabled (--disable-headers-api)"
6727 curl_hsts_msg="enabled (--disable-hsts)"
6728 curl_ws_msg="no (--enable-websockets)"
6731 curl_h2_msg="no (--with-nghttp2)"
6732 …curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh…
6740 compilersh="run-compiler"
6753 OPT_SCHANNEL=no
6755 # Check whether --with-schannel was given.
6763 OPT_SECURETRANSPORT=no
6765 # Check whether --with-secure-transport was given.
6770 TLSCHOICE="${TLSCHOICE:+$TLSCHOICE, }Secure-Transport"
6775 OPT_AMISSL=no
6777 # Check whether --with-amissl was given.
6787 OPT_OPENSSL=no
6788 ca="no"
6790 # Check whether --with-ssl was given.
6806 # Check whether --with-openssl was given.
6818 OPT_GNUTLS=no
6820 # Check whether --with-gnutls was given.
6832 OPT_MBEDTLS=no
6834 # Check whether --with-mbedtls was given.
6846 OPT_WOLFSSL=no
6848 # Check whether --with-wolfssl was given.
6860 OPT_BEARSSL=no
6862 # Check whether --with-bearssl was given.
6874 OPT_RUSTLS=no
6876 # Check whether --with-rustls was given.
6891 # Check whether --with-test-nghttpx was given.
6905 # Check whether --with-test-caddy was given.
6919 # Check whether --with-test-vsftpd was given.
6933 # Check whether --with-test-httpd was given.
6941 if test x"$request_httpd" = "xcheck" -o x"$request_httpd" = "xyes"; then
6942 if test -x "/usr/sbin/apache2" -a -x "/usr/sbin/apache2ctl"; then
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 printf %s "checking for $ac_word... " >&6; }
6960 for as_dir in $PATH
6968 for ac_exec_ext in '' $ac_executable_extensions; do
6971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6982 if test -n "$APXS"; then
6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 printf "%s\n" "no" >&6; }
6992 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apache2-dev not installed, httpd tests disabled" >&5
6993 printf "%s\n" "$as_me: apache2-dev not installed, httpd tests disabled" >&6;}
6994 HTTPD_ENABLED="no"
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7000 printf %s "checking for $ac_word... " >&6; }
7011 for as_dir in $PATH
7019 for ac_exec_ext in '' $ac_executable_extensions; do
7022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7033 if test -n "$HTTPD"; then
7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
7037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7038 printf "%s\n" "no" >&6; }
7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 printf %s "checking for $ac_word... " >&6; }
7057 for as_dir in $PATH
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7079 if test -n "$HTTPD"; then
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 printf "%s\n" "no" >&6; }
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7092 printf %s "checking for $ac_word... " >&6; }
7103 for as_dir in $PATH
7111 for ac_exec_ext in '' $ac_executable_extensions; do
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7125 if test -n "$APACHECTL"; then
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APACHECTL" >&5
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 printf "%s\n" "no" >&6; }
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 printf %s "checking for $ac_word... " >&6; }
7148 for as_dir in $PATH
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7170 if test -n "$APXS"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 printf "%s\n" "no" >&6; }
7179 if test "x$HTTPD" = "x" -o "x$APACHECTL" = "x"; then
7180 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd/apache2 not in PATH, http tests disabled" >&5
7182 HTTPD_ENABLED="no"
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not in PATH, http tests disabled" >&5
7187 HTTPD_ENABLED="no"
7194 if test ! -x "${HTTPD}"; then
7195 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd not found as ${HTTPD}, http tests disabled" >&5
7197 HTTPD_ENABLED="no"
7198 elif test ! -x "${APACHECTL}"; then
7199 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: apachectl not found as ${APACHECTL}, http tests disa…
7201 HTTPD_ENABLED="no"
7202 elif test ! -x "${APXS}"; then
7203 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not found as ${APXS}, http tests disabled" >&5
7205 HTTPD_ENABLED="no"
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using HTTPD=$HTTPD for tests" >&5
7208 printf "%s\n" "$as_me: using HTTPD=$HTTPD for tests" >&6;}
7220 if test "x$TEST_NGHTTPX" != "x" -a "x$TEST_NGHTTPX" != "xnghttpx"; then
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 printf %s "checking for $ac_word... " >&6; }
7238 for as_dir in $as_dummy
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7260 if test -n "$HTTPD_NGHTTPX"; then
7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD_NGHTTPX" >&5
7264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 printf "%s\n" "no" >&6; }
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7278 printf %s "checking for $ac_word... " >&6; }
7289 for as_dir in $PATH
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7311 if test -n "$CADDY"; then
7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CADDY" >&5
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 printf "%s\n" "no" >&6; }
7323 if test -z "$TLSCHOICE"; then
7325 as_fn_error $? "select TLS backend(s) or disable TLS with --without-ssl.
7329 --with-amissl
7330 --with-bearssl
7331 --with-gnutls
7332 --with-mbedtls
7333 --with-openssl (also works for BoringSSL and libressl)
7334 --with-rustls
7335 --with-schannel
7336 --with-secure-transport
7337 --with-wolfssl
7343 # Check whether --with-darwinssl was given.
7346 …withval=$with_darwinssl; as_fn_error $? "--with-darwin-ssl and --without-darwin-ssl no longer work…
7353 # Make sure we can run config.sub.
7354 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
7355 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7365 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
7368 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
7369 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7375 *-*-*) ;;
7379 ac_save_IFS=$IFS; IFS='-'
7389 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7401 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
7402 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7409 *-*-*) ;;
7413 ac_save_IFS=$IFS; IFS='-'
7423 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7436 printf %s "checking for grep that handles long lines and -e... " >&6; }
7441 if test -z "$GREP"; then
7443 # Loop through the user's path and test for each of PROGNAME-LIST
7445 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7453 for ac_prog in grep ggrep
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7458 # Check for GNU ac_path_GREP and select it if it is found.
7459 # Check for GNU $ac_path_GREP
7460 case `"$ac_path_GREP" --version 2>&1` in
7472 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
7475 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7476 # Best one so far, save it but keep looking for a better one
7481 test $ac_count -gt 10 && break
7483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7491 if test -z "$ac_cv_path_GREP"; then
7492 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7505 printf %s "checking for egrep... " >&6; }
7510 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7511 then ac_cv_path_EGREP="$GREP -E"
7513 if test -z "$EGREP"; then
7515 # Loop through the user's path and test for each of PROGNAME-LIST
7517 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7525 for ac_prog in egrep
7527 for ac_exec_ext in '' $ac_executable_extensions; do
7530 # Check for GNU ac_path_EGREP and select it if it is found.
7531 # Check for GNU $ac_path_EGREP
7532 case `"$ac_path_EGREP" --version 2>&1` in
7547 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7548 # Best one so far, save it but keep looking for a better one
7553 test $ac_count -gt 10 && break
7555 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7563 if test -z "$ac_cv_path_EGREP"; then
7564 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7579 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7601 printf "%s\n" "no" >&6; }
7604 rm -rf conftest*
7610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 printf "%s\n" "no" >&6; }
7642 tmp_thread_safe_initially_defined="no"
7645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7647 if test "$tmp_thread_safe_initially_defined" = "no"; then
7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
7653 tmp_need_thread_safe="no"
7659 tmp_need_thread_safe="no"
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 printf "%s\n" "no" >&6; }
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 printf "%s\n" "no" >&6; }
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727 printf "%s\n" "no" >&6; }
7728 tmp_reentrant_initially_defined="no"
7731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7733 if test "$tmp_reentrant_initially_defined" = "no"; then
7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
7742 tmp_need_reentrant="no"
7746 if test "$tmp_need_reentrant" = "no"; then
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 tmp_errno="no"
7775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7839 if test "$tmp_need_reentrant" = "no"; then
7841 if test "$tmp_need_reentrant" = "no"; then
7843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7877 tmp_gmtime_r="no"
7880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7914 rm -rf conftest*
7918 rm -rf conftest*
7923 if test "$tmp_need_reentrant" = "no"; then
7925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 tmp_localtime_r="no"
7962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996 rm -rf conftest*
8000 rm -rf conftest*
8005 if test "$tmp_need_reentrant" = "no"; then
8007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8041 tmp_strerror_r="no"
8044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 rm -rf conftest*
8082 rm -rf conftest*
8087 if test "$tmp_need_reentrant" = "no"; then
8089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8123 tmp_strtok_r="no"
8126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 rm -rf conftest*
8164 rm -rf conftest*
8169 if test "$tmp_need_reentrant" = "no"; then
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 tmp_gethostbyname_r="no"
8208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 rm -rf conftest*
8246 rm -rf conftest*
8251 if test "$tmp_need_reentrant" = "no"; then
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8287 tmp_getprotobyname_r="no"
8290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 rm -rf conftest*
8328 rm -rf conftest*
8336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 printf "%s\n" "no" >&6; }
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8362 printf "%s\n" "no" >&6; }
8367 # Check whether --enable-largefile was given.
8373 if test "$enable_largefile" != no; then
8375 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for l…
8376 printf %s "checking for special C compiler options needed for large files... " >&6; }
8381 ac_cv_sys_largefile_CC=no
8386 # so use the C compiler's -n32 option if that helps.
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* Check that off_t can represent 2**63 - 1 correctly.
8394 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8397 ? 1 : -1];
8409 rm -f core conftest.err conftest.$ac_objext conftest.beam
8410 CC="$CC -n32"
8413 ac_cv_sys_largefile_CC=' -n32'; break
8415 rm -f core conftest.err conftest.$ac_objext conftest.beam
8419 rm -f conftest.$ac_ext
8422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8424 if test "$ac_cv_sys_largefile_CC" != no; then
8428 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for larg…
8429 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8438 /* Check that off_t can represent 2**63 - 1 correctly.
8442 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8445 ? 1 : -1];
8455 ac_cv_sys_file_offset_bits=no; break
8457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* Check that off_t can represent 2**63 - 1 correctly.
8466 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8469 ? 1 : -1];
8481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8489 no | unknown) ;;
8494 rm -rf conftest*
8496 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large fil…
8497 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* Check that off_t can represent 2**63 - 1 correctly.
8510 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8513 ? 1 : -1];
8523 ac_cv_sys_large_files=no; break
8525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* Check that off_t can represent 2**63 - 1 correctly.
8534 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8537 ? 1 : -1];
8549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8557 no | unknown) ;;
8562 rm -rf conftest*
8569 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace …
8594 # double-quoted strings.
8614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8617 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8618 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8619 ECHO='print -r --'
8634 # Invoke $ECHO with all args, space-separated.
8641 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8643 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8644 printf "%s\n" "print -r" >&6; } ;;
8645 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8663 printf %s "checking for a sed that does not truncate output... " >&6; }
8669 for ac_i in 1 2 3 4 5 6 7; do
8674 if test -z "$SED"; then
8676 # Loop through the user's path and test for each of PROGNAME-LIST
8678 for as_dir in $PATH
8686 for ac_prog in sed gsed
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8691 # Check for GNU ac_path_SED and select it if it is found.
8692 # Check for GNU $ac_path_SED
8693 case `"$ac_path_SED" --version 2>&1` in
8705 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8708 if test $ac_count -gt ${ac_path_SED_max-0}; then
8709 # Best one so far, save it but keep looking for a better one
8714 test $ac_count -gt 10 && break
8716 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8724 if test -z "$ac_cv_path_SED"; then
8725 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8735 rm -f conftest.sed
8737 test -z "$SED" && SED=sed
8738 Xsed="$SED -e 1s/^X//"
8750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8751 printf %s "checking for fgrep... " >&6; }
8756 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8757 then ac_cv_path_FGREP="$GREP -F"
8759 if test -z "$FGREP"; then
8761 # Loop through the user's path and test for each of PROGNAME-LIST
8763 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8771 for ac_prog in fgrep
8773 for ac_exec_ext in '' $ac_executable_extensions; do
8776 # Check for GNU ac_path_FGREP and select it if it is found.
8777 # Check for GNU $ac_path_FGREP
8778 case `"$ac_path_FGREP" --version 2>&1` in
8793 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8794 # Best one so far, save it but keep looking for a better one
8799 test $ac_count -gt 10 && break
8801 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8809 if test -z "$ac_cv_path_FGREP"; then
8810 …as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
8818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8823 test -z "$GREP" && GREP=grep
8843 # Check whether --with-gnu-ld was given.
8846 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
8848 with_gnu_ld=no
8853 # Check if gcc -print-prog-name=ld gives a path.
8854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8855 printf %s "checking for ld used by $CC... " >&6; }
8857 *-*-mingw*)
8859 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8861 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8872 test -z "$LD" && LD=$ac_prog
8879 # If it is relative, then search for the first ld in PATH.
8884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8885 printf %s "checking for GNU ld... " >&6; }
8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8888 printf %s "checking for non-GNU ld... " >&6; }
8894 if test -z "$LD"; then
8896 for ac_dir in $PATH; do
8898 test -z "$ac_dir" && ac_dir=.
8899 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8901 # Check to see if the program is GNU ld. I'd rather use --version,
8902 # but apparently some variants of GNU ld only accept -v.
8903 # Break only if it was the GNU/non-GNU ld that we prefer.
8904 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8906 test no != "$with_gnu_ld" && break
8921 if test -n "$LD"; then
8922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 printf "%s\n" "no" >&6; }
8928 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8935 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8936 case `$LD -v 2>&1 </dev/null` in
8941 lt_cv_prog_gnu_ld=no
8945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" …
8958 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8963 if test -n "$NM"; then
8968 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8971 for lt_tmp_nm in $lt_nm_to_check; do
8973 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8975 test -z "$ac_dir" && ac_dir=.
8977 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8978 # Check to see if the nm accepts a BSD-compat flag.
8979 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8987 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
8989 lt_cv_path_NM="$tmp_nm -B"
8993 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
8995 lt_cv_path_NM="$tmp_nm -p"
9009 : ${lt_cv_path_NM=no}
9012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
9014 if test no != "$lt_cv_path_NM"; then
9017 # Didn't find any BSD compatible name lister, look for dumpbin.
9018 if test -n "$DUMPBIN"; then :
9021 if test -n "$ac_tool_prefix"; then
9022 for ac_prog in dumpbin "link -dump"
9026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9027 printf %s "checking for $ac_word... " >&6; }
9032 if test -n "$DUMPBIN"; then
9036 for as_dir in $PATH
9044 for ac_exec_ext in '' $ac_executable_extensions; do
9047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9057 if test -n "$DUMPBIN"; then
9058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062 printf "%s\n" "no" >&6; }
9066 test -n "$DUMPBIN" && break
9069 if test -z "$DUMPBIN"; then
9071 for ac_prog in dumpbin "link -dump"
9075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9076 printf %s "checking for $ac_word... " >&6; }
9081 if test -n "$ac_ct_DUMPBIN"; then
9085 for as_dir in $PATH
9093 for ac_exec_ext in '' $ac_executable_extensions; do
9096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9106 if test -n "$ac_ct_DUMPBIN"; then
9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9111 printf "%s\n" "no" >&6; }
9115 test -n "$ac_ct_DUMPBIN" && break
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9131 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
9133 DUMPBIN="$DUMPBIN -symbols -headers"
9145 test -z "$NM" && NM=nm
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9171 rm -f conftest*
9173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9177 printf %s "checking whether ln -s works... " >&6; }
9179 if test "$LN_S" = "ln -s"; then
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9184 printf "%s\n" "no, using $LN_S" >&6; }
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments…
9208 # no limit to the length of command line arguments.
9209 # Libtool will interpret -1 as no limit whatsoever
9210 lt_cv_sys_max_cmd_len=-1;
9214 # On Win9x/ME, this test blows up -- it succeeds, but takes
9216 # Worse, since 9x/ME are not pre-emptively multitasking,
9237 if test -x /sbin/sysctl; then
9238 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9239 elif test -x /usr/sbin/sysctl; then
9240 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9242 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9266 if test -x /sbin/sysconfig; then
9267 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9268 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9277 if test -n "$kargmax"; then
9285 if test -n "$lt_cv_sys_max_cmd_len" && \
9292 for i in 1 2 3 4 5 6 7 8; do
9295 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9296 # If test is not a shell built-in, we'll probably end up computing a
9319 if test -n "$lt_cv_sys_max_cmd_len"; then
9320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
9333 : ${CP="cp -f"}
9334 : ${MV="mv -f"}
9335 : ${RM="rm -f"}
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host fo…
9375 *-*-mingw* )
9377 *-*-mingw* ) # actually msys
9380 *-*-cygwin* )
9388 *-*-cygwin* )
9390 *-*-mingw* ) # actually msys
9393 *-*-cygwin* )
9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchai…
9425 *-*-mingw* )
9427 *-*-mingw* ) # actually msys
9437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9445 printf %s "checking for $LD option to reload object files... " >&6; }
9450 lt_cv_ld_reload_flag='-r'
9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9459 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9468 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9470 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9483 if test -n "$ac_tool_prefix"; then
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9487 printf %s "checking for $ac_word... " >&6; }
9492 if test -n "$FILECMD"; then
9496 for as_dir in $PATH
9504 for ac_exec_ext in '' $ac_executable_extensions; do
9507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9517 if test -n "$FILECMD"; then
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9522 printf "%s\n" "no" >&6; }
9527 if test -z "$ac_cv_prog_FILECMD"; then
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9532 printf %s "checking for $ac_word... " >&6; }
9537 if test -n "$ac_ct_FILECMD"; then
9541 for as_dir in $PATH
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9562 if test -n "$ac_ct_FILECMD"; then
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9567 printf "%s\n" "no" >&6; }
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9591 if test -n "$ac_tool_prefix"; then
9594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9595 printf %s "checking for $ac_word... " >&6; }
9600 if test -n "$OBJDUMP"; then
9604 for as_dir in $PATH
9612 for ac_exec_ext in '' $ac_executable_extensions; do
9615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9625 if test -n "$OBJDUMP"; then
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9630 printf "%s\n" "no" >&6; }
9635 if test -z "$ac_cv_prog_OBJDUMP"; then
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9640 printf %s "checking for $ac_word... " >&6; }
9645 if test -n "$ac_ct_OBJDUMP"; then
9649 for as_dir in $PATH
9657 for ac_exec_ext in '' $ac_executable_extensions; do
9660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9670 if test -n "$ac_ct_OBJDUMP"; then
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 printf "%s\n" "no" >&6; }
9683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9693 test -z "$OBJDUMP" && OBJDUMP=objdump
9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9711 # 'none' -- dependencies not supported.
9712 # 'unknown' -- same as none, but documents that we really don't know.
9713 # 'pass_all' -- all dependencies passed with no checks.
9714 # 'test_compile' -- check by making test program.
9715 # 'file_magic [[regex]]' -- check by looking for files in library path
9721 aix[4-9]*)
9730 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9731 lt_cv_file_magic_cmd='$FILECMD -L'
9744 # unless we find 'file', for example because we are cross-compiling.
9750 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
9751 lt_cv_file_magic_cmd='$OBJDUMP -f'
9757 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9758 lt_cv_file_magic_cmd='$OBJDUMP -f'
9766 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9771 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
9789 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9793 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
9797 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9803 interix[3-9]*)
9810 *-32|*"-32 ") libmagic=32-bit;;
9811 *-n32|*"-n32 ") libmagic=N32;;
9812 *-64|*"-64 ") libmagic=64-bit;;
9813 *) libmagic=never-match;;
9819 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9823 netbsd* | netbsdelf*-gnu)
9824 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9832 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9842 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9843 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9845 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9868 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-
9876 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9880 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9905 want_nocaseglob=no
9912 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
9920 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9943 if test -n "$ac_tool_prefix"; then
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9947 printf %s "checking for $ac_word... " >&6; }
9952 if test -n "$DLLTOOL"; then
9956 for as_dir in $PATH
9964 for ac_exec_ext in '' $ac_executable_extensions; do
9967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9977 if test -n "$DLLTOOL"; then
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9982 printf "%s\n" "no" >&6; }
9987 if test -z "$ac_cv_prog_DLLTOOL"; then
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9992 printf %s "checking for $ac_word... " >&6; }
9997 if test -n "$ac_ct_DLLTOOL"; then
10001 for as_dir in $PATH
10009 for ac_exec_ext in '' $ac_executable_extensions; do
10012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10022 if test -n "$ac_ct_DLLTOOL"; then
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10027 printf "%s\n" "no" >&6; }
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10045 test -z "$DLLTOOL" && DLLTOOL=dlltool
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries"…
10065 case `$DLLTOOL --help 2>&1` in
10066 *--identify-strict*)
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10084 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10092 if test -n "$ac_tool_prefix"; then
10093 for ac_prog in ar
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10098 printf %s "checking for $ac_word... " >&6; }
10103 if test -n "$AR"; then
10107 for as_dir in $PATH
10115 for ac_exec_ext in '' $ac_executable_extensions; do
10118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10128 if test -n "$AR"; then
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10133 printf "%s\n" "no" >&6; }
10137 test -n "$AR" && break
10140 if test -z "$AR"; then
10142 for ac_prog in ar
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10147 printf %s "checking for $ac_word... " >&6; }
10152 if test -n "$ac_ct_AR"; then
10156 for as_dir in $PATH
10164 for ac_exec_ext in '' $ac_executable_extensions; do
10167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10177 if test -n "$ac_ct_AR"; then
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10182 printf "%s\n" "no" >&6; }
10186 test -n "$ac_ct_AR" && break
10194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10212 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
10215 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
10223 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
10232 printf %s "checking for archiver @FILE support... " >&6; }
10237 lt_cv_ar_at_file=no
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10257 if test 0 -eq "$ac_status"; then
10259 rm -f conftest.$ac_objext libconftest.a
10260 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10265 if test 0 -ne "$ac_status"; then
10269 rm -f conftest.* libconftest.a
10272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10278 if test no = "$lt_cv_ar_at_file"; then
10290 if test -n "$ac_tool_prefix"; then
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10294 printf %s "checking for $ac_word... " >&6; }
10299 if test -n "$STRIP"; then
10303 for as_dir in $PATH
10311 for ac_exec_ext in '' $ac_executable_extensions; do
10314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10324 if test -n "$STRIP"; then
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10329 printf "%s\n" "no" >&6; }
10334 if test -z "$ac_cv_prog_STRIP"; then
10338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10339 printf %s "checking for $ac_word... " >&6; }
10344 if test -n "$ac_ct_STRIP"; then
10348 for as_dir in $PATH
10356 for ac_exec_ext in '' $ac_executable_extensions; do
10359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10369 if test -n "$ac_ct_STRIP"; then
10370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10374 printf "%s\n" "no" >&6; }
10382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10392 test -z "$STRIP" && STRIP=:
10399 if test -n "$ac_tool_prefix"; then
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10403 printf %s "checking for $ac_word... " >&6; }
10408 if test -n "$RANLIB"; then
10412 for as_dir in $PATH
10420 for ac_exec_ext in '' $ac_executable_extensions; do
10423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10433 if test -n "$RANLIB"; then
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10438 printf "%s\n" "no" >&6; }
10443 if test -z "$ac_cv_prog_RANLIB"; then
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10448 printf %s "checking for $ac_word... " >&6; }
10453 if test -n "$ac_ct_RANLIB"; then
10457 for as_dir in $PATH
10465 for ac_exec_ext in '' $ac_executable_extensions; do
10468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10478 if test -n "$ac_ct_RANLIB"; then
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10483 printf "%s\n" "no" >&6; }
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10501 test -z "$RANLIB" && RANLIB=:
10508 # Determine commands to create old-style static archives.
10513 if test -n "$RANLIB"; then
10516 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10529 lock_old_archive_extraction=no ;;
10570 # If no C compiler was specified, use CC.
10571 LTCC=${LTCC-"$CC"}
10573 # If no C compiler flags were specified, use CFLAGS.
10574 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10580 # Check for command to grab the raw symbol name followed by C symbol from nm.
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler o…
10595 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10597 # Define system-specific variables.
10634 case `$NM -V 2>&1` in
10641 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
10643 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10644 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
10646 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
10647 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
10659 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
10661 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
10662 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
10665 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
10667 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10668 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
10672 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
10674 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10675 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
10676 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
10687 for ac_symprfx in "" "_"; do
10694 # Fake it for dumpbin and say T for any non-static function,
10695 # D for any global variable and I for any imported variable.
10700 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10714 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympa…
10719 pipe_works=no
10721 rm -f conftest*
10735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10743 …if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$n…
10746 mv -f "$nlist"T "$nlist"
10748 rm -f "$nlist"T
10758 relocations are performed -- see ld's documentation on pseudo-relocs. */
10773 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10786 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
10808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10812 test $ac_status = 0; } && test -s conftest$ac_exeext; then
10830 rm -rf conftest* conftst*
10842 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10845 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10856 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10897 printf %s "checking for sysroot... " >&6; }
10899 # Check whether --with-sysroot was given.
10904 with_sysroot=no
10912 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10916 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
10918 no|'')
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10928 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10935 printf %s "checking for a working dd... " >&6; }
10943 if test -z "$lt_DD"; then
10945 # Loop through the user's path and test for each of PROGNAME-LIST
10947 for as_dir in $PATH
10955 for ac_prog in dd
10957 for ac_exec_ext in '' $ac_executable_extensions; do
10961 cmp -s conftest.i conftest.out \
10969 if test -z "$ac_cv_path_lt_DD"; then
10976 rm -f conftest.i conftest2.i conftest.out
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10992 cmp -s conftest.i conftest.out \
10995 rm -f conftest.i conftest2.i conftest.out
10996 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
11007 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
11010 for cc_temp in $*""; do
11014 \-*) ;;
11018 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11021 # Check whether --enable-libtool-lock was given.
11027 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
11029 # Some flags need to be propagated to the compiler or linker for good
11032 ia64-*-hpux*)
11036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11042 *ELF-32*)
11045 *ELF-64*)
11050 rm -rf conftest*
11052 *-*-irix6*)
11056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11063 *32-bit*)
11064 LD="${LD-ld} -melf32bsmip"
11067 LD="${LD-ld} -melf32bmipn32"
11069 *64-bit*)
11070 LD="${LD-ld} -melf64bmip"
11075 *32-bit*)
11076 LD="${LD-ld} -32"
11079 LD="${LD-ld} -n32"
11081 *64-bit*)
11082 LD="${LD-ld} -64"
11087 rm -rf conftest*
11090 mips64*-*linux*)
11094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11101 *32-bit*)
11104 *64-bit*)
11121 LD="${LD-ld} -m $emul"
11123 rm -rf conftest*
11126 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
11127 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11131 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
11132 # vice versa); the common cases where no linker options are needed do
11135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11141 *32-bit*)
11143 x86_64-*kfreebsd*-gnu)
11144 LD="${LD-ld} -m elf_i386_fbsd"
11146 x86_64-*linux*)
11148 *x86-64*)
11149 LD="${LD-ld} -m elf32_x86_64"
11152 LD="${LD-ld} -m elf_i386"
11156 powerpc64le-*linux*)
11157 LD="${LD-ld} -m elf32lppclinux"
11159 powerpc64-*linux*)
11160 LD="${LD-ld} -m elf32ppclinux"
11162 s390x-*linux*)
11163 LD="${LD-ld} -m elf_s390"
11165 sparc64-*linux*)
11166 LD="${LD-ld} -m elf32_sparc"
11170 *64-bit*)
11172 x86_64-*kfreebsd*-gnu)
11173 LD="${LD-ld} -m elf_x86_64_fbsd"
11175 x86_64-*linux*)
11176 LD="${LD-ld} -m elf_x86_64"
11178 powerpcle-*linux*)
11179 LD="${LD-ld} -m elf64lppc"
11181 powerpc-*linux*)
11182 LD="${LD-ld} -m elf64ppc"
11184 s390*-*linux*|s390*-*tpf*)
11185 LD="${LD-ld} -m elf64_s390"
11187 sparc*-*linux*)
11188 LD="${LD-ld} -m elf64_sparc"
11194 rm -rf conftest*
11197 *-*-sco3.2v5*)
11198 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11200 CFLAGS="$CFLAGS -belf"
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11202 printf %s "checking whether the C compiler needs -belf... " >&6; }
11208 ac_cpp='$CPP $CPPFLAGS'
11209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 lt_cv_cc_needs_belf=no
11229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11232 ac_cpp='$CPP $CPPFLAGS'
11233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
11241 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11245 *-*solaris*)
11249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11255 *64-bit*)
11259 i?86-*-solaris*|x86_64-*-solaris*)
11260 LD="${LD-ld} -m elf_x86_64"
11262 sparc*-*-solaris*)
11263 LD="${LD-ld} -m elf64_sparc"
11267 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
11268 LD=${LD-ld}_sol2
11272 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11273 LD="${LD-ld} -64"
11280 rm -rf conftest*
11286 if test -n "$ac_tool_prefix"; then
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11290 printf %s "checking for $ac_word... " >&6; }
11295 if test -n "$MANIFEST_TOOL"; then
11299 for as_dir in $PATH
11307 for ac_exec_ext in '' $ac_executable_extensions; do
11310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11320 if test -n "$MANIFEST_TOOL"; then
11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11325 printf "%s\n" "no" >&6; }
11330 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11335 printf %s "checking for $ac_word... " >&6; }
11340 if test -n "$ac_ct_MANIFEST_TOOL"; then
11344 for as_dir in $PATH
11352 for ac_exec_ext in '' $ac_executable_extensions; do
11355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11365 if test -n "$ac_ct_MANIFEST_TOOL"; then
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11370 printf "%s\n" "no" >&6; }
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11388 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11395 lt_cv_path_mainfest_tool=no
11396 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11397 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11402 rm -f conftest*
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11417 if test -n "$ac_tool_prefix"; then
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11421 printf %s "checking for $ac_word... " >&6; }
11426 if test -n "$DSYMUTIL"; then
11430 for as_dir in $PATH
11438 for ac_exec_ext in '' $ac_executable_extensions; do
11441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11451 if test -n "$DSYMUTIL"; then
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11456 printf "%s\n" "no" >&6; }
11461 if test -z "$ac_cv_prog_DSYMUTIL"; then
11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11466 printf %s "checking for $ac_word... " >&6; }
11471 if test -n "$ac_ct_DSYMUTIL"; then
11475 for as_dir in $PATH
11483 for ac_exec_ext in '' $ac_executable_extensions; do
11486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11496 if test -n "$ac_ct_DSYMUTIL"; then
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11501 printf "%s\n" "no" >&6; }
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11519 if test -n "$ac_tool_prefix"; then
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11523 printf %s "checking for $ac_word... " >&6; }
11528 if test -n "$NMEDIT"; then
11532 for as_dir in $PATH
11540 for ac_exec_ext in '' $ac_executable_extensions; do
11543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11553 if test -n "$NMEDIT"; then
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 printf "%s\n" "no" >&6; }
11563 if test -z "$ac_cv_prog_NMEDIT"; then
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11568 printf %s "checking for $ac_word... " >&6; }
11573 if test -n "$ac_ct_NMEDIT"; then
11577 for as_dir in $PATH
11585 for ac_exec_ext in '' $ac_executable_extensions; do
11588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11598 if test -n "$ac_ct_NMEDIT"; then
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603 printf "%s\n" "no" >&6; }
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11621 if test -n "$ac_tool_prefix"; then
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11625 printf %s "checking for $ac_word... " >&6; }
11630 if test -n "$LIPO"; then
11634 for as_dir in $PATH
11642 for ac_exec_ext in '' $ac_executable_extensions; do
11645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11655 if test -n "$LIPO"; then
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11660 printf "%s\n" "no" >&6; }
11665 if test -z "$ac_cv_prog_LIPO"; then
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11670 printf %s "checking for $ac_word... " >&6; }
11675 if test -n "$ac_ct_LIPO"; then
11679 for as_dir in $PATH
11687 for ac_exec_ext in '' $ac_executable_extensions; do
11690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11700 if test -n "$ac_ct_LIPO"; then
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11705 printf "%s\n" "no" >&6; }
11713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11723 if test -n "$ac_tool_prefix"; then
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11727 printf %s "checking for $ac_word... " >&6; }
11732 if test -n "$OTOOL"; then
11736 for as_dir in $PATH
11744 for ac_exec_ext in '' $ac_executable_extensions; do
11747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11757 if test -n "$OTOOL"; then
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11762 printf "%s\n" "no" >&6; }
11767 if test -z "$ac_cv_prog_OTOOL"; then
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11772 printf %s "checking for $ac_word... " >&6; }
11777 if test -n "$ac_ct_OTOOL"; then
11781 for as_dir in $PATH
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11802 if test -n "$ac_ct_OTOOL"; then
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11807 printf "%s\n" "no" >&6; }
11815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11825 if test -n "$ac_tool_prefix"; then
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11829 printf %s "checking for $ac_word... " >&6; }
11834 if test -n "$OTOOL64"; then
11838 for as_dir in $PATH
11846 for ac_exec_ext in '' $ac_executable_extensions; do
11849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11859 if test -n "$OTOOL64"; then
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11864 printf "%s\n" "no" >&6; }
11869 if test -z "$ac_cv_prog_OTOOL64"; then
11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11874 printf %s "checking for $ac_word... " >&6; }
11879 if test -n "$ac_ct_OTOOL64"; then
11883 for as_dir in $PATH
11891 for ac_exec_ext in '' $ac_executable_extensions; do
11894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11904 if test -n "$ac_ct_OTOOL64"; then
11905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11909 printf "%s\n" "no" >&6; }
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11954 printf %s "checking for -single_module linker flag... " >&6; }
11959 lt_cv_apple_cc_single_mod=no
11960 if test -z "$LT_MULTI_MODULE"; then
11961 # By default we will add the -single_module flag. You can override
11963 # non-empty at configure time, or by adding -multi_module to the
11965 rm -rf libconftest.dylib*
11967 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11968 -dynamiclib -Wl,-single_module conftest.c" >&5
11969 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11970 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11972 # If there is a non-empty error log, and "single_module"
11974 if test -s conftest.err && $GREP single_module conftest.err; then
11978 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11983 rm -rf libconftest.dylib*
11984 rm -f conftest.*
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11990 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11991 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11996 lt_cv_ld_exported_symbols_list=no
11999 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 lt_cv_ld_exported_symbols_list=no
12016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
12025 printf %s "checking for -force_load linker flag... " >&6; }
12030 lt_cv_ld_force_load=no
12034 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
12035 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
12043 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
12044 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
12046 if test -s conftest.err && $GREP force_load conftest.err; then
12048 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
12053 rm -f conftest.err libconftest.a conftest conftest.c
12054 rm -rf conftest.dSYM
12057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
12061 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
12063 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12066 10.[012],*|,*powerpc*-darwin[5-8]*)
12067 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12069 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
12077 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
12079 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
12081 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
12090 # -----------------------------------
12115 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
12116 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
12132 # ------------------------------------ #
12134 # ------------------------------------ #
12139 # require separate configuration and build runs for each flavor.
12150 xc_lt_want_enable_shared='no'
12155 xc_lt_want_enable_static='no'
12165 # and build runs for shared and static is to enable shared libraries
12166 # and disable static ones. On these systems option '--disable-shared'
12174 xc_lt_want_enable_static='no'
12189 # Default behavior is to build PIC objects for shared libraries and
12190 # non-PIC objects for static libraries.
12201 xc_lt_want_with_pic='no'
12210 # of non-PIC compiled objects will fail with following linker error
12212 # is to build PIC objects even for static libraries. This behavior may
12213 # be overridden using 'configure --disable-shared --without-pic'.
12236 ## ----------------------- ##
12238 ## ----------------------- ##
12247 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
12248 if test -n "$ac_tool_prefix"; then
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12252 printf %s "checking for $ac_word... " >&6; }
12257 if test -n "$AS"; then
12261 for as_dir in $PATH
12269 for ac_exec_ext in '' $ac_executable_extensions; do
12272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12282 if test -n "$AS"; then
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287 printf "%s\n" "no" >&6; }
12292 if test -z "$ac_cv_prog_AS"; then
12296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12297 printf %s "checking for $ac_word... " >&6; }
12302 if test -n "$ac_ct_AS"; then
12306 for as_dir in $PATH
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12327 if test -n "$ac_ct_AS"; then
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12332 printf "%s\n" "no" >&6; }
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12350 if test -n "$ac_tool_prefix"; then
12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12354 printf %s "checking for $ac_word... " >&6; }
12359 if test -n "$DLLTOOL"; then
12363 for as_dir in $PATH
12371 for ac_exec_ext in '' $ac_executable_extensions; do
12374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12384 if test -n "$DLLTOOL"; then
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12389 printf "%s\n" "no" >&6; }
12394 if test -z "$ac_cv_prog_DLLTOOL"; then
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12399 printf %s "checking for $ac_word... " >&6; }
12404 if test -n "$ac_ct_DLLTOOL"; then
12408 for as_dir in $PATH
12416 for ac_exec_ext in '' $ac_executable_extensions; do
12419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12429 if test -n "$ac_ct_DLLTOOL"; then
12430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12434 printf "%s\n" "no" >&6; }
12442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12452 if test -n "$ac_tool_prefix"; then
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12456 printf %s "checking for $ac_word... " >&6; }
12461 if test -n "$OBJDUMP"; then
12465 for as_dir in $PATH
12473 for ac_exec_ext in '' $ac_executable_extensions; do
12476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12486 if test -n "$OBJDUMP"; then
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12491 printf "%s\n" "no" >&6; }
12496 if test -z "$ac_cv_prog_OBJDUMP"; then
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12501 printf %s "checking for $ac_word... " >&6; }
12506 if test -n "$ac_ct_OBJDUMP"; then
12510 for as_dir in $PATH
12518 for ac_exec_ext in '' $ac_executable_extensions; do
12521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12531 if test -n "$ac_ct_OBJDUMP"; then
12532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536 printf "%s\n" "no" >&6; }
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12557 test -z "$AS" && AS=as
12563 test -z "$DLLTOOL" && DLLTOOL=dlltool
12569 test -z "$OBJDUMP" && OBJDUMP=objdump
12577 enable_dlopen=no
12581 # Check whether --enable-shared was given.
12584 enableval=$enable_shared; p=${PACKAGE-default}
12587 no) enable_shared=no ;;
12589 enable_shared=no
12592 for pkg in $enableval; do
12613 # Check whether --enable-static was given.
12616 enableval=$enable_static; p=${PACKAGE-default}
12619 no) enable_static=no ;;
12621 enable_static=no
12624 for pkg in $enableval; do
12646 # Check whether --with-pic was given.
12649 withval=$with_pic; lt_p=${PACKAGE-default}
12651 yes|no) pic_mode=$withval ;;
12656 for lt_pkg in $withval; do
12676 # Check whether --enable-fast-install was given.
12679 enableval=$enable_fast_install; p=${PACKAGE-default}
12682 no) enable_fast_install=no ;;
12684 enable_fast_install=no
12687 for pkg in $enableval; do
12709 power*-*-aix[5-9]*,yes)
12710 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning …
12713 # Check whether --with-aix-soname was given.
12720 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
12738 # For the AIX way of multilib, we name the shared archive member
12740 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
12741 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12743 if test 64 = "${OBJECT_MODE-32}"; then
12799 test -z "$LN_S" && LN_S="ln -s"
12814 if test -n "${ZSH_VERSION+set}"; then
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12819 printf %s "checking for objdir... " >&6; }
12824 rm -f .libs 2>/dev/null
12826 if test -d .libs; then
12829 # MS-DOS does not allow filenames that begin with a dot.
12834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
12849 # AIX sometimes has problems with the GCC collect2 program. For some
12863 # All known linkers require a '.a' archive for static linking (except MSVC and
12872 # Set sane defaults for various variables
12873 test -z "$CC" && CC=cc
12874 test -z "$LTCC" && LTCC=$CC
12875 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12876 test -z "$LD" && LD=ld
12877 test -z "$ac_objext" && ac_objext=o
12883 # Only perform the check for file, if the check method requires it
12884 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12889 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
12902 for ac_dir in $ac_dummy; do
12904 test -z "$ac_dir" && ac_dir=.
12905 if test -f "$ac_dir/${ac_tool_prefix}file"; then
12907 if test -n "$file_magic_test_file"; then
12925 *** bug-libtool@gnu.org
12941 if test -n "$MAGIC_CMD"; then
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12946 printf "%s\n" "no" >&6; }
12953 if test -z "$lt_cv_path_MAGIC_CMD"; then
12954 if test -n "$ac_tool_prefix"; then
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12956 printf %s "checking for file... " >&6; }
12969 for ac_dir in $ac_dummy; do
12971 test -z "$ac_dir" && ac_dir=.
12972 if test -f "$ac_dir/file"; then
12974 if test -n "$file_magic_test_file"; then
12992 *** bug-libtool@gnu.org
13008 if test -n "$MAGIC_CMD"; then
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13013 printf "%s\n" "no" >&6; }
13026 # Use C for the default configuration in the libtool script
13030 ac_cpp='$CPP $CPPFLAGS'
13031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13036 # Source file extension for C test sources.
13039 # Object file extension for compiled C test sources.
13055 # If no C compiler was specified, use CC.
13056 LTCC=${LTCC-"$CC"}
13058 # If no C compiler flags were specified, use CFLAGS.
13059 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13079 $RM -r conftest*
13083 ## There is no encapsulation within the following macros, do not change
13086 if test -n "$compiler"; then
13093 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13095 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13098 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-except…
13099 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13104 lt_cv_prog_compiler_rtti_exceptions=no
13107 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
13114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13116 -e 's:$: $lt_compiler_flag:'`
13122 if (exit $ac_status) && test -s "$ac_outfile"; then
13124 # So say no if there are warnings other than the usual output.
13127 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13138 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13156 lt_prog_compiler_wl='-Wl,'
13157 lt_prog_compiler_static='-static'
13164 lt_prog_compiler_static='-Bstatic'
13166 lt_prog_compiler_pic='-fPIC'
13173 lt_prog_compiler_pic='-fPIC'
13177 # adding the '-m68020' flag to GCC prevents building anything better,
13178 # like '-m68040'.
13179 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13185 # PIC is the default for these OSes.
13190 # built for inclusion in a dll (and should export symbols for example).
13191 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13192 # (--disable-auto-import) libraries
13193 lt_prog_compiler_pic='-DDLL_EXPORT'
13196 lt_prog_compiler_static='$wl-static'
13204 lt_prog_compiler_pic='-fno-common'
13208 # PIC is the default for Haiku.
13209 # The "-static" flag exists, but is broken.
13214 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13215 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13222 lt_prog_compiler_pic='-fPIC'
13227 interix[3-9]*)
13228 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13235 lt_prog_compiler_can_build_shared=no
13236 enable_shared=no
13240 # QNX uses GNU C++, but need to define -shared option too, otherwise
13242 lt_prog_compiler_pic='-fPIC -shared'
13246 if test -d /usr/nec; then
13247 lt_prog_compiler_pic=-Kconform_pic
13252 lt_prog_compiler_pic='-fPIC'
13258 lt_prog_compiler_wl='-Xlinker '
13259 if test -n "$lt_prog_compiler_pic"; then
13260 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13265 # PORTME Check for flag to pass linker flags through the system compiler.
13268 lt_prog_compiler_wl='-Wl,'
13271 lt_prog_compiler_static='-Bstatic'
13273 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13280 lt_prog_compiler_pic='-fno-common'
13284 lt_prog_compiler_wl='-Wl,-Wl,,'
13285 lt_prog_compiler_pic='-PIC'
13286 lt_prog_compiler_static='-Bstatic'
13293 # built for inclusion in a dll (and should export symbols for example).
13294 lt_prog_compiler_pic='-DDLL_EXPORT'
13297 lt_prog_compiler_static='$wl-static'
13303 lt_prog_compiler_wl='-Wl,'
13304 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13305 # not for PA HP-UX.
13315 lt_prog_compiler_static='$wl-a ${wl}archive'
13319 lt_prog_compiler_wl='-Wl,'
13320 # PIC (with -KPIC) is the default.
13321 lt_prog_compiler_static='-non_shared'
13324 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13326 # old Intel for x86_64, which still supported -KPIC.
13328 lt_prog_compiler_wl='-Wl,'
13329 lt_prog_compiler_pic='-KPIC'
13330 lt_prog_compiler_static='-static'
13332 # flang / f18. f95 an alias for gfortran or flang on Debian
13334 lt_prog_compiler_wl='-Wl,'
13335 lt_prog_compiler_pic='-fPIC'
13336 lt_prog_compiler_static='-static'
13339 # ICC 10 doesn't accept -KPIC any more.
13341 lt_prog_compiler_wl='-Wl,'
13342 lt_prog_compiler_pic='-fPIC'
13343 lt_prog_compiler_static='-static'
13347 lt_prog_compiler_wl='-Wl,'
13348 lt_prog_compiler_pic='--shared'
13349 lt_prog_compiler_static='--static'
13353 lt_prog_compiler_wl='-Wl,-Wl,,'
13354 lt_prog_compiler_pic='-PIC'
13355 lt_prog_compiler_static='-Bstatic'
13359 lt_prog_compiler_wl='-Wl,'
13360 lt_prog_compiler_pic='-fPIC'
13361 lt_prog_compiler_static='-static'
13366 lt_prog_compiler_wl='-Wl,'
13367 lt_prog_compiler_pic='-fpic'
13368 lt_prog_compiler_static='-Bstatic'
13371 lt_prog_compiler_wl='-Wl,'
13373 lt_prog_compiler_static='-non_shared'
13377 lt_prog_compiler_wl='-Wl,'
13378 lt_prog_compiler_pic='-qpic'
13379 lt_prog_compiler_static='-qstaticlink'
13382 case `$CC -V 2>&1 | $SED 5q` in
13383 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13385 lt_prog_compiler_pic='-KPIC'
13386 lt_prog_compiler_static='-Bstatic'
13390 lt_prog_compiler_pic='-KPIC'
13391 lt_prog_compiler_static='-Bstatic'
13392 lt_prog_compiler_wl='-Qoption ld '
13396 lt_prog_compiler_pic='-KPIC'
13397 lt_prog_compiler_static='-Bstatic'
13398 lt_prog_compiler_wl='-Wl,'
13401 lt_prog_compiler_wl='-Wl,'
13402 lt_prog_compiler_pic='-fPIC'
13403 lt_prog_compiler_static='-static'
13406 lt_prog_compiler_wl='-Wl,'
13407 lt_prog_compiler_pic='-fpic'
13408 lt_prog_compiler_static='-Bstatic'
13416 lt_prog_compiler_pic='-KPIC'
13417 lt_prog_compiler_static='-Bstatic'
13421 # QNX uses GNU C++, but need to define -shared option too, otherwise
13423 lt_prog_compiler_pic='-fPIC -shared'
13427 lt_prog_compiler_wl='-Wl,'
13429 lt_prog_compiler_static='-non_shared'
13433 lt_prog_compiler_static='-non_shared'
13437 lt_prog_compiler_pic='-KPIC'
13438 lt_prog_compiler_static='-Bstatic'
13441 lt_prog_compiler_wl='-Qoption ld ';;
13443 lt_prog_compiler_wl='-Wl,';;
13448 lt_prog_compiler_wl='-Qoption ld '
13449 lt_prog_compiler_pic='-PIC'
13450 lt_prog_compiler_static='-Bstatic'
13454 lt_prog_compiler_wl='-Wl,'
13455 lt_prog_compiler_pic='-KPIC'
13456 lt_prog_compiler_static='-Bstatic'
13460 if test -d /usr/nec; then
13461 lt_prog_compiler_pic='-Kconform_pic'
13462 lt_prog_compiler_static='-Bstatic'
13467 lt_prog_compiler_wl='-Wl,'
13468 lt_prog_compiler_pic='-KPIC'
13469 lt_prog_compiler_static='-Bstatic'
13473 lt_prog_compiler_wl='-Wl,'
13474 lt_prog_compiler_can_build_shared=no
13478 lt_prog_compiler_pic='-pic'
13479 lt_prog_compiler_static='-Bstatic'
13483 lt_prog_compiler_can_build_shared=no
13489 # For platforms that do not support PIC, -DPIC is meaningless:
13494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13499 printf %s "checking for $compiler option to produce PIC... " >&6; }
13506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13513 if test -n "$lt_prog_compiler_pic"; then
13514 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
13520 lt_cv_prog_compiler_pic_works=no
13523 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13532 -e 's:$: $lt_compiler_flag:'`
13538 if (exit $ac_status) && test -s "$ac_outfile"; then
13540 # So say no if there are warnings other than the usual output.
13543 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13560 lt_prog_compiler_can_build_shared=no
13579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
13585 lt_cv_prog_compiler_static_works=no
13589 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13591 # So say no if there are warnings
13592 if test -s conftest.err; then
13593 # Append any errors to the config.log.
13604 $RM -r conftest*
13608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13623 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13624 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13629 lt_cv_prog_compiler_c_o=no
13630 $RM -r conftest 2>/dev/null
13636 lt_compiler_flag="-o out/conftest2.$ac_objext"
13642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13644 -e 's:$: $lt_compiler_flag:'`
13650 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13653 # So say no if there are warnings
13656 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13662 # SGI C++ compiler will create directory out/ii_files/ for
13664 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13667 $RM -r conftest
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13679 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13680 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13685 lt_cv_prog_compiler_c_o=no
13686 $RM -r conftest 2>/dev/null
13692 lt_compiler_flag="-o out/conftest2.$ac_objext"
13698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13700 -e 's:$: $lt_compiler_flag:'`
13706 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13709 # So say no if there are warnings
13712 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13718 # SGI C++ compiler will create directory out/ii_files/ for
13720 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13723 $RM -r conftest
13727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13734 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13740 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13742 ln conftest.a conftest.b 2>&5 || hard_links=no
13743 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13746 if test no = "$hard_links"; then
13747 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j…
13748 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13752 need_locks=no
13760 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports…
13765 always_export_symbols=no
13768 compiler_needs_object=no
13769 enable_shared_with_static_runtimes=no
13772 hardcode_automatic=no
13773 hardcode_direct=no
13774 hardcode_direct_absolute=no
13777 hardcode_minus_L=no
13779 inherit_rpath=no
13787 # include_expsyms should be a list of space-separated symbols to be *always*
13809 with_gnu_ld=no
13817 with_gnu_ld=no
13819 linux* | k*bsd*-gnu | gnu*)
13820 link_all_deplibs=no
13827 # that we're better off using the native interface for both.
13828 lt_use_gnu_ld_interface=no
13836 case `$LD -v 2>&1` in
13838 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13839 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13855 # Set some defaults for GNU ld with shared library support. These
13859 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13860 export_dynamic_flag_spec='$wl--export-dynamic'
13861 # ancient GNU ld didn't support --whole-archive et. al.
13862 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13863 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13867 supports_anon_versioning=no
13868 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
13870 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13879 aix[3-9]*)
13882 ld_shlibs=no
13888 *** really care for shared libraries, you may want to install binutils
13889 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13900 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13904 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13905 hardcode_libdir_flag_spec='-L$libdir'
13912 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13915 # support --undefined. This deserves some investigation. FIXME
13916 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13918 ld_shlibs=no
13924 # as there is no search path for DLLs.
13925 hardcode_libdir_flag_spec='-L$libdir'
13926 export_dynamic_flag_spec='$wl--export-all-symbols'
13928 always_export_symbols=no
13930 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
13931 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
13933 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13934 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
13935 # If the export-symbols file already is a .def file, use it as
13937 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
13943 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
13945 ld_shlibs=no
13950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13955 hardcode_libdir_flag_spec='-L$libdir'
13964 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13965 emximp -o $lib $output_objdir/$libname.def'
13972 prefix_cmds="$prefix_cmds -e 1d";
13974 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13976 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13977 emximp -o $lib $output_objdir/$libname.def'
13978 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13983 interix[3-9]*)
13984 hardcode_direct=no
13985 hardcode_shlibpath_var=no
13986 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13987 export_dynamic_flag_spec='$wl-E'
13992 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13994 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
13995-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
13998 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13999 tmp_diet=no
14000 if test linux-dietlibc = "$host_os"; then
14002 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14005 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14006 && test no = "$tmp_diet"
14009 tmp_sharedflag='-shared'
14012--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
14017--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
14018 tmp_addflag=' $pic_flag -Mnomain' ;;
14020 tmp_addflag=' -i_dynamic' ;;
14022 tmp_addflag=' -i_dynamic -nofor_main' ;;
14024 tmp_addflag=' -nofor_main' ;;
14027 tmp_sharedflag='--shared' ;;
14029 tmp_sharedflag='-Wl,-shared' ;;
14031 tmp_sharedflag='-qmkshrobj'
14034--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
14038 case `$CC -V 2>&1 | $SED 5q` in
14040--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
14042 tmp_sharedflag='-G' ;;
14044 tmp_sharedflag='-G' ;;
14046 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14050 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14052 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
14057 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14058 export_dynamic_flag_spec='-rdynamic'
14062 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14063 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14064 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14067 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14069 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
14074 ld_shlibs=no
14078 netbsd* | netbsdelf*-gnu)
14079 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14080 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14083 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14084 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14089 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14090 ld_shlibs=no
14101 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14102 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14103 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14105 ld_shlibs=no
14110 case `$LD -v 2>&1` in
14111 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14112 ld_shlibs=no
14125 # For security reasons, it is highly recommended that you always
14126 # use absolute paths for naming shared libraries, and exclude the
14129 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14130 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14132 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
14134 ld_shlibs=no
14141 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14144 hardcode_shlibpath_var=no
14148 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14149 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14150 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14152 ld_shlibs=no
14157 if test no = "$ld_shlibs"; then
14169 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
14171 # are no directories specified by -L.
14173 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14180 aix[4-9]*)
14184 aix_use_runtimelinking=no
14185 exp_sym_flag='-Bexport'
14188 # If we're using GNU nm, then we don't want the "-C" option.
14189 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14190 # Without the "-l" option, or with the "-B" option, AIX nm treats
14194 # it in the Import File for the 'aix-soname' feature, so we have
14195 # to replace the "-B" option with "-P" for AIX nm.
14196 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14197-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
14199-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
14201 aix_use_runtimelinking=no
14204 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14205 # have runtime linking enabled, and use it for executables.
14206 # For shared libraries, we enable/disable runtime linking
14207 # depending on the kind of the shared library created -
14209 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14210 # "aix,yes" lib.so shared, rtl:yes, for executables
14212 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14213 # lib.a(lib.so.V) shared, rtl:no, for executables
14214 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14215 # lib.a(lib.so.V) shared, rtl:no
14216 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14218 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14219 for ld_flag in $LDFLAGS; do
14220 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14225 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14226 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14230 LDFLAGS="$LDFLAGS -Wl,-brtl"
14235 exp_sym_flag='-bexport'
14236 no_entry_flag='-bnoentry'
14241 # or program results in "error TOC overflow" add -mminimal-toc to
14242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14250 file_list_spec='$wl-f,'
14252 aix,*) ;; # traditional, no import file
14255 hardcode_direct=no
14256 hardcode_direct_absolute=no
14263 # below for broken collect2 doesn't work under 4.3+
14264 collect2name=`$CC -print-prog-name=collect2`
14265 if test -f "$collect2name" &&
14277 hardcode_libdir_flag_spec='-L$libdir'
14282 shared_flag='-shared'
14284 shared_flag="$shared_flag "'$wl-G'
14286 # Need to ensure runtime linking is disabled for the traditional
14288 # /with/ Import File - we do not want to mix them.
14289 shared_flag_aix='-shared'
14290 shared_flag_svr4='-shared $wl-G'
14294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14295 # chokes on -Wl,-G. The following line is correct:
14296 shared_flag='-G'
14299 shared_flag='$wl-G'
14301 shared_flag='$wl-bM:SRE'
14303 shared_flag_aix='$wl-bM:SRE'
14304 shared_flag_svr4='$wl-G'
14308 export_dynamic_flag_spec='$wl-bexpall'
14309 # It seems that -bexpall does not export symbols beginning with
14313 # Warning - without using the other runtime loading flags (-brtl),
14314 # -berok will link without error, but may produce a broken library.
14315 allow_undefined_flag='-berok'
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14346 # Check for a 64-bit object if we didn't find anything.
14347 if test -z "$lt_cv_aix_libpath_"; then
14348 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14353 if test -z "$lt_cv_aix_libpath_"; then
14362 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14363 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
14366 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
14367 allow_undefined_flag="-z nodefs"
14368 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
14379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14400 # Check for a 64-bit object if we didn't find anything.
14401 if test -z "$lt_cv_aix_libpath_"; then
14402 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14407 if test -z "$lt_cv_aix_libpath_"; then
14416 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14417 # Warning - without using the other run time loading flags,
14418 # -berok will link without error, but may produce a broken library.
14419 no_undefined_flag=' $wl-bernotok'
14420 allow_undefined_flag=' $wl-berok'
14422 # We only use this code for GNU lds that support --whole-archive.
14423 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
14429 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14430 # -brtl affects multiple linker settings, -berok does not and is overridden later
14431 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
14434 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
14437-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
14439 # used by -dlpreopen to get the symbols
14442 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
14451 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14455 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14456 hardcode_libdir_flag_spec='-L$libdir'
14463 export_dynamic_flag_spec=-rdynamic
14470 # no search path for DLLs.
14483 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
14484 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
14488 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14490 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
14496 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
14508 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14509 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
14522 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
14526 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14535 archive_cmds_need_lc=no
14536 hardcode_direct=no
14540 …whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\…
14553 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
14554 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
14555 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
14556 …e_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
14559 ld_shlibs=no
14565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14566 hardcode_libdir_flag_spec='-L$libdir'
14567 hardcode_shlibpath_var=no
14575 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14576 hardcode_libdir_flag_spec='-R$libdir'
14578 hardcode_shlibpath_var=no
14583 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14586 hardcode_shlibpath_var=no
14589 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14591 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14592 hardcode_libdir_flag_spec='-R$libdir'
14594 hardcode_shlibpath_var=no
14599 …archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output…
14601 …archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libo…
14610 export_dynamic_flag_spec='$wl-E'
14614 if test yes,no = "$GCC,$with_gnu_ld"; then
14615 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14617 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14619 if test no = "$with_gnu_ld"; then
14624 export_dynamic_flag_spec='$wl-E'
14632 if test yes,no = "$GCC,$with_gnu_ld"; then
14635 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14638 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
14641 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14647 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14650 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14654 # Older versions of the 11.00 compiler do not understand -b yet
14655 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14657 printf %s "checking if $CC understands -b... " >&6; }
14662 lt_cv_prog_compiler__b=no
14664 LDFLAGS="$LDFLAGS -b"
14666 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14668 # So say no if there are warnings
14669 if test -s conftest.err; then
14670 # Append any errors to the config.log.
14681 $RM -r conftest*
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
14689 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
14691 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14697 if test no = "$with_gnu_ld"; then
14703 hardcode_direct=no
14704 hardcode_shlibpath_var=no
14709 export_dynamic_flag_spec='$wl-E'
14721-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14722 # Try to use the -exported_symbol ld option, if it does not
14723 # work, assume that -exports_file does not work either and
14725 # This should be the same for all languages, so no per-tag cache variable.
14726 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -export…
14727 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14733 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 lt_cv_irix_exported_symbol=no
14744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14751-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14753 link_all_deplibs=no
14755-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14756-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14758 archive_cmds_need_lc='no'
14759 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14771 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14776 netbsd* | netbsdelf*-gnu)
14777 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14778 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14780 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14782 hardcode_libdir_flag_spec='-R$libdir'
14784 hardcode_shlibpath_var=no
14788 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14790 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14792 hardcode_shlibpath_var=no
14799 if test -f /usr/libexec/ld.so; then
14801 hardcode_shlibpath_var=no
14803 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14804 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14805 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
14806 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14807 export_dynamic_flag_spec='$wl-E'
14809 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14810 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14813 ld_shlibs=no
14818 hardcode_libdir_flag_spec='-L$libdir'
14827 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14828 emximp -o $lib $output_objdir/$libname.def'
14835 prefix_cmds="$prefix_cmds -e 1d";
14837 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14839 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14840 emximp -o $lib $output_objdir/$libname.def'
14841 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14848 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14849-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
14851 allow_undefined_flag=' -expect_unresolved \*'
14852-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
14854 archive_cmds_need_lc='no'
14855 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14859 osf4* | osf5*) # as osf3* with the addition of -msym flag
14861 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14862-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
14863 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14865 allow_undefined_flag=' -expect_unresolved \*'
14866-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
14867 …rchive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >>…
14868-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
14870 # Both c and cxx compiler support -rpath directly
14871 hardcode_libdir_flag_spec='-rpath $libdir'
14873 archive_cmds_need_lc='no'
14878 no_undefined_flag=' -z defs'
14881 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
14882 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14883 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
14885 case `$CC -V 2>&1` in
14888 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
14889 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14890 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
14894 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14895 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14896 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
14900 hardcode_libdir_flag_spec='-R$libdir'
14901 hardcode_shlibpath_var=no
14903 solaris2.[0-5] | solaris2.[0-5].*) ;;
14906 # but understands '-z linker_flag'. GCC discards it without '$wl',
14910 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14912 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
14923 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14925 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14927 hardcode_libdir_flag_spec='-L$libdir'
14930 hardcode_shlibpath_var=no
14936 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14942 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14943 reload_cmds='$CC -r -o $output$reload_objs'
14944 hardcode_direct=no
14947 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14948 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14952 hardcode_shlibpath_var=no
14956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14957 hardcode_shlibpath_var=no
14958 export_dynamic_flag_spec='-Bexport'
14962 if test -d /usr/nec; then
14963 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14964 hardcode_shlibpath_var=no
14972 no_undefined_flag='$wl-z,text'
14973 archive_cmds_need_lc=no
14974 hardcode_shlibpath_var=no
14978 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14979 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
14981 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14982 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
14987 # Note: We CANNOT use -z defs as we might desire, because we do not
14988 # link with -lc, and that would cause any symbols used from libc to
14989 # always be unresolved, which means just about no library would
14990 # ever link correctly. If we're not using GNU ld we use -z text
14991 # though, which does catch some bad symbols but isn't as heavy-handed
14992 # as -z defs.
14993 no_undefined_flag='$wl-z,text'
14994 allow_undefined_flag='$wl-z,nodefs'
14995 archive_cmds_need_lc=no
14996 hardcode_shlibpath_var=no
14997 hardcode_libdir_flag_spec='$wl-R,$libdir'
15000 export_dynamic_flag_spec='$wl-Bexport'
15004 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
15007 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15008 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
15013 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15014 hardcode_libdir_flag_spec='-L$libdir'
15015 hardcode_shlibpath_var=no
15019 ld_shlibs=no
15026 export_dynamic_flag_spec='$wl-Blargedynsym'
15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
15034 test no = "$ld_shlibs" && can_build_shared=no
15057 # Assume -lc should be added
15063 # FIXME: we may have to deal with multi-command sequences.
15066 # Test whether the compiler implicitly links with -lc since on some
15067 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15068 # to ld, don't add -lc before -lgcc.
15069 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in"…
15070 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
15078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15089 compiler_flags=-v
15090 linker_flags=-v
15096 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
15097 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15102 lt_cv_archive_cmds_need_lc=no
15113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15282 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15285 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
15289 # otherwise default to the standard path separator (i.e. ":") - it is
15290 # assumed that no part of a normal pathname contains ";" but that should
15301 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15303 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15309 for lt_sys_path in $lt_search_path_spec; do
15310 if test -d "$lt_sys_path$lt_multi_os_dir"; then
15312 elif test -n "$lt_multi_os_dir"; then
15313 test -d "$lt_sys_path" && \
15321 for (lt_i = NF; lt_i > 0; lt_i--) {
15329 lt_count--;
15338 # for these hosts.
15341 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
15361 hardcode_into_libs=no
15363 # when you set need_version to no, make sure it does not cause -set_version
15375 # AIX 3 has no versioning support, so we append a major version to the name.
15379 aix[4-9]*)
15381 need_lib_prefix=no
15382 need_version=no
15390 # for dependence libraries. The import file would start with
15398 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15401 can_build_shared=no
15406 # filename-based versioning of shared library archives on AIX. While
15407 # this would work for both with and without runtime linking, it will
15408 # prevent static linking of such archives. So we do filename-based
15413 # versioned .so libs for executables only if there is the -brtl
15414 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15415 # To allow for filename-based versioning support, we need to create
15425 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15428 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15438 aix,no) # traditional AIX only
15440 # We preserve .a as extension for shared libraries through AIX4.2
15455-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
15456 …postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~…
15460 *,no) # both, prefer aix
15465-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
15466 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
15477 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15483 …finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $…
15496 need_version=no
15505 # libtool to hard-code these into programs
15511 need_version=no
15512 need_lib_prefix=no
15520 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15522 test -d \$dldir || mkdir -p \$dldir~
15525 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15528 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15536 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffi…
15542 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15546 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ve…
15555 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15563 for lt_path in $LIB
15567 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15572 …path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
15576 # but this time dos style (no spaces!) so that the unix form looks
15578 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15579 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15580 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
15584 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15586 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15588 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15591 # common. (e.g. "Program Files" -> "PROGRA~1")
15597 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15599 test -d \$dldir || mkdir -p \$dldir~
15601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15610 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
15621 need_lib_prefix=no
15622 need_version=no
15635 need_lib_prefix=no
15636 need_version=no
15645 if test -x /usr/bin/objformat; then
15653 version_type=freebsd-$objformat
15655 freebsd-elf*)
15658 need_version=no
15659 need_lib_prefix=no
15661 freebsd-*)
15675 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15676 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15677 shlibpath_overrides_runpath=no
15689 need_lib_prefix=no
15690 need_version=no
15695 shlibpath_overrides_runpath=no
15696 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15704 need_lib_prefix=no
15705 need_version=no
15738 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15743 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15749 interix[3-9]*)
15751 need_lib_prefix=no
15752 need_version=no
15757 shlibpath_overrides_runpath=no
15771 need_lib_prefix=no
15772 need_version=no
15781 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15782 libsuff= shlibsuff= libmagic=32-bit;;
15783 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15785 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15786 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15787 *) libsuff= shlibsuff= libmagic=never-match;;
15792 shlibpath_overrides_runpath=no
15798 # No shared lib support for Linux oldld, aout, or coff.
15800 dynamic_linker=no
15805 need_lib_prefix=no
15806 need_version=no
15813 # This implies no fast_install, which is unacceptable.
15814 # Some rework will be needed to allow for fast_install
15819 # Don't embed -rpath directories since the linker doesn't support them.
15820 hardcode_libdir_flag_spec='-L$libdir'
15824 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15826 need_lib_prefix=no
15827 need_version=no
15830 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15832 shlibpath_overrides_runpath=no
15839 lt_cv_shlibpath_overrides_runpath=no
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
15861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15870 # This implies no fast_install, which is unacceptable.
15871 # Some rework will be needed to allow for fast_install
15876 # searched for libraries, however this is still not possible. Aside from not
15878 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15879 # even though it is searched at run-time. Try to do the best guess by
15881 if test -f /etc/ld.so.conf; then
15882 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
15886 # We used to test for /lib/ld.so.1 and disable shared libraries on
15889 # most powerpc-linux boxes support dynamic linking these days and
15890 # people can always --disable-shared, the test was removed, and we
15895 netbsdelf*-gnu)
15897 need_lib_prefix=no
15898 need_version=no
15902 shlibpath_overrides_runpath=no
15909 need_lib_prefix=no
15910 need_version=no
15911 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15934 need_lib_prefix=no
15935 need_version=no
15939 shlibpath_overrides_runpath=no
15947 need_lib_prefix=no
15948 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15949 need_version=no
15954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15963 need_version=no
15964 need_lib_prefix=no
15966 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15967 v=$($ECHO $release$versuffix | tr -d .-);
15968 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15976 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15978 test -d \$dldir || mkdir -p \$dldir~
15981 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15984 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15991 need_lib_prefix=no
15992 need_version=no
16001 dynamic_linker=no
16006 need_lib_prefix=no
16007 need_version=no
16024 need_lib_prefix=no
16036 shlibpath_overrides_runpath=no
16037 need_lib_prefix=no
16041 need_lib_prefix=no
16044 need_lib_prefix=no
16045 need_version=no
16046 shlibpath_overrides_runpath=no
16053 if test -d /usr/nec; then
16063 need_lib_prefix=no
16064 need_version=no
16084 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16086 need_lib_prefix=no
16087 need_version=no
16090 shlibpath_overrides_runpath=no
16102 dynamic_linker=no
16105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16107 test no = "$dynamic_linker" && can_build_shared=no
16122 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16125 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16227 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs…
16230 if test -n "$hardcode_libdir_flag_spec" ||
16231 test -n "$runpath_var" ||
16234 # We can hardcode non-existent directories.
16235 if test no != "$hardcode_direct" &&
16238 # when we should be linking with a yet-to-be-installed one
16239 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16240 test no != "$hardcode_minus_L"; then
16252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16258 enable_fast_install=no
16260 test no = "$enable_shared"; then
16275 lt_cv_dlopen=no
16297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16298 printf %s "checking for dlopen in -ldl... " >&6; }
16304 LIBS="-ldl $LIBS"
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16324 ac_cv_lib_dl_dlopen=no
16326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16334 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16346 # Don't try to run any link tests for TPF. We know it's impossible
16347 # because TPF is a cross-compiler, and we know how we open DSOs.
16350 lt_cv_dlopen_self=no
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
16360 printf %s "checking for shl_load in -ldld... " >&6; }
16366 LIBS="-ldld $LIBS"
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 ac_cv_lib_dld_shl_load=no
16388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
16396 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
16403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16404 printf %s "checking for dlopen in -ldl... " >&6; }
16410 LIBS="-ldl $LIBS"
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16430 ac_cv_lib_dl_dlopen=no
16432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16440 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16443 printf %s "checking for dlopen in -lsvld... " >&6; }
16449 LIBS="-lsvld $LIBS"
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 ac_cv_lib_svld_dlopen=no
16471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16479 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16482 printf %s "checking for dld_link in -ldld... " >&6; }
16488 LIBS="-ldld $LIBS"
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16508 ac_cv_lib_dld_dld_link=no
16510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16518 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16539 if test no = "$lt_cv_dlopen"; then
16540 enable_dlopen=no
16548 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16609 /* When -fvisibility=hidden is used, assume the code has been annotated
16610 correspondingly for the symbols needed. */
16637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16641 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16647 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
16651 lt_cv_dlopen_self=no
16654 rm -fr conftest*
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16663 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlo…
16716 /* When -fvisibility=hidden is used, assume the code has been annotated
16717 correspondingly for the symbols needed. */
16744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16748 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16754 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16758 lt_cv_dlopen_self_static=no
16761 rm -fr conftest*
16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16776 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16781 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16806 if test -z "$STRIP"; then
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16808 printf "%s\n" "no" >&6; }
16810 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16811 old_striplib="$STRIP --strip-debug"
16812 striplib="$STRIP --strip-unneeded"
16813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16818 # FIXME - insert some real tests, host_os isn't really good enough
16819 striplib="$STRIP -x"
16820 old_striplib="$STRIP -S"
16821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16825 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
16826 old_striplib="$STRIP --strip-debug"
16827 striplib="$STRIP --strip-unneeded"
16828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16832 printf "%s\n" "no" >&6; }
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16837 printf "%s\n" "no" >&6; }
16855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16862 test no = "$can_build_shared" && enable_shared=no
16868 test yes = "$enable_shared" && enable_static=no
16869 if test -n "$RANLIB"; then
16875 aix[4-9]*)
16880 yes,*) enable_static=no ;; # shared object in lib.a archive as well
16885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16900 ac_cpp='$CPP $CPPFLAGS'
16901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ## --------------------- ##
16931 ## --------------------- ##
16960 # Verify if libtool shared libraries should be linked using flag -version-info
16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -vers…
16964 printf %s "checking whether to build shared libraries with -version-info... " >&6; }
16967 xc_lt_shlib_use_version_info='no'
16974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
16978 # Verify if libtool shared libraries should be linked using flag -no-undefined
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-u…
16982 printf %s "checking whether to build shared libraries with -no-undefined... " >&6; }
16983 xc_lt_shlib_use_no_undefined='no'
16994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
16998 # Verify if libtool shared libraries should be linked using flag -mimpure-text
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimp…
17002 printf %s "checking whether to build shared libraries with -mimpure-text... " >&6; }
17003 xc_lt_shlib_use_mimpure_text='no'
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
17021 xc_lt_build_static_with_pic='no'
17028 xc_lt_build_shared_with_pic='no'
17029 xc_lt_build_static_with_pic='no'
17034 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mod…
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" …
17040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
17042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" …
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
17051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
17054 test "$xc_lt_build_static" = 'no'; then
17057 xc_lt_build_shared_only='no'
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
17066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
17069 test "$xc_lt_build_shared" = 'no'; then
17072 xc_lt_build_static_only='no'
17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
17080 if test -n "$ac_tool_prefix"; then
17083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17084 printf %s "checking for $ac_word... " >&6; }
17089 if test -n "$RC"; then
17093 for as_dir in $PATH
17101 for ac_exec_ext in '' $ac_executable_extensions; do
17104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17114 if test -n "$RC"; then
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
17118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17119 printf "%s\n" "no" >&6; }
17124 if test -z "$ac_cv_prog_RC"; then
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17129 printf %s "checking for $ac_word... " >&6; }
17134 if test -n "$ac_ct_RC"; then
17138 for as_dir in $PATH
17146 for ac_exec_ext in '' $ac_executable_extensions; do
17149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17159 if test -n "$ac_ct_RC"; then
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17164 printf "%s\n" "no" >&6; }
17172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
17185 # Source file extension for RC test sources.
17188 # Object file extension for compiled RC test sources.
17198 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17205 # If no C compiler was specified, use CC.
17206 LTCC=${LTCC-"$CC"}
17208 # If no C compiler flags were specified, use CFLAGS.
17209 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17226 $RM -r conftest*
17234 CC=${RC-"windres"}
17243 if test -n "$compiler"; then
17252 ac_cpp='$CPP $CPPFLAGS'
17253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17292 # specifying separate CPPFLAGS or CFLAGS when compiling objects for
17294 # build using separate configure runs for shared and static libraries
17296 # to compile objects for each kind of library. Notice that relying on
17297 # the '-DPIC' CFLAG that libtool provides is not valid given that the
17298 # user might for example choose to build static libraries with PIC.
17323 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
17329 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
17331 REQUIRE_LIB_DEPS=no
17347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
17348 printf %s "checking if cpp -P is needed... " >&6; }
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 cpp=no
17361 cpp=yes
17363 rm -rf conftest*
17365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
17366 printf "%s\n" "$cpp" >&6; }
17368 if test "x$cpp" = "xyes"; then
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
17370 printf %s "checking if cpp -P works... " >&6; }
17372 CPPFLAGS="$CPPFLAGS -P"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 cpp_p=no
17387 rm -rf conftest*
17389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
17393 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
17394 printf "%s\n" "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
17395 # without -P
17398 # with -P
17399 CPPPFLAG="-P"
17403 # without -P
17417 flags_prefer_cppflags="no"
17420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
17426 if test -z "$SED"; then
17429 if test -z "$GREP"; then
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
17456 rm -f conftest.err conftest.i conftest.$ac_ext
17457 if test -z "$tmp_exp"; then
17458 curl_cv_have_def___DECC=no
17471 if test -z "$SED"; then
17474 if test -z "$GREP"; then
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
17501 rm -f conftest.err conftest.i conftest.$ac_ext
17502 if test -z "$tmp_exp"; then
17503 curl_cv_have_def___DECC_VER=no
17514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17517 flags_dbg_yes="-g2"
17518 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
17519 flags_opt_yes="-O1"
17520 flags_opt_off="-O0"
17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17523 printf "%s\n" "no" >&6; }
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
17528 printf %s "checking if compiler is HP-UX C... " >&6; }
17533 if test -z "$SED"; then
17536 if test -z "$GREP"; then
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
17563 rm -f conftest.err conftest.i conftest.$ac_ext
17564 if test -z "$tmp_exp"; then
17565 curl_cv_have_def___HP_cc=no
17575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17578 flags_dbg_yes="-g"
17579 flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17584 printf "%s\n" "no" >&6; }
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
17594 if test -z "$SED"; then
17597 if test -z "$GREP"; then
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
17624 rm -f conftest.err conftest.i conftest.$ac_ext
17625 if test -z "$tmp_exp"; then
17626 curl_cv_have_def___IBMC__=no
17636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17639 flags_dbg_yes="-g"
17640 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
17641 flags_opt_all="$flags_opt_all -qnooptimize"
17642 flags_opt_all="$flags_opt_all -qoptimize=0"
17643 flags_opt_all="$flags_opt_all -qoptimize=1"
17644 flags_opt_all="$flags_opt_all -qoptimize=2"
17645 flags_opt_all="$flags_opt_all -qoptimize=3"
17646 flags_opt_all="$flags_opt_all -qoptimize=4"
17647 flags_opt_all="$flags_opt_all -qoptimize=5"
17648 flags_opt_yes="-O2"
17649 flags_opt_off="-qnooptimize"
17652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17653 printf "%s\n" "no" >&6; }
17657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
17663 if test -z "$SED"; then
17666 if test -z "$GREP"; then
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
17693 rm -f conftest.err conftest.i conftest.$ac_ext
17694 if test -z "$tmp_exp"; then
17695 curl_cv_have_def___INTEL_COMPILER=no
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5
17716 if test -z "$SED"; then
17719 if test -z "$GREP"; then
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
17746 rm -f conftest.err conftest.i conftest.$ac_ext
17747 if test -z "$tmp_exp"; then
17748 curl_cv_have_def___unix__=no
17759 flags_dbg_yes="-g"
17760 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
17761 flags_opt_yes="-O2"
17762 flags_opt_off="-O0"
17765 flags_dbg_yes="/Zi /Oy-"
17766 flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17772 printf "%s\n" "no" >&6; }
17776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
17782 if test -z "$SED"; then
17785 if test -z "$GREP"; then
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
17812 rm -f conftest.err conftest.i conftest.$ac_ext
17813 if test -z "$tmp_exp"; then
17814 curl_cv_have_def___clang__=no
17824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
17832 if test -z "$SED"; then
17835 if test -z "$GREP"; then
17840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
17862 rm -f conftest.err conftest.i conftest.$ac_ext
17863 if test -z "$tmp_exp"; then
17864 curl_cv_have_def___ibmxl__=no
17874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17879 printf "%s\n" "no" >&6; }
17882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17884 fullclangver=`$CC -v 2>&1 | grep version`
17890 …clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*…
17891 if test -z "$clangver"; then
17892 clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
17897 clangvhi=`echo $clangver | cut -d . -f1`
17898 clangvlo=`echo $clangver | cut -d . -f2`
17901 if test "$compiler_num" -ge '1300'; then compiler_num='1200'
17902 elif test "$compiler_num" -ge '1205'; then compiler_num='1101'
17903 elif test "$compiler_num" -ge '1204'; then compiler_num='1000'
17904 elif test "$compiler_num" -ge '1107'; then compiler_num='900'
17905 elif test "$compiler_num" -ge '1103'; then compiler_num='800'
17906 elif test "$compiler_num" -ge '1003'; then compiler_num='700'
17907 elif test "$compiler_num" -ge '1001'; then compiler_num='600'
17908 elif test "$compiler_num" -ge '904'; then compiler_num='500'
17909 elif test "$compiler_num" -ge '902'; then compiler_num='400'
17910 elif test "$compiler_num" -ge '803'; then compiler_num='309'
17911 elif test "$compiler_num" -ge '703'; then compiler_num='308'
17915 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' …
17917 flags_dbg_yes="-g"
17918 flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
17919 flags_opt_yes="-O2"
17920 flags_opt_off="-O0"
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17923 printf "%s\n" "no" >&6; }
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
17933 if test -z "$SED"; then
17936 if test -z "$GREP"; then
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
17963 rm -f conftest.err conftest.i conftest.$ac_ext
17964 if test -z "$tmp_exp"; then
17965 curl_cv_have_def___GNUC__=no
17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17981 # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32'
17982 gccver=`$CC -dumpversion | sed -E 's/-.+$//'`
17983 gccvhi=`echo $gccver | cut -d . -f1`
17984 if echo $gccver | grep -F '.' >/dev/null; then
17985 gccvlo=`echo $gccver | cut -d . -f2`
17990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5
17992 flags_dbg_yes="-g"
17993 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
17994 flags_opt_yes="-O2"
17995 flags_opt_off="-O0"
17997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17998 printf "%s\n" "no" >&6; }
18002 mips-sgi-irix*)
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
18010 if test -z "$SED"; then
18013 if test -z "$GREP"; then
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18040 rm -f conftest.err conftest.i conftest.$ac_ext
18041 if test -z "$tmp_exp"; then
18042 curl_cv_have_def___GNUC__=no
18055 if test -z "$SED"; then
18058 if test -z "$GREP"; then
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
18085 rm -f conftest.err conftest.i conftest.$ac_ext
18086 if test -z "$tmp_exp"; then
18087 curl_cv_have_def__COMPILER_VERSION=no
18100 if test -z "$SED"; then
18103 if test -z "$GREP"; then
18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125 if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
18130 rm -f conftest.err conftest.i conftest.$ac_ext
18131 if test -z "$tmp_exp"; then
18132 curl_cv_have_def__SGI_COMPILER_VERSION=no
18141 if test "$curl_cv_have_def___GNUC__" = "no" &&
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18147 flags_dbg_yes="-g"
18148 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18149 flags_opt_yes="-O2"
18150 flags_opt_off="-O0"
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18153 printf "%s\n" "no" >&6; }
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
18163 if test -z "$SED"; then
18166 if test -z "$GREP"; then
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18193 rm -f conftest.err conftest.i conftest.$ac_ext
18194 if test -z "$tmp_exp"; then
18195 curl_cv_have_def___GNUC__=no
18208 if test -z "$SED"; then
18211 if test -z "$GREP"; then
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18233 if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
18238 rm -f conftest.err conftest.i conftest.$ac_ext
18239 if test -z "$tmp_exp"; then
18240 curl_cv_have_def___sgi=no
18249 if test "$curl_cv_have_def___GNUC__" = "no" &&
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18255 flags_dbg_yes="-g"
18256 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18257 flags_opt_yes="-O2"
18258 flags_opt_off="-O0"
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18261 printf "%s\n" "no" >&6; }
18267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
18273 if test -z "$SED"; then
18276 if test -z "$GREP"; then
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18298 if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
18303 rm -f conftest.err conftest.i conftest.$ac_ext
18304 if test -z "$tmp_exp"; then
18305 curl_cv_have_def___SUNPRO_C=no
18315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18318 flags_dbg_yes="-g"
18319 flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
18320 flags_opt_yes="-xO2"
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18324 printf "%s\n" "no" >&6; }
18328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
18334 if test -z "$SED"; then
18337 if test -z "$GREP"; then
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
18364 rm -f conftest.err conftest.i conftest.$ac_ext
18365 if test -z "$tmp_exp"; then
18366 curl_cv_have_def___TINYC__=no
18376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18379 flags_dbg_yes="-g"
18384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18385 printf "%s\n" "no" >&6; }
18396 *** Whatever settings are present in CFLAGS will be used for this run.
18400 *** mailing list: https://lists.haxx.selistinfo/curl-library/
18406 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
18413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 curl_cv_native_windows="no"
18442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
18460 for _sqz_token in $_sqz_input; do
18461 if test -z "$_sqz_result"; then
18484 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
18489 tmp_CFLAGS="$tmp_CFLAGS -std1"
18490 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
18491 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
18492 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
18497 if test "$compiler_num" -ge "295"; then
18498 tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
18504 tmp_CFLAGS="$tmp_CFLAGS -z"
18510 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
18511 tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
18512 tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
18517 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
18518 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-error 140,147,165,266"
18519 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-disable 279,981,1025,1469,2259"
18552 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
18553 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 tmp_compiler_works="no"
18586 sed 's/^/cc-fail: /' conftest.err >&6
18590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18615 tmp_compiler_works="no"
18617 sed 's/^/link-fail: /' conftest.err >&6
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18631 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18634 See \`config.log' for more details" "$LINENO" 5; }
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 tmp_compiler_works="no"
18662 echo "run-fail: test program exited with status $ac_status" >&6
18666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18674 CC="sh ./run-compiler"
18679 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18682 See \`config.log' for more details" "$LINENO" 5; }
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18708 tmp_compiler_works="no"
18710 echo "run-fail: test program exited with status $ac_status" >&6
18714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18728 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18734 printf "%s\n" "no" >&6; }
18735 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
18758 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options"…
18789 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might…
18793 ac_var_match_word="no"
18794 for word1 in $tmp_CFLAGS; do
18795 for word2 in $flags_opt_all; do
18804 honor_optimize_option="no"
18811 ac_var_match_word="no"
18812 for word1 in $tmp_CPPFLAGS; do
18813 for word2 in $flags_opt_all; do
18822 honor_optimize_option="no"
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
18834 want_optimize="no"
18842 for word1 in $tmp_CFLAGS; do
18843 ac_var_strip_word="no"
18844 for word2 in $flags_opt_all; do
18849 if test "$ac_var_strip_word" = "no"; then
18858 for word1 in $tmp_CPPFLAGS; do
18859 ac_var_strip_word="no"
18860 for word2 in $flags_opt_all; do
18865 if test "$ac_var_strip_word" = "no"; then
18873 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling opti…
18877 if test "$want_optimize" = "no"; then
18878 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling opt…
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 tmp_compiler_works="no"
18918 sed 's/^/cc-fail: /' conftest.err >&6
18922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 tmp_compiler_works="no"
18949 sed 's/^/link-fail: /' conftest.err >&6
18953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18963 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18966 See \`config.log' for more details" "$LINENO" 5; }
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 tmp_compiler_works="no"
18994 echo "run-fail: test program exited with status $ac_status" >&6
18998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19006 CC="sh ./run-compiler"
19011 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19014 See \`config.log' for more details" "$LINENO" 5; }
19016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 tmp_compiler_works="no"
19042 echo "run-fail: test program exited with status $ac_status" >&6
19046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19066 printf "%s\n" "no" >&6; }
19067 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
19092 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
19095 for warning in all extra; do
19097 ac_var_match_word="no"
19098 for word1 in $CFLAGS; do
19099 for word2 in -Wno-$warning -W$warning; do
19106 if test "$ac_var_match_word" = "no"; then
19107 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19115 for warning in pointer-arith write-strings; do
19117 ac_var_match_word="no"
19118 for word1 in $CFLAGS; do
19119 for word2 in -Wno-$warning -W$warning; do
19126 if test "$ac_var_match_word" = "no"; then
19127 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19135 for warning in shadow; do
19137 ac_var_match_word="no"
19138 for word1 in $CFLAGS; do
19139 for word2 in -Wno-$warning -W$warning; do
19146 if test "$ac_var_match_word" = "no"; then
19147 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19155 for warning in inline nested-externs; do
19157 ac_var_match_word="no"
19158 for word1 in $CFLAGS; do
19159 for word2 in -Wno-$warning -W$warning; do
19166 if test "$ac_var_match_word" = "no"; then
19167 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19175 for warning in missing-declarations; do
19177 ac_var_match_word="no"
19178 for word1 in $CFLAGS; do
19179 for word2 in -Wno-$warning -W$warning; do
19186 if test "$ac_var_match_word" = "no"; then
19187 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19195 for warning in missing-prototypes; do
19197 ac_var_match_word="no"
19198 for word1 in $CFLAGS; do
19199 for word2 in -Wno-$warning -W$warning; do
19206 if test "$ac_var_match_word" = "no"; then
19207 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19213 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
19216 for warning in float-equal; do
19218 ac_var_match_word="no"
19219 for word1 in $CFLAGS; do
19220 for word2 in -Wno-$warning -W$warning; do
19227 if test "$ac_var_match_word" = "no"; then
19228 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19236 for warning in sign-compare; do
19238 ac_var_match_word="no"
19239 for word1 in $CFLAGS; do
19240 for word2 in -Wno-$warning -W$warning; do
19247 if test "$ac_var_match_word" = "no"; then
19248 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19254 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
19257 for warning in undef; do
19259 ac_var_match_word="no"
19260 for word1 in $CFLAGS; do
19261 for word2 in -Wno-$warning -W$warning; do
19268 if test "$ac_var_match_word" = "no"; then
19269 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19275 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
19278 for warning in endif-labels strict-prototypes; do
19280 ac_var_match_word="no"
19281 for word1 in $CFLAGS; do
19282 for word2 in -Wno-$warning -W$warning; do
19289 if test "$ac_var_match_word" = "no"; then
19290 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19298 for warning in declaration-after-statement; do
19300 ac_var_match_word="no"
19301 for word1 in $CFLAGS; do
19302 for word2 in -Wno-$warning -W$warning; do
19309 if test "$ac_var_match_word" = "no"; then
19310 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19318 for warning in cast-align; do
19320 ac_var_match_word="no"
19321 for word1 in $CFLAGS; do
19322 for word2 in -Wno-$warning -W$warning; do
19329 if test "$ac_var_match_word" = "no"; then
19330 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19336 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
19339 for warning in shorten-64-to-32; do
19341 ac_var_match_word="no"
19342 for word1 in $CFLAGS; do
19343 for word2 in -Wno-$warning -W$warning; do
19350 if test "$ac_var_match_word" = "no"; then
19351 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19358 if test "$compiler_num" -ge "101"; then
19361 for warning in unused; do
19363 ac_var_match_word="no"
19364 for word1 in $CFLAGS; do
19365 for word2 in -Wno-$warning -W$warning; do
19372 if test "$ac_var_match_word" = "no"; then
19373 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19381 if test "$compiler_num" -ge "207"; then
19384 for warning in address; do
19386 ac_var_match_word="no"
19387 for word1 in $CFLAGS; do
19388 for word2 in -Wno-$warning -W$warning; do
19395 if test "$ac_var_match_word" = "no"; then
19396 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19404 for warning in attributes; do
19406 ac_var_match_word="no"
19407 for word1 in $CFLAGS; do
19408 for word2 in -Wno-$warning -W$warning; do
19415 if test "$ac_var_match_word" = "no"; then
19416 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19424 for warning in bad-function-cast; do
19426 ac_var_match_word="no"
19427 for word1 in $CFLAGS; do
19428 for word2 in -Wno-$warning -W$warning; do
19435 if test "$ac_var_match_word" = "no"; then
19436 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19444 for warning in conversion; do
19446 ac_var_match_word="no"
19447 for word1 in $CFLAGS; do
19448 for word2 in -Wno-$warning -W$warning; do
19455 if test "$ac_var_match_word" = "no"; then
19456 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19464 for warning in div-by-zero format-security; do
19466 ac_var_match_word="no"
19467 for word1 in $CFLAGS; do
19468 for word2 in -Wno-$warning -W$warning; do
19475 if test "$ac_var_match_word" = "no"; then
19476 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19484 for warning in empty-body; do
19486 ac_var_match_word="no"
19487 for word1 in $CFLAGS; do
19488 for word2 in -Wno-$warning -W$warning; do
19495 if test "$ac_var_match_word" = "no"; then
19496 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19504 for warning in missing-field-initializers; do
19506 ac_var_match_word="no"
19507 for word1 in $CFLAGS; do
19508 for word2 in -Wno-$warning -W$warning; do
19515 if test "$ac_var_match_word" = "no"; then
19516 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19524 for warning in missing-noreturn; do
19526 ac_var_match_word="no"
19527 for word1 in $CFLAGS; do
19528 for word2 in -Wno-$warning -W$warning; do
19535 if test "$ac_var_match_word" = "no"; then
19536 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19544 for warning in old-style-definition; do
19546 ac_var_match_word="no"
19547 for word1 in $CFLAGS; do
19548 for word2 in -Wno-$warning -W$warning; do
19555 if test "$ac_var_match_word" = "no"; then
19556 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19564 for warning in redundant-decls; do
19566 ac_var_match_word="no"
19567 for word1 in $CFLAGS; do
19568 for word2 in -Wno-$warning -W$warning; do
19575 if test "$ac_var_match_word" = "no"; then
19576 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19582 …# CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically d…
19585 for warning in type-limits; do
19587 ac_var_match_word="no"
19588 for word1 in $CFLAGS; do
19589 for word2 in -Wno-$warning -W$warning; do
19596 if test "$ac_var_match_word" = "no"; then
19597 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19603 # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical
19606 for warning in unreachable-code unused-parameter; do
19608 ac_var_match_word="no"
19609 for word1 in $CFLAGS; do
19610 for word2 in -Wno-$warning -W$warning; do
19617 if test "$ac_var_match_word" = "no"; then
19618 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19626 if test "$compiler_num" -ge "208"; then
19629 for warning in ignored-qualifiers; do
19631 ac_var_match_word="no"
19632 for word1 in $CFLAGS; do
19633 for word2 in -Wno-$warning -W$warning; do
19640 if test "$ac_var_match_word" = "no"; then
19641 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19649 for warning in vla; do
19651 ac_var_match_word="no"
19652 for word1 in $CFLAGS; do
19653 for word2 in -Wno-$warning -W$warning; do
19660 if test "$ac_var_match_word" = "no"; then
19661 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19669 if test "$compiler_num" -ge "209"; then
19672 for warning in sign-conversion; do
19674 ac_var_match_word="no"
19675 for word1 in $CFLAGS; do
19676 for word2 in -Wno-$warning -W$warning; do
19683 if test "$ac_var_match_word" = "no"; then
19684 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19690 tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME
19693 for warning in shift-sign-overflow; do
19695 ac_var_match_word="no"
19696 for word1 in $CFLAGS; do
19697 for word2 in -Wno-$warning -W$warning; do
19704 if test "$ac_var_match_word" = "no"; then
19705 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19714 if test "$compiler_num" -ge "300"; then
19717 for warning in language-extension-token; do
19719 ac_var_match_word="no"
19720 for word1 in $CFLAGS; do
19721 for word2 in -Wno-$warning -W$warning; do
19728 if test "$ac_var_match_word" = "no"; then
19729 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19735 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
19738 if test "$compiler_num" -ge "302"; then
19741 for warning in enum-conversion; do
19743 ac_var_match_word="no"
19744 for word1 in $CFLAGS; do
19745 for word2 in -Wno-$warning -W$warning; do
19752 if test "$ac_var_match_word" = "no"; then
19753 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19761 for warning in sometimes-uninitialized; do
19763 ac_var_match_word="no"
19764 for word1 in $CFLAGS; do
19765 for word2 in -Wno-$warning -W$warning; do
19772 if test "$ac_var_match_word" = "no"; then
19773 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19785 for warning in missing-variable-declarations; do
19787 ac_var_match_word="no"
19788 for word1 in $CFLAGS; do
19789 for word2 in -Wno-$warning -W$warning; do
19796 if test "$ac_var_match_word" = "no"; then
19797 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19807 if test "$compiler_num" -ge "304"; then
19810 for warning in header-guard; do
19812 ac_var_match_word="no"
19813 for word1 in $CFLAGS; do
19814 for word2 in -Wno-$warning -W$warning; do
19821 if test "$ac_var_match_word" = "no"; then
19822 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19830 for warning in unused-const-variable; do
19832 ac_var_match_word="no"
19833 for word1 in $CFLAGS; do
19834 for word2 in -Wno-$warning -W$warning; do
19841 if test "$ac_var_match_word" = "no"; then
19842 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19850 if test "$compiler_num" -ge "305"; then
19853 for warning in pragmas; do
19855 ac_var_match_word="no"
19856 for word1 in $CFLAGS; do
19857 for word2 in -Wno-$warning -W$warning; do
19864 if test "$ac_var_match_word" = "no"; then
19865 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19873 for warning in unreachable-code-break; do
19875 ac_var_match_word="no"
19876 for word1 in $CFLAGS; do
19877 for word2 in -Wno-$warning -W$warning; do
19884 if test "$ac_var_match_word" = "no"; then
19885 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19893 if test "$compiler_num" -ge "306"; then
19896 for warning in double-promotion; do
19898 ac_var_match_word="no"
19899 for word1 in $CFLAGS; do
19900 for word2 in -Wno-$warning -W$warning; do
19907 if test "$ac_var_match_word" = "no"; then
19908 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19916 if test "$compiler_num" -ge "309"; then
19919 for warning in comma; do
19921 ac_var_match_word="no"
19922 for word1 in $CFLAGS; do
19923 for word2 in -Wno-$warning -W$warning; do
19930 if test "$ac_var_match_word" = "no"; then
19931 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19939 if test "$compiler_num" -lt "400"; then
19940 tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
19943 if test "$compiler_num" -ge "700"; then
19946 for warning in assign-enum; do
19948 ac_var_match_word="no"
19949 for word1 in $CFLAGS; do
19950 for word2 in -Wno-$warning -W$warning; do
19957 if test "$ac_var_match_word" = "no"; then
19958 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19966 for warning in extra-semi-stmt; do
19968 ac_var_match_word="no"
19969 for word1 in $CFLAGS; do
19970 for word2 in -Wno-$warning -W$warning; do
19977 if test "$ac_var_match_word" = "no"; then
19978 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19985 if test "$compiler_num" -ge "1000"; then
19986 …tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and abo…
19989 tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion"
19995 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
20004 test "$compiler_num" -ge "300"; then
20005 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
20010 for warning in all; do
20012 ac_var_match_word="no"
20013 for word1 in $CFLAGS; do
20014 for word2 in -Wno-$warning -W$warning; do
20021 if test "$ac_var_match_word" = "no"; then
20022 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20028 tmp_CFLAGS="$tmp_CFLAGS -W"
20030 if test "$compiler_num" -ge "104"; then
20033 for warning in pointer-arith write-strings; do
20035 ac_var_match_word="no"
20036 for word1 in $CFLAGS; do
20037 for word2 in -Wno-$warning -W$warning; do
20044 if test "$ac_var_match_word" = "no"; then
20045 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20052 test "$compiler_num" -ge "300"; then
20055 for warning in unused shadow; do
20057 ac_var_match_word="no"
20058 for word1 in $CFLAGS; do
20059 for word2 in -Wno-$warning -W$warning; do
20066 if test "$ac_var_match_word" = "no"; then
20067 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20076 if test "$compiler_num" -ge "207"; then
20079 for warning in inline nested-externs; do
20081 ac_var_match_word="no"
20082 for word1 in $CFLAGS; do
20083 for word2 in -Wno-$warning -W$warning; do
20090 if test "$ac_var_match_word" = "no"; then
20091 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20098 test "$compiler_num" -ge "300"; then
20101 for warning in missing-declarations; do
20103 ac_var_match_word="no"
20104 for word1 in $CFLAGS; do
20105 for word2 in -Wno-$warning -W$warning; do
20112 if test "$ac_var_match_word" = "no"; then
20113 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20121 for warning in missing-prototypes; do
20123 ac_var_match_word="no"
20124 for word1 in $CFLAGS; do
20125 for word2 in -Wno-$warning -W$warning; do
20132 if test "$ac_var_match_word" = "no"; then
20133 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20142 if test "$compiler_num" -ge "295"; then
20143 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
20146 for warning in bad-function-cast; do
20148 ac_var_match_word="no"
20149 for word1 in $CFLAGS; do
20150 for word2 in -Wno-$warning -W$warning; do
20157 if test "$ac_var_match_word" = "no"; then
20158 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20166 if test "$compiler_num" -ge "296"; then
20169 for warning in float-equal; do
20171 ac_var_match_word="no"
20172 for word1 in $CFLAGS; do
20173 for word2 in -Wno-$warning -W$warning; do
20180 if test "$ac_var_match_word" = "no"; then
20181 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20187 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
20190 for warning in sign-compare; do
20192 ac_var_match_word="no"
20193 for word1 in $CFLAGS; do
20194 for word2 in -Wno-$warning -W$warning; do
20201 if test "$ac_var_match_word" = "no"; then
20202 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20210 for warning in undef; do
20212 ac_var_match_word="no"
20213 for word1 in $CFLAGS; do
20214 for word2 in -Wno-$warning -W$warning; do
20221 if test "$ac_var_match_word" = "no"; then
20222 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20230 if test "$compiler_num" -ge "297"; then
20231 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
20234 if test "$compiler_num" -ge "300"; then
20238 if test "$compiler_num" -ge "303"; then
20241 for warning in endif-labels strict-prototypes; do
20243 ac_var_match_word="no"
20244 for word1 in $CFLAGS; do
20245 for word2 in -Wno-$warning -W$warning; do
20252 if test "$ac_var_match_word" = "no"; then
20253 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20261 if test "$compiler_num" -ge "304"; then
20264 for warning in declaration-after-statement; do
20266 ac_var_match_word="no"
20267 for word1 in $CFLAGS; do
20268 for word2 in -Wno-$warning -W$warning; do
20275 if test "$ac_var_match_word" = "no"; then
20276 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20284 for warning in old-style-definition; do
20286 ac_var_match_word="no"
20287 for word1 in $CFLAGS; do
20288 for word2 in -Wno-$warning -W$warning; do
20295 if test "$ac_var_match_word" = "no"; then
20296 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20304 if test "$compiler_num" -ge "400"; then
20305 tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
20308 if test "$compiler_num" -ge "401"; then
20311 for warning in attributes; do
20313 ac_var_match_word="no"
20314 for word1 in $CFLAGS; do
20315 for word2 in -Wno-$warning -W$warning; do
20322 if test "$ac_var_match_word" = "no"; then
20323 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20331 for warning in div-by-zero format-security; do
20333 ac_var_match_word="no"
20334 for word1 in $CFLAGS; do
20335 for word2 in -Wno-$warning -W$warning; do
20342 if test "$ac_var_match_word" = "no"; then
20343 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20351 for warning in missing-field-initializers; do
20353 ac_var_match_word="no"
20354 for word1 in $CFLAGS; do
20355 for word2 in -Wno-$warning -W$warning; do
20362 if test "$ac_var_match_word" = "no"; then
20363 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20370 *-*-msys*)
20375 for warning in missing-noreturn; do
20377 ac_var_match_word="no"
20378 for word1 in $CFLAGS; do
20379 for word2 in -Wno-$warning -W$warning; do
20386 if test "$ac_var_match_word" = "no"; then
20387 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20392 # Seen to clash with libtool-generated stub code
20397 for warning in unreachable-code unused-parameter; do
20399 ac_var_match_word="no"
20400 for word1 in $CFLAGS; do
20401 for word2 in -Wno-$warning -W$warning; do
20408 if test "$ac_var_match_word" = "no"; then
20409 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20418 for warning in pragmas; do
20420 ac_var_match_word="no"
20421 for word1 in $CFLAGS; do
20422 for word2 in -Wno-$warning -W$warning; do
20429 if test "$ac_var_match_word" = "no"; then
20430 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20438 for warning in redundant-decls; do
20440 ac_var_match_word="no"
20441 for word1 in $CFLAGS; do
20442 for word2 in -Wno-$warning -W$warning; do
20449 if test "$ac_var_match_word" = "no"; then
20450 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20456 …# CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically d…
20457 # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical
20460 if test "$compiler_num" -ge "402"; then
20463 for warning in cast-align; do
20465 ac_var_match_word="no"
20466 for word1 in $CFLAGS; do
20467 for word2 in -Wno-$warning -W$warning; do
20474 if test "$ac_var_match_word" = "no"; then
20475 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20483 if test "$compiler_num" -ge "403"; then
20486 for warning in address; do
20488 ac_var_match_word="no"
20489 for word1 in $CFLAGS; do
20490 for word2 in -Wno-$warning -W$warning; do
20497 if test "$ac_var_match_word" = "no"; then
20498 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20506 for warning in type-limits old-style-declaration; do
20508 ac_var_match_word="no"
20509 for word1 in $CFLAGS; do
20510 for word2 in -Wno-$warning -W$warning; do
20517 if test "$ac_var_match_word" = "no"; then
20518 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20526 for warning in missing-parameter-type empty-body; do
20528 ac_var_match_word="no"
20529 for word1 in $CFLAGS; do
20530 for word2 in -Wno-$warning -W$warning; do
20537 if test "$ac_var_match_word" = "no"; then
20538 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20546 for warning in clobbered ignored-qualifiers; do
20548 ac_var_match_word="no"
20549 for word1 in $CFLAGS; do
20550 for word2 in -Wno-$warning -W$warning; do
20557 if test "$ac_var_match_word" = "no"; then
20558 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20566 for warning in conversion trampolines; do
20568 ac_var_match_word="no"
20569 for word1 in $CFLAGS; do
20570 for word2 in -Wno-$warning -W$warning; do
20577 if test "$ac_var_match_word" = "no"; then
20578 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20586 for warning in sign-conversion; do
20588 ac_var_match_word="no"
20589 for word1 in $CFLAGS; do
20590 for word2 in -Wno-$warning -W$warning; do
20597 if test "$ac_var_match_word" = "no"; then
20598 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20604 tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME
20607 for warning in vla; do
20609 ac_var_match_word="no"
20610 for word1 in $CFLAGS; do
20611 for word2 in -Wno-$warning -W$warning; do
20618 if test "$ac_var_match_word" = "no"; then
20619 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20625 tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
20628 if test "$compiler_num" -ge "405"; then
20630 tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
20634 if test "$compiler_num" -ge "406"; then
20637 for warning in double-promotion; do
20639 ac_var_match_word="no"
20640 for word1 in $CFLAGS; do
20641 for word2 in -Wno-$warning -W$warning; do
20648 if test "$ac_var_match_word" = "no"; then
20649 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20657 if test "$compiler_num" -ge "408"; then
20658 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
20661 if test "$compiler_num" -ge "500"; then
20662 tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
20665 if test "$compiler_num" -ge "600"; then
20668 for warning in shift-negative-value; do
20670 ac_var_match_word="no"
20671 for word1 in $CFLAGS; do
20672 for word2 in -Wno-$warning -W$warning; do
20679 if test "$ac_var_match_word" = "no"; then
20680 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20686 tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
20689 for warning in null-dereference; do
20691 ac_var_match_word="no"
20692 for word1 in $CFLAGS; do
20693 for word2 in -Wno-$warning -W$warning; do
20700 if test "$ac_var_match_word" = "no"; then
20701 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20707 tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
20710 for warning in duplicated-cond; do
20712 ac_var_match_word="no"
20713 for word1 in $CFLAGS; do
20714 for word2 in -Wno-$warning -W$warning; do
20721 if test "$ac_var_match_word" = "no"; then
20722 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20730 for warning in unused-const-variable; do
20732 ac_var_match_word="no"
20733 for word1 in $CFLAGS; do
20734 for word2 in -Wno-$warning -W$warning; do
20741 if test "$ac_var_match_word" = "no"; then
20742 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20750 if test "$compiler_num" -ge "700"; then
20753 for warning in duplicated-branches; do
20755 ac_var_match_word="no"
20756 for word1 in $CFLAGS; do
20757 for word2 in -Wno-$warning -W$warning; do
20764 if test "$ac_var_match_word" = "no"; then
20765 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20773 for warning in restrict; do
20775 ac_var_match_word="no"
20776 for word1 in $CFLAGS; do
20777 for word2 in -Wno-$warning -W$warning; do
20784 if test "$ac_var_match_word" = "no"; then
20785 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20793 for warning in alloc-zero; do
20795 ac_var_match_word="no"
20796 for word1 in $CFLAGS; do
20797 for word2 in -Wno-$warning -W$warning; do
20804 if test "$ac_var_match_word" = "no"; then
20805 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20811 tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
20812 tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
20813 tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough"
20816 if test "$compiler_num" -ge "1000"; then
20819 for warning in arith-conversion; do
20821 ac_var_match_word="no"
20822 for word1 in $CFLAGS; do
20823 for word2 in -Wno-$warning -W$warning; do
20830 if test "$ac_var_match_word" = "no"; then
20831 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20839 for warning in enum-conversion; do
20841 ac_var_match_word="no"
20842 for word1 in $CFLAGS; do
20843 for word2 in -Wno-$warning -W$warning; do
20850 if test "$ac_var_match_word" = "no"; then
20851 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20861 if test "$compiler_num" -ge "300"; then
20862 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
20865 if test "$compiler_num" -ge "104"; then
20866 tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
20868 if test "$compiler_num" -ge "207"; then
20869 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
20870 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
20891 if test "$compiler_num" -gt "600"; then
20892 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
20893 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
20894 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
20895 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
20896 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
20897 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
20898 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
20899 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
20900 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
20901 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
20902 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
20905 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
20906 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
20907 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
20918 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20925 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20926 tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
20933 tmp_CFLAGS="$tmp_CFLAGS -v"
20942 for warning in all; do
20944 ac_var_match_word="no"
20945 for word1 in $CFLAGS; do
20946 for word2 in -Wno-$warning -W$warning; do
20953 if test "$ac_var_match_word" = "no"; then
20954 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20962 for warning in write-strings; do
20964 ac_var_match_word="no"
20965 for word1 in $CFLAGS; do
20966 for word2 in -Wno-$warning -W$warning; do
20973 if test "$ac_var_match_word" = "no"; then
20974 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20982 for warning in unsupported; do
20984 ac_var_match_word="no"
20985 for word1 in $CFLAGS; do
20986 for word2 in -Wno-$warning -W$warning; do
20993 if test "$ac_var_match_word" = "no"; then
20994 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
21008 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
21009 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options"…
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 tmp_compiler_works="no"
21042 sed 's/^/cc-fail: /' conftest.err >&6
21046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 tmp_compiler_works="no"
21073 sed 's/^/link-fail: /' conftest.err >&6
21077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21087 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21090 See \`config.log' for more details" "$LINENO" 5; }
21092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116 tmp_compiler_works="no"
21118 echo "run-fail: test program exited with status $ac_status" >&6
21122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21130 CC="sh ./run-compiler"
21135 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21138 See \`config.log' for more details" "$LINENO" 5; }
21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 tmp_compiler_works="no"
21166 echo "run-fail: test program exited with status $ac_status" >&6
21170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21184 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
21189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21190 printf "%s\n" "no" >&6; }
21191 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
21205 if test "$compiler_num" -ge "1000"; then
21206 CFLAGS="$CFLAGS -shared-intel"
21207 elif test "$compiler_num" -ge "900"; then
21208 CFLAGS="$CFLAGS -i-dynamic"
21215 CURL_CFLAG_EXTRAS="-Werror"
21217 if test "$compiler_num" -ge "500"; then
21218 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
21225 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
21227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21246 printf "%s\n" "no" >&6; }
21251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21258 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays"…
21260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
21279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21280 printf "%s\n" "no" >&6; }
21285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21292 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mis…
21294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21325 printf "%s\n" "no" >&6; }
21330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21337 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library interna…
21339 supports_symbol_hiding="no"
21347 tmp_CFLAGS="-fvisibility=hidden"
21351 if test "$compiler_num" -ge "304"; then
21352 if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
21354 tmp_CFLAGS="-fvisibility=hidden"
21360 if test "$compiler_num" -ge "900"; then
21361 if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
21363 CFLAGS="$CFLAGS -fvisibility=hidden"
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21384 tmp_CFLAGS="-fvisibility=hidden"
21388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21395 if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
21397 tmp_CFLAGS="-xldscope=hidden"
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 if test -f conftest.err; then
21438 if test "$?" -eq "0"; then
21439 supports_symbol_hiding="no"
21445 supports_symbol_hiding="no"
21447 sed 's/^/cc-src: /' conftest.$ac_ext >&6
21448 sed 's/^/cc-err: /' conftest.err >&6
21452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21462 printf "%s\n" "no" >&6; }
21471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
21473 supports_curldebug="no"
21477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
21479 supports_curldebug="no"
21481 if test "$supports_curldebug" != "no"; then
21484 supports_curldebug="no"
21485 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined s…
21492 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enable…
21494 test "$supports_curldebug" = "no" || supports_curldebug="yes"
21495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
21497 if test "$supports_curldebug" = "no"; then
21498 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." …
21500 want_curldebug="no"
21514 # cross-compilation of unit tests static library/programs fails when
21519 supports_unittests=no
21526 mips-sgi-irix6.5)
21528 supports_unittests=no
21534 # due to unittests library being built with no symbols or members. Libtool ?
21538 supports_unittests=no
21546 want_unittests=no
21559 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file AP…
21561 curl_win32_file_api="no"
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21591 if test "$curl_win32_file_api" = "no"; then
21592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
21631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
21640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21641 printf "%s\n" "no" >&6; }
21646 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto …
21648 curl_win32_crypto_api="no"
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21695 printf "%s\n" "no" >&6; }
21702 tst_cflags="no"
21709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for good-to-use Darwin CFLAGS" >&5
21710 printf %s "checking for good-to-use Darwin CFLAGS... " >&6; }
21711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
21716 CFLAGS="$CFLAGS -Werror=partial-availability"
21717 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availab…
21718 printf %s "checking whether $CC accepts -Werror=partial-availability... " >&6; }
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21735 printf "%s\n" "no" >&6; }
21738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to link macOS CoreFoundation, CoreSe…
21747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 build_for_macos="no"
21777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21781 …LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework SystemConfiguration"
21783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21784 printf "%s\n" "no" >&6; }
21788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21789 printf "%s\n" "no" >&6; }
21793 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_a…
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21823 printf "%s\n" "no" >&6; }
21826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21829 if test "$curl_cv_native_windows" = "yes" && test -n "${RC}"; then
21839 if test -z "$HAVE_WINDRES_TRUE"; then :
21845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
21847 # Check whether --enable-http was given.
21851 no)
21852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21853 printf "%s\n" "no" >&6; }
21858 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RT…
21873 curl_h1_msg="no (--enable-http, --with-hyper)"
21874 curl_altsvc_msg="no";
21875 curl_hsts_msg="no (--enable-hsts)";
21876 enable_altsvc="no"
21877 hsts="no"
21879 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
21891 # Check whether --enable-ftp was given.
21895 no)
21896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21897 printf "%s\n" "no" >&6; }
21904 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
21916 # Check whether --enable-file was given.
21920 no)
21921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21922 printf "%s\n" "no" >&6; }
21929 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
21941 # Check whether --enable-ldap was given.
21945 no)
21946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21947 printf "%s\n" "no" >&6; }
21956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
21973 # Check whether --enable-ldaps was given.
21977 no)
21978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21979 printf "%s\n" "no" >&6; }
21987 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >…
21995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22009 printf "%s\n" "no" >&6; }
22016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22029 OPT_HYPER="no"
22032 # Check whether --with-hyper was given.
22039 no)
22040 want_hyper="no"
22054 as_fn_error $? "--with-hyper is not compatible with --disable-http" "$LINENO" 5
22062 if test -n "$PKG_CONFIG"; then
22065 if test -n "$ac_tool_prefix"; then
22066 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22067 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22069 printf %s "checking for $ac_word... " >&6; }
22081 for as_dir in $as_dummy
22089 for ac_exec_ext in '' $ac_executable_extensions; do
22092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22103 if test -n "$PKGCONFIG"; then
22104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
22107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22108 printf "%s\n" "no" >&6; }
22113 if test -z "$ac_cv_path_PKGCONFIG"; then
22115 # Extract the first word of "pkg-config", so it can be a program name with args.
22116 set dummy pkg-config; ac_word=$2
22117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22118 printf %s "checking for $ac_word... " >&6; }
22130 for as_dir in $as_dummy
22138 for ac_exec_ext in '' $ac_executable_extensions; do
22141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22152 if test -n "$ac_pt_PKGCONFIG"; then
22153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
22156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22157 printf "%s\n" "no" >&6; }
22161 PKGCONFIG="no"
22165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
22178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper options with pkg-config" >&5
22179 printf %s "checking for hyper options with pkg-config... " >&6; }
22181 if test -n "$want_hyper_path"; then
22185 $PKGCONFIG --exists hyper >/dev/null 2>&1 && echo 1`
22187 if test -z "$itexists"; then
22188 PKGCONFIG="no"
22189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22190 printf "%s\n" "no" >&6; }
22192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
22198 if test "$PKGCONFIG" != "no" ; then
22200 if test -n "$want_hyper_path"; then
22205 $PKGCONFIG --libs-only-l hyper`
22207 if test -n "$want_hyper_path"; then
22211 $PKGCONFIG --cflags-only-I hyper`
22213 if test -n "$want_hyper_path"; then
22218 $PKGCONFIG --libs-only-L hyper`
22220 LIB_HYPER="-lhyper -ldl -lpthread -lm"
22222 CPP_HYPER=-I"$want_hyper_path/capi/include"
22223 LD_HYPER="-L$want_hyper_path/target/release -L$want_hyper_path/target/debug"
22226 if test -n "$LIB_HYPER"; then
22227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_HYPER" >&5
22228 printf "%s\n" "$as_me: -l is $LIB_HYPER" >&6;}
22229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_HYPER" >&5
22230 printf "%s\n" "$as_me: -I is $CPP_HYPER" >&6;}
22231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_HYPER" >&5
22232 printf "%s\n" "$as_me: -L is $LD_HYPER" >&6;}
22239 DIR_HYPER=`echo $LD_HYPER | $SED -e 's/^-L//' -e 's/ -L/:/g'`
22242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper_io_new in -lhyper" >&5
22243 printf %s "checking for hyper_io_new in -lhyper... " >&6; }
22249 LIBS="-lhyper $LIBS"
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22269 ac_cv_lib_hyper_hyper_io_new=no
22271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hyper_hyper_io_new" >&5
22280 for ac_header in hyper.h
22287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5
22298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_HYPER to CURL_LIBRARY_PATH" >&5
22305 for d in `echo $DIR_HYPER | $SED -e 's/:/ /'`; do
22306 if test -f "$d/libhyper.a"; then
22310 as_fn_error $? "--with-hyper but hyper was not found. See docs/HYPER.md." "$LINENO" 5
22318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disable RTSP support with hyper" >&5
22326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
22328 # Check whether --enable-rtsp was given.
22332 no)
22333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22334 printf "%s\n" "no" >&6; }
22345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22358 printf "%s\n" "no" >&6; }
22365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
22367 # Check whether --enable-proxy was given.
22371 no)
22372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22373 printf "%s\n" "no" >&6; }
22379 https_proxy="no"
22381 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
22394 # Check whether --enable-dict was given.
22398 no)
22399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22400 printf "%s\n" "no" >&6; }
22407 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
22419 # Check whether --enable-telnet was given.
22423 no)
22424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22425 printf "%s\n" "no" >&6; }
22432 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
22444 # Check whether --enable-tftp was given.
22448 no)
22449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22450 printf "%s\n" "no" >&6; }
22457 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
22470 # Check whether --enable-pop3 was given.
22474 no)
22475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22476 printf "%s\n" "no" >&6; }
22483 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
22497 # Check whether --enable-imap was given.
22501 no)
22502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22503 printf "%s\n" "no" >&6; }
22510 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
22524 # Check whether --enable-smb was given.
22528 no)
22529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22530 printf "%s\n" "no" >&6; }
22537 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
22550 # Check whether --enable-smtp was given.
22554 no)
22555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22556 printf "%s\n" "no" >&6; }
22563 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
22576 # Check whether --enable-gopher was given.
22580 no)
22581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22582 printf "%s\n" "no" >&6; }
22589 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support mqtt" >&5
22602 # Check whether --enable-mqtt was given.
22606 no)
22607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22608 printf "%s\n" "no" >&6; }
22615 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22621 printf "%s\n" "no" >&6; }
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
22628 printf %s "checking whether to provide built-in manual... " >&6; }
22629 # Check whether --enable-manual was given.
22633 no)
22634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22635 printf "%s\n" "no" >&6; }
22637 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
22653 # Check whether --enable-docs was given.
22657 no)
22658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22659 printf "%s\n" "no" >&6; }
22662 curl_docs_msg="no"
22664 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
22680 # Check whether --enable-libcurl_option was given.
22684 no)
22685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22686 printf "%s\n" "no" >&6; }
22690 curl_libcurl_msg="no"
22692 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
22706 # Check whether --enable-libgcc was given.
22711 LIBS="-lgcc $LIBS"
22712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22715 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22716 printf "%s\n" "no" >&6; }
22720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22721 printf "%s\n" "no" >&6; }
22727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
22729 tst_lib_xnet_required="no"
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22751 LIBS="-lxnet $LIBS"
22754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
22765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22766 printf %s "checking for gethostbyname in -lnsl... " >&6; }
22772 LIBS="-lnsl $LIBS"
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22792 ac_cv_lib_nsl_gethostbyname=no
22794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22803 LIBS="-lnsl $LIBS"
22813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
22814 printf %s "checking for gethostbyname in -lsocket... " >&6; }
22820 LIBS="-lsocket $LIBS"
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 ac_cv_lib_socket_gethostbyname=no
22842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
22851 LIBS="-lsocket $LIBS"
22859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
22860 printf %s "checking for gethostbyname in -lwatt... " >&6; }
22866 LIBS="-lwatt $LIBS"
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22886 ac_cv_lib_watt_gethostbyname=no
22888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
22897 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
22898 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
22899 LIBS="-lwatt $LIBS"
22907 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket …
22908 printf %s "checking for gethostbyname with both nsl and socket libs... " >&6; }
22910 LIBS="-lnsl -lsocket $LIBS"
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22936 printf "%s\n" "no" >&6; }
22940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22947 winsock_LIB="-lws2_32"
22948 if test ! -z "$winsock_LIB"; then
22951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
22952 printf %s "checking for gethostbyname in $winsock_LIB... " >&6; }
22953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22984 printf "%s\n" "no" >&6; }
22989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
22998 printf %s "checking for gethostbyname for Minix 3... " >&6; }
22999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23026 printf "%s\n" "no" >&6; }
23029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
23036 printf %s "checking for gethostbyname for eCos... " >&6; }
23037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23064 printf "%s\n" "no" >&6; }
23067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23071 if test "$HAVE_GETHOSTBYNAME" != "1" -o "${with_amissl+set}" = set
23073 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.lib…
23074 printf %s "checking for gethostbyname for AmigaOS bsdsocket.library... " >&6; }
23075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23113 printf "%s\n" "no" >&6; }
23116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
23123 printf %s "checking for gethostbyname in -lnetwork... " >&6; }
23129 LIBS="-lnetwork $LIBS"
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23149 ac_cv_lib_network_gethostbyname=no
23151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
23160 LIBS="-lnetwork $LIBS"
23167 as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
23181 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
23188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 curl_cv_native_windows="no"
23217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
23260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
23261 printf %s "checking for connect in libraries... " >&6; }
23264 for tst_lib in '' '-lsocket' ; do
23267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23300 case X-"$tst_connect_need_LIBS" in
23301 X-unknown)
23302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
23306 X-)
23307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
23334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
23335 printf %s "checking for monotonic clock_gettime... " >&6; }
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23371 printf "%s\n" "no" >&6; }
23372 curl_func_clock_gettime="no"
23375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
23383 printf %s "checking for clock_gettime in libraries... " >&6; }
23388 for x_xlibs in '' '-lrt' '-lposix4' ; do
23390 if test -z "$x_xlibs"; then
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23431 case X-"$curl_cv_gclk_LIBS" in
23432 X-unknown)
23433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
23435 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23437 curl_func_clock_gettime="no"
23439 X-)
23440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
23441 printf "%s\n" "no additional lib required" >&6; }
23445 if test -z "$curl_cv_save_LIBS"; then
23450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
23458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
23465 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23468 See \`config.log' for more details" "$LINENO" 5; }
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23504 printf "%s\n" "no" >&6; }
23505 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23507 curl_func_clock_gettime="no"
23511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23519 CC="sh ./run-compiler"
23524 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23527 See \`config.log' for more details" "$LINENO" 5; }
23529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23563 printf "%s\n" "no" >&6; }
23564 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23566 curl_func_clock_gettime="no"
23570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for raw monotonic clock_gettime" >&5
23608 printf %s "checking for raw monotonic clock_gettime... " >&6; }
23611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23646 printf "%s\n" "no" >&6; }
23649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23662 # Check whether --with-zlib was given.
23669 if test "$OPT_ZLIB" = "no" ; then
23670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
23677 if test -z "$OPT_ZLIB" ; then
23679 if test -n "$PKG_CONFIG"; then
23682 if test -n "$ac_tool_prefix"; then
23683 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23684 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23686 printf %s "checking for $ac_word... " >&6; }
23698 for as_dir in $as_dummy
23706 for ac_exec_ext in '' $ac_executable_extensions; do
23709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23720 if test -n "$PKGCONFIG"; then
23721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23725 printf "%s\n" "no" >&6; }
23730 if test -z "$ac_cv_path_PKGCONFIG"; then
23732 # Extract the first word of "pkg-config", so it can be a program name with args.
23733 set dummy pkg-config; ac_word=$2
23734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23735 printf %s "checking for $ac_word... " >&6; }
23747 for as_dir in $as_dummy
23755 for ac_exec_ext in '' $ac_executable_extensions; do
23758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23769 if test -n "$ac_pt_PKGCONFIG"; then
23770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23774 printf "%s\n" "no" >&6; }
23778 PKGCONFIG="no"
23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
23796 printf %s "checking for zlib options with pkg-config... " >&6; }
23798 if test -n ""; then
23802 $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
23804 if test -z "$itexists"; then
23805 PKGCONFIG="no"
23806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23807 printf "%s\n" "no" >&6; }
23809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
23815 if test "$PKGCONFIG" != "no" ; then
23816 ZLIB_LIBS="`$PKGCONFIG --libs-only-l zlib`"
23817 if test -n "$ZLIB_LIBS"; then
23818 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
23820 ZLIB_LIBS="`$PKGCONFIG --libs zlib`"
23823 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags zlib`"
23828 if test -z "$HAVE_LIBZ"; then
23831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
23832 printf %s "checking for inflateEnd in -lz... " >&6; }
23838 LIBS="-lz $LIBS"
23839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23858 ac_cv_lib_z_inflateEnd=no
23860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
23869 ZLIB_LIBS="-lz"
23878 if test -n "$OPT_ZLIB"; then
23879 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
23880 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
23889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
23890 printf %s "checking for gzread in -lz... " >&6; }
23896 LIBS="-lz $LIBS"
23897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 ac_cv_lib_z_gzread=no
23918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
23928 ZLIB_LIBS="-lz"
23948 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the …
23957 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, …
23972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
23992 # Check whether --with-brotli was given.
24007 if test -n "$PKG_CONFIG"; then
24010 if test -n "$ac_tool_prefix"; then
24011 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24012 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24014 printf %s "checking for $ac_word... " >&6; }
24026 for as_dir in $as_dummy
24034 for ac_exec_ext in '' $ac_executable_extensions; do
24037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24048 if test -n "$PKGCONFIG"; then
24049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24053 printf "%s\n" "no" >&6; }
24058 if test -z "$ac_cv_path_PKGCONFIG"; then
24060 # Extract the first word of "pkg-config", so it can be a program name with args.
24061 set dummy pkg-config; ac_word=$2
24062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24063 printf %s "checking for $ac_word... " >&6; }
24075 for as_dir in $as_dummy
24083 for ac_exec_ext in '' $ac_executable_extensions; do
24086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24097 if test -n "$ac_pt_PKGCONFIG"; then
24098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24102 printf "%s\n" "no" >&6; }
24106 PKGCONFIG="no"
24110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24123 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >…
24124 printf %s "checking for libbrotlidec options with pkg-config... " >&6; }
24126 if test -n ""; then
24130 $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
24132 if test -z "$itexists"; then
24133 PKGCONFIG="no"
24134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24135 printf "%s\n" "no" >&6; }
24137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24143 if test "$PKGCONFIG" != "no" ; then
24144 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
24145 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
24146 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
24147 version=`$PKGCONFIG --modversion libbrotlidec`
24148 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'`
24159 if test -n "$PREFIX_BROTLI"; then
24160 LIB_BROTLI="-lbrotlidec"
24161 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
24162 CPP_BROTLI=-I${PREFIX_BROTLI}/include
24170 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec"…
24171 printf %s "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
24177 LIBS="-lbrotlidec $LIBS"
24178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 ac_cv_lib_brotlidec_BrotliDecoderDecompress=no
24199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress"…
24209 LIBS="-lbrotlidec $LIBS"
24214 for ac_header in brotli/decode.h
24238 if test -n "$DIR_BROTLI"; then
24243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
24257 # Check whether --with-zstd was given.
24272 if test -n "$PKG_CONFIG"; then
24275 if test -n "$ac_tool_prefix"; then
24276 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24277 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24279 printf %s "checking for $ac_word... " >&6; }
24291 for as_dir in $as_dummy
24299 for ac_exec_ext in '' $ac_executable_extensions; do
24302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24313 if test -n "$PKGCONFIG"; then
24314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24318 printf "%s\n" "no" >&6; }
24323 if test -z "$ac_cv_path_PKGCONFIG"; then
24325 # Extract the first word of "pkg-config", so it can be a program name with args.
24326 set dummy pkg-config; ac_word=$2
24327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24328 printf %s "checking for $ac_word... " >&6; }
24340 for as_dir in $as_dummy
24348 for ac_exec_ext in '' $ac_executable_extensions; do
24351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24362 if test -n "$ac_pt_PKGCONFIG"; then
24363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24367 printf "%s\n" "no" >&6; }
24371 PKGCONFIG="no"
24375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24388 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libzstd options with pkg-config" >&5
24389 printf %s "checking for libzstd options with pkg-config... " >&6; }
24391 if test -n ""; then
24395 $PKGCONFIG --exists libzstd >/dev/null 2>&1 && echo 1`
24397 if test -z "$itexists"; then
24398 PKGCONFIG="no"
24399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24400 printf "%s\n" "no" >&6; }
24402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24408 if test "$PKGCONFIG" != "no" ; then
24409 LIB_ZSTD=`$PKGCONFIG --libs-only-l libzstd`
24410 LD_ZSTD=`$PKGCONFIG --libs-only-L libzstd`
24411 CPP_ZSTD=`$PKGCONFIG --cflags-only-I libzstd`
24412 version=`$PKGCONFIG --modversion libzstd`
24413 DIR_ZSTD=`echo $LD_ZSTD | $SED -e 's/-L//'`
24424 if test -n "$PREFIX_ZSTD"; then
24425 LIB_ZSTD="-lzstd"
24426 LD_ZSTD=-L${PREFIX_ZSTD}/lib$libsuff
24427 CPP_ZSTD=-I${PREFIX_ZSTD}/include
24435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZSTD_createDStream in -lzstd" >&5
24436 printf %s "checking for ZSTD_createDStream in -lzstd... " >&6; }
24442 LIBS="-lzstd $LIBS"
24443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 ac_cv_lib_zstd_ZSTD_createDStream=no
24464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_createDStream" >&5
24474 LIBS="-lzstd $LIBS"
24479 for ac_header in zstd.h
24503 if test -n "$DIR_ZSTD"; then
24508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_ZSTD to CURL_LIBRARY_PATH" >&5
24522 # Check whether --with-ldap-lib was given.
24531 # Check whether --with-lber-lib was given.
24541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
24542 printf %s "checking for lber.h... " >&6; }
24548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24587 curl_cv_header_lber_h="no"
24590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
24600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 curl_cv_need_header_lber_h="no"
24645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
24658 printf %s "checking for ldap.h... " >&6; }
24664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 curl_cv_header_ldap_h="no"
24708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
24722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
24723 printf %s "checking for ldap_ssl.h... " >&6; }
24729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24772 curl_cv_header_ldap_ssl_h="no"
24775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
24789 if test -z "$LDAPLIBNAME" ; then
24792 LBERLIBNAME="no"
24798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
24799 printf %s "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
24805 LIBS="-l"$LDAPLIBNAME" $LIBS"
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24825 eval "$as_ac_Lib=no"
24827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24840 LIBS="-l"$LDAPLIBNAME" $LIBS"
24844 if test -n "$ldap_askedfor"; then
24847 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LD…
24864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
24865 printf %s "checking for LDAP libraries... " >&6; }
24874 for x_nlibs in '' "$u_libs" \
24875 '-lldap' \
24876 '-lldap -llber' \
24877 '-llber -lldap' \
24878 '-lldapssl -lldapx -lldapsdk' \
24879 '-lldapsdk -lldapx -lldapssl' \
24880 '-lldap -llber -lssl -lcrypto' ; do
24883 if test -z "$x_nlibs"; then
24888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24943 case X-"$curl_cv_ldap_LIBS" in
24944 X-unknown)
24945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
24948 X-)
24949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
24950 printf "%s\n" "no additional lib required" >&6; }
24953 if test -z "$curl_cv_save_LIBS"; then
24958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
24964 case X-"$curl_cv_ldap_LIBS" in
24965 X-unknown)
24966 if test -n "$ldap_askedfor"; then
24969 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDA…
24970 printf "%s\n" "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;}
24989 if test "$LBERLIBNAME" != "no" ; then
24991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
24992 printf %s "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
24998 LIBS="-l"$LBERLIBNAME" $LIBS"
24999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25018 eval "$as_ac_Lib=no"
25020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25033 LIBS="-l"$LBERLIBNAME" $LIBS"
25037 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LD…
25094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
25096 # Check whether --enable-ipv6 was given.
25100 no)
25101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25102 printf "%s\n" "no" >&6; }
25103 ipv6=no
25105 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25150 printf "%s\n" "no" >&6; }
25151 ipv6=no
25153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25168 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id me…
25170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25206 printf "%s\n" "no" >&6; }
25209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25247 curl_cv_writable_argv=no
25250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25258 CC="sh ./run-compiler"
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25290 curl_cv_writable_argv=no
25293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25310 no)
25311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25312 printf "%s\n" "no" >&6; }
25315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25316 printf "%s\n" "no" >&6; }
25317 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made defaul…
25326 # Check whether --with-gssapi-includes was given.
25329 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
25336 # Check whether --with-gssapi-libs was given.
25339 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
25346 # Check whether --with-gssapi was given.
25361 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
25364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
25365 printf %s "checking if GSS-API support is requested... " >&6; }
25367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25372 if test -n "$PKG_CONFIG"; then
25375 if test -n "$ac_tool_prefix"; then
25376 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25377 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25379 printf %s "checking for $ac_word... " >&6; }
25391 for as_dir in $as_dummy
25399 for ac_exec_ext in '' $ac_executable_extensions; do
25402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25413 if test -n "$PKGCONFIG"; then
25414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25418 printf "%s\n" "no" >&6; }
25423 if test -z "$ac_cv_path_PKGCONFIG"; then
25425 # Extract the first word of "pkg-config", so it can be a program name with args.
25426 set dummy pkg-config; ac_word=$2
25427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25428 printf %s "checking for $ac_word... " >&6; }
25440 for as_dir in $as_dummy
25448 for ac_exec_ext in '' $ac_executable_extensions; do
25451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25462 if test -n "$ac_pt_PKGCONFIG"; then
25463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25467 printf "%s\n" "no" >&6; }
25471 PKGCONFIG="no"
25475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25488 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25489 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25491 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25495 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25497 if test -z "$itexists"; then
25498 PKGCONFIG="no"
25499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25500 printf "%s\n" "no" >&6; }
25502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25509 if test -n "$PKG_CONFIG"; then
25512 if test -n "$ac_tool_prefix"; then
25513 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25516 printf %s "checking for $ac_word... " >&6; }
25528 for as_dir in $as_dummy
25536 for ac_exec_ext in '' $ac_executable_extensions; do
25539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25550 if test -n "$PKGCONFIG"; then
25551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25555 printf "%s\n" "no" >&6; }
25560 if test -z "$ac_cv_path_PKGCONFIG"; then
25562 # Extract the first word of "pkg-config", so it can be a program name with args.
25563 set dummy pkg-config; ac_word=$2
25564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25565 printf %s "checking for $ac_word... " >&6; }
25577 for as_dir in $as_dummy
25585 for ac_exec_ext in '' $ac_executable_extensions; do
25588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25599 if test -n "$ac_pt_PKGCONFIG"; then
25600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25604 printf "%s\n" "no" >&6; }
25608 PKGCONFIG="no"
25612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25625 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25626 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25628 if test -n ""; then
25632 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25634 if test -z "$itexists"; then
25635 PKGCONFIG="no"
25636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25637 printf "%s\n" "no" >&6; }
25639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25645 if test -z "$GSSAPI_INCS"; then
25646 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
25647 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
25648 elif test "$PKGCONFIG" != "no" ; then
25649 GSSAPI_INCS=`$PKGCONFIG --cflags mit-krb5-gssapi`
25650 elif test -f "$KRB5CONFIG"; then
25651 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
25653 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
25670 for ac_header in gssapi/gssapi.h
25682 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
25710 want_gss=no
25711 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header f…
25712 printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
25718 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBAS…
25719 printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
25720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25751 printf "%s\n" "no" >&6; }
25757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25765 printf "%s\n" "no" >&6; }
25774 if test -n "$gnu_gss"; then
25777 LIBS="-lgss $LIBS"
25778 elif test -z "$GSSAPI_LIB_DIR"; then
25780 *-*-darwin*)
25781 LIBS="-lgssapi_krb5 -lresolv $LIBS"
25786 if test -n "$PKG_CONFIG"; then
25789 if test -n "$ac_tool_prefix"; then
25790 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25791 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25793 printf %s "checking for $ac_word... " >&6; }
25805 for as_dir in $as_dummy
25813 for ac_exec_ext in '' $ac_executable_extensions; do
25816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25827 if test -n "$PKGCONFIG"; then
25828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25832 printf "%s\n" "no" >&6; }
25837 if test -z "$ac_cv_path_PKGCONFIG"; then
25839 # Extract the first word of "pkg-config", so it can be a program name with args.
25840 set dummy pkg-config; ac_word=$2
25841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25842 printf %s "checking for $ac_word... " >&6; }
25854 for as_dir in $as_dummy
25862 for ac_exec_ext in '' $ac_executable_extensions; do
25865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25876 if test -n "$ac_pt_PKGCONFIG"; then
25877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25881 printf "%s\n" "no" >&6; }
25885 PKGCONFIG="no"
25889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25902 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25903 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25905 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25909 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25911 if test -z "$itexists"; then
25912 PKGCONFIG="no"
25913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25914 printf "%s\n" "no" >&6; }
25916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25923 if test -n "$PKG_CONFIG"; then
25926 if test -n "$ac_tool_prefix"; then
25927 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25928 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25930 printf %s "checking for $ac_word... " >&6; }
25942 for as_dir in $as_dummy
25950 for ac_exec_ext in '' $ac_executable_extensions; do
25953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25964 if test -n "$PKGCONFIG"; then
25965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25969 printf "%s\n" "no" >&6; }
25974 if test -z "$ac_cv_path_PKGCONFIG"; then
25976 # Extract the first word of "pkg-config", so it can be a program name with args.
25977 set dummy pkg-config; ac_word=$2
25978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25979 printf %s "checking for $ac_word... " >&6; }
25991 for as_dir in $as_dummy
25999 for ac_exec_ext in '' $ac_executable_extensions; do
26002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26013 if test -n "$ac_pt_PKGCONFIG"; then
26014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26018 printf "%s\n" "no" >&6; }
26022 PKGCONFIG="no"
26026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
26039 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
26040 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
26042 if test -n ""; then
26046 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
26048 if test -z "$itexists"; then
26049 PKGCONFIG="no"
26050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26051 printf "%s\n" "no" >&6; }
26053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26059 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
26060 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
26062 elif test "$PKGCONFIG" != "no" ; then
26063 gss_libs=`$PKGCONFIG --libs mit-krb5-gssapi`
26065 elif test -f "$KRB5CONFIG"; then
26066 gss_libs=`$KRB5CONFIG --libs gssapi`
26070 *-hp-hpux*)
26079 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
26080 LIBS="-l$gss_libname $LIBS"
26082 LIBS="-l$gss_libname $LIBS"
26090 *-hp-hpux*)
26091 LIBS="-lgss $LIBS"
26094 LIBS="-lgssapi $LIBS"
26103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can link against GSS-API library" >&5
26104 printf %s "checking if we can link against GSS-API library... " >&6; }
26105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26141 printf "%s\n" "no" >&6; }
26142 as_fn_error $? "--with-gssapi was specified, but a GSS-API library was not found." "$LINENO" 5
26145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26149 build_libstubgss=no
26164 DEFAULT_SSL_BACKEND=no
26167 # Check whether --with-default-ssl-backend was given.
26174 no)
26181 VALID_DEFAULT_SSL_BACKEND=no
26186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS" >&5
26192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26202 # --with-schannel implies --enable-sspi
26210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26211 printf "%s\n" "no" >&6; }
26213 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26216 printf "%s\n" "no" >&6; }
26220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
26224 …(test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); th…
26225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26233 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26235 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Security"
26237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26238 printf "%s\n" "no" >&6; }
26240 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26243 printf "%s\n" "no" >&6; }
26248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiS…
26253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26285 # Use AmiSSL's built-in ca bundle
26288 LIBS="-lamisslstubs -lamisslauto $LIBS"
26338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26339 printf "%s\n" "no" >&6; }
26342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26343 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26346 printf "%s\n" "no" >&6; }
26349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26350 printf "%s\n" "no" >&6; }
26363 *-*-msys* | *-*-mingw*)
26364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
26365 printf %s "checking for gdi32... " >&6; }
26367 LIBS="-lgdi32 $LIBS"
26368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26390 printf "%s\n" "no" >&6; }
26393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26404 PKGTEST="no"
26408 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26409 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26417 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26418 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26425 if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
26426 as_fn_error $? "$PREFIX_OPENSSL is a bad --with-openssl prefix!" "$LINENO" 5
26432 SSL_LDFLAGS="-L$LIB_OPENSSL"
26433 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
26441 if test -n "$PKG_CONFIG"; then
26444 if test -n "$ac_tool_prefix"; then
26445 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26446 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26448 printf %s "checking for $ac_word... " >&6; }
26460 for as_dir in $as_dummy
26468 for ac_exec_ext in '' $ac_executable_extensions; do
26471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26482 if test -n "$PKGCONFIG"; then
26483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26487 printf "%s\n" "no" >&6; }
26492 if test -z "$ac_cv_path_PKGCONFIG"; then
26494 # Extract the first word of "pkg-config", so it can be a program name with args.
26495 set dummy pkg-config; ac_word=$2
26496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26497 printf %s "checking for $ac_word... " >&6; }
26509 for as_dir in $as_dummy
26517 for ac_exec_ext in '' $ac_executable_extensions; do
26520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26531 if test -n "$ac_pt_PKGCONFIG"; then
26532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26536 printf "%s\n" "no" >&6; }
26540 PKGCONFIG="no"
26544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
26557 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
26558 printf %s "checking for openssl options with pkg-config... " >&6; }
26560 if test -n "$OPENSSL_PCDIR"; then
26564 $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
26566 if test -z "$itexists"; then
26567 PKGCONFIG="no"
26568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26569 printf "%s\n" "no" >&6; }
26571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26577 if test "$PKGCONFIG" != "no" ; then
26579 if test -n "$OPENSSL_PCDIR"; then
26583 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
26586 if test -n "$OPENSSL_PCDIR"; then
26590 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
26593 if test -n "$OPENSSL_PCDIR"; then
26597 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
26600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
26601 printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
26602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
26603 printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
26604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
26605 printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
26607 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
26616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
26617 printf %s "checking for HMAC_Update in -lcrypto... " >&6; }
26623 LIBS="-lcrypto $LIBS"
26624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643 ac_cv_lib_crypto_HMAC_Update=no
26645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
26655 LIBS="-lcrypto $LIBS"
26659 if test -n "$LIB_OPENSSL" ; then
26660 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
26662 if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
26663 # only set this if pkg-config wasn't used
26664 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
26666 # Linking previously failed, try extra paths from --with-openssl or
26667 # pkg-config. Use a different function name to avoid reusing the earlier
26669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
26670 printf %s "checking for HMAC_Init_ex in -lcrypto... " >&6; }
26676 LIBS="-lcrypto $LIBS"
26677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26696 ac_cv_lib_crypto_HMAC_Init_ex=no
26698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
26708 LIBS="-lcrypto $LIBS"
26712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
26713 printf %s "checking OpenSSL linking with -ldl... " >&6; }
26714 LIBS="-lcrypto $CLEANLIBS -ldl"
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26739 printf "%s\n" "no" >&6; }
26741 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
26742 printf %s "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
26743 LIBS="-lcrypto $CLEANLIBS -ldl -lpthread"
26744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26769 printf "%s\n" "no" >&6; }
26776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26794 printf %s "checking for SSL_connect in -lssl... " >&6; }
26800 LIBS="-lssl $LIBS"
26801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26820 ac_cv_lib_ssl_SSL_connect=no
26822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26832 LIBS="-lssl $LIBS"
26838 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
26839 printf %s "checking for ssl with RSAglue/rsaref libs in use... " >&6; };
26841 LIBS="-lRSAglue -lrsaref $LIBS"
26842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26843 printf %s "checking for SSL_connect in -lssl... " >&6; }
26849 LIBS="-lssl $LIBS"
26850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26869 ac_cv_lib_ssl_SSL_connect=no
26871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26881 LIBS="-lssl $LIBS"
26886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26887 printf "%s\n" "no" >&6; }
26890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26896for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h openssl/pem.h openssl/ssl.h openssl…
26915 if test $ac_cv_header_openssl_x509_h = no; then
26975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
26976 printf %s "checking for BoringSSL... " >&6; }
26977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27006 printf "%s\n" "no" >&6; }
27009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AWS-LC" >&5
27012 printf %s "checking for AWS-LC... " >&6; }
27013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27023 #error not AWS-LC
27034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27036 ssl_msg="AWS-LC"
27041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27042 printf "%s\n" "no" >&6; }
27045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
27048 printf %s "checking for libressl... " >&6; }
27049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27078 printf "%s\n" "no" >&6; }
27081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= v3" >&5
27084 printf %s "checking for OpenSSL >= v3... " >&6; }
27085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27118 printf "%s\n" "no" >&6; }
27121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27125 for ac_func in SSL_set_quic_use_legacy_codepoint
27136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5
27139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5
27144 if test -n "$LIB_OPENSSL"; then
27148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
27155 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPT_OPENSSL: $OPT_OPENSSL" >&5
27162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&5
27164 as_fn_error $? "--with-openssl was given but OpenSSL could not be detected" "$LINENO" 5
27170 # Check whether --with-random was given.
27178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
27179 printf %s "checking for \"/dev/urandom\"... " >&6; }
27185 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
27186 if test -r ""/dev/urandom""; then
27189 eval "$as_ac_File=no"
27193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27201 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cro…
27202 printf "%s\n" "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
27208 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
27217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SRP support in OpenSSL" >&5
27218 printf %s "checking for SRP support in OpenSSL... " >&6; }
27219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27250 printf "%s\n" "no" >&6; }
27253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27258 # Check whether --enable-openssl-auto-load-config was given.
27261 enableval=$enable_openssl_auto_load_config; if test X"$enableval" = X"no"; then
27262 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled"…
27274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5
27275 printf %s "checking for QUIC support in OpenSSL... " >&6; }
27276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27306 printf "%s\n" "no" >&6; }
27309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27327 if test -n "$PKG_CONFIG"; then
27330 if test -n "$ac_tool_prefix"; then
27331 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27332 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27334 printf %s "checking for $ac_word... " >&6; }
27346 for as_dir in $as_dummy
27354 for ac_exec_ext in '' $ac_executable_extensions; do
27357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27368 if test -n "$PKGCONFIG"; then
27369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27373 printf "%s\n" "no" >&6; }
27378 if test -z "$ac_cv_path_PKGCONFIG"; then
27380 # Extract the first word of "pkg-config", so it can be a program name with args.
27381 set dummy pkg-config; ac_word=$2
27382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27383 printf %s "checking for $ac_word... " >&6; }
27395 for as_dir in $as_dummy
27403 for ac_exec_ext in '' $ac_executable_extensions; do
27406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27417 if test -n "$ac_pt_PKGCONFIG"; then
27418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27422 printf "%s\n" "no" >&6; }
27426 PKGCONFIG="no"
27430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
27443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
27444 printf %s "checking for gnutls options with pkg-config... " >&6; }
27446 if test -n ""; then
27450 $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
27452 if test -z "$itexists"; then
27453 PKGCONFIG="no"
27454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27455 printf "%s\n" "no" >&6; }
27457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
27463 if test "$PKGCONFIG" != "no" ; then
27464 addlib=`$PKGCONFIG --libs-only-l gnutls`
27465 addld=`$PKGCONFIG --libs-only-L gnutls`
27466 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
27467 version=`$PKGCONFIG --modversion gnutls`
27468 gtlslib=`echo $addld | $SED -e 's/^-L//'`
27470 check=`libgnutls-config --version 2>/dev/null`
27471 if test -n "$check"; then
27472 addlib=`libgnutls-config --libs`
27473 addcflags=`libgnutls-config --cflags`
27474 version=`libgnutls-config --version`
27475 gtlslib=`libgnutls-config --prefix`/lib$libsuff
27479 cfg=$OPT_GNUTLS/bin/libgnutls-config
27480 check=`$cfg --version 2>/dev/null`
27481 if test -n "$check"; then
27482 addlib=`$cfg --libs`
27483 addcflags=`$cfg --cflags`
27484 version=`$cfg --version`
27485 gtlslib=`$cfg --prefix`/lib$libsuff
27487 addlib=-lgnutls
27488 addld=-L$OPT_GNUTLS/lib$libsuff
27489 addcflags=-I$OPT_GNUTLS/include
27495 if test -z "$version"; then
27499 if test -n "$addlib"; then
27507 if test "$addcflags" != "-I/usr/include"; then
27511 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_get_dn2 in -lgnutls" >&5
27512 printf %s "checking for gnutls_x509_crt_get_dn2 in -lgnutls... " >&6; }
27518 LIBS="-lgnutls $LIBS"
27519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27538 ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2=no
27540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&5
27569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
27572 if test -n "$gtlslib"; then
27576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
27585 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
27593 printf %s "checking for nettle_MD5Init in -lgnutls... " >&6; }
27599 LIBS="-lgnutls $LIBS"
27600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27619 ac_cv_lib_gnutls_nettle_MD5Init=no
27621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
27635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
27636 printf %s "checking for nettle_MD5Init in -lnettle... " >&6; }
27642 LIBS="-lnettle $LIBS"
27643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27662 ac_cv_lib_nettle_nettle_MD5Init=no
27664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
27679 LIBS="-lnettle $LIBS"
27683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
27684 printf %s "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
27690 LIBS="-lgnutls $LIBS"
27691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27710 ac_cv_lib_gnutls_gnutls_srp_verifier=no
27712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
27745 if test -z "$OPT_MBEDTLS" ; then
27747 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
27748 printf %s "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
27754 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27774 ac_cv_lib_mbedtls_mbedtls_havege_init=no
27776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
27805 addld=-L$OPT_MBEDTLS/lib$libsuff
27806 addcflags=-I$OPT_MBEDTLS/include
27810 if test "$addcflags" != "-I/usr/include"; then
27814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
27815 printf %s "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
27821 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27841 ac_cv_lib_mbedtls_mbedtls_ssl_init=no
27843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
27872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
27876 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27878 if test -n "$mbedtlslib"; then
27882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
27889 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27896 yes|no)
27917 if test -n "$PKG_CONFIG"; then
27920 if test -n "$ac_tool_prefix"; then
27921 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27922 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27924 printf %s "checking for $ac_word... " >&6; }
27936 for as_dir in $as_dummy
27944 for ac_exec_ext in '' $ac_executable_extensions; do
27947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27958 if test -n "$PKGCONFIG"; then
27959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27963 printf "%s\n" "no" >&6; }
27968 if test -z "$ac_cv_path_PKGCONFIG"; then
27970 # Extract the first word of "pkg-config", so it can be a program name with args.
27971 set dummy pkg-config; ac_word=$2
27972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27973 printf %s "checking for $ac_word... " >&6; }
27985 for as_dir in $as_dummy
27993 for ac_exec_ext in '' $ac_executable_extensions; do
27996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28007 if test -n "$ac_pt_PKGCONFIG"; then
28008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28012 printf "%s\n" "no" >&6; }
28016 PKGCONFIG="no"
28020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
28033 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfssl options with pkg-config" >&5
28034 printf %s "checking for wolfssl options with pkg-config... " >&6; }
28036 if test -n "$wolfpkg"; then
28040 $PKGCONFIG --exists wolfssl >/dev/null 2>&1 && echo 1`
28042 if test -z "$itexists"; then
28043 PKGCONFIG="no"
28044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28045 printf "%s\n" "no" >&6; }
28047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Check dir $wolfpkg" >&5
28058 if test "$PKGCONFIG" != "no" ; then
28060 if test -n "$wolfpkg"; then
28065 $PKGCONFIG --libs-only-l wolfssl`
28067 if test -n "$wolfpkg"; then
28072 $PKGCONFIG --libs-only-L wolfssl`
28074 if test -n "$wolfpkg"; then
28079 $PKGCONFIG --cflags-only-I wolfssl`
28081 if test -n "$wolfpkg"; then
28086 $PKGCONFIG --modversion wolfssl`
28087 wolfssllibpath=`echo $addld | $SED -e 's/^-L//'`
28089 addlib=-lwolfssl
28090 if test -n "$OPT_WOLFSSL"; then
28091 addld=-L$OPT_WOLFSSL/lib$libsuff
28092 addcflags=-I$OPT_WOLFSSL/include
28100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addld to LDFLAGS" >&5
28102 if test "$addcflags" != "-I/usr/include"; then
28104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addcflags to CPPFLAGS" >&5
28110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addlib to LIBS" >&5
28113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -lwolfssl" >&5
28114 printf %s "checking for wolfSSL_Init in -lwolfssl... " >&6; }
28115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28119 /* These aren't needed for detection and confuse WolfSSL.
28139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28155 printf "%s\n" "no" >&6; }
28161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected wolfSSL" >&5
28173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
28176 for typesize in 8 4 2 16 1; do
28177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28203 if test $r -gt 0; then
28207 if test $r -eq 0; then
28210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
28212 tname=$(echo "ac_cv_sizeof_long long" | tr A-Z a-z | tr " " "_")
28221 LIBS="$addlib -lm $LIBS"
28263 if test -n "$wolfssllibpath"; then
28267 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&5
28272 as_fn_error $? "--with-wolfssl but wolfSSL was not found or doesn't work" "$LINENO" 5
28276 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28293 if test -z "$OPT_BEARSSL" ; then
28295 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28296 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28302 LIBS="-lbearssl -lbearssl $LIBS"
28303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28322 ac_cv_lib_bearssl_br_ssl_client_init_full=no
28324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28353 addld=-L$OPT_BEARSSL/lib$libsuff
28354 addcflags=-I$OPT_BEARSSL/include
28358 if test "$addcflags" != "-I/usr/include"; then
28362 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28363 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28369 LIBS="-lbearssl -lbearssl $LIBS"
28370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28389 ac_cv_lib_bearssl_br_ssl_client_init_full=no
28391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected BearSSL" >&5
28424 LIBS="-lbearssl $LIBS"
28426 if test -n "$bearssllib"; then
28430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $bearssllib to CURL_LIBRARY_PATH" >&5
28437 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28450 LDFLAGS="$LDFLAGS -framework Security"
28464 PKGTEST="no"
28469 if test -f "$RUSTLS_PCDIR/rustls.pc"; then
28470 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" …
28478 if test -f "$RUSTLS_PCDIR/rustls.pc"; then
28479 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" …
28487 addld=-L$PREFIX_RUSTLS/lib$libsuff
28488 addcflags=-I$PREFIX_RUSTLS/include
28491 if test "$addcflags" != "-I/usr/include"; then
28495 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5
28496 printf %s "checking for rustls_connection_read in -lrustls... " >&6; }
28502 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28522 ac_cv_lib_rustls_rustls_connection_read=no
28524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5
28544 as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5
28550 SSL_LDFLAGS="-L$LIB_RUSTLS"
28551 SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include"
28560 if test -n "$PKG_CONFIG"; then
28563 if test -n "$ac_tool_prefix"; then
28564 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28565 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28567 printf %s "checking for $ac_word... " >&6; }
28579 for as_dir in $as_dummy
28587 for ac_exec_ext in '' $ac_executable_extensions; do
28590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28601 if test -n "$PKGCONFIG"; then
28602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28606 printf "%s\n" "no" >&6; }
28611 if test -z "$ac_cv_path_PKGCONFIG"; then
28613 # Extract the first word of "pkg-config", so it can be a program name with args.
28614 set dummy pkg-config; ac_word=$2
28615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28616 printf %s "checking for $ac_word... " >&6; }
28628 for as_dir in $as_dummy
28636 for ac_exec_ext in '' $ac_executable_extensions; do
28639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28650 if test -n "$ac_pt_PKGCONFIG"; then
28651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28655 printf "%s\n" "no" >&6; }
28659 PKGCONFIG="no"
28663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
28676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5
28677 printf %s "checking for rustls options with pkg-config... " >&6; }
28679 if test -n "$RUSTLS_PCDIR"; then
28683 $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1`
28685 if test -z "$itexists"; then
28686 PKGCONFIG="no"
28687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28688 printf "%s\n" "no" >&6; }
28690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28696 if test "$PKGCONFIG" != "no" ; then
28698 if test -n "$RUSTLS_PCDIR"; then
28702 $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null`
28705 if test -n "$RUSTLS_PCDIR"; then
28709 $PKGCONFIG --libs-only-L rustls 2>/dev/null`
28712 if test -n "$RUSTLS_PCDIR"; then
28716 $PKGCONFIG --cflags-only-I rustls 2>/dev/null`
28719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
28720 printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
28721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
28722 printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
28723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
28724 printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
28726 LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
28739 as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5
28743 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5
28754 if test -n "$LIB_RUSTLS"; then
28758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5
28764 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPT_RUSTLS: $OPT_RUSTLS" >&5
28770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: RUSTLS_ENABLED: $RUSTLS_ENABLED" >&5
28772 as_fn_error $? "--with-rustls was given but Rustls could not be detected" "$LINENO" 5
28777 if test "x$USE_WIN32_CRYPTO" = "x1" -o "x$USE_SCHANNEL" = "x1"; then
28778 LIBS="-ladvapi32 -lcrypt32 $LIBS"
28782 LIBS="-lbcrypt $LIBS"
28789 Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-schannel, --with-secure-t…
28795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
28802 as_fn_error $? "--without-ssl has been set together with an explicit option to use an ssl library
28803 …e.g. --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-schannel, --with-secure
28815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
28820 if test -n "$ssl_backends"; then
28824 if test no = "$VALID_DEFAULT_SSL_BACKEND"
28826 if test -n "$SSL_ENABLED"
28840 if test -n "$check_for_ca_bundle"; then
28843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
28847 # Check whether --with-ca-bundle was given.
28853 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
28861 # Check whether --with-ca-path was given.
28867 as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
28879 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
28880 "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28883 elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
28885 capath="no"
28886 elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28887 if test "x$OPENSSL_ENABLED" != "x1" -a \
28888 "x$GNUTLS_ENABLED" != "x1" -a \
28889 "x$MBEDTLS_ENABLED" != "x1" -a \
28891 … as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS, mbedTLS or wolfSSL" "$LINENO" 5
28894 ca="no"
28896 ca="no"
28897 capath="no"
28901 cac="${prefix}/share/curl/curl-ca-bundle.crt"
28903 cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
28906 for a in /etc/ssl/certs/ca-certificates.crt \
28907 /etc/pki/tls/certs/ca-bundle.crt \
28908 /usr/share/ssl/certs/ca-bundle.crt \
28909 /usr/local/share/certs/ca-root-nss.crt \
28912 if test -f "$a"; then
28918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: want $want_capath ca $ca" >&5
28921 if test "x$OPENSSL_ENABLED" = "x1" -o \
28922 "x$GNUTLS_ENABLED" = "x1" -o \
28923 "x$MBEDTLS_ENABLED" = "x1" -o \
28929 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cro…
28930 printf "%s\n" "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
28934 if test "x$ca" = "xno" || test -f "$ca"; then
28942 if test ! -z "$check_capath"; then
28943 for a in "$check_capath"; do
28944 …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…
28964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
28972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
28976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28977 printf "%s\n" "no" >&6; }
28980 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL libr…
28983 # Check whether --with-ca-fallback was given.
28987 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
28988 as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
28992 with_ca_fallback="no"
28995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
28998 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
28999 as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
29011 # Check whether --with-libpsl was given.
29026 if test -n "$PKG_CONFIG"; then
29029 if test -n "$ac_tool_prefix"; then
29030 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29031 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29033 printf %s "checking for $ac_word... " >&6; }
29045 for as_dir in $as_dummy
29053 for ac_exec_ext in '' $ac_executable_extensions; do
29056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29067 if test -n "$PKGCONFIG"; then
29068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29072 printf "%s\n" "no" >&6; }
29077 if test -z "$ac_cv_path_PKGCONFIG"; then
29079 # Extract the first word of "pkg-config", so it can be a program name with args.
29080 set dummy pkg-config; ac_word=$2
29081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29082 printf %s "checking for $ac_word... " >&6; }
29094 for as_dir in $as_dummy
29102 for ac_exec_ext in '' $ac_executable_extensions; do
29105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29116 if test -n "$ac_pt_PKGCONFIG"; then
29117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29121 printf "%s\n" "no" >&6; }
29125 PKGCONFIG="no"
29129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5
29143 printf %s "checking for libpsl options with pkg-config... " >&6; }
29145 if test -n ""; then
29149 $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1`
29151 if test -z "$itexists"; then
29152 PKGCONFIG="no"
29153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29154 printf "%s\n" "no" >&6; }
29156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29162 if test "$PKGCONFIG" != "no" ; then
29163 LIB_PSL=`$PKGCONFIG --libs-only-l libpsl`
29164 LD_PSL=`$PKGCONFIG --libs-only-L libpsl`
29165 CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl`
29167 LIB_PSL="-lpsl"
29172 LIB_PSL="-lpsl"
29175 LIB_PSL="-lpsl"
29180 if test -n "$PREFIX_PSL"; then
29181 LD_PSL=-L${PREFIX_PSL}/lib$libsuff
29182 CPP_PSL=-I${PREFIX_PSL}/include
29189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5
29190 printf %s "checking for psl_builtin in -lpsl... " >&6; }
29196 LIBS="-lpsl $LIBS"
29197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29216 ac_cv_lib_psl_psl_builtin=no
29218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5
29227 for ac_header in libpsl.h
29270 # Check whether --with-libgsasl was given.
29278 if test $with_libgsasl != "no"; then
29279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gsasl_init" >&5
29280 printf %s "checking for library containing gsasl_init... " >&6; }
29286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 for ac_lib in '' gsasl
29303 if test -z "$ac_lib"; then
29306 ac_res=-l$ac_lib
29307 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
29313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29324 ac_cv_search_gsasl_init=no
29329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gsasl_init" >&5
29332 if test "$ac_res" != no
29341 curl_gsasl_msg="no (libgsasl not found)";
29342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libgsasl was not found" >&5
29359 # Check whether --with-libmetalink was given.
29362 …withval=$with_libmetalink; as_fn_error $? "--with-libmetalink and --without-libmetalink no longer …
29369 # Check whether --with-libssh2 was given.
29374 OPT_LIBSSH2=no
29381 # Check whether --with-libssh was given.
29386 OPT_LIBSSH=no
29392 # Check whether --with-wolfssh was given.
29397 OPT_WOLFSSH=no
29409 if test -n "$PKG_CONFIG"; then
29412 if test -n "$ac_tool_prefix"; then
29413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29414 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29416 printf %s "checking for $ac_word... " >&6; }
29428 for as_dir in $as_dummy
29436 for ac_exec_ext in '' $ac_executable_extensions; do
29439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29450 if test -n "$PKGCONFIG"; then
29451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29455 printf "%s\n" "no" >&6; }
29460 if test -z "$ac_cv_path_PKGCONFIG"; then
29462 # Extract the first word of "pkg-config", so it can be a program name with args.
29463 set dummy pkg-config; ac_word=$2
29464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29465 printf %s "checking for $ac_word... " >&6; }
29477 for as_dir in $as_dummy
29485 for ac_exec_ext in '' $ac_executable_extensions; do
29488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29499 if test -n "$ac_pt_PKGCONFIG"; then
29500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29504 printf "%s\n" "no" >&6; }
29508 PKGCONFIG="no"
29512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29525 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
29526 printf %s "checking for libssh2 options with pkg-config... " >&6; }
29528 if test -n ""; then
29532 $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
29534 if test -z "$itexists"; then
29535 PKGCONFIG="no"
29536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29537 printf "%s\n" "no" >&6; }
29539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29545 if test "$PKGCONFIG" != "no" ; then
29546 LIB_SSH2=`$PKGCONFIG --libs-only-l libssh2`
29547 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
29548 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
29549 version=`$PKGCONFIG --modversion libssh2`
29550 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/^-L//'`
29561 if test -n "$PREFIX_SSH2"; then
29562 LIB_SSH2="-lssh2"
29563 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
29564 CPP_SSH2=-I${PREFIX_SSH2}/include
29572 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2_session_block_directions in -ls…
29573 printf %s "checking for libssh2_session_block_directions in -lssh2... " >&6; }
29579 LIBS="-lssh2 $LIBS"
29580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 ac_cv_lib_ssh2_libssh2_session_block_directions=no
29601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_session_block_directi…
29611 LIBS="-lssh2 $LIBS"
29636 if test -n "$DIR_SSH2"; then
29641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
29658 if test -n "$PKG_CONFIG"; then
29661 if test -n "$ac_tool_prefix"; then
29662 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29665 printf %s "checking for $ac_word... " >&6; }
29677 for as_dir in $as_dummy
29685 for ac_exec_ext in '' $ac_executable_extensions; do
29688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29699 if test -n "$PKGCONFIG"; then
29700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29704 printf "%s\n" "no" >&6; }
29709 if test -z "$ac_cv_path_PKGCONFIG"; then
29711 # Extract the first word of "pkg-config", so it can be a program name with args.
29712 set dummy pkg-config; ac_word=$2
29713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29714 printf %s "checking for $ac_word... " >&6; }
29726 for as_dir in $as_dummy
29734 for ac_exec_ext in '' $ac_executable_extensions; do
29737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29748 if test -n "$ac_pt_PKGCONFIG"; then
29749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29753 printf "%s\n" "no" >&6; }
29757 PKGCONFIG="no"
29761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
29775 printf %s "checking for libssh options with pkg-config... " >&6; }
29777 if test -n ""; then
29781 $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
29783 if test -z "$itexists"; then
29784 PKGCONFIG="no"
29785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29786 printf "%s\n" "no" >&6; }
29788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29794 if test "$PKGCONFIG" != "no" ; then
29795 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
29796 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
29797 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
29798 version=`$PKGCONFIG --modversion libssh`
29799 DIR_SSH=`echo $LD_SSH | $SED -e 's/^-L//'`
29810 if test -n "$PREFIX_SSH"; then
29811 LIB_SSH="-lssh"
29812 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
29813 CPP_SSH=-I${PREFIX_SSH}/include
29821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
29822 printf %s "checking for ssh_new in -lssh... " >&6; }
29828 LIBS="-lssh $LIBS"
29829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29848 ac_cv_lib_ssh_ssh_new=no
29850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
29860 LIBS="-lssh $LIBS"
29885 if test -n "$DIR_SSH"; then
29890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
29906 WOLFCONFIG="$OPT_WOLFSSH/bin/wolfssh-config"
29907 LDFLAGS="$LDFLAGS `$WOLFCONFIG --libs`"
29908 CPPFLAGS="$CPPFLAGS `$WOLFCONFIG --cflags`"
29911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSH_Init in -lwolfssh" >&5
29912 printf %s "checking for wolfSSH_Init in -lwolfssh... " >&6; }
29918 LIBS="-lwolfssh $LIBS"
29919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29938 ac_cv_lib_wolfssh_wolfSSH_Init=no
29940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssh_wolfSSH_Init" >&5
29950 LIBS="-lwolfssh $LIBS"
29955 for ac_header in wolfssh/ssh.h
29978 # Check whether --with-librtmp was given.
29993 if test -n "$PKG_CONFIG"; then
29996 if test -n "$ac_tool_prefix"; then
29997 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29998 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30000 printf %s "checking for $ac_word... " >&6; }
30012 for as_dir in $as_dummy
30020 for ac_exec_ext in '' $ac_executable_extensions; do
30023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30034 if test -n "$PKGCONFIG"; then
30035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30039 printf "%s\n" "no" >&6; }
30044 if test -z "$ac_cv_path_PKGCONFIG"; then
30046 # Extract the first word of "pkg-config", so it can be a program name with args.
30047 set dummy pkg-config; ac_word=$2
30048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30049 printf %s "checking for $ac_word... " >&6; }
30061 for as_dir in $as_dummy
30069 for ac_exec_ext in '' $ac_executable_extensions; do
30072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30083 if test -n "$ac_pt_PKGCONFIG"; then
30084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30088 printf "%s\n" "no" >&6; }
30092 PKGCONFIG="no"
30096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30109 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
30110 printf %s "checking for librtmp options with pkg-config... " >&6; }
30112 if test -n ""; then
30116 $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
30118 if test -z "$itexists"; then
30119 PKGCONFIG="no"
30120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30121 printf "%s\n" "no" >&6; }
30123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30129 if test "$PKGCONFIG" != "no" ; then
30130 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
30131 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
30132 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
30133 version=`$PKGCONFIG --modversion librtmp`
30134 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/^-L//'`
30136 … as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
30141 LIB_RTMP="-lrtmp"
30144 LIB_RTMP="-lrtmp"
30149 if test -n "$PREFIX_RTMP"; then
30150 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
30151 CPP_RTMP=-I${PREFIX_RTMP}/include
30159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
30160 printf %s "checking for RTMP_Init in -lrtmp... " >&6; }
30166 LIBS="-lrtmp $LIBS"
30167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 ac_cv_lib_rtmp_RTMP_Init=no
30188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
30197 for ac_header in librtmp/rtmp.h
30232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
30234 # Check whether --enable-versioned-symbols was given.
30238 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
30242 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
30243 if test -z "$GLD"; then
30244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30245 printf "%s\n" "no" >&6; }
30246 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --ver…
30247 printf "%s\n" "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
30249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30270 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30271 printf "%s\n" "no" >&6; }
30277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30278 printf "%s\n" "no" >&6; }
30296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Window…
30300 # Check whether --with-winidn was given.
30307 no|default)
30308 want_winidn="no"
30309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30310 printf "%s\n" "no" >&6; }
30315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30331 WINIDN_LIBS="-lnormaliz"
30335 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
30336 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
30340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30364 CFLAGS=`echo $CFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
30365 CFLAGS=`echo $CFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
30366 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
30367 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
30368 WINIDN_CPPFLAGS="$WINIDN_CPPFLAGS -DWINVER=0x0600"
30371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
30377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
30379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30405 printf "%s\n" "no" >&6; }
30406 tst_links_winidn="no"
30409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30418 curl_idn_msg="enabled (Windows-native)"
30420 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30421 printf "%s\n" "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
30430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
30434 # Check whether --with-libidn2 was given.
30441 want_idn="no"
30442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (using winidn instead)" >&5
30443 printf "%s\n" "no (using winidn instead)" >&6; }
30446 no)
30447 want_idn="no"
30448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30449 printf "%s\n" "no" >&6; }
30454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
30460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30476 PKGCONFIG="no"
30481 if test -n "$PKG_CONFIG"; then
30484 if test -n "$ac_tool_prefix"; then
30485 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30486 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30488 printf %s "checking for $ac_word... " >&6; }
30500 for as_dir in $as_dummy
30508 for ac_exec_ext in '' $ac_executable_extensions; do
30511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30522 if test -n "$PKGCONFIG"; then
30523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30527 printf "%s\n" "no" >&6; }
30532 if test -z "$ac_cv_path_PKGCONFIG"; then
30534 # Extract the first word of "pkg-config", so it can be a program name with args.
30535 set dummy pkg-config; ac_word=$2
30536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30537 printf %s "checking for $ac_word... " >&6; }
30549 for as_dir in $as_dummy
30557 for ac_exec_ext in '' $ac_executable_extensions; do
30560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30571 if test -n "$ac_pt_PKGCONFIG"; then
30572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30576 printf "%s\n" "no" >&6; }
30580 PKGCONFIG="no"
30584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30597 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30598 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30600 if test -n "$IDN_PCDIR"; then
30604 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30606 if test -z "$itexists"; then
30607 PKGCONFIG="no"
30608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30609 printf "%s\n" "no" >&6; }
30611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30616 if test "$PKGCONFIG" != "no"; then
30618 if test -n "$IDN_PCDIR"; then
30622 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30624 if test -n "$IDN_PCDIR"; then
30628 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30630 if test -n "$IDN_PCDIR"; then
30634 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30635 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30637 IDN_LIBS="-lidn2"
30638 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
30639 IDN_CPPFLAGS="-I$want_idn_path/include"
30644 if test -n "$PKG_CONFIG"; then
30647 if test -n "$ac_tool_prefix"; then
30648 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30649 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30651 printf %s "checking for $ac_word... " >&6; }
30663 for as_dir in $as_dummy
30671 for ac_exec_ext in '' $ac_executable_extensions; do
30674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30685 if test -n "$PKGCONFIG"; then
30686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30690 printf "%s\n" "no" >&6; }
30695 if test -z "$ac_cv_path_PKGCONFIG"; then
30697 # Extract the first word of "pkg-config", so it can be a program name with args.
30698 set dummy pkg-config; ac_word=$2
30699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30700 printf %s "checking for $ac_word... " >&6; }
30712 for as_dir in $as_dummy
30720 for ac_exec_ext in '' $ac_executable_extensions; do
30723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30734 if test -n "$ac_pt_PKGCONFIG"; then
30735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30739 printf "%s\n" "no" >&6; }
30743 PKGCONFIG="no"
30747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30760 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30761 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30763 if test -n ""; then
30767 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30769 if test -z "$itexists"; then
30770 PKGCONFIG="no"
30771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30772 printf "%s\n" "no" >&6; }
30774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30779 if test "$PKGCONFIG" != "no"; then
30780 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30781 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30782 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30783 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30785 IDN_LIBS="-lidn2"
30789 if test "$PKGCONFIG" != "no"; then
30790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
30791 printf "%s\n" "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
30792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30793 printf "%s\n" "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
30794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30795 printf "%s\n" "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
30796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
30797 printf "%s\n" "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
30799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
30801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
30813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
30815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30852 printf "%s\n" "no" >&6; }
30853 tst_links_libidn="no"
30856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30875 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
30878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
30882 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30883 printf "%s\n" "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
30893 if test "x$disable_http" = "xyes" -o X"$want_hyper" != Xno; then
30894 # without HTTP or with Hyper, nghttp2 is no use
30895 OPT_H2="no"
30899 # Check whether --with-nghttp2 was given.
30906 no)
30907 want_nghttp2="no"
30927 if test -n "$PKG_CONFIG"; then
30930 if test -n "$ac_tool_prefix"; then
30931 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30932 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30934 printf %s "checking for $ac_word... " >&6; }
30946 for as_dir in $as_dummy
30954 for ac_exec_ext in '' $ac_executable_extensions; do
30957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30968 if test -n "$PKGCONFIG"; then
30969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30973 printf "%s\n" "no" >&6; }
30978 if test -z "$ac_cv_path_PKGCONFIG"; then
30980 # Extract the first word of "pkg-config", so it can be a program name with args.
30981 set dummy pkg-config; ac_word=$2
30982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30983 printf %s "checking for $ac_word... " >&6; }
30995 for as_dir in $as_dummy
31003 for ac_exec_ext in '' $ac_executable_extensions; do
31006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31017 if test -n "$ac_pt_PKGCONFIG"; then
31018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31022 printf "%s\n" "no" >&6; }
31026 PKGCONFIG="no"
31030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31043 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
31044 printf %s "checking for libnghttp2 options with pkg-config... " >&6; }
31046 if test -n "$want_nghttp2_pkg_config_path"; then
31050 $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
31052 if test -z "$itexists"; then
31053 PKGCONFIG="no"
31054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31055 printf "%s\n" "no" >&6; }
31057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31063 if test "$PKGCONFIG" != "no" ; then
31065 if test -n "$want_nghttp2_pkg_config_path"; then
31070 $PKGCONFIG --libs-only-l libnghttp2`
31071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
31072 printf "%s\n" "$as_me: -l is $LIB_H2" >&6;}
31075 if test -n "$want_nghttp2_pkg_config_path"; then
31079 $PKGCONFIG --cflags-only-I libnghttp2`
31080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
31081 printf "%s\n" "$as_me: -I is $CPP_H2" >&6;}
31084 if test -n "$want_nghttp2_pkg_config_path"; then
31089 $PKGCONFIG --libs-only-L libnghttp2`
31090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
31091 printf "%s\n" "$as_me: -L is $LD_H2" >&6;}
31093 DIR_H2=`echo $LD_H2 | $SED -e 's/^-L//'`
31095 LIB_H2="-lnghttp2"
31096 LD_H2=-L${want_nghttp2_path}/lib$libsuff
31097 CPP_H2=-I${want_nghttp2_path}/include
31100 …as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LIN…
31102 LIB_H2="-lnghttp2"
31111 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp2_session_get_stream_local_window…
31112 printf %s "checking for nghttp2_session_get_stream_local_window_size in -lnghttp2... " >&6; }
31118 LIBS="-lnghttp2 $LIBS"
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31138 ac_cv_lib_nghttp2_nghttp2_session_get_stream_local_window_size=no
31140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_session_get_stream…
31149 for ac_header in nghttp2/nghttp2.h
31169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_H2 to CURL_LIBRARY_PATH" >&5
31182 OPT_TCP2="no"
31185 # without HTTP, ngtcp2 is no use
31186 OPT_TCP2="no"
31190 # Check whether --with-ngtcp2 was given.
31197 no)
31198 want_tcp2="no"
31210 curl_tcp2_msg="no (--with-ngtcp2)"
31214 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LI…
31222 if test -n "$PKG_CONFIG"; then
31225 if test -n "$ac_tool_prefix"; then
31226 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31227 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31229 printf %s "checking for $ac_word... " >&6; }
31241 for as_dir in $as_dummy
31249 for ac_exec_ext in '' $ac_executable_extensions; do
31252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31263 if test -n "$PKGCONFIG"; then
31264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31268 printf "%s\n" "no" >&6; }
31273 if test -z "$ac_cv_path_PKGCONFIG"; then
31275 # Extract the first word of "pkg-config", so it can be a program name with args.
31276 set dummy pkg-config; ac_word=$2
31277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31278 printf %s "checking for $ac_word... " >&6; }
31290 for as_dir in $as_dummy
31298 for ac_exec_ext in '' $ac_executable_extensions; do
31301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31312 if test -n "$ac_pt_PKGCONFIG"; then
31313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31317 printf "%s\n" "no" >&6; }
31321 PKGCONFIG="no"
31325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31338 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options with pkg-config" >&5
31339 printf %s "checking for libngtcp2 options with pkg-config... " >&6; }
31341 if test -n "$want_tcp2_path"; then
31345 $PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
31347 if test -z "$itexists"; then
31348 PKGCONFIG="no"
31349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31350 printf "%s\n" "no" >&6; }
31352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31358 if test "$PKGCONFIG" != "no" ; then
31360 if test -n "$want_tcp2_path"; then
31365 $PKGCONFIG --libs-only-l libngtcp2`
31366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
31367 printf "%s\n" "$as_me: -l is $LIB_TCP2" >&6;}
31370 if test -n "$want_tcp2_path"; then
31374 $PKGCONFIG --cflags-only-I libngtcp2`
31375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
31376 printf "%s\n" "$as_me: -I is $CPP_TCP2" >&6;}
31379 if test -n "$want_tcp2_path"; then
31384 $PKGCONFIG --libs-only-L libngtcp2`
31385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
31386 printf "%s\n" "$as_me: -L is $LD_TCP2" >&6;}
31393 DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/^-L//'`
31395 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new_versioned in -ln…
31396 printf %s "checking for ngtcp2_conn_client_new_versioned in -lngtcp2... " >&6; }
31402 LIBS="-lngtcp2 $LIBS"
31403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_versioned=no
31424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_vers…
31433 for ac_header in ngtcp2/ngtcp2.h
31447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&5
31464 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2 pkg-config file." "$LINENO" 5
31470 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"…
31476 if test -n "$PKG_CONFIG"; then
31479 if test -n "$ac_tool_prefix"; then
31480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31481 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31483 printf %s "checking for $ac_word... " >&6; }
31495 for as_dir in $as_dummy
31503 for ac_exec_ext in '' $ac_executable_extensions; do
31506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31517 if test -n "$PKGCONFIG"; then
31518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31522 printf "%s\n" "no" >&6; }
31527 if test -z "$ac_cv_path_PKGCONFIG"; then
31529 # Extract the first word of "pkg-config", so it can be a program name with args.
31530 set dummy pkg-config; ac_word=$2
31531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31532 printf %s "checking for $ac_word... " >&6; }
31544 for as_dir in $as_dummy
31552 for ac_exec_ext in '' $ac_executable_extensions; do
31555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31566 if test -n "$ac_pt_PKGCONFIG"; then
31567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31571 printf "%s\n" "no" >&6; }
31575 PKGCONFIG="no"
31579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31592 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with p…
31593 printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; }
31595 if test -n "$want_tcp2_path"; then
31599 $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1`
31601 if test -z "$itexists"; then
31602 PKGCONFIG="no"
31603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31604 printf "%s\n" "no" >&6; }
31606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31612 if test "$PKGCONFIG" != "no" ; then
31614 if test -n "$want_tcp2_path"; then
31619 $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls`
31620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5
31621 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;}
31624 if test -n "$want_tcp2_path"; then
31628 $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls`
31629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5
31630 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;}
31633 if test -n "$want_tcp2_path"; then
31638 $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls`
31639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5
31640 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;}
31647 DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'`
31649 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31650 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; }
31656 LIBS="-lngtcp2_crypto_quictls $LIBS"
31657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676 ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no
31678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypt…
31687 for ac_header in ngtcp2/ngtcp2_crypto.h
31701 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PAT…
31718 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config fi…
31723 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1";…
31729 if test -n "$PKG_CONFIG"; then
31732 if test -n "$ac_tool_prefix"; then
31733 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31734 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31736 printf %s "checking for $ac_word... " >&6; }
31748 for as_dir in $as_dummy
31756 for ac_exec_ext in '' $ac_executable_extensions; do
31759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31770 if test -n "$PKGCONFIG"; then
31771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31775 printf "%s\n" "no" >&6; }
31780 if test -z "$ac_cv_path_PKGCONFIG"; then
31782 # Extract the first word of "pkg-config", so it can be a program name with args.
31783 set dummy pkg-config; ac_word=$2
31784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31785 printf %s "checking for $ac_word... " >&6; }
31797 for as_dir in $as_dummy
31805 for ac_exec_ext in '' $ac_executable_extensions; do
31808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31819 if test -n "$ac_pt_PKGCONFIG"; then
31820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31824 printf "%s\n" "no" >&6; }
31828 PKGCONFIG="no"
31832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31845 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with…
31846 printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; }
31848 if test -n "$want_tcp2_path"; then
31852 $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1`
31854 if test -z "$itexists"; then
31855 PKGCONFIG="no"
31856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31857 printf "%s\n" "no" >&6; }
31859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31865 if test "$PKGCONFIG" != "no" ; then
31867 if test -n "$want_tcp2_path"; then
31872 $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl`
31873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5
31874 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31877 if test -n "$want_tcp2_path"; then
31881 $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl`
31882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5
31883 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31886 if test -n "$want_tcp2_path"; then
31891 $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl`
31892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5
31893 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31900 DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'`
31902 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31903 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6;…
31909 LIBS="-lngtcp2_crypto_boringssl $LIBS"
31910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31929 ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no
31931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_cry…
31940 for ac_header in ngtcp2/ngtcp2_crypto.h
31954 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_P…
31971 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config
31976 if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then
31982 if test -n "$PKG_CONFIG"; then
31985 if test -n "$ac_tool_prefix"; then
31986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31987 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31989 printf %s "checking for $ac_word... " >&6; }
32001 for as_dir in $as_dummy
32009 for ac_exec_ext in '' $ac_executable_extensions; do
32012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32023 if test -n "$PKGCONFIG"; then
32024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32028 printf "%s\n" "no" >&6; }
32033 if test -z "$ac_cv_path_PKGCONFIG"; then
32035 # Extract the first word of "pkg-config", so it can be a program name with args.
32036 set dummy pkg-config; ac_word=$2
32037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32038 printf %s "checking for $ac_word... " >&6; }
32050 for as_dir in $as_dummy
32058 for ac_exec_ext in '' $ac_executable_extensions; do
32061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32072 if test -n "$ac_pt_PKGCONFIG"; then
32073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32077 printf "%s\n" "no" >&6; }
32081 PKGCONFIG="no"
32085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32098 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_gnutls options with pk…
32099 printf %s "checking for libngtcp2_crypto_gnutls options with pkg-config... " >&6; }
32101 if test -n "$want_tcp2_path"; then
32105 $PKGCONFIG --exists libngtcp2_crypto_gnutls >/dev/null 2>&1 && echo 1`
32107 if test -z "$itexists"; then
32108 PKGCONFIG="no"
32109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32110 printf "%s\n" "no" >&6; }
32112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32118 if test "$PKGCONFIG" != "no" ; then
32120 if test -n "$want_tcp2_path"; then
32125 $PKGCONFIG --libs-only-l libngtcp2_crypto_gnutls`
32126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&5
32127 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&6;}
32130 if test -n "$want_tcp2_path"; then
32134 $PKGCONFIG --cflags-only-I libngtcp2_crypto_gnutls`
32135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&5
32136 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&6;}
32139 if test -n "$want_tcp2_path"; then
32144 $PKGCONFIG --libs-only-L libngtcp2_crypto_gnutls`
32145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&5
32146 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&6;}
32153 DIR_NGTCP2_CRYPTO_GNUTLS=`echo $LD_NGTCP2_CRYPTO_GNUTLS | $SED -e 's/^-L//'`
32155 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
32156 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_gnutls... " >&6; }
32162 LIBS="-lngtcp2_crypto_gnutls $LIBS"
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32182 ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_recv_client_initial_cb=no
32184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto…
32193 for ac_header in ngtcp2/ngtcp2_crypto.h
32207 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH…
32224 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_gnutls pkg-config fil…
32229 if test "x$NGTCP2_ENABLED" = "x1" -a "x$WOLFSSL_ENABLED" = "x1"; then
32235 if test -n "$PKG_CONFIG"; then
32238 if test -n "$ac_tool_prefix"; then
32239 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32240 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32242 printf %s "checking for $ac_word... " >&6; }
32254 for as_dir in $as_dummy
32262 for ac_exec_ext in '' $ac_executable_extensions; do
32265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32276 if test -n "$PKGCONFIG"; then
32277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32281 printf "%s\n" "no" >&6; }
32286 if test -z "$ac_cv_path_PKGCONFIG"; then
32288 # Extract the first word of "pkg-config", so it can be a program name with args.
32289 set dummy pkg-config; ac_word=$2
32290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32291 printf %s "checking for $ac_word... " >&6; }
32303 for as_dir in $as_dummy
32311 for ac_exec_ext in '' $ac_executable_extensions; do
32314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32325 if test -n "$ac_pt_PKGCONFIG"; then
32326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32330 printf "%s\n" "no" >&6; }
32334 PKGCONFIG="no"
32338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32351 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_wolfssl options with p…
32352 printf %s "checking for libngtcp2_crypto_wolfssl options with pkg-config... " >&6; }
32354 if test -n "$want_tcp2_path"; then
32358 $PKGCONFIG --exists libngtcp2_crypto_wolfssl >/dev/null 2>&1 && echo 1`
32360 if test -z "$itexists"; then
32361 PKGCONFIG="no"
32362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32363 printf "%s\n" "no" >&6; }
32365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32371 if test "$PKGCONFIG" != "no" ; then
32373 if test -n "$want_tcp2_path"; then
32378 $PKGCONFIG --libs-only-l libngtcp2_crypto_wolfssl`
32379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&5
32380 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32383 if test -n "$want_tcp2_path"; then
32387 $PKGCONFIG --cflags-only-I libngtcp2_crypto_wolfssl`
32388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&5
32389 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32392 if test -n "$want_tcp2_path"; then
32397 $PKGCONFIG --libs-only-L libngtcp2_crypto_wolfssl`
32398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&5
32399 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32406 DIR_NGTCP2_CRYPTO_WOLFSSL=`echo $LD_NGTCP2_CRYPTO_WOLFSSL | $SED -e 's/^-L//'`
32408 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
32409 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_wolfssl... " >&6; }
32415 LIBS="-lngtcp2_crypto_wolfssl $LIBS"
32416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32435 ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypto_recv_client_initial_cb=no
32437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypt…
32446 for ac_header in ngtcp2/ngtcp2_crypto.h
32460 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_WOLFSSL to CURL_LIBRARY_PAT…
32477 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_wolfssl pkg-config fi…
32483 OPT_OPENSSL_QUIC="no"
32485 if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then
32486 # without HTTP or without openssl, no use
32487 OPT_OPENSSL_QUIC="no"
32491 # Check whether --with-openssl-quic was given.
32498 no)
32499 want_openssl_quic="no"
32506 curl_openssl_quic_msg="no (--with-openssl-quic)"
32510 as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32513 as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5
32525 if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then
32526 # without ngtcp2 or openssl quic, nghttp3 is of no use for us
32527 OPT_NGHTTP3="no"
32528 want_nghttp3="no"
32532 # Check whether --with-nghttp3 was given.
32539 no)
32540 want_nghttp3="no"
32552 curl_http3_msg="no (--with-nghttp3)"
32560 if test -n "$PKG_CONFIG"; then
32563 if test -n "$ac_tool_prefix"; then
32564 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32565 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32567 printf %s "checking for $ac_word... " >&6; }
32579 for as_dir in $as_dummy
32587 for ac_exec_ext in '' $ac_executable_extensions; do
32590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32601 if test -n "$PKGCONFIG"; then
32602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32606 printf "%s\n" "no" >&6; }
32611 if test -z "$ac_cv_path_PKGCONFIG"; then
32613 # Extract the first word of "pkg-config", so it can be a program name with args.
32614 set dummy pkg-config; ac_word=$2
32615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32616 printf %s "checking for $ac_word... " >&6; }
32628 for as_dir in $as_dummy
32636 for ac_exec_ext in '' $ac_executable_extensions; do
32639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32650 if test -n "$ac_pt_PKGCONFIG"; then
32651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32655 printf "%s\n" "no" >&6; }
32659 PKGCONFIG="no"
32663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32676 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options with pkg-config" >&5
32677 printf %s "checking for libnghttp3 options with pkg-config... " >&6; }
32679 if test -n "$want_nghttp3_path"; then
32683 $PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
32685 if test -z "$itexists"; then
32686 PKGCONFIG="no"
32687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32688 printf "%s\n" "no" >&6; }
32690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32696 if test "$PKGCONFIG" != "no" ; then
32698 if test -n "$want_nghttp3_path"; then
32703 $PKGCONFIG --libs-only-l libnghttp3`
32704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
32705 printf "%s\n" "$as_me: -l is $LIB_NGHTTP3" >&6;}
32708 if test -n "$want_nghttp3_path"; then
32712 $PKGCONFIG --cflags-only-I libnghttp3`
32713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
32714 printf "%s\n" "$as_me: -I is $CPP_NGHTTP3" >&6;}
32717 if test -n "$want_nghttp3_path"; then
32722 $PKGCONFIG --libs-only-L libnghttp3`
32723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
32724 printf "%s\n" "$as_me: -L is $LD_NGHTTP3" >&6;}
32731 DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/^-L//'`
32733 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_new_versioned in -l…
32734 printf %s "checking for nghttp3_conn_client_new_versioned in -lnghttp3... " >&6; }
32740 LIBS="-lnghttp3 $LIBS"
32741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32760 ac_cv_lib_nghttp3_nghttp3_conn_client_new_versioned=no
32762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn_client_new_ve…
32771 for ac_header in nghttp3/nghttp3.h
32784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5
32801 …as_fn_error $? "--with-nghttp3 was specified but could not find nghttp3 pkg-config file." "$LINENO…
32808 if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then
32814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32820 if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then
32827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32833 OPT_QUICHE="no"
32835 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
32836 # without HTTP or with ngtcp2, quiche is no use
32837 OPT_QUICHE="no"
32841 # Check whether --with-quiche was given.
32848 no)
32849 want_quiche="no"
32864 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LI…
32868 as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32876 if test -n "$PKG_CONFIG"; then
32879 if test -n "$ac_tool_prefix"; then
32880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32883 printf %s "checking for $ac_word... " >&6; }
32895 for as_dir in $as_dummy
32903 for ac_exec_ext in '' $ac_executable_extensions; do
32906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32917 if test -n "$PKGCONFIG"; then
32918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32922 printf "%s\n" "no" >&6; }
32927 if test -z "$ac_cv_path_PKGCONFIG"; then
32929 # Extract the first word of "pkg-config", so it can be a program name with args.
32930 set dummy pkg-config; ac_word=$2
32931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32932 printf %s "checking for $ac_word... " >&6; }
32944 for as_dir in $as_dummy
32952 for ac_exec_ext in '' $ac_executable_extensions; do
32955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32966 if test -n "$ac_pt_PKGCONFIG"; then
32967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32971 printf "%s\n" "no" >&6; }
32975 PKGCONFIG="no"
32979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche options with pkg-config" >&5
32993 printf %s "checking for quiche options with pkg-config... " >&6; }
32995 if test -n "$want_quiche_path"; then
32999 $PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
33001 if test -z "$itexists"; then
33002 PKGCONFIG="no"
33003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33004 printf "%s\n" "no" >&6; }
33006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
33012 if test "$PKGCONFIG" != "no" ; then
33014 if test -n "$want_quiche_path"; then
33019 $PKGCONFIG --libs-only-l quiche`
33020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
33021 printf "%s\n" "$as_me: -l is $LIB_QUICHE" >&6;}
33024 if test -n "$want_quiche_path"; then
33028 $PKGCONFIG --cflags-only-I quiche`
33029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
33030 printf "%s\n" "$as_me: -I is $CPP_QUICHE" >&6;}
33033 if test -n "$want_quiche_path"; then
33038 $PKGCONFIG --libs-only-L quiche`
33039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
33040 printf "%s\n" "$as_me: -L is $LD_QUICHE" >&6;}
33047 DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/^-L//'`
33049 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche_conn_send_ack_eliciting in -lqui…
33050 printf %s "checking for quiche_conn_send_ack_eliciting in -lquiche... " >&6; }
33056 LIBS="-lquiche $LIBS"
33057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 ac_cv_lib_quiche_quiche_conn_send_ack_eliciting=no
33078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
33082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_conn_send_ack_elicit…
33087 for ac_header in quiche.h
33099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
33117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&5
33130 …as_fn_error $? "--with-quiche was specified but could not find quiche pkg-config file." "$LINENO" 5
33136 OPT_MSH3="no"
33138 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
33139 # without HTTP or with ngtcp2, msh3 is no use
33140 OPT_MSH3="no"
33144 # Check whether --with-msh3 was given.
33151 no)
33152 want_msh3="no"
33168 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINE…
33176 as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
33179 as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5
33186 if test -n "$want_msh3_path"; then
33187 LD_MSH3="-L$want_msh3_path/lib"
33188 CPP_MSH3="-I$want_msh3_path/include"
33193 LIBS="-lmsh3 $LIBS"
33195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MsH3ApiOpen in -lmsh3" >&5
33196 printf %s "checking for MsH3ApiOpen in -lmsh3... " >&6; }
33202 LIBS="-lmsh3 $LIBS"
33203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33222 ac_cv_lib_msh3_MsH3ApiOpen=no
33224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
33228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msh3_MsH3ApiOpen" >&5
33233 for ac_header in msh3.h
33248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_MSH3 to CURL_LIBRARY_PATH" >&5
33269 # Check whether --with-zsh-functions-dir was given.
33276 default|no)
33279 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
33299 # Check whether --with-fish-functions-dir was given.
33306 default|no)
33310 if test -n "$PKG_CONFIG"; then
33313 if test -n "$ac_tool_prefix"; then
33314 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33315 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33317 printf %s "checking for $ac_word... " >&6; }
33329 for as_dir in $as_dummy
33337 for ac_exec_ext in '' $ac_executable_extensions; do
33340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33351 if test -n "$PKGCONFIG"; then
33352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
33355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33356 printf "%s\n" "no" >&6; }
33361 if test -z "$ac_cv_path_PKGCONFIG"; then
33363 # Extract the first word of "pkg-config", so it can be a program name with args.
33364 set dummy pkg-config; ac_word=$2
33365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33366 printf %s "checking for $ac_word... " >&6; }
33378 for as_dir in $as_dummy
33386 for ac_exec_ext in '' $ac_executable_extensions; do
33389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33400 if test -n "$ac_pt_PKGCONFIG"; then
33401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
33404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33405 printf "%s\n" "no" >&6; }
33409 PKGCONFIG="no"
33413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
33426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fish options with pkg-config" >&5
33427 printf %s "checking for fish options with pkg-config... " >&6; }
33429 if test -n ""; then
33433 $PKGCONFIG --exists fish >/dev/null 2>&1 && echo 1`
33435 if test -z "$itexists"; then
33436 PKGCONFIG="no"
33437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33438 printf "%s\n" "no" >&6; }
33440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
33445 if test "$PKGCONFIG" != "no" ; then
33446 FISH_FUNCTIONS_DIR="$($PKGCONFIG --variable completionsdir fish)"
34621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
34622 printf %s "checking for an ANSI C-conforming const... " >&6; }
34627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645 an arm of an if-expression whose if-part is not a constant
34648 pcpcc = &g + (g ? g-g : 0);
34661 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
34666 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
34672 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
34674 struct s *b = &bx; b->j = 5;
34676 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
34691 ac_cv_c_const=no
34693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
34697 if test $ac_cv_c_const = no; then
34734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
34735 printf %s "checking for struct timeval... " >&6; }
34741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34782 curl_cv_struct_timeval="no"
34785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
34802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
34803 printf %s "checking run-time libs availability... " >&6; }
34809 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34812 See \`config.log' for more details" "$LINENO" 5; }
34814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34830 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34841 CC="sh ./run-compiler"
34846 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34849 See \`config.log' for more details" "$LINENO" 5; }
34851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34867 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
34888 for typesize in 8 4 2 16 1; do
34889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34915 if test $r -gt 0; then
34919 if test $r -eq 0; then
34922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34924 tname=$(echo "ac_cv_sizeof_size_t" | tr A-Z a-z | tr " " "_")
34934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
34937 for typesize in 8 4 2 16 1; do
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34964 if test $r -gt 0; then
34968 if test $r -eq 0; then
34971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34973 tname=$(echo "ac_cv_sizeof_long" | tr A-Z a-z | tr " " "_")
34983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
34986 for typesize in 8 4 2 16 1; do
34987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35013 if test $r -gt 0; then
35017 if test $r -eq 0; then
35020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35022 tname=$(echo "ac_cv_sizeof_int" | tr A-Z a-z | tr " " "_")
35032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
35035 for typesize in 8 4 2 16 1; do
35036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35062 if test $r -gt 0; then
35066 if test $r -eq 0; then
35069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35071 tname=$(echo "ac_cv_sizeof_time_t" | tr A-Z a-z | tr " " "_")
35081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
35084 for typesize in 8 4 2 16 1; do
35085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35111 if test $r -gt 0; then
35115 if test $r -eq 0; then
35118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35120 tname=$(echo "ac_cv_sizeof_off_t" | tr A-Z a-z | tr " " "_")
35130 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
35133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
35136 for typesize in 8 4 2 16 1; do
35137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35165 if test $r -gt 0; then
35169 if test $r -eq 0; then
35172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35174 tname=$(echo "ac_cv_sizeof_curl_off_t" | tr A-Z a-z | tr " " "_")
35184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_socket_t" >&5
35187 for typesize in 8 4 2 16 1; do
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35216 if test $r -gt 0; then
35220 if test $r -eq 0; then
35223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35225 tname=$(echo "ac_cv_sizeof_curl_socket_t" | tr A-Z a-z | tr " " "_")
35246 if test ${ac_cv_sizeof_curl_off_t} -lt 8; then
35250 # check for ssize_t
35262 # check for bool type
35282 # check for sa_family_t
35324 # check for suseconds_t
35344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
35351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35352 printf "%s\n" "no" >&6; }
35355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35361 time_t t = -1;
35368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35376 printf "%s\n" "no" >&6; }
35379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35387 CC="sh ./run-compiler"
35392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35393 printf "%s\n" "no" >&6; }
35396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35402 time_t t = -1;
35409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35417 printf "%s\n" "no" >&6; }
35420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
35460 printf %s "checking for in_addr_t equivalent... " >&6; }
35467 for t in "unsigned long" int size_t unsigned long; do
35469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
35581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for select" >&5
35582 printf %s "checking for select... " >&6; }
35583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35633 printf "%s\n" "no" >&6; }
35634 curl_cv_select="no"
35637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
35664 printf %s "checking for recv... " >&6; }
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35705 printf "%s\n" "no" >&6; }
35706 curl_cv_recv="no"
35709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for send" >&5
35737 printf %s "checking for send... " >&6; }
35738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35778 printf "%s\n" "no" >&6; }
35779 curl_cv_send="no"
35782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
35809 printf %s "checking for MSG_NOSIGNAL... " >&6; }
35815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35851 curl_cv_msg_nosignal="no"
35854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
35901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
35903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35940 printf "%s\n" "no" >&6; }
35941 tst_links_alarm="no"
35944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
35950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35967 printf "%s\n" "no" >&6; }
35968 tst_proto_alarm="no"
35971 rm -rf conftest*
35976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
35978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36005 printf "%s\n" "no" >&6; }
36006 tst_compi_alarm="no"
36009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
36016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36021 printf "%s\n" "no" >&6; }
36022 tst_allow_alarm="no"
36026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
36032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36040 printf "%s\n" "no" >&6; }
36041 curl_cv_func_alarm="no"
36104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36143 printf "%s\n" "no" >&6; }
36144 tst_links_basename="no"
36147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
36153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36172 printf "%s\n" "no" >&6; }
36173 tst_proto_basename="no"
36176 rm -rf conftest*
36181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36212 printf "%s\n" "no" >&6; }
36213 tst_compi_basename="no"
36216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
36223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36228 printf "%s\n" "no" >&6; }
36229 tst_allow_basename="no"
36233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
36239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36247 printf "%s\n" "no" >&6; }
36248 curl_cv_func_basename="no"
36284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36314 printf "%s\n" "no" >&6; }
36315 tst_links_closesocket="no"
36318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
36324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36342 printf "%s\n" "no" >&6; }
36343 tst_proto_closesocket="no"
36346 rm -rf conftest*
36351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36381 printf "%s\n" "no" >&6; }
36382 tst_compi_closesocket="no"
36385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
36392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36397 printf "%s\n" "no" >&6; }
36398 tst_allow_closesocket="no"
36402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
36408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36416 printf "%s\n" "no" >&6; }
36417 curl_cv_func_closesocket="no"
36453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
36455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36483 printf "%s\n" "no" >&6; }
36484 tst_links_closesocket_camel="no"
36487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
36493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36511 printf "%s\n" "no" >&6; }
36512 tst_proto_closesocket_camel="no"
36515 rm -rf conftest*
36520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
36522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36550 printf "%s\n" "no" >&6; }
36551 tst_compi_closesocket_camel="no"
36554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
36561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36566 printf "%s\n" "no" >&6; }
36567 tst_allow_closesocket_camel="no"
36571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
36577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36585 printf "%s\n" "no" >&6; }
36586 curl_cv_func_closesocket_camel="no"
36632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
36634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36671 printf "%s\n" "no" >&6; }
36672 tst_links_fcntl="no"
36675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
36681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36698 printf "%s\n" "no" >&6; }
36699 tst_proto_fcntl="no"
36702 rm -rf conftest*
36707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36736 printf "%s\n" "no" >&6; }
36737 tst_compi_fcntl="no"
36740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
36747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36752 printf "%s\n" "no" >&6; }
36753 tst_allow_fcntl="no"
36757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
36763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
36783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36811 printf "%s\n" "no" >&6; }
36812 tst_compi_fcntl_o_nonblock="no"
36815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
36822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36827 printf "%s\n" "no" >&6; }
36828 tst_allow_fcntl_o_nonblock="no"
36832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
36836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36844 printf "%s\n" "no" >&6; }
36845 curl_cv_func_fcntl_o_nonblock="no"
36849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36850 printf "%s\n" "no" >&6; }
36851 curl_cv_func_fcntl="no"
36866 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36899 curl_cv_native_windows="no"
36902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
36950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
36952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36980 printf "%s\n" "no" >&6; }
36981 tst_links_freeaddrinfo="no"
36984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
36990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37009 printf "%s\n" "no" >&6; }
37010 tst_proto_freeaddrinfo="no"
37013 rm -rf conftest*
37018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
37020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37048 printf "%s\n" "no" >&6; }
37049 tst_compi_freeaddrinfo="no"
37052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
37059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37064 printf "%s\n" "no" >&6; }
37065 tst_allow_freeaddrinfo="no"
37069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
37075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37083 printf "%s\n" "no" >&6; }
37084 curl_cv_func_freeaddrinfo="no"
37121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
37123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37160 printf "%s\n" "no" >&6; }
37161 tst_links_fsetxattr="no"
37164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
37170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37187 printf "%s\n" "no" >&6; }
37188 tst_proto_fsetxattr="no"
37191 rm -rf conftest*
37197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
37199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37227 printf "%s\n" "no" >&6; }
37228 tst_compi_fsetxattr="no"
37231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
37236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37264 printf "%s\n" "no" >&6; }
37265 tst_compi_fsetxattr="no"
37268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
37273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37277 printf "%s\n" "no" >&6; }
37282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
37285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37290 printf "%s\n" "no" >&6; }
37291 tst_allow_fsetxattr="no"
37295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
37301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37307 if test "$tst_nargs_fsetxattr" -eq "5"; then
37311 elif test "$tst_nargs_fsetxattr" -eq "6"; then
37319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37320 printf "%s\n" "no" >&6; }
37321 curl_cv_func_fsetxattr="no"
37331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
37333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37370 printf "%s\n" "no" >&6; }
37371 tst_links_ftruncate="no"
37374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
37380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37397 printf "%s\n" "no" >&6; }
37398 tst_proto_ftruncate="no"
37401 rm -rf conftest*
37406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
37408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37435 printf "%s\n" "no" >&6; }
37436 tst_compi_ftruncate="no"
37439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
37446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37451 printf "%s\n" "no" >&6; }
37452 tst_allow_ftruncate="no"
37456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
37462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37470 printf "%s\n" "no" >&6; }
37471 curl_cv_func_ftruncate="no"
37500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
37502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37531 printf "%s\n" "no" >&6; }
37532 tst_links_getaddrinfo="no"
37535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
37541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37560 printf "%s\n" "no" >&6; }
37561 tst_proto_getaddrinfo="no"
37564 rm -rf conftest*
37569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
37571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37600 printf "%s\n" "no" >&6; }
37601 tst_compi_getaddrinfo="no"
37604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
37616 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37619 See \`config.log' for more details" "$LINENO" 5; }
37621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37667 printf "%s\n" "no" >&6; }
37668 tst_works_getaddrinfo="no"
37671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37679 CC="sh ./run-compiler"
37684 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37687 See \`config.log' for more details" "$LINENO" 5; }
37689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37735 printf "%s\n" "no" >&6; }
37736 tst_works_getaddrinfo="no"
37739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37751 test "$tst_works_getaddrinfo" != "no"; then
37752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
37755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37760 printf "%s\n" "no" >&6; }
37761 tst_allow_getaddrinfo="no"
37765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
37771 test "$tst_works_getaddrinfo" != "no"; then
37772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37780 printf "%s\n" "no" >&6; }
37781 curl_cv_func_getaddrinfo="no"
37782 curl_cv_func_getaddrinfo_threadsafe="no"
37786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
37790 tst_tsafe_getaddrinfo="no"
37796 tst_tsafe_getaddrinfo="no"
37802 tst_tsafe_getaddrinfo="no"
37808 tst_tsafe_getaddrinfo="no"
37817 tst_tsafe_getaddrinfo="no"
37823 tst_tsafe_getaddrinfo="no"
37836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37861 tst_symbol_defined="no"
37864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37869 curl_cv_have_def_h_errno=no
37876 tst_h_errno_macro="no"
37878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37904 tst_h_errno_modifiable_lvalue="no"
37907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37936 tst_h_errno_sbs_issue_7="no"
37939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37940 if test "$tst_h_errno_macro" = "no" &&
37941 test "$tst_h_errno_modifiable_lvalue" = "no" &&
37942 test "$tst_h_errno_sbs_issue_7" = "no"; then
37943 tst_tsafe_getaddrinfo="no"
37948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
37956 curl_cv_func_getaddrinfo_threadsafe="no"
37967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
37969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37998 printf "%s\n" "no" >&6; }
37999 tst_links_gethostbyname="no"
38002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
38008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38027 printf "%s\n" "no" >&6; }
38028 tst_proto_gethostbyname="no"
38031 rm -rf conftest*
38036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38067 printf "%s\n" "no" >&6; }
38068 tst_compi_gethostbyname="no"
38071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
38078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38083 printf "%s\n" "no" >&6; }
38084 tst_allow_gethostbyname="no"
38088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
38094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38102 printf "%s\n" "no" >&6; }
38103 curl_cv_func_gethostbyname="no"
38114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
38116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38153 printf "%s\n" "no" >&6; }
38154 tst_links_gethostbyname_r="no"
38157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
38163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38180 printf "%s\n" "no" >&6; }
38181 tst_proto_gethostbyname_r="no"
38184 rm -rf conftest*
38190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
38192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38221 printf "%s\n" "no" >&6; }
38222 tst_compi_gethostbyname_r="no"
38225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
38230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38259 printf "%s\n" "no" >&6; }
38260 tst_compi_gethostbyname_r="no"
38263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
38268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38297 printf "%s\n" "no" >&6; }
38298 tst_compi_gethostbyname_r="no"
38301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
38306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38310 printf "%s\n" "no" >&6; }
38315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
38318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38323 printf "%s\n" "no" >&6; }
38324 tst_allow_gethostbyname_r="no"
38328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
38334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38340 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
38344 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
38348 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
38356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38357 printf "%s\n" "no" >&6; }
38358 curl_cv_func_gethostbyname_r="no"
38378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
38380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38409 printf "%s\n" "no" >&6; }
38410 tst_links_gethostname="no"
38413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38438 printf "%s\n" "no" >&6; }
38439 tst_proto_gethostname="no"
38442 rm -rf conftest*
38447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
38449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38478 printf "%s\n" "no" >&6; }
38479 tst_compi_gethostname="no"
38482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
38487 printf %s "checking for gethostname arg 2 data type... " >&6; }
38489 for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do
38490 for tst_arg2 in 'int' 'unsigned int' 'size_t'; do
38492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
38533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
38536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38541 printf "%s\n" "no" >&6; }
38542 tst_allow_gethostname="no"
38546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
38552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38560 printf "%s\n" "no" >&6; }
38561 curl_cv_func_gethostname="no"
38571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername can be linked" >&5
38573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38602 printf "%s\n" "no" >&6; }
38603 tst_links_getpeername="no"
38606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is prototyped" >&5
38612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38631 printf "%s\n" "no" >&6; }
38632 tst_proto_getpeername="no"
38635 rm -rf conftest*
38640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is compilable" >&5
38642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38671 printf "%s\n" "no" >&6; }
38672 tst_compi_getpeername="no"
38675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername usage allowed" >&5
38682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38687 printf "%s\n" "no" >&6; }
38688 tst_allow_getpeername="no"
38692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername might be used" >&5
38698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38706 printf "%s\n" "no" >&6; }
38707 curl_cv_func_getpeername="no"
38717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname can be linked" >&5
38719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38748 printf "%s\n" "no" >&6; }
38749 tst_links_getsockname="no"
38752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is prototyped" >&5
38758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38777 printf "%s\n" "no" >&6; }
38778 tst_proto_getsockname="no"
38781 rm -rf conftest*
38786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is compilable" >&5
38788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38817 printf "%s\n" "no" >&6; }
38818 tst_compi_getsockname="no"
38821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname usage allowed" >&5
38828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38833 printf "%s\n" "no" >&6; }
38834 tst_allow_getsockname="no"
38838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname might be used" >&5
38844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38852 printf "%s\n" "no" >&6; }
38853 curl_cv_func_getsockname="no"
38879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex can be linked" >&5
38881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38910 printf "%s\n" "no" >&6; }
38911 tst_links_if_nametoindex="no"
38914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is prototyped" >&5
38920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38938 printf "%s\n" "no" >&6; }
38939 tst_proto_if_nametoindex="no"
38942 rm -rf conftest*
38947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is compilable" >&5
38949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38977 printf "%s\n" "no" >&6; }
38978 tst_compi_if_nametoindex="no"
38981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex usage allowed" >&5
38988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38993 printf "%s\n" "no" >&6; }
38994 tst_allow_if_nametoindex="no"
38998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex might be used" >&5
39004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39012 printf "%s\n" "no" >&6; }
39013 curl_cv_func_if_nametoindex="no"
39070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
39072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39109 printf "%s\n" "no" >&6; }
39110 tst_links_getifaddrs="no"
39113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
39119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39136 printf "%s\n" "no" >&6; }
39137 tst_proto_getifaddrs="no"
39140 rm -rf conftest*
39145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
39147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39174 printf "%s\n" "no" >&6; }
39175 tst_compi_getifaddrs="no"
39178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
39190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39193 See \`config.log' for more details" "$LINENO" 5; }
39195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39227 printf "%s\n" "no" >&6; }
39228 tst_works_getifaddrs="no"
39231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39239 CC="sh ./run-compiler"
39244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39247 See \`config.log' for more details" "$LINENO" 5; }
39249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39281 printf "%s\n" "no" >&6; }
39282 tst_works_getifaddrs="no"
39285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39297 test "$tst_works_getifaddrs" != "no"; then
39298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
39301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39306 printf "%s\n" "no" >&6; }
39307 tst_allow_getifaddrs="no"
39311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
39317 test "$tst_works_getifaddrs" != "no"; then
39318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39326 printf "%s\n" "no" >&6; }
39327 curl_cv_func_getifaddrs="no"
39365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
39367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39404 printf "%s\n" "no" >&6; }
39405 tst_links_gmtime_r="no"
39408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
39414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39431 printf "%s\n" "no" >&6; }
39432 tst_proto_gmtime_r="no"
39435 rm -rf conftest*
39440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
39442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39469 printf "%s\n" "no" >&6; }
39470 tst_compi_gmtime_r="no"
39473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
39485 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39488 See \`config.log' for more details" "$LINENO" 5; }
39490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39522 printf "%s\n" "no" >&6; }
39523 tst_works_gmtime_r="no"
39526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39534 CC="sh ./run-compiler"
39539 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39542 See \`config.log' for more details" "$LINENO" 5; }
39544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39576 printf "%s\n" "no" >&6; }
39577 tst_works_gmtime_r="no"
39580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39592 test "$tst_works_gmtime_r" != "no"; then
39593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
39596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39601 printf "%s\n" "no" >&6; }
39602 tst_allow_gmtime_r="no"
39606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
39612 test "$tst_works_gmtime_r" != "no"; then
39613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39621 printf "%s\n" "no" >&6; }
39622 curl_cv_func_gmtime_r="no"
39683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
39685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39722 printf "%s\n" "no" >&6; }
39723 tst_links_inet_ntop="no"
39726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
39732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39749 printf "%s\n" "no" >&6; }
39750 tst_proto_inet_ntop="no"
39753 rm -rf conftest*
39758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
39760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39787 printf "%s\n" "no" >&6; }
39788 tst_compi_inet_ntop="no"
39791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
39803 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39806 See \`config.log' for more details" "$LINENO" 5; }
39808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* - */
39832 /* - */
39842 /* - */
39856 /* - */
39866 /* - */
39876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39882 printf "%s\n" "no" >&6; }
39883 tst_works_inet_ntop="no"
39886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39894 CC="sh ./run-compiler"
39899 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39902 See \`config.log' for more details" "$LINENO" 5; }
39904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39921 /* - */
39928 /* - */
39938 /* - */
39952 /* - */
39962 /* - */
39972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39978 printf "%s\n" "no" >&6; }
39979 tst_works_inet_ntop="no"
39982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39994 test "$tst_works_inet_ntop" != "no"; then
39995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
39998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40003 printf "%s\n" "no" >&6; }
40004 tst_allow_inet_ntop="no"
40008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
40014 test "$tst_works_inet_ntop" != "no"; then
40015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40023 printf "%s\n" "no" >&6; }
40024 curl_cv_func_inet_ntop="no"
40035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
40037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40074 printf "%s\n" "no" >&6; }
40075 tst_links_inet_pton="no"
40078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
40084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40101 printf "%s\n" "no" >&6; }
40102 tst_proto_inet_pton="no"
40105 rm -rf conftest*
40110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
40112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40139 printf "%s\n" "no" >&6; }
40140 tst_compi_inet_pton="no"
40143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
40155 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40158 See \`config.log' for more details" "$LINENO" 5; }
40160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40175 /* - */
40179 /* - */
40186 /* - */
40190 /* - */
40203 /* - */
40211 /* - */
40221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40227 printf "%s\n" "no" >&6; }
40228 tst_works_inet_pton="no"
40231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40239 CC="sh ./run-compiler"
40244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40247 See \`config.log' for more details" "$LINENO" 5; }
40249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40264 /* - */
40268 /* - */
40275 /* - */
40279 /* - */
40292 /* - */
40300 /* - */
40310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40316 printf "%s\n" "no" >&6; }
40317 tst_works_inet_pton="no"
40320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40332 test "$tst_works_inet_pton" != "no"; then
40333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
40336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40341 printf "%s\n" "no" >&6; }
40342 tst_allow_inet_pton="no"
40346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
40352 test "$tst_works_inet_pton" != "no"; then
40353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40361 printf "%s\n" "no" >&6; }
40362 curl_cv_func_inet_pton="no"
40428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5
40430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40467 printf "%s\n" "no" >&6; }
40468 tst_links_ioctl="no"
40471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5
40477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40494 printf "%s\n" "no" >&6; }
40495 tst_proto_ioctl="no"
40498 rm -rf conftest*
40503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5
40505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40532 printf "%s\n" "no" >&6; }
40533 tst_compi_ioctl="no"
40536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5
40543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40548 printf "%s\n" "no" >&6; }
40549 tst_allow_ioctl="no"
40553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5
40559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5
40573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40601 printf "%s\n" "no" >&6; }
40602 tst_compi_ioctl_fionbio="no"
40605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5
40612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40617 printf "%s\n" "no" >&6; }
40618 tst_allow_ioctl_fionbio="no"
40622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5
40626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40634 printf "%s\n" "no" >&6; }
40635 curl_cv_func_ioctl_fionbio="no"
40644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5
40646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40675 printf "%s\n" "no" >&6; }
40676 tst_compi_ioctl_siocgifaddr="no"
40679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5
40686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40691 printf "%s\n" "no" >&6; }
40692 tst_allow_ioctl_siocgifaddr="no"
40696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5
40700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40708 printf "%s\n" "no" >&6; }
40709 curl_cv_func_ioctl_siocgifaddr="no"
40713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40714 printf "%s\n" "no" >&6; }
40715 curl_cv_func_ioctl="no"
40725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
40727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40754 printf "%s\n" "no" >&6; }
40755 tst_links_ioctlsocket="no"
40758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40781 printf "%s\n" "no" >&6; }
40782 tst_proto_ioctlsocket="no"
40785 rm -rf conftest*
40790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
40792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40819 printf "%s\n" "no" >&6; }
40820 tst_compi_ioctlsocket="no"
40823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
40830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40835 printf "%s\n" "no" >&6; }
40836 tst_allow_ioctlsocket="no"
40840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
40846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
40860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40888 printf "%s\n" "no" >&6; }
40889 tst_compi_ioctlsocket_fionbio="no"
40892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
40899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40904 printf "%s\n" "no" >&6; }
40905 tst_allow_ioctlsocket_fionbio="no"
40909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
40913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40921 printf "%s\n" "no" >&6; }
40922 curl_cv_func_ioctlsocket_fionbio="no"
40926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40927 printf "%s\n" "no" >&6; }
40928 curl_cv_func_ioctlsocket="no"
40938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40966 printf "%s\n" "no" >&6; }
40967 tst_links_ioctlsocket_camel="no"
40970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
40976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40993 printf "%s\n" "no" >&6; }
40994 tst_proto_ioctlsocket_camel="no"
40997 rm -rf conftest*
41002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
41004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41031 printf "%s\n" "no" >&6; }
41032 tst_compi_ioctlsocket_camel="no"
41035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
41042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41047 printf "%s\n" "no" >&6; }
41048 tst_allow_ioctlsocket_camel="no"
41052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
41058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
41072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41100 printf "%s\n" "no" >&6; }
41101 tst_compi_ioctlsocket_camel_fionbio="no"
41104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
41111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41116 printf "%s\n" "no" >&6; }
41117 tst_allow_ioctlsocket_camel_fionbio="no"
41121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
41125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41133 printf "%s\n" "no" >&6; }
41134 curl_cv_func_ioctlsocket_camel_fionbio="no"
41138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41139 printf "%s\n" "no" >&6; }
41140 curl_cv_func_ioctlsocket_camel="no"
41151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
41153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41190 printf "%s\n" "no" >&6; }
41191 tst_links_memrchr="no"
41194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41197 if test "$tst_links_memrchr" = "no"; then
41198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
41200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41227 printf "%s\n" "no" >&6; }
41228 tst_macro_memrchr="no"
41231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
41238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41255 printf "%s\n" "no" >&6; }
41256 tst_proto_memrchr="no"
41259 rm -rf conftest*
41265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41294 printf "%s\n" "no" >&6; }
41295 tst_compi_memrchr="no"
41298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
41305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41310 printf "%s\n" "no" >&6; }
41311 tst_allow_memrchr="no"
41315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
41321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41329 printf "%s\n" "no" >&6; }
41330 curl_cv_func_memrchr="no"
41380 tst_compi_poll="no"
41384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
41386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41413 printf "%s\n" "no" >&6; }
41414 tst_links_poll="no"
41417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
41423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41440 printf "%s\n" "no" >&6; }
41441 tst_proto_poll="no"
41444 rm -rf conftest*
41449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
41451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41478 printf "%s\n" "no" >&6; }
41479 tst_compi_poll="no"
41482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
41494 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41497 See \`config.log' for more details" "$LINENO" 5; }
41499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41523 us = (after.tv_sec - before.tv_sec) * 1000000 +
41524 (after.tv_usec - before.tv_usec);
41537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41543 printf "%s\n" "no" >&6; }
41544 tst_works_poll="no"
41547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41555 CC="sh ./run-compiler"
41560 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41563 See \`config.log' for more details" "$LINENO" 5; }
41565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41589 us = (after.tv_sec - before.tv_sec) * 1000000 +
41590 (after.tv_usec - before.tv_usec);
41603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41609 printf "%s\n" "no" >&6; }
41610 tst_works_poll="no"
41613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41625 test "$tst_works_poll" != "no"; then
41626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
41629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41634 printf "%s\n" "no" >&6; }
41635 tst_allow_poll="no"
41639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
41645 test "$tst_works_poll" != "no"; then
41646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41654 printf "%s\n" "no" >&6; }
41655 curl_cv_func_poll="no"
41682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
41684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41721 printf "%s\n" "no" >&6; }
41722 tst_links_sigaction="no"
41725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
41731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41748 printf "%s\n" "no" >&6; }
41749 tst_proto_sigaction="no"
41752 rm -rf conftest*
41757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
41759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41786 printf "%s\n" "no" >&6; }
41787 tst_compi_sigaction="no"
41790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
41797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41802 printf "%s\n" "no" >&6; }
41803 tst_allow_sigaction="no"
41807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
41813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41821 printf "%s\n" "no" >&6; }
41822 curl_cv_func_sigaction="no"
41832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
41834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41871 printf "%s\n" "no" >&6; }
41872 tst_links_siginterrupt="no"
41875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41898 printf "%s\n" "no" >&6; }
41899 tst_proto_siginterrupt="no"
41902 rm -rf conftest*
41907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
41909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41936 printf "%s\n" "no" >&6; }
41937 tst_compi_siginterrupt="no"
41940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
41947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41952 printf "%s\n" "no" >&6; }
41953 tst_allow_siginterrupt="no"
41957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
41963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41971 printf "%s\n" "no" >&6; }
41972 curl_cv_func_siginterrupt="no"
41982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
41984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42021 printf "%s\n" "no" >&6; }
42022 tst_links_signal="no"
42025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
42031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42048 printf "%s\n" "no" >&6; }
42049 tst_proto_signal="no"
42052 rm -rf conftest*
42057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
42059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42086 printf "%s\n" "no" >&6; }
42087 tst_compi_signal="no"
42090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
42097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42102 printf "%s\n" "no" >&6; }
42103 tst_allow_signal="no"
42107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
42113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42121 printf "%s\n" "no" >&6; }
42122 curl_cv_func_signal="no"
42150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
42152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42189 printf "%s\n" "no" >&6; }
42190 tst_links_sigsetjmp="no"
42193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42196 if test "$tst_links_sigsetjmp" = "no"; then
42197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
42199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42227 printf "%s\n" "no" >&6; }
42228 tst_macro_sigsetjmp="no"
42231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
42238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42255 printf "%s\n" "no" >&6; }
42256 tst_proto_sigsetjmp="no"
42259 rm -rf conftest*
42265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
42267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42295 printf "%s\n" "no" >&6; }
42296 tst_compi_sigsetjmp="no"
42299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
42306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42311 printf "%s\n" "no" >&6; }
42312 tst_allow_sigsetjmp="no"
42316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
42322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42330 printf "%s\n" "no" >&6; }
42331 curl_cv_func_sigsetjmp="no"
42341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
42343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42373 printf "%s\n" "no" >&6; }
42374 tst_links_socket="no"
42377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
42383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42403 printf "%s\n" "no" >&6; }
42404 tst_proto_socket="no"
42407 rm -rf conftest*
42412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
42414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42444 printf "%s\n" "no" >&6; }
42445 tst_compi_socket="no"
42448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
42455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42460 printf "%s\n" "no" >&6; }
42461 tst_allow_socket="no"
42465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
42471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42479 printf "%s\n" "no" >&6; }
42480 curl_cv_func_socket="no"
42490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
42492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42529 printf "%s\n" "no" >&6; }
42530 tst_links_socketpair="no"
42533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
42539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42557 printf "%s\n" "no" >&6; }
42558 tst_proto_socketpair="no"
42561 rm -rf conftest*
42566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
42568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42597 printf "%s\n" "no" >&6; }
42598 tst_compi_socketpair="no"
42601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
42608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42613 printf "%s\n" "no" >&6; }
42614 tst_allow_socketpair="no"
42618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
42624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42632 printf "%s\n" "no" >&6; }
42633 curl_cv_func_socketpair="no"
42643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42682 printf "%s\n" "no" >&6; }
42683 tst_links_strcasecmp="no"
42686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
42692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42709 printf "%s\n" "no" >&6; }
42710 tst_proto_strcasecmp="no"
42713 rm -rf conftest*
42718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
42720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42747 printf "%s\n" "no" >&6; }
42748 tst_compi_strcasecmp="no"
42751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
42758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42763 printf "%s\n" "no" >&6; }
42764 tst_allow_strcasecmp="no"
42768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
42774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42782 printf "%s\n" "no" >&6; }
42783 curl_cv_func_strcasecmp="no"
42793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42832 printf "%s\n" "no" >&6; }
42833 tst_links_strcmpi="no"
42836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42859 printf "%s\n" "no" >&6; }
42860 tst_proto_strcmpi="no"
42863 rm -rf conftest*
42868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42897 printf "%s\n" "no" >&6; }
42898 tst_compi_strcmpi="no"
42901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
42908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42913 printf "%s\n" "no" >&6; }
42914 tst_allow_strcmpi="no"
42918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
42924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42932 printf "%s\n" "no" >&6; }
42933 curl_cv_func_strcmpi="no"
42943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
42945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42982 printf "%s\n" "no" >&6; }
42983 tst_links_strdup="no"
42986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
42992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43009 printf "%s\n" "no" >&6; }
43010 tst_proto_strdup="no"
43013 rm -rf conftest*
43018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
43020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43047 printf "%s\n" "no" >&6; }
43048 tst_compi_strdup="no"
43051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
43058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43063 printf "%s\n" "no" >&6; }
43064 tst_allow_strdup="no"
43068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
43074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43082 printf "%s\n" "no" >&6; }
43083 curl_cv_func_strdup="no"
43099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
43101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43138 printf "%s\n" "no" >&6; }
43139 tst_links_strerror_r="no"
43142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
43148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43165 printf "%s\n" "no" >&6; }
43166 tst_proto_strerror_r="no"
43169 rm -rf conftest*
43174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
43176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43203 printf "%s\n" "no" >&6; }
43204 tst_compi_strerror_r="no"
43207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
43214 for arg3 in 'size_t' 'int' 'unsigned int'; do
43216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43246 printf "%s\n" "no" >&6; }
43247 tst_glibc_strerror_r="no"
43250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
43266 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43269 See \`config.log' for more details" "$LINENO" 5; }
43271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43306 printf "%s\n" "no" >&6; }
43307 tst_works_glibc_strerror_r="no"
43310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43318 CC="sh ./run-compiler"
43323 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43326 See \`config.log' for more details" "$LINENO" 5; }
43328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43363 printf "%s\n" "no" >&6; }
43364 tst_works_glibc_strerror_r="no"
43367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
43383 for arg3 in 'size_t' 'int' 'unsigned int'; do
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43415 printf "%s\n" "no" >&6; }
43416 tst_posix_strerror_r="no"
43419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
43435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43438 See \`config.log' for more details" "$LINENO" 5; }
43440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43475 printf "%s\n" "no" >&6; }
43476 tst_works_posix_strerror_r="no"
43479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43487 CC="sh ./run-compiler"
43492 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43495 See \`config.log' for more details" "$LINENO" 5; }
43497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43532 printf "%s\n" "no" >&6; }
43533 tst_works_posix_strerror_r="no"
43536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43548 tst_posix_strerror_r="no"
43551 tst_glibc_strerror_r="no"
43554 test "$tst_works_glibc_strerror_r" != "no" &&
43559 test "$tst_works_posix_strerror_r" != "no" &&
43564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
43567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43572 printf "%s\n" "no" >&6; }
43573 tst_allow_strerror_r="no"
43577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
43583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43604 printf "%s\n" "no" >&6; }
43605 curl_cv_func_strerror_r="no"
43610 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit l…
43622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
43624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43661 printf "%s\n" "no" >&6; }
43662 tst_links_stricmp="no"
43665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
43671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43688 printf "%s\n" "no" >&6; }
43689 tst_proto_stricmp="no"
43692 rm -rf conftest*
43697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
43699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43726 printf "%s\n" "no" >&6; }
43727 tst_compi_stricmp="no"
43730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
43737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43742 printf "%s\n" "no" >&6; }
43743 tst_allow_stricmp="no"
43747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
43753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43761 printf "%s\n" "no" >&6; }
43762 curl_cv_func_stricmp="no"
43772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
43774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43811 printf "%s\n" "no" >&6; }
43812 tst_links_strtok_r="no"
43815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
43821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43838 printf "%s\n" "no" >&6; }
43839 tst_proto_strtok_r="no"
43842 rm -rf conftest*
43847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
43849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43876 printf "%s\n" "no" >&6; }
43877 tst_compi_strtok_r="no"
43880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
43887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43892 printf "%s\n" "no" >&6; }
43893 tst_allow_strtok_r="no"
43897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
43903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43911 printf "%s\n" "no" >&6; }
43912 curl_cv_func_strtok_r="no"
43922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
43924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43961 printf "%s\n" "no" >&6; }
43962 tst_links_strtoll="no"
43965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
43971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43988 printf "%s\n" "no" >&6; }
43989 tst_proto_strtoll="no"
43992 rm -rf conftest*
43997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
43999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44026 printf "%s\n" "no" >&6; }
44027 tst_compi_strtoll="no"
44030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
44034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
44037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44042 printf "%s\n" "no" >&6; }
44043 tst_allow_strtoll="no"
44047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
44053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44061 printf "%s\n" "no" >&6; }
44062 curl_cv_func_strtoll="no"
44068 ac_cv_func_pipe=no
44070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
44071 printf "%s\n" "$as_me: skip check for pipe on msdosdjgpp" >&6;}
44075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecla…
44076 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
44083 for ac_arg in '' -fno-builtin; do
44086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44101 # No library function is consistently available on
44103 # declaration. Include always-available headers on the
44105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
44134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
44139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
44143 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44146 See \`config.log' for more details" "$LINENO" 5; } ;; #(
44174for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r g…
44190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
44191 printf %s "checking deeper for $func... " >&6; }
44192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44215 …E_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
44221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
44222 printf "%s\n" "but still no" >&6; }
44225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44246 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode"…
44247 printf %s "checking how to set a socket into non-blocking mode... " >&6; }
44259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
44262 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method…
44263 printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
44267 if test "x$BUILD_DOCS" != "x0" -o "x$USE_MANUAL" != "x0"; then
44270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44271 printf %s "checking for $ac_word... " >&6; }
44283 for as_dir in $as_dummy
44291 for ac_exec_ext in '' $ac_executable_extensions; do
44294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44305 if test -n "$PERL"; then
44306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
44309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44310 printf "%s\n" "no" >&6; }
44316 if test -z "$PERL"; then
44317 as_fn_error $? "perl was not found, needed for docs and manual" "$LINENO" 5
44354 if test -n "$want_ares_path"; then
44357 if test -n "$PKG_CONFIG"; then
44360 if test -n "$ac_tool_prefix"; then
44361 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44362 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44364 printf %s "checking for $ac_word... " >&6; }
44376 for as_dir in $as_dummy
44384 for ac_exec_ext in '' $ac_executable_extensions; do
44387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44398 if test -n "$PKGCONFIG"; then
44399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44403 printf "%s\n" "no" >&6; }
44408 if test -z "$ac_cv_path_PKGCONFIG"; then
44410 # Extract the first word of "pkg-config", so it can be a program name with args.
44411 set dummy pkg-config; ac_word=$2
44412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44413 printf %s "checking for $ac_word... " >&6; }
44425 for as_dir in $as_dummy
44433 for ac_exec_ext in '' $ac_executable_extensions; do
44436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44447 if test -n "$ac_pt_PKGCONFIG"; then
44448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44452 printf "%s\n" "no" >&6; }
44456 PKGCONFIG="no"
44460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44473 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44474 printf %s "checking for libcares options with pkg-config... " >&6; }
44476 if test -n "$ARES_PCDIR"; then
44480 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44482 if test -z "$itexists"; then
44483 PKGCONFIG="no"
44484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44485 printf "%s\n" "no" >&6; }
44487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44492 if test "$PKGCONFIG" != "no" ; then
44494 if test -n "$ARES_PCDIR"; then
44499 $PKGCONFIG --libs-only-l libcares`
44501 if test -n "$ARES_PCDIR"; then
44506 $PKGCONFIG --libs-only-L libcares`
44508 if test -n "$ARES_PCDIR"; then
44513 $PKGCONFIG --cflags-only-I libcares`
44514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
44515 printf "%s\n" "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
44516 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
44517 printf "%s\n" "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44518 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44519 printf "%s\n" "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44521 ares_CPPFLAGS="-I$want_ares_path/include"
44522 ares_LDFLAGS="-L$want_ares_path/lib"
44523 ares_LIBS="-lcares"
44527 if test -n "$PKG_CONFIG"; then
44530 if test -n "$ac_tool_prefix"; then
44531 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44532 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44534 printf %s "checking for $ac_word... " >&6; }
44546 for as_dir in $as_dummy
44554 for ac_exec_ext in '' $ac_executable_extensions; do
44557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44568 if test -n "$PKGCONFIG"; then
44569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44573 printf "%s\n" "no" >&6; }
44578 if test -z "$ac_cv_path_PKGCONFIG"; then
44580 # Extract the first word of "pkg-config", so it can be a program name with args.
44581 set dummy pkg-config; ac_word=$2
44582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44583 printf %s "checking for $ac_word... " >&6; }
44595 for as_dir in $as_dummy
44603 for ac_exec_ext in '' $ac_executable_extensions; do
44606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44617 if test -n "$ac_pt_PKGCONFIG"; then
44618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44622 printf "%s\n" "no" >&6; }
44626 PKGCONFIG="no"
44630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44643 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44644 printf %s "checking for libcares options with pkg-config... " >&6; }
44646 if test -n ""; then
44650 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44652 if test -z "$itexists"; then
44653 PKGCONFIG="no"
44654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44655 printf "%s\n" "no" >&6; }
44657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44662 if test "$PKGCONFIG" != "no" ; then
44663 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
44664 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
44665 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
44666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
44667 printf "%s\n" "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
44668 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
44669 printf "%s\n" "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44670 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44671 printf "%s\n" "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44675 ares_LIBS="-lcares"
44684 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
44685 printf %s "checking that c-ares is good and recent enough... " >&6; }
44686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* set of dummy functions in case c-ares was built with debug */
44714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44720 printf "%s\n" "no" >&6; }
44721 as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
44726 want_ares="no"
44729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44741 curl_res_msg="c-ares"
44750 build_libhostname=no
44763 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
44766 # Check whether --enable-threaded_resolver was given.
44773 no)
44774 want_thres="no"
44780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
44785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded re…
44786 printf %s "checking whether to use POSIX threads for threaded resolver... " >&6; }
44787 # Check whether --enable-pthreads was given.
44791 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44792 printf "%s\n" "no" >&6; }
44793 want_pthreads=no
44795 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
44810 if test "$want_pthreads" != "no"; then
44812 as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
44814 if test "$dontwant_rt" != "no"; then
44816 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is di…
44817 printf "%s\n" "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
44819 want_pthreads=no
44823 if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
44824 want_pthreads=no
44827 if test "$want_pthreads" != "no"; then
44847 *-hp-hpux*)
44856 # assign PTHREAD for pkg-config use
44857 PTHREAD=" -pthread"
44860 *-ibm-aix*)
44861 COMPILER_VERSION=`"$CC" -qversion 2>/dev/null`
44863 CFLAGS="$CFLAGS -pthread"
44865 CFLAGS="$CFLAGS -qthreaded"
44868 powerpc-*amigaos*)
44869 PTHREAD=" -lpthread"
44872 CFLAGS="$CFLAGS -pthread"
44875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
44876 printf %s "checking for pthread_create in -lpthread... " >&6; }
44882 LIBS="-lpthread $LIBS"
44883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44902 ac_cv_lib_pthread_pthread_create=no
44904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
44933 as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
44942 as_fn_error $? "Threaded resolver enabled but no thread library found" "$LINENO" 5
44966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking convert -I options to -isystem" >&5
44967 printf %s "checking convert -I options to -isystem... " >&6; }
44970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44972 tmp_has_include="no"
44974 for word1 in $tmp_chg_FLAGS; do
44976 -I*)
44982 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44983 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44987 tmp_has_include="no"
44989 for word1 in $tmp_chg_FLAGS; do
44991 -I*)
44997 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44998 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
45003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45004 printf "%s\n" "no" >&6; }
45008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
45010 # Check whether --enable-verbose was given.
45014 no)
45015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45016 printf "%s\n" "no" >&6; }
45020 curl_verbose_msg="no"
45022 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows nati…
45035 # Check whether --enable-sspi was given.
45041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45051 printf "%s\n" "no" >&6; }
45052 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on na…
45053 printf "%s\n" "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&…
45058 # --with-schannel implies --enable-sspi
45059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45063 printf "%s\n" "no" >&6; }
45069 # --with-schannel implies --enable-sspi
45070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45074 printf "%s\n" "no" >&6; }
45080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable basic authentication metho…
45082 # Check whether --enable-basic-auth was given.
45086 no)
45087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45088 printf "%s\n" "no" >&6; }
45094 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable bearer authentication meth…
45107 # Check whether --enable-bearer-auth was given.
45111 no)
45112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45113 printf "%s\n" "no" >&6; }
45119 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable digest authentication meth…
45132 # Check whether --enable-digest-auth was given.
45136 no)
45137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45138 printf "%s\n" "no" >&6; }
45144 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable kerberos authentication me…
45157 # Check whether --enable-kerberos-auth was given.
45161 no)
45162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45163 printf "%s\n" "no" >&6; }
45169 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable negotiate authentication m…
45182 # Check whether --enable-negotiate-auth was given.
45186 no)
45187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45188 printf "%s\n" "no" >&6; }
45194 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable aws sig methods" >&5
45208 # Check whether --enable-aws was given.
45212 no)
45213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45214 printf "%s\n" "no" >&6; }
45220 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support NTLM" >&5
45233 # Check whether --enable-ntlm was given.
45237 no)
45238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45239 printf "%s\n" "no" >&6; }
45245 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
45257 printf %s "checking whether to enable TLS-SRP authentication... " >&6; }
45258 # Check whether --enable-tls-srp was given.
45262 no)
45263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45264 printf "%s\n" "no" >&6; }
45265 want_tls_srp=no
45267 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
45290 # Check whether --enable-unix-sockets was given.
45294 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45295 printf "%s\n" "no" >&6; }
45296 want_unix_sockets=no
45298 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
45337 as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
45345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support cookies" >&5
45347 # Check whether --enable-cookies was given.
45351 no)
45352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45353 printf "%s\n" "no" >&6; }
45358 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support socketpair" >&5
45371 # Check whether --enable-socketpair was given.
45375 no)
45376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45377 printf "%s\n" "no" >&6; }
45382 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HTTP authentication" >&5
45395 # Check whether --enable-http-auth was given.
45399 no)
45400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45401 printf "%s\n" "no" >&6; }
45406 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DoH" >&5
45419 # Check whether --enable-doh was given.
45423 no)
45424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45425 printf "%s\n" "no" >&6; }
45430 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the MIME API" >&5
45443 # Check whether --enable-mime was given.
45447 no)
45448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45449 printf "%s\n" "no" >&6; }
45454 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support binding connections local…
45467 # Check whether --enable-bindlocal was given.
45471 no)
45472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45473 printf "%s\n" "no" >&6; }
45478 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the form API" >&5
45491 # Check whether --enable-form-api was given.
45495 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45496 printf "%s\n" "no" >&6; }
45501 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45503 test "$enable_mime" = no &&
45509 if test "$enable_mime" = no; then
45510 enable_form_api=no
45511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45512 printf "%s\n" "no" >&6; }
45517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support date parsing" >&5
45526 # Check whether --enable-dateparse was given.
45530 no)
45531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45532 printf "%s\n" "no" >&6; }
45537 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support netrc parsing" >&5
45550 # Check whether --enable-netrc was given.
45554 no)
45555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45556 printf "%s\n" "no" >&6; }
45561 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support progress-meter" >&5
45573 printf %s "checking whether to support progress-meter... " >&6; }
45574 # Check whether --enable-progress-meter was given.
45578 no)
45579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45580 printf "%s\n" "no" >&6; }
45585 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DNS shuffling" >&5
45598 # Check whether --enable-dnsshuffle was given.
45602 no)
45603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45604 printf "%s\n" "no" >&6; }
45609 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support curl_easy_option*" >&5
45622 # Check whether --enable-get-easy-options was given.
45626 no)
45627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45628 printf "%s\n" "no" >&6; }
45633 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
45645 printf %s "checking whether to support alt-svc... " >&6; }
45646 # Check whether --enable-alt-svc was given.
45650 no)
45651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45652 printf "%s\n" "no" >&6; }
45656 curl_altsvc_msg="no";
45657 enable_altsvc="no"
45659 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support headers-api" >&5
45671 printf %s "checking whether to support headers-api... " >&6; }
45672 # Check whether --enable-headers-api was given.
45676 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45677 printf "%s\n" "no" >&6; }
45678 curl_headers_msg="no (--enable-headers-api)"
45684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45695 if test -n "$SSL_ENABLED"; then
45696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HSTS" >&5
45698 # Check whether --enable-hsts was given.
45702 no)
45703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45704 printf "%s\n" "no" >&6; }
45705 hsts="no"
45707 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hsts" >&5
45718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: disables HSTS due to lack of SSL" >&5
45720 hsts="no"
45724 curl_hsts_msg="no (--enable-hsts)";
45732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: HTTPSRR support is available" >&5
45741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ECH support is available" >&5
45749 for ac_func in SSL_ech_set1_echconfig
45763 for ac_func in SSL_set1_ech_config_list
45777 for ac_func in wolfSSL_CTX_GenerateEchConfig
45797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ECH_SUPPORT" >&5
45801 as_fn_error $? "--enable-ech ignored: No ECH support found" "$LINENO" 5
45815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support WebSockets" >&5
45817 # Check whether --enable-websockets was given.
45821 no)
45822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45823 printf "%s\n" "no" >&6; }
45826 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
45827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45840 printf "%s\n" "no" >&6; }
45841 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Websockets disabled due to lack of >32 bit …
45847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45848 printf "%s\n" "no" >&6; }
45855 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols …
45858 doing_symbol_hiding="no"
45866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45870 printf "%s\n" "no" >&6; }
45919 elif test -n "$SSL_ENABLED"; then
45937 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
45938 -o "x$USE_THREADS_WIN32" = "x1"; then
45949 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
45961 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
45967 if test "x$CURL_DISABLE_NEGOTIATE_AUTH" != "x1" -a \
45968 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45972 if test "x$CURL_DISABLE_KERBEROS_AUTH" != "x1" -a \
45973 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45977 use_curl_ntlm_core=no
45980 if test "x$OPENSSL_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
45981 -o "x$GNUTLS_ENABLED" = "x1" \
45982 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
45983 -o "x$USE_WIN32_CRYPTO" = "x1" \
45984 -o "x$WOLFSSL_NTLM" = "x1"; then
45989 -o "x$USE_WINDOWS_SSPI" = "x1"; then
45995 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
46002 if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \
46003 -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then
46014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5
46015 printf %s "checking if this build supports HTTPS-proxy... " >&6; }
46019 -o "x$GNUTLS_ENABLED" = "x1" \
46020 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
46021 -o "x$RUSTLS_ENABLED" = "x1" \
46022 -o "x$BEARSSL_ENABLED" = "x1" \
46023 -o "x$SCHANNEL_ENABLED" = "x1" \
46024 -o "x$GNUTLS_ENABLED" = "x1" \
46025 -o "x$MBEDTLS_ENABLED" = "x1"; then
46026 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
46027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46029 elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then
46030 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
46031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
46035 printf "%s\n" "no" >&6; }
46038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
46039 printf "%s\n" "no" >&6; }
46042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
46043 printf "%s\n" "no" >&6; }
46046 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
46047 if test ${ac_cv_sizeof_off_t} -gt 4 -o \
46055 elif test "x$USE_THREADS_POSIX" = "x1" -a \
46059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
46144 -a "x$use_curl_ntlm_core" = "xyes"; then
46194 xc_bad_var_libs=no
46195 for xc_word in $LIBS; do
46197 -l* | --library=*)
46206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
46208 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
46209 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
46213 xc_bad_var_ldflags=no
46214 for xc_word in $LDFLAGS; do
46216 -D*)
46219 -U*)
46222 -I*)
46225 -l* | --library=*)
46231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
46234 for xc_word in $LDFLAGS; do
46236 -D*)
46237 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
46238 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
46240 -U*)
46241 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
46242 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
46244 -I*)
46245 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
46246 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
46248 -l* | --library=*)
46249 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46250 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
46257 xc_bad_var_cppflags=no
46258 for xc_word in $CPPFLAGS; do
46260 -rpath*)
46263 -L* | --library-path=*)
46266 -l* | --library=*)
46272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
46275 for xc_word in $CPPFLAGS; do
46277 -rpath*)
46278 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
46279 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
46281 -L* | --library-path=*)
46282 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
46283 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
46285 -l* | --library=*)
46286 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46287 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
46294 xc_bad_var_cflags=no
46295 for xc_word in $CFLAGS; do
46297 -D*)
46300 -U*)
46303 -I*)
46306 -rpath*)
46309 -L* | --library-path=*)
46312 -l* | --library=*)
46318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
46321 for xc_word in $CFLAGS; do
46323 -D*)
46324 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
46325 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
46327 -U*)
46328 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
46329 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
46331 -I*)
46332 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
46333 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
46335 -rpath*)
46336 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
46337 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
46339 -L* | --library-path=*)
46340 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
46341 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
46343 -l* | --library=*)
46344 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46345 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
46355 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
46365 ac_configure_args="$ac_configure_args --enable-curldebug"
46368-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile l…
46373 # scripts and configure runs, see configure's option --config-cache.
46377 # config.status only pays attention to the cache file if you give it
46378 # the --recheck option to rerun configure.
46387 # but we know of no workaround that is simple, portable, and efficient.
46392 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46397 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
46411 # `set' does not quote correctly, so add quotes: double-quote
46413 sed -n \
46419 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46433 if test -w "$cache_file"; then
46435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
46437 if test ! -f "$cache_file" || test -h "$cache_file"; then
46442 mv -f confcache "$cache_file"$$ &&
46443 mv -f "$cache_file"$$ "$cache_file" ;; #(
46445 mv -f confcache "$cache_file" ;;
46450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
46454 rm -f confcache
46460 DEFS=-DHAVE_CONFIG_H
46465 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
46483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configur…
46485 if test -n "$am_sleep_pid"; then
46489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
46491 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
46495 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46499 if test -n "$EXEEXT"; then
46507 if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FA…
46511 if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FA…
46515 if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FA…
46519 if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; t…
46523 if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
46527 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46531 if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
46535 if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
46539 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
46543 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46547 if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
46551 if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
46555 if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
46559 if test -z "${USE_GSASL_TRUE}" && test -z "${USE_GSASL_FALSE}"; then
46563 if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_…
46567 if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then
46571 if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then
46575 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46579 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
46583 if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
46587 if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
46591 if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
46595 if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
46600 : "${CONFIG_STATUS=./config.status}"
46604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
46611 # Compiler output produced by configure, useful for debugging
46612 # configure, is in config.log if it exists.
46618 SHELL=\${CONFIG_SHELL-$SHELL}
46622 ## -------------------- ##
46624 ## -------------------- ##
46627 DUALCASE=1; export DUALCASE # for MKS sh
46633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
46635 alias -g '${1+"$@"}'='"$@"'
46638 case `(set -o) 2>/dev/null` in #(
46640 set -o posix ;; #(
46654 # Quoting is to prevent editors from complaining about space-tab.
46664 # Ensure predictable behavior from utilities with locale-dependent output.
46671 # to be unset--not just set to an empty or harmless value--now, to
46672 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
46675 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
46687 # Find who we are. Look in the path if we contain no directory separator.
46692 for as_dir in $PATH
46700 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
46711 if test ! -f "$as_myself"; then
46719 # ----------------------------------------
46725 as_status=$1; test $as_status -eq 0 && as_status=1
46727 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
46728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
46737 # -----------------------
46745 # -----------------
46746 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
46755 # ---------------
46764 # ----------------------
46783 # ------------------
46796 as_val=`expr "$@" || test $? -eq 1`
46808 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
46814 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46820 as_me=`$as_basename -- "$0" ||
46848 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
46849 # for compatibility with existing Makefiles.
46851 case `echo -n x` in #(((((
46852 -n*)
46860 ECHO_N='-n';;
46863 # For backward compatibility with old third-party macros, we provide
46869 rm -f conf$$ conf$$.exe conf$$.file
46870 if test -d conf$$.dir; then
46871 rm -f conf$$.dir/conf$$.file
46873 rm -f conf$$.dir
46877 if ln -s conf$$.file conf$$ 2>/dev/null; then
46878 as_ln_s='ln -s'
46880 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
46881 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
46882 # In both cases, we have to default to `cp -pR'.
46883 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
46884 as_ln_s='cp -pR'
46888 as_ln_s='cp -pR'
46891 as_ln_s='cp -pR'
46893 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
46898 # -------------
46904 -*) as_dir=./$as_dir;;
46906 test -d "$as_dir" || eval $as_mkdir_p || {
46914 as_dir=`$as_dirname -- "$as_dir" ||
46937 test -d "$as_dir" && break
46939 test -z "$as_dirs" || eval "mkdir $as_dirs"
46940 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
46944 if mkdir -p . 2>/dev/null; then
46945 as_mkdir_p='mkdir -p "$as_dir"'
46947 test -d ./-p && rmdir ./-p
46953 # -----------------------
46957 test -f "$1" && test -x "$1"
46959 as_test_x='test -x'
46962 # Sed expression to map a string onto a valid CPP name.
46970 ## ----------------------------------- ##
46972 ## ----------------------------------- ##
46981 This file was extended by curl $as_me -, which was
46990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
47005 # Files that config.status was made for.
47020 -h, --help print this help, then exit
47021 -V, --version print version number and configuration settings, then exit
47022 --config print configuration, then exit
47023 -q, --quiet, --silent
47025 -d, --debug don't remove temporary files
47026 --recheck update $as_me by reconfiguring in the same conditions
47027 --file=FILE[:TEMPLATE]
47029 --header=FILE[:TEMPLATE]
47049 curl config.status -
47054 This config.status script is free software; the Free Software Foundation
47062 test -n "\$AWK" || AWK=awk
47071 --*=?*)
47076 --*=)
47090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
47094 --config | --confi | --conf | --con | --co | --c )
47096 --debug | --debu | --deb | --de | --d | -d )
47098 --file | --fil | --fi | --f )
47106 --header | --heade | --head | --hea )
47113 --he | --h)
47114 # Conflict between --help and --header
47116 Try \`$0 --help' for more information.";;
47117 --help | --hel | -h )
47119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47120 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47124 -*) as_fn_error $? "unrecognized option: \`$1'
47125 Try \`$0 --help' for more information." ;;
47138 ac_configure_extra_args="$ac_configure_extra_args --silent"
47144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47154 exec 5>>config.log
47157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47166 # INIT-COMMANDS
47168 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
47171 # The HP-UX ksh and POSIX shell print the target directory to stdout
47363 # A function that is used when there is no print builtin or printf.
47372 for var in AS \
47470 # Double-quote double-evaled strings.
47471 for var in reload_cmds \
47504 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
47516 if test -n "\${ZSH_VERSION+set}"; then
47536 for ac_config_target in $ac_config_targets
47547 "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
47555 "tests/config") CONFIG_FILES="$CONFIG_FILES tests/config" ;;
47562 "tests/http/config.ini") CONFIG_FILES="$CONFIG_FILES tests/http/config.ini" ;;
47567 "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
47577 # We use the long form for the default assignment because of an extremely
47585 # Have a temporary directory for convenience. Make it in the build tree
47586 # simply because there is no reason against having it here, and in addition,
47588 # Hook for its removal unless debugging.
47596 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
47600 # Create a (secure) tmp directory for tmp files.
47603 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
47604 test -d "$tmp"
47607 tmp=./conf$$-$RANDOM
47612 # Set up the scripts for CONFIG_FILES section.
47613 # No need to generate them if there are no CONFIG_FILES.
47614 # This happens for instance with `./config.status config.h'.
47615 if test -n "$CONFIG_FILES"; then
47620 # But we know of no other shell where ac_cr would be empty at this
47642 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
47644 for ac_last_try in false false false false false :; do
47648 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
47657 rm -f conf$$subs.sh
47662 sed -n '
47705 rm -f conf$$subs.awk
47709 for (key in S) S_is_set[key] = 1
47718 for (i = 2; i < nfields; i++) {
47741 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
47768 fi # test -n "$CONFIG_FILES"
47770 # Set up the scripts for CONFIG_HEADERS section.
47771 # No need to generate them if there are no CONFIG_HEADERS.
47772 # This happens for instance with `./config.status Makefile'.
47773 if test -n "$CONFIG_HEADERS"; then
47779 # here-document in config.status, that substitutes the proper values into
47780 # config.h.in to produce config.h.
47785 for ac_last_try in false false :; do
47786 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
47787 if test -z "$ac_tt"; then
47796 # For the awk script, D is an array of macro values keyed by name,
47801 sed -n '
47841 for (key in D) D_is_set[key] = 1
47856 prefix = substr(line, 1, index(line, defundef) - 1)
47862 # Replace #undef with comments. This is necessary, for example,
47875 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
47876 fi # test -n "$CONFIG_HEADERS"
47881 for ac_tag
47889 :[FH]-) ac_tag=-:-;;
47904 for ac_f
47907 -) ac_f="$ac_tmp/stdin";;
47908 *) # Look for the file first in the build tree, then in the source tree
47909 # (if the path is not absolute). The absolute path cannot be DOS-style,
47911 test -f "$ac_f" ||
47914 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
47924 # /* config.h. Generated by config.status. */
47928 if test x"$ac_file" != x-; then
47930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
47942 *:-:* | *:-) cat >"$ac_tmp/stdin" \
47948 ac_dir=`$as_dirname -- "$ac_file" ||
47978 # A ".." for each directory in $ac_dir_suffix.
47987 # for backward compatibility:
48038 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
48041 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
48042 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
48064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
48079 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
48082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
48083 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
48084 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
48085 "$ac_tmp/out"`; test -z "$ac_out"; } &&
48086 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
48091 rm -f "$ac_tmp/stdin"
48093 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
48094 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
48102 if test x"$ac_file" != x-; then
48105 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
48106 } >"$ac_tmp/config.h" \
48108 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
48109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
48112 rm -f "$ac_file"
48113 mv "$ac_tmp/config.h" "$ac_file" \
48118 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
48119 || as_fn_error $? "could not create -" "$LINENO" 5
48124 for _am_header in $config_headers :; do
48132 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
48154 s/.*/./; q'`/stamp-h$_am_stamp_count
48157 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
48165 # Older Autoconf quotes --file arguments for eval, but not when files
48166 # are listed without --file. Let's play safe and only enable the eval
48181 for am_mf
48184 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
48186 # dependency-tracking related rules and includes.
48189 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
48191 am_dirpart=`$as_dirname -- "$am_mf" ||
48214 am_filepart=`$as_basename -- "$am_mf" ||
48233 && sed -e '/# am--include-marker/d' "$am_filepart" \
48234 | $MAKE -f - am--depfiles" >&5
48236 && sed -e '/# am--include-marker/d' "$am_filepart" \
48237 | $MAKE -f - am--depfiles) >&5 2>&5
48242 if test $am_rc -ne 0; then
48243 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48246 for automatic dependency tracking. If GNU make was not used, consider
48247 re-running the configure script with MAKE=\"gmake\" (or whatever is
48248 necessary). You can also try re-running configure with the
48249 '--disable-dependency-tracking' option to at least be able to build
48250 the package (albeit without support for automatic dependency tracking).
48251 See \`config.log' for more details" "$LINENO" 5; }
48257 rm -f conftest-deps.mk
48264 if test -n "${ZSH_VERSION+set}"; then
48277 # Provide generalized library-building support services.
48281 # This is free software; see the source for copying conditions. There is NO
48282 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
48292 # distribution terms that you use for the rest of that program.
48296 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48297 # GNU General Public License for more details.
48306 # Configured defaults for sys_lib_dlsearch_path munging.
48309 # ### BEGIN LIBTOOL CONFIG
48333 # Whether or not to optimize for fast installation.
48336 # Shared archive member basename,for filename based shared library versioning on AIX.
48345 # The PATH separator for the build system.
48361 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
48362 Xsed="\$SED -e 1s/^X//"
48373 # A BSD- or MS-compatible name lister.
48428 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
48436 # Commands used to install an old-style archive.
48441 # Whether to use a lock for old archive extraction.
48468 # Specify filename containing input files for \$NM.
48471 # The root where to search for dependent libraries,and where our libraries should be installed.
48498 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
48501 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
48517 # Do we need the "lib" prefix for modules?
48520 # Do we need a version for libraries?
48532 # Is shlibpath searched before the hard-coded library search path?
48539 # The last name is the one that the linker finds with -lNAME
48545 # Permission mode override for installation of shared libraries.
48564 # Compile-time system search path for libraries.
48567 # Detected run-time system search path for libraries.
48594 # Commands used to build an old-style archive.
48606 # Additional compiler flags for building library objects.
48615 # Does compiler simultaneously support -c and -o options?
48618 # Whether or not to add -lc for building shared libraries.
48630 # Whether the compiler copes with passing no objects directly.
48633 # Create an old-style archive from a shared archive.
48636 # Create a temporary old-style archive to link instead of a shared archive.
48654 # Flag that enforces no undefined symbols.
48661 # Whether we need a single "-rpath" flag with a separated argument.
48674 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48706 # Commands necessary for linking programs (against libraries) with templates.
48709 # Commands necessary for finishing linking programs.
48718 # ### END LIBTOOL CONFIG
48727 # -----------------------------------
48752 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
48753 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
48762 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
48765 for cc_temp in $*""; do
48769 \-*) ;;
48773 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
48784 # AIX sometimes has problems with the GCC collect2 program. For some
48801 # if finds mixed CR/LF and LF-only lines. Since sed operates in
48805 || (rm -f "$cfgfile"; exit 1)
48807 mv -f "$cfgfile" "$ofile" ||
48808 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
48814 # ### BEGIN LIBTOOL TAG CONFIG: RC
48823 # Commands used to build an old-style archive.
48835 # Additional compiler flags for building library objects.
48844 # Does compiler simultaneously support -c and -o options?
48847 # Whether or not to add -lc for building shared libraries.
48859 # Whether the compiler copes with passing no objects directly.
48862 # Create an old-style archive from a shared archive.
48865 # Create a temporary old-style archive to link instead of a shared archive.
48883 # Flag that enforces no undefined symbols.
48890 # Whether we need a single "-rpath" flag with a separated argument.
48903 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48935 # Commands necessary for linking programs (against libraries) with templates.
48938 # Commands necessary for finishing linking programs.
48947 # ### END LIBTOOL TAG CONFIG: RC
48953 done # for ac_tag
48964 # configure is writing to config.log, and then calls config.status.
48965 # config.status does its own redirection, appending to config.log.
48966 # Unfortunately, on DOS this fails, as config.log is still kept open
48967 # by configure, so config.status won't be able to write to it; its
48969 # effectively closing config.log, so it can be properly (re)opened and
48970 # appended to by config.status. When coming back to configure, we
48976 ac_config_status_args="$ac_config_status_args --quiet"
48979 exec 5>>config.log
48984 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
48985 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…
48992 if test -z "$tmp_cpp"; then
48993 tmp_cpp='cpp'
49022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
49038 GSS-API: ${curl_gss_msg}
49040 TLS-SRP: ${curl_tls_srp_msg}
49047 Built-in manual: ${curl_manual_msg}
49048 --libcurl option: ${curl_libcurl_msg}
49060 Alt-svc: ${curl_altsvc_msg}
49087 GSS-API: ${curl_gss_msg}
49089 TLS-SRP: ${curl_tls_srp_msg}
49096 Built-in manual: ${curl_manual_msg}
49097 --libcurl option: ${curl_libcurl_msg}
49109 Alt-svc: ${curl_altsvc_msg}
49121 non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`;
49122 if test -n "$non13"; then
49128 if test -n "$experimental"; then