• 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.
1102 CPP
1297 CPP
1352 for ac_option
1355 if test -n "$ac_prev"; then
1368 --)
1371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1376 -build | --build | --buil | --bui | --bu)
1378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1381 -cache-file | --cache-file | --cache-fil | --cache-fi \
1382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1388 --config-cache | -C)
1389 cache_file=config.cache ;;
1391 -datadir | --datadir | --datadi | --datad)
1393 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1396 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1397 | --dataroo | --dataro | --datar)
1399 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1400 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1403 -disable-* | --disable-*)
1404 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1406 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1409 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1414 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1417 eval enable_$ac_useropt=no ;;
1419 -docdir | --docdir | --docdi | --doc | --do)
1421 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1424 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1426 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1429 -enable-* | --enable-*)
1430 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1432 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1435 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1440 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1445 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1446 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1447 | --exec | --exe | --ex)
1449 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1450 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1451 | --exec=* | --exe=* | --ex=*)
1454 -gas | --gas | --ga | --g)
1455 # Obsolete; use --with-gas.
1458 -help | --help | --hel | --he | -h)
1460 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1462 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1465 -host | --host | --hos | --ho)
1467 -host=* | --host=* | --hos=* | --ho=*)
1470 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1472 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1473 | --ht=*)
1476 -includedir | --includedir | --includedi | --included | --include \
1477 | --includ | --inclu | --incl | --inc)
1479 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1480 | --includ=* | --inclu=* | --incl=* | --inc=*)
1483 -infodir | --infodir | --infodi | --infod | --info | --inf)
1485 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1488 -libdir | --libdir | --libdi | --libd)
1490 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1493 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1494 | --libexe | --libex | --libe)
1496 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1497 | --libexe=* | --libex=* | --libe=*)
1500 -localedir | --localedir | --localedi | --localed | --locale)
1502 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1505 -localstatedir | --localstatedir | --localstatedi | --localstated \
1506 | --localstate | --localstat | --localsta | --localst | --locals)
1508 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1509 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1512 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1514 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1517 -nfp | --nfp | --nf)
1518 # Obsolete; use --without-fp.
1519 with_fp=no ;;
1521 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1522 | --no-cr | --no-c | -n)
1525 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1526 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1529 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1530 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1531 | --oldin | --oldi | --old | --ol | --o)
1533 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1534 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1535 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1538 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1540 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1543 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1544 | --program-pre | --program-pr | --program-p)
1546 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1547 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1550 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1551 | --program-suf | --program-su | --program-s)
1553 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1554 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1557 -program-transform-name | --program-transform-name \
1558 | --program-transform-nam | --program-transform-na \
1559 | --program-transform-n | --program-transform- \
1560 | --program-transform | --program-transfor \
1561 | --program-transfo | --program-transf \
1562 | --program-trans | --program-tran \
1563 | --progr-tra | --program-tr | --program-t)
1565 -program-transform-name=* | --program-transform-name=* \
1566 | --program-transform-nam=* | --program-transform-na=* \
1567 | --program-transform-n=* | --program-transform-=* \
1568 | --program-transform=* | --program-transfor=* \
1569 | --program-transfo=* | --program-transf=* \
1570 | --program-trans=* | --program-tran=* \
1571 | --progr-tra=* | --program-tr=* | --program-t=*)
1574 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1576 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1579 -psdir | --psdir | --psdi | --psd | --ps)
1581 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1585 | -silent | --silent | --silen | --sile | --sil)
1588 -runstatedir | --runstatedir | --runstatedi | --runstated \
1589 | --runstate | --runstat | --runsta | --runst | --runs \
1590 | --run | --ru | --r)
1592 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1593 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1594 | --run=* | --ru=* | --r=*)
1597 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1599 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1600 | --sbi=* | --sb=*)
1603 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1604 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1605 | --sharedst | --shareds | --shared | --share | --shar \
1606 | --sha | --sh)
1608 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1609 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1610 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1611 | --sha=* | --sh=*)
1614 -site | --site | --sit)
1616 -site=* | --site=* | --sit=*)
1619 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1621 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1624 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1625 | --syscon | --sysco | --sysc | --sys | --sy)
1627 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1628 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1631 -target | --target | --targe | --targ | --tar | --ta | --t)
1633 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1636 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1639 -version | --version | --versio | --versi | --vers | -V)
1642 -with-* | --with-*)
1643 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1645 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1648 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1653 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1658 -without-* | --without-*)
1659 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1661 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1664 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1669 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1672 eval with_$ac_useropt=no ;;
1674 --x)
1675 # Obsolete; use --with-x.
1678 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1679 | --x-incl | --x-inc | --x-in | --x-i)
1681 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1682 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1685 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1686 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1688 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1689 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1692 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1693 Try \`$0 --help' for more information"
1700 '' | [0-9]* | *[!_$as_cr_alnum]* )
1708 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1709 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1717 if test -n "$ac_prev"; then
1718 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1722 if test -n "$ac_unrecognized_opts"; then
1724 no) ;;
1730 # Check all directory arguments for consistency.
1731 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1748 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1752 # used to hold the argument of --host etc.
1768 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1773 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1774 ac_ls_di=`ls -di .` &&
1775 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1782 if test -z "$srcdir"; then
1785 ac_confdir=`$as_dirname -- "$as_myself" ||
1809 if test ! -r "$srcdir/$ac_unique_file"; then
1813 ac_srcdir_defaulted=no
1815 if test ! -r "$srcdir/$ac_unique_file"; then
1821 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1829 # mess up M-x gdb in Emacs.
1833 for ac_var in $ac_precious_vars; do
1841 # Report the --help message.
1847 \`configure' configures curl - to adapt to many kinds of systems.
1852 VAR=VALUE. See below for descriptions of some of the useful variables.
1854 Defaults for the options are specified in brackets.
1857 -h, --help display this help and exit
1858 --help=short display options specific to this package
1859 --help=recursive display the short help of all the included packages
1860 -V, --version display version information and exit
1861 -q, --quiet, --silent do not print \`checking ...' messages
1862 --cache-file=FILE cache test results in FILE [disabled]
1863 -C, --config-cache alias for \`--cache-file=config.cache'
1864 -n, --no-create do not create output files
1865 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1868 --prefix=PREFIX install architecture-independent files in PREFIX
1870 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1875 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1876 for instance \`--prefix=\$HOME'.
1878 For better control, use the options below.
1881 --bindir=DIR user executables [EPREFIX/bin]
1882 --sbindir=DIR system admin executables [EPREFIX/sbin]
1883 --libexecdir=DIR program executables [EPREFIX/libexec]
1884 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1885 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1886 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1887 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1888 --libdir=DIR object code libraries [EPREFIX/lib]
1889 --includedir=DIR C header files [PREFIX/include]
1890 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1891 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1892 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1893 --infodir=DIR info documentation [DATAROOTDIR/info]
1894 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1895 --mandir=DIR man documentation [DATAROOTDIR/man]
1896 --docdir=DIR documentation root [DATAROOTDIR/doc/curl]
1897 --htmldir=DIR html documentation [DOCDIR]
1898 --dvidir=DIR dvi documentation [DOCDIR]
1899 --pdfdir=DIR pdf documentation [DOCDIR]
1900 --psdir=DIR ps documentation [DOCDIR]
1906 --program-prefix=PREFIX prepend PREFIX to installed program names
1907 --program-suffix=SUFFIX append SUFFIX to installed program names
1908 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1911 --build=BUILD configure for building on BUILD [guessed]
1912 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1916 if test -n "$ac_init_help"; then
1918 short | recursive ) echo "Configuration of curl -:";;
1923 --disable-option-checking ignore unrecognized --enable/--with options
1924 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1925 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1926 --enable-maintainer-mode
1929 --enable-silent-rules less verbose build output (undo: "make V=1")
1930 --disable-silent-rules verbose build output (undo: "make V=0")
1931 --enable-debug Enable debug build options
1932 --disable-debug Disable debug build options
1933 --enable-optimize Enable compiler optimizations
1934 --disable-optimize Disable compiler optimizations
1935 --enable-warnings Enable strict compiler warnings
1936 --disable-warnings Disable strict compiler warnings
1937 --enable-werror Enable compiler warnings as errors
1938 --disable-werror Disable compiler warnings as errors
1939 --enable-curldebug Enable curl debug memory tracking
1940 --disable-curldebug Disable curl debug memory tracking
1941 --enable-symbol-hiding Enable hiding of library internal symbols
1942 --disable-symbol-hiding Disable hiding of library internal symbols
1943 --enable-ares[=PATH] Enable c-ares for DNS lookups
1944 --disable-ares Disable c-ares for DNS lookups
1945 --disable-rt disable dependency on -lrt
1946 --enable-ech Enable ECH support
1947 --disable-ech Disable ECH support
1948 --enable-code-coverage Provide code coverage
1949 --enable-dependency-tracking
1951 --disable-dependency-tracking
1952 speeds up one-time build
1953 --disable-largefile omit support for large files
1954 --enable-shared[=PKGS] build shared libraries [default=yes]
1955 --enable-static[=PKGS] build static libraries [default=yes]
1956 --enable-fast-install[=PKGS]
1957 optimize for fast installation [default=yes]
1958 --disable-libtool-lock avoid locking (might break parallel builds)
1959 --enable-http Enable HTTP support
1960 --disable-http Disable HTTP support
1961 --enable-ftp Enable FTP support
1962 --disable-ftp Disable FTP support
1963 --enable-file Enable FILE support
1964 --disable-file Disable FILE support
1965 --enable-ldap Enable LDAP support
1966 --disable-ldap Disable LDAP support
1967 --enable-ldaps Enable LDAPS support
1968 --disable-ldaps Disable LDAPS support
1969 --enable-rtsp Enable RTSP support
1970 --disable-rtsp Disable RTSP support
1971 --enable-proxy Enable proxy support
1972 --disable-proxy Disable proxy support
1973 --enable-dict Enable DICT support
1974 --disable-dict Disable DICT support
1975 --enable-telnet Enable TELNET support
1976 --disable-telnet Disable TELNET support
1977 --enable-tftp Enable TFTP support
1978 --disable-tftp Disable TFTP support
1979 --enable-pop3 Enable POP3 support
1980 --disable-pop3 Disable POP3 support
1981 --enable-imap Enable IMAP support
1982 --disable-imap Disable IMAP support
1983 --enable-smb Enable SMB/CIFS support
1984 --disable-smb Disable SMB/CIFS support
1985 --enable-smtp Enable SMTP support
1986 --disable-smtp Disable SMTP support
1987 --enable-gopher Enable Gopher support
1988 --disable-gopher Disable Gopher support
1989 --enable-mqtt Enable MQTT support
1990 --disable-mqtt Disable MQTT support
1991 --enable-manual Enable built-in manual
1992 --disable-manual Disable built-in manual
1993 --enable-libcurl-option Enable --libcurl C code generation support
1994 --disable-libcurl-option
1995 Disable --libcurl C code generation support
1996 --enable-libgcc use libgcc when linking
1997 --enable-ipv6 Enable IPv6 (with IPv4) support
1998 --disable-ipv6 Disable IPv6 support
1999 --enable-openssl-auto-load-config
2001 --disable-openssl-auto-load-config
2003 --enable-versioned-symbols
2005 --disable-versioned-symbols
2007 --enable-threaded-resolver
2009 --disable-threaded-resolver
2011 --enable-pthreads Enable POSIX threads (default for threaded resolver)
2012 --disable-pthreads Disable POSIX threads
2013 --enable-verbose Enable verbose strings
2014 --disable-verbose Disable verbose strings
2015 --enable-sspi Enable SSPI
2016 --disable-sspi Disable SSPI
2017 --enable-basic-auth Enable basic authentication (default)
2018 --disable-basic-auth Disable basic authentication
2019 --enable-bearer-auth Enable bearer authentication (default)
2020 --disable-bearer-auth Disable bearer authentication
2021 --enable-digest-auth Enable digest authentication (default)
2022 --disable-digest-auth Disable digest authentication
2023 --enable-kerberos-auth Enable kerberos authentication (default)
2024 --disable-kerberos-auth Disable kerberos authentication
2025 --enable-negotiate-auth Enable negotiate authentication (default)
2026 --disable-negotiate-auth
2028 --enable-aws Enable AWS sig support (default)
2029 --disable-aws Disable AWS sig support
2030 --enable-ntlm Enable NTLM support
2031 --disable-ntlm Disable NTLM support
2032 --enable-ntlm-wb[=FILE] Enable NTLM delegation to winbind's ntlm_auth
2035 --disable-ntlm-wb Disable NTLM delegation to winbind's ntlm_auth
2037 --enable-tls-srp Enable TLS-SRP authentication
2038 --disable-tls-srp Disable TLS-SRP authentication
2039 --enable-unix-sockets Enable Unix domain sockets
2040 --disable-unix-sockets Disable Unix domain sockets
2041 --enable-cookies Enable cookies support
2042 --disable-cookies Disable cookies support
2043 --enable-socketpair Enable socketpair support
2044 --disable-socketpair Disable socketpair support
2045 --enable-http-auth Enable HTTP authentication support
2046 --disable-http-auth Disable HTTP authentication support
2047 --enable-doh Enable DoH support
2048 --disable-doh Disable DoH support
2049 --enable-mime Enable mime API support
2050 --disable-mime Disable mime API support
2051 --enable-bindlocal Enable local binding support
2052 --disable-bindlocal Disable local binding support
2053 --enable-form-api Enable form API support
2054 --disable-form-api Disable form API support
2055 --enable-dateparse Enable date parsing
2056 --disable-dateparse Disable date parsing
2057 --enable-netrc Enable netrc parsing
2058 --disable-netrc Disable netrc parsing
2059 --enable-progress-meter Enable progress-meter
2060 --disable-progress-meter
2061 Disable progress-meter
2062 --enable-dnsshuffle Enable DNS shuffling
2063 --disable-dnsshuffle Disable DNS shuffling
2064 --enable-get-easy-options
2066 --disable-get-easy-options
2068 --enable-alt-svc Enable alt-svc support
2069 --disable-alt-svc Disable alt-svc support
2070 --enable-headers-api Enable headers-api support
2071 --disable-headers-api Disable headers-api support
2072 --enable-hsts Enable HSTS support
2073 --disable-hsts Disable HSTS support
2074 --enable-websockets Enable WebSockets support
2075 --disable-websockets Disable WebSockets support
2078 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2079 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2080 --with-schannel enable Windows native SSL/TLS
2081 --with-secure-transport enable Apple OS native SSL/TLS
2082 --with-amissl enable Amiga native SSL/TLS (AmiSSL)
2083 --with-ssl=PATH old version of --with-openssl
2084 --without-ssl build without any TLS library
2085 --with-openssl=PATH Where to look for OpenSSL, PATH points to the SSL
2089 --with-gnutls=PATH where to look for GnuTLS, PATH points to the
2091 --with-mbedtls=PATH where to look for mbedTLS, PATH points to the
2093 --with-wolfssl=PATH where to look for WolfSSL, PATH points to the
2095 --with-bearssl=PATH where to look for BearSSL, PATH points to the
2097 --with-rustls=PATH where to look for rustls, PATH points to the
2099 --with-test-nghttpx=PATH
2100 where to find nghttpx for testing
2101 --with-test-caddy=PATH where to find caddy for testing
2102 --with-test-httpd=PATH where to find httpd/apache2 for testing
2104 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2106 --with-aix-soname=aix|svr4|both
2109 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2110 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2112 --with-hyper=PATH Enable hyper usage
2113 --without-hyper Disable hyper usage
2114 --with-zlib=PATH search for zlib in PATH
2115 --without-zlib disable use of zlib
2116 --with-brotli=PATH Where to look for brotli, PATH points to the BROTLI
2119 --without-brotli disable BROTLI
2120 --with-zstd=PATH Where to look for libzstd, PATH points to the
2124 --without-zstd disable libzstd
2125 --with-ldap-lib=libname Specify name of ldap lib file
2126 --with-lber-lib=libname Specify name of lber lib file
2127 --with-gssapi-includes=DIR
2128 Specify location of GSS-API headers
2129 --with-gssapi-libs=DIR Specify location of GSS-API libs
2130 --with-gssapi=DIR Where to look for GSS-API
2131 --with-default-ssl-backend=NAME
2133 --without-default-ssl-backend
2135 --with-random=FILE read randomness from FILE (default=/dev/urandom)
2136 --with-ca-bundle=FILE Path to a file containing CA certificates (example:
2137 /etc/ca-bundle.crt)
2138 --without-ca-bundle Don't use a default CA bundle
2139 --with-ca-path=DIRECTORY
2144 OpenSSL c_rehash for details. (example:
2146 --without-ca-path Don't use a default CA path
2147 --with-ca-fallback Use the built in CA store of the SSL library
2148 --without-ca-fallback Don't use the built in CA store of the SSL library
2149 --without-libpsl disable support for libpsl
2150 --without-libgsasl disable libgsasl support for SCRAM
2151 --with-libssh2=PATH Where to look for libssh2, PATH points to the
2155 --with-libssh2 enable libssh2
2156 --with-libssh=PATH Where to look for libssh, PATH points to the libssh
2159 --with-libssh enable libssh
2160 --with-wolfssh=PATH Where to look for wolfssh, PATH points to the
2164 --with-wolfssh enable wolfssh
2165 --with-librtmp=PATH Where to look for librtmp, PATH points to the
2169 --without-librtmp disable LIBRTMP
2170 --with-winidn=PATH enable Windows native IDN
2171 --without-winidn disable Windows native IDN
2172 --with-libidn2=PATH Enable libidn2 usage
2173 --without-libidn2 Disable libidn2 usage
2174 --with-nghttp2=PATH Enable nghttp2 usage
2175 --without-nghttp2 Disable nghttp2 usage
2176 --with-ngtcp2=PATH Enable ngtcp2 usage
2177 --without-ngtcp2 Disable ngtcp2 usage
2178 --with-openssl-quic Enable OpenSSL QUIC usage
2179 --without-openssl-quic Disable OpenSSL QUIC usage
2180 --with-nghttp3=PATH Enable nghttp3 usage
2181 --without-nghttp3 Disable nghttp3 usage
2182 --with-quiche=PATH Enable quiche usage
2183 --without-quiche Disable quiche usage
2184 --with-msh3=PATH Enable msh3 usage
2185 --without-msh3 Disable msh3 usage
2186 --with-zsh-functions-dir=PATH
2188 --without-zsh-functions-dir
2190 --with-fish-functions-dir=PATH
2192 --without-fish-functions-dir
2198 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2200 LIBS libraries to pass to the linker, e.g. -l<library>
2201 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2203 CPP C preprocessor
2205 User-defined run-time library search path.
2216 # If there are subdirs, report their specific --help.
2217 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2218 test -d "$ac_dir" ||
2219 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2227 # A ".." for each directory in $ac_dir_suffix.
2236 # for backward compatibility:
2256 # Check for configure.gnu first; this name is used for a wrapper for
2257 # Metaconfig's "Configure" on case-insensitive file systems.
2258 if test -f "$ac_srcdir/configure.gnu"; then
2260 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2261 elif test -f "$ac_srcdir/configure"; then
2263 $SHELL "$ac_srcdir/configure" --help=recursive
2265 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2271 test -n "$ac_init_help" && exit $ac_status
2274 curl configure -
2283 terms of the curl license; see COPYING for more details
2288 ## ------------------------ ##
2290 ## ------------------------ ##
2293 # --------------------------
2297 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2298 rm -f conftest.$ac_objext conftest.beam
2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2308 if test -s conftest.err; then
2309 grep -v '^ *+' conftest.err >conftest.er1
2311 mv -f conftest.er1 conftest.err
2313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2315 test -z "$ac_c_werror_flag" ||
2316 test ! -s conftest.err
2317 } && test -s conftest.$ac_objext
2332 # ----------------------
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2346 if test -s conftest.err; then
2347 grep -v '^ *+' conftest.err >conftest.er1
2349 mv -f conftest.er1 conftest.err
2351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2354 test ! -s conftest.err
2370 # -------------------------------------------------------
2375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2377 printf %s "checking for $2... " >&6; }
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 eval "$3=no"
2393 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2403 # -----------------------
2407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2408 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2418 if test -s conftest.err; then
2419 grep -v '^ *+' conftest.err >conftest.er1
2421 mv -f conftest.er1 conftest.err
2423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2425 test -z "$ac_c_werror_flag" ||
2426 test ! -s conftest.err
2427 } && test -s conftest$ac_exeext && {
2429 test -x conftest$ac_exeext
2443 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2450 # ----------------------------------
2454 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2456 printf %s "checking for $2... " >&6; }
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 eval "$3=no"
2492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2503 # ----------------------
2508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
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
2539 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2546 # -------------------------------------------------------
2551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2553 printf %s "checking for $2... " >&6; }
2558 eval "$3=no"
2559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2601 # ------------------------------------------------------------------
2603 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2614 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2638 eval "$3=no"
2640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2652 # ----------------------------------------------------
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2659 printf %s "checking for $2.$3... " >&6; }
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 eval "$4=no"
2698 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2709 for ac_arg
2728 cat >config.log <<_ACEOF
2732 It was created by curl $as_me -, which was
2738 exec 5>>config.log
2741 ## --------- ##
2743 ## --------- ##
2745 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2746 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2747 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2748 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2749 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2751 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2752 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2755 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2765 for as_dir in $PATH
2782 ## ----------- ##
2784 ## ----------- ##
2790 # Strip out --no-create and --no-recursion so they do not pile up.
2791 # Strip out --silent because we don't want to record it for future runs.
2792 # Also quote any args containing shell meta-characters.
2793 # Make two passes to allow for proper duplicate-argument suppression.
2798 for ac_pass in 1 2
2800 for ac_arg
2803 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2804 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2805 | -silent | --silent | --silen | --sile | --sil)
2818 *=* | --config-cache | -C | -disable-* | --disable-* \
2819 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2820 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2821 | -with-* | --with-* | -without-* | --without-* | --x)
2826 -* ) ac_must_keep_next=true ;;
2838 # config.log. We remove comments because anyway the quotes in there
2845 # Save into config.log some information that might help in debugging.
2849 printf "%s\n" "## ---------------- ##
2851 ## ---------------- ##"
2855 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2860 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2873 sed -n \
2878 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2885 printf "%s\n" "## ----------------- ##
2887 ## ----------------- ##"
2889 for ac_var in $ac_subst_vars
2899 if test -n "$ac_subst_files"; then
2900 printf "%s\n" "## ------------------- ##
2902 ## ------------------- ##"
2904 for ac_var in $ac_subst_files
2915 if test -s confdefs.h; then
2916 printf "%s\n" "## ----------- ##
2918 ## ----------- ##"
2927 rm -f core *.core core.conftest.* &&
2928 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2931 for ac_signal in 1 2 13 15; do
2937 rm -f -r conftest* confdefs.h
2958 if test -n "$CONFIG_SITE"; then
2961 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2963 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2966 for ac_site_file in $ac_site_files
2974 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2979 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982 See \`config.log' for more details" "$LINENO" 5; }
2986 if test -r "$cache_file"; then
2989 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3003 # Test code for whether the C compiler supports C89 (global declarations)
3034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3037 as an "x". The following induces an error, until -std is added to get
3038 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3040 that is true only with -std. */
3041 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3046 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3054 # Test code for whether the C compiler supports C89 (body of main).
3059 # Test code for whether the C compiler supports C99 (global declarations)
3100 static long long int bignum = -9223372036854775807LL;
3120 // See if C++-style comments work.
3122 // Also check for declarations in for loops.
3123 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3165 # Test code for whether the C compiler supports C99 (body of main).
3183 ia->datasize = 10;
3184 for (int i = 0; i < ia->datasize; ++i)
3185 ia->data[i] = i * 1.234;
3198 dynamic_array[ni.number - 1] = 543;
3202 || dynamic_array[ni.number - 1] != 543);
3205 # Test code for whether the C compiler supports C11 (global declarations)
3225 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3228 int _Noreturn does_not_return (void) { for (;;) continue; }
3239 // Check UTF-8 literals.
3248 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3259 # Test code for whether the C compiler supports C11 (body of main).
3269 # Test code for whether the C compiler supports C11 (complete).
3285 # Test code for whether the C compiler supports C99 (complete).
3299 # Test code for whether the C compiler supports C89 (complete).
3322 ac_aux_files="ltmain.sh config.guess config.sub missing compile install-sh"
3324 # Locations in which to look for auxiliary files.
3327 # Search for a directory containing all of the required auxiliary files,
3328 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3334 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3337 for as_dir in $ac_aux_dir_candidates
3347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3350 for ac_aux in $ac_aux_files
3352 # As a special case, if "install-sh" is required, that requirement
3353 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3354 # and $ac_install_sh is set appropriately for whichever one is found.
3355 if test x"$ac_aux" = x"install-sh"
3357 if test -f "${as_dir}install-sh"; then
3358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3359 ac_install_sh="${as_dir}install-sh -c"
3360 elif test -f "${as_dir}install.sh"; then
3361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3362 ac_install_sh="${as_dir}install.sh -c"
3363 elif test -f "${as_dir}shtool"; then
3364 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3365 ac_install_sh="${as_dir}shtool install -c"
3367 ac_aux_dir_found=no
3369 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3375 if test -f "${as_dir}${ac_aux}"; then
3376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3378 ac_aux_dir_found=no
3408 if test -f "${ac_aux_dir}config.guess"; then
3409 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3411 if test -f "${ac_aux_dir}config.sub"; then
3412 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3414 if test -f "$ac_aux_dir/configure"; then
3421 for ac_var in $ac_precious_vars; do
3428 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
3432 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
3442 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
3446 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3456 # Pass precious variables to config.status.
3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3471 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
3473 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3476 ## -------------------- ##
3478 ## -------------------- ##
3481 ac_cpp='$CPP $CPPFLAGS'
3482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3492 # using curl-override.m4
3502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portio…
3503 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3504 # Check whether --enable-maintainer-mode was given.
3509 USE_MAINTAINER_MODE=no
3512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3525 # Check whether --enable-silent-rules was given.
3533 no) AM_DEFAULT_VERBOSITY=1;;
3536 am_make=${MAKE-make}
3537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" …
3549 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3552 am_cv_make_support_nested_variables=no
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3568 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
3571 # Check whether --enable-debug was given.
3578 no)
3579 want_debug="no"
3582 want_debug="no"
3591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
3595 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
3598 # Check whether --enable-optimize was given.
3605 no)
3606 want_optimize="no"
3607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 printf "%s\n" "no" >&6; }
3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
3614 printf "%s\n" "(assumed) no" >&6; }
3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3629 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings"…
3632 # Check whether --enable-warnings was given.
3639 no)
3640 want_warnings="no"
3649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
3653 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as erro…
3656 # Check whether --enable-werror was given.
3663 no)
3664 want_werror="no"
3667 want_werror="no"
3673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
3677 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory trackin…
3680 # Check whether --enable-curldebug was given.
3687 no)
3688 want_curldebug="no"
3689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 printf "%s\n" "no" >&6; }
3694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 printf "%s\n" "no" >&6; }
3711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3717 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library interna…
3720 # Check whether --enable-symbol-hiding was given.
3727 no)
3728 want_symbol_hiding="no"
3729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 printf "%s\n" "no" >&6; }
3734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3745 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >…
3746 printf %s "checking whether to enable c-ares for DNS lookups... " >&6; }
3748 # Check whether --enable-ares was given.
3755 no)
3756 want_ares="no"
3759 want_ares="no"
3763 if test -n "$enableval" && test "$enableval" != "yes"; then
3768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
3772 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
3773 printf %s "checking whether to disable dependency on -lrt... " >&6; }
3775 # Check whether --enable-rt was given.
3782 no)
3784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3788 dontwant_rt="no"
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
3790 printf "%s\n" "(assumed no)" >&6; }
3793 dontwant_rt="no"
3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 printf "%s\n" "no" >&6; }
3800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable ECH support" >&5
3803 # Check whether --enable-ech was given.
3810 no)
3811 want_ech="no"
3812 curl_ech_msg="no (--enable-ech)"
3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3814 printf "%s\n" "no" >&6; }
3817 want_ech="no"
3818 curl_ech_msg="no (--enable-ech)"
3819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 printf "%s\n" "no" >&6; }
3824 curl_ech_msg="enabled (--disable-ech)"
3826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3836 if test -z "$xc_configure_preamble_result"; then
3844 if test -z "$xc_PATH_SEPARATOR"; then
3847 if test -z "$PATH_SEPARATOR"; then
3848 as_fn_error $? "PATH_SEPARATOR not set (internal or config.site problem)" "$LINENO" 5
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
3851 printf %s "checking for path separator... " >&6; }
3852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
3856 printf %s "checking for initial path separator... " >&6; }
3857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
3859 as_fn_error $? "path separator mismatch (internal or config.site problem)" "$LINENO" 5
3869 if test -z "$SED"; then
3872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 printf %s "checking for $ac_word... " >&6; }
3885 for as_dir in $as_dummy
3893 for ac_exec_ext in '' $ac_executable_extensions; do
3896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3903 test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
3908 if test -n "$SED"; then
3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 printf "%s\n" "no" >&6; }
3917 if test -z "$SED" || test "$SED" = "not_found"; then
3923 if test -z "$GREP"; then
3926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 printf %s "checking for $ac_word... " >&6; }
3939 for as_dir in $as_dummy
3947 for ac_exec_ext in '' $ac_executable_extensions; do
3950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3957 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
3962 if test -n "$GREP"; then
3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 printf "%s\n" "no" >&6; }
3971 if test -z "$GREP" || test "$GREP" = "not_found"; then
3977 if test -z "$EGREP"; then
3978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that grep -E works" >&5
3979 printf %s "checking that grep -E works... " >&6; }
3980 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
3981 EGREP="$GREP -E"
3982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986 printf "%s\n" "no" >&6; }
3989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 printf %s "checking for $ac_word... " >&6; }
4002 for as_dir in $as_dummy
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4020 test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
4025 if test -n "$EGREP"; then
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4030 printf "%s\n" "no" >&6; }
4036 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
4037 …as_fn_error $? "grep -E is not working and egrep is not found in PATH. Cannot continue." "$LINENO"…
4041 if test -z "$AR"; then
4042 if test -n "$ac_tool_prefix"; then
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4046 printf %s "checking for $ac_word... " >&6; }
4058 for as_dir in $as_dummy
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4080 if test -n "$AR"; then
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 printf "%s\n" "no" >&6; }
4090 if test -z "$ac_cv_path_AR"; then
4094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 printf %s "checking for $ac_word... " >&6; }
4107 for as_dir in $as_dummy
4115 for ac_exec_ext in '' $ac_executable_extensions; do
4118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4129 if test -n "$ac_pt_AR"; then
4130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 printf "%s\n" "no" >&6; }
4142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4152 if test -z "$AR" || test "$AR" = "not_found"; then
4160 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
4170 xc_bad_var_libs=no
4171 for xc_word in $LIBS; do
4173 -l* | --library=*)
4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
4184 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
4185 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
4189 xc_bad_var_ldflags=no
4190 for xc_word in $LDFLAGS; do
4192 -D*)
4195 -U*)
4198 -I*)
4201 -l* | --library=*)
4207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
4210 for xc_word in $LDFLAGS; do
4212 -D*)
4213 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4214 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
4216 -U*)
4217 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
4218 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
4220 -I*)
4221 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4222 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
4224 -l* | --library=*)
4225 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4226 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4233 xc_bad_var_cppflags=no
4234 for xc_word in $CPPFLAGS; do
4236 -rpath*)
4239 -L* | --library-path=*)
4242 -l* | --library=*)
4248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
4251 for xc_word in $CPPFLAGS; do
4253 -rpath*)
4254 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4255 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
4257 -L* | --library-path=*)
4258 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
4259 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
4261 -l* | --library=*)
4262 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4263 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4270 xc_bad_var_cflags=no
4271 for xc_word in $CFLAGS; do
4273 -D*)
4276 -U*)
4279 -I*)
4282 -rpath*)
4285 -L* | --library-path=*)
4288 -l* | --library=*)
4294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
4297 for xc_word in $CFLAGS; do
4299 -D*)
4300 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4301 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
4303 -U*)
4304 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
4305 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
4307 -I*)
4308 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4309 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
4311 -rpath*)
4312 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4313 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
4315 -L* | --library-path=*)
4316 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
4317 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
4319 -l* | --library=*)
4320 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4321 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4331 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
4345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4352 printf %s "checking for a BSD-compatible install... " >&6; }
4353 if test -z "$INSTALL"; then
4359 for as_dir in $PATH
4367 # Account for fact that we put trailing slashes in our PATH walk.
4374 # OSF1 and SCO ODT 3.0 have their own names for install.
4377 for ac_prog in ginstall scoinst install; do
4378 for ac_exec_ext in '' $ac_executable_extensions; do
4386 # program-specific install script used by HP pwplus--don't use.
4389 rm -rf conftest.one conftest.two conftest.dir
4393 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
4394 test -s conftest.one && test -s conftest.two &&
4395 test -s conftest.dir/conftest.one &&
4396 test -s conftest.dir/conftest.two
4398 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
4411 rm -rf conftest.one conftest.two conftest.dir
4418 # value for INSTALL within a source directory, because that will
4424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4427 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4429 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4431 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4433 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 if test -n "$ac_tool_prefix"; then
4456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 printf %s "checking for $ac_word... " >&6; }
4462 if test -n "$CC"; then
4466 for as_dir in $PATH
4474 for ac_exec_ext in '' $ac_executable_extensions; do
4477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4487 if test -n "$CC"; then
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 printf "%s\n" "no" >&6; }
4497 if test -z "$ac_cv_prog_CC"; then
4501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 printf %s "checking for $ac_word... " >&6; }
4507 if test -n "$ac_ct_CC"; then
4511 for as_dir in $PATH
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4532 if test -n "$ac_ct_CC"; then
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 printf "%s\n" "no" >&6; }
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4555 if test -z "$CC"; then
4556 if test -n "$ac_tool_prefix"; then
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 printf %s "checking for $ac_word... " >&6; }
4565 if test -n "$CC"; then
4569 for as_dir in $PATH
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4590 if test -n "$CC"; then
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 printf "%s\n" "no" >&6; }
4601 if test -z "$CC"; then
4604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 printf %s "checking for $ac_word... " >&6; }
4610 if test -n "$CC"; then
4613 ac_prog_rejected=no
4615 for as_dir in $PATH
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4652 if test -n "$CC"; then
4653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 printf "%s\n" "no" >&6; }
4662 if test -z "$CC"; then
4663 if test -n "$ac_tool_prefix"; then
4664 for ac_prog in cl.exe
4668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4669 printf %s "checking for $ac_word... " >&6; }
4674 if test -n "$CC"; then
4678 for as_dir in $PATH
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4699 if test -n "$CC"; then
4700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 printf "%s\n" "no" >&6; }
4708 test -n "$CC" && break
4711 if test -z "$CC"; then
4713 for ac_prog in cl.exe
4717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 printf %s "checking for $ac_word... " >&6; }
4723 if test -n "$ac_ct_CC"; then
4727 for as_dir in $PATH
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4748 if test -n "$ac_ct_CC"; then
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4753 printf "%s\n" "no" >&6; }
4757 test -n "$ac_ct_CC" && break
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4774 if test -z "$CC"; then
4775 if test -n "$ac_tool_prefix"; then
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 printf %s "checking for $ac_word... " >&6; }
4784 if test -n "$CC"; then
4788 for as_dir in $PATH
4796 for ac_exec_ext in '' $ac_executable_extensions; do
4799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4809 if test -n "$CC"; then
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 printf "%s\n" "no" >&6; }
4819 if test -z "$ac_cv_prog_CC"; then
4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4824 printf %s "checking for $ac_word... " >&6; }
4829 if test -n "$ac_ct_CC"; then
4833 for as_dir in $PATH
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4854 if test -n "$ac_ct_CC"; then
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 printf "%s\n" "no" >&6; }
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4880 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4882 as_fn_error $? "no acceptable C compiler found in \$PATH
4883 See \`config.log' for more details" "$LINENO" 5; }
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4889 for ac_option in --version -v -V -qversion -version; do
4895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4899 if test -s conftest.err; then
4905 rm -f conftest.er1 conftest.err
4906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 # Try to create an executable without -o first, disregard a.out.
4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4927 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4933 for ac_file in $ac_files
4940 rm -f $ac_rmfiles
4947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4954 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4957 # so that the user can short-circuit this test for compilers unknown to
4959 for ac_file in $ac_files ''
4961 test -f "$ac_file" || continue
4970 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4974 # We set ac_cv_exeext here because the later test for it is not
4975 # safe: cross compilers may not add the suffix if given an `-o'
4984 test "$ac_cv_exeext" = no && ac_cv_exeext=
4989 if test -z "$ac_file"
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 printf "%s\n" "no" >&6; }
4996 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4999 See \`config.log' for more details" "$LINENO" 5; }
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5005 printf %s "checking for C compiler default output file name... " >&6; }
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5010 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5013 printf %s "checking for suffix of executables... " >&6; }
5019 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5027 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5030 for ac_file in conftest.exe conftest conftest.*; do
5031 test -f "$ac_file" || continue
5040 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5043 See \`config.log' for more details" "$LINENO" 5; }
5045 rm -f conftest conftest$ac_cv_exeext
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5049 rm -f conftest.$ac_ext
5052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5090 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5092 cross_compiling=no
5097 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5100 If you meant to cross compile, use \`--host'.
5101 See \`config.log' for more details" "$LINENO" 5; }
5105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5108 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5111 printf %s "checking for suffix of object files... " >&6; }
5116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5126 rm -f conftest.o conftest.obj
5132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5139 for ac_file in conftest.o conftest.obj conftest.*; do
5140 test -f "$ac_file" || continue;
5151 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5154 See \`config.log' for more details" "$LINENO" 5; }
5156 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 ac_compiler_gnu=no
5187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5203 printf %s "checking whether $CC accepts -g... " >&6; }
5210 ac_cv_prog_cc_g=no
5211 CFLAGS="-g"
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5242 CFLAGS="-g"
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5270 CFLAGS="-g -O2"
5272 CFLAGS="-g"
5276 CFLAGS="-O2"
5281 ac_prog_cc_stdc=no
5284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5285 printf %s "checking for $CC option to enable C11 features... " >&6; }
5290 ac_cv_prog_cc_c11=no
5292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 for ac_arg in '' -std=gnu11
5303 rm -f core conftest.err conftest.$ac_objext conftest.beam
5306 rm -f conftest.$ac_ext
5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5331 printf %s "checking for $CC option to enable C99 features... " >&6; }
5336 ac_cv_prog_cc_c99=no
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5349 rm -f core conftest.err conftest.$ac_objext conftest.beam
5352 rm -f conftest.$ac_ext
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5377 printf %s "checking for $CC option to enable C89 features... " >&6; }
5382 ac_cv_prog_cc_c89=no
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
5395 rm -f core conftest.err conftest.$ac_objext conftest.beam
5398 rm -f conftest.$ac_ext
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5422 ac_cpp='$CPP $CPPFLAGS'
5423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5429 ac_cpp='$CPP $CPPFLAGS'
5430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" …
5434 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 # compilers refuse to overwrite an existing .o file with -o,
5454 for am_i in 1 2; do
5455 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5456 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5460 && test -f conftest2.$ac_objext; then
5463 am_cv_prog_cc_c_o=no
5467 rm -f core conftest*
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5476 # A longer-term fix would be to have automake use am__CC in this case,
5481 ac_cpp='$CPP $CPPFLAGS'
5482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5489 ac_cpp='$CPP $CPPFLAGS'
5490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5495 # On Suns, sometimes $CPP names a directory.
5496 if test -n "$CPP" && test -d "$CPP"; then
5497 CPP=
5499 if test -z "$CPP"; then
5505 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5508 for ac_c_preproc_warn_flag in '' yes
5511 # with a fresh cross-compiler works.
5512 # On the NeXT, cc -E runs the code through the compiler's parser,
5513 # not just through cpp. "Syntax error" is here to catch this case.
5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 rm -f conftest.err conftest.i conftest.$ac_ext
5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 rm -f conftest.err conftest.i conftest.$ac_ext
5547 rm -f conftest.i conftest.err conftest.$ac_ext
5554 ac_cv_prog_CPP=$CPP
5557 CPP=$ac_cv_prog_CPP
5559 ac_cv_prog_CPP=$CPP
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5562 printf "%s\n" "$CPP" >&6; }
5564 for ac_c_preproc_warn_flag in '' yes
5567 # with a fresh cross-compiler works.
5568 # On the NeXT, cc -E runs the code through the compiler's parser,
5569 # not just through cpp. "Syntax error" is here to catch this case.
5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582 rm -f conftest.err conftest.i conftest.$ac_ext
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5599 rm -f conftest.err conftest.i conftest.$ac_ext
5603 rm -f conftest.i conftest.err conftest.$ac_ext
5608 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5610 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5611 See \`config.log' for more details" "$LINENO" 5; }
5615 ac_cpp='$CPP $CPPFLAGS'
5616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5633 for ac_item in $ac_header_c_list
5662 for ac_header in stdatomic.h
5669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _Atomic is available" >&5
5671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681 i = 4; // Force an atomic-write operation.
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 printf "%s\n" "no" >&6; }
5702 tst_atomic="no"
5705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5714 printf %s "checking for a sed that does not truncate output... " >&6; }
5720 for ac_i in 1 2 3 4 5 6 7; do
5725 if test -z "$SED"; then
5727 # Loop through the user's path and test for each of PROGNAME-LIST
5729 for as_dir in $PATH
5737 for ac_prog in sed gsed
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5742 # Check for GNU ac_path_SED and select it if it is found.
5743 # Check for GNU $ac_path_SED
5744 case `"$ac_path_SED" --version 2>&1` in
5756 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5759 if test $ac_count -gt ${ac_path_SED_max-0}; then
5760 # Best one so far, save it but keep looking for a better one
5765 test $ac_count -gt 10 && break
5767 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 if test -z "$ac_cv_path_SED"; then
5776 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5786 rm -f conftest.sed
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
5792 printf %s "checking for code coverage support... " >&6; }
5793 coverage="no"
5796 # Check whether --enable-code-coverage was given.
5805 coverage="no"
5807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
5813 if test -n "$ac_tool_prefix"; then
5816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 printf %s "checking for $ac_word... " >&6; }
5822 if test -n "$GCOV"; then
5826 for as_dir in $PATH
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5847 if test -n "$GCOV"; then
5848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
5851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 printf "%s\n" "no" >&6; }
5857 if test -z "$ac_cv_prog_GCOV"; then
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5862 printf %s "checking for $ac_word... " >&6; }
5867 if test -n "$ac_ct_GCOV"; then
5871 for as_dir in $PATH
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5892 if test -n "$ac_ct_GCOV"; then
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 printf "%s\n" "no" >&6; }
5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5915 if test -z "$GCOV"; then
5916 as_fn_error $? "needs gcov for code coverage" "$LINENO" 5
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 printf %s "checking for $ac_word... " >&6; }
5926 if test -n "$LCOV"; then
5930 for as_dir in $PATH
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5951 if test -n "$LCOV"; then
5952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956 printf "%s\n" "no" >&6; }
5960 if test -z "$LCOV"; then
5961 as_fn_error $? "needs lcov for code coverage" "$LINENO" 5
5964 CPPFLAGS="$CPPFLAGS -DNDEBUG"
5965 CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage"
5966 LIBS="$LIBS -lgcov"
5972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5988 # arguments. Must try -L first in case configure is actually a
5993 am_has_slept=no
5994 for am_try in 1 2; do
5996 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5998 # -L didn't work.
5999 set X `ls -t "$srcdir/configure" conftest.file`
6005 # if, for instance, CONFIG_SHELL is bash and it inherits a
6008 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
6011 if test "$2" = conftest.file || test $am_try -eq 2; then
6027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6029 # If we didn't sleep, we still need to ensure time stamps of config.status and
6032 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
6037 rm -f conftest.file
6054 if eval "$MISSING --is-lightweight"; then
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
6065 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
6067 install_sh="\${SHELL} $am_aux_dir/install-sh"
6072 # run "make install-strip". However 'strip' might not be the right
6073 # tool to use in cross-compilation environments, therefore Automake
6075 if test "$cross_compiling" != no; then
6076 if test -n "$ac_tool_prefix"; then
6079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6080 printf %s "checking for $ac_word... " >&6; }
6085 if test -n "$STRIP"; then
6089 for as_dir in $PATH
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6110 if test -n "$STRIP"; then
6111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 printf "%s\n" "no" >&6; }
6120 if test -z "$ac_cv_prog_STRIP"; then
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 printf %s "checking for $ac_word... " >&6; }
6130 if test -n "$ac_ct_STRIP"; then
6134 for as_dir in $PATH
6142 for ac_exec_ext in '' $ac_executable_extensions; do
6145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6155 if test -n "$ac_ct_STRIP"; then
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6160 printf "%s\n" "no" >&6; }
6168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6179 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
6183 printf %s "checking for a race-free mkdir -p... " >&6; }
6184 if test -z "$MKDIR_P"; then
6190 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6198 for ac_prog in mkdir gmkdir; do
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6201 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
6215 test -d ./--version && rmdir ./--version
6217 MKDIR_P="$ac_cv_path_mkdir -p"
6220 # value for MKDIR_P within a source directory, because that will
6223 MKDIR_P="$ac_install_sh -d"
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6229 for ac_prog in gawk mawk nawk awk
6233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 printf %s "checking for $ac_word... " >&6; }
6239 if test -n "$AWK"; then
6243 for as_dir in $PATH
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6264 if test -n "$AWK"; then
6265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 printf "%s\n" "no" >&6; }
6273 test -n "$AWK" && break
6276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6277 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6278 set x ${MAKE-make}
6279 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6290 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6294 eval ac_cv_prog_make_${ac_make}_set=no;;
6296 rm -f conftest.make
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 printf "%s\n" "no" >&6; }
6305 SET_MAKE="MAKE=${MAKE-make}"
6308 rm -rf .tst 2>/dev/null
6310 if test -d .tst; then
6321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include di…
6322 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
6334 _am_result=no
6335 for s in GNU BSD; do
6336 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
6337 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
6357 rm -f confinc.* confmf.*
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
6361 # Check whether --enable-dependency-tracking was given.
6381 ## --------------------------------------- ##
6383 ## --------------------------------------- ##
6386 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6387 # is not polluted with repeated "-I."
6388 am__isrc=' -I$(srcdir)'
6390 if test -f $srcdir/config.status; then
6396 if test -z "$CYGPATH_W"; then
6397 if (cygpath --version) >/dev/null 2>/dev/null; then
6398 CYGPATH_W='cygpath -w'
6407 VERSION='-'
6417 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6420 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6423 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6426 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6429 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6431 # For better backward compatibility. To be removed once Automake 1.9.x
6432 # dies out for good. For more background, see:
6433 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6434 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6437 # We need awk for the "check" target (and possibly the TAP driver). The
6439 # Always define AMTAR for backward compatibility. Yes, it's still used
6440 # in the wild :-( We should find a proper way to deprecate it ...
6441 AMTAR='$${TAR-tar}'
6447 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6461 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6463 # making bogus files that we don't know about and never remove. For
6464 # instance it was reported that on HP-UX the gcc test will end up
6465 # making a dummy file named 'D' -- because '-MD' means "put the output
6467 rm -rf conftest.dir
6474 # it helps to detect inapplicable dependency modes. For instance
6475 # both Tru64's cc and ICC support -MD to output dependencies as a
6483 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6487 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6490 for depmode in $am_compiler_list; do
6495 # We need to recreate these files for each test, as the compiler may
6499 for i in 1 2 3 4 5 6; do
6507 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6509 # handle '-M -o', and we need to detect this. Also, some Intel
6511 am__obj=sub/conftest.${OBJEXT-o}
6512 am__minus_obj="-o $am__obj"
6519 # After this tag, mechanisms are not by side-effect, so they'll
6528 # This compiler won't grok '-c -o', but also, the minuso test has
6531 am__obj=conftest.${OBJEXT-o}
6539 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6544 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6546 # or remarks (even with -Werror). So we grep stderr for any message
6548 # When given -MP, icc 7.0 and 7.1 complain thusly:
6549 # icc: Command line warning: ignoring option '-M'; no argument required
6551 # icc: Command line remark: option '-MP' not supported
6561 rm -rf conftest.dir
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6582 # Variables for tags utilities; see am/tags.am
6583 if test -z "$CTAGS"; then
6587 if test -z "$ETAGS"; then
6591 if test -z "$CSCOPE"; then
6597 # POSIX will say in a future version that running "rm -f" with no argument
6605 if rm -f && rm -fr && rm -rf; then : OK; else
6610 on the command line, even when the '-f' option is present. This is contrary
6614 Please tell bug-automake@gnu.org about your system, including the value
6632 to "yes", and re-run configure.
6639 ## ------------------------------------- ##
6641 ## ------------------------------------- ##
6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
6651 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
6655 PKGADD_NAME="curl - a client that groks URLs"
6661 …curl_ssl_msg="no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,secure-transport,amissl,bea…
6662 curl_ssh_msg="no (--with-{libssh,libssh2})"
6663 curl_zlib_msg="no (--with-zlib)"
6664 curl_brotli_msg="no (--with-brotli)"
6665 curl_zstd_msg="no (--with-zstd)"
6666 curl_gss_msg="no (--with-gssapi)"
6667 curl_gsasl_msg="no (--with-gsasl)"
6668 curl_tls_srp_msg="no (--enable-tls-srp)"
6669 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
6670 curl_ipv6_msg="no (--enable-ipv6)"
6671 curl_unix_sockets_msg="no (--enable-unix-sockets)"
6672 curl_idn_msg="no (--with-{libidn2,winidn})"
6673 curl_manual_msg="no (--enable-manual)"
6674 curl_libcurl_msg="enabled (--disable-libcurl-option)"
6675 curl_verbose_msg="enabled (--disable-verbose)"
6676 curl_sspi_msg="no (--enable-sspi)"
6677 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
6678 curl_ldaps_msg="no (--enable-ldaps)"
6679 curl_rtsp_msg="no (--enable-rtsp)"
6680 curl_rtmp_msg="no (--with-librtmp)"
6681 curl_psl_msg="no (--with-libpsl)"
6682 curl_altsvc_msg="enabled (--disable-alt-svc)"
6683 curl_headers_msg="enabled (--disable-headers-api)"
6684 curl_hsts_msg="enabled (--disable-hsts)"
6685 curl_ws_msg="no (--enable-websockets)"
6688 curl_h2_msg="no (--with-nghttp2)"
6689 …curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh…
6697 compilersh="run-compiler"
6710 OPT_SCHANNEL=no
6712 # Check whether --with-schannel was given.
6720 OPT_SECURETRANSPORT=no
6722 # Check whether --with-secure-transport was given.
6727 TLSCHOICE="${TLSCHOICE:+$TLSCHOICE, }Secure-Transport"
6732 OPT_AMISSL=no
6734 # Check whether --with-amissl was given.
6744 OPT_OPENSSL=no
6745 ca="no"
6747 # Check whether --with-ssl was given.
6763 # Check whether --with-openssl was given.
6775 OPT_GNUTLS=no
6777 # Check whether --with-gnutls was given.
6789 OPT_MBEDTLS=no
6791 # Check whether --with-mbedtls was given.
6803 OPT_WOLFSSL=no
6805 # Check whether --with-wolfssl was given.
6817 OPT_BEARSSL=no
6819 # Check whether --with-bearssl was given.
6831 OPT_RUSTLS=no
6833 # Check whether --with-rustls was given.
6848 # Check whether --with-test-nghttpx was given.
6862 # Check whether --with-test-caddy was given.
6876 # Check whether --with-test-httpd was given.
6884 if test x"$request_httpd" = "xcheck" -o x"$request_httpd" = "xyes"; then
6885 if test -x "/usr/sbin/apache2" -a -x "/usr/sbin/apache2ctl"; then
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6892 printf %s "checking for $ac_word... " >&6; }
6903 for as_dir in $PATH
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6925 if test -n "$APXS"; then
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 printf "%s\n" "no" >&6; }
6935 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apache2-dev not installed, httpd tests disabled" >&5
6936 printf "%s\n" "$as_me: apache2-dev not installed, httpd tests disabled" >&6;}
6937 HTTPD_ENABLED="no"
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6943 printf %s "checking for $ac_word... " >&6; }
6954 for as_dir in $PATH
6962 for ac_exec_ext in '' $ac_executable_extensions; do
6965 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6976 if test -n "$HTTPD"; then
6977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
6980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 printf "%s\n" "no" >&6; }
6988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 printf %s "checking for $ac_word... " >&6; }
7000 for as_dir in $PATH
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7022 if test -n "$HTTPD"; then
7023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
7026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7027 printf "%s\n" "no" >&6; }
7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7035 printf %s "checking for $ac_word... " >&6; }
7046 for as_dir in $PATH
7054 for ac_exec_ext in '' $ac_executable_extensions; do
7057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7068 if test -n "$APACHECTL"; then
7069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APACHECTL" >&5
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 printf "%s\n" "no" >&6; }
7079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7080 printf %s "checking for $ac_word... " >&6; }
7091 for as_dir in $PATH
7099 for ac_exec_ext in '' $ac_executable_extensions; do
7102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7113 if test -n "$APXS"; then
7114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
7117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 printf "%s\n" "no" >&6; }
7122 if test "x$HTTPD" = "x" -o "x$APACHECTL" = "x"; then
7123 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd/apache2 not in PATH, http tests disabled" >&5
7125 HTTPD_ENABLED="no"
7128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not in PATH, http tests disabled" >&5
7130 HTTPD_ENABLED="no"
7137 if test ! -x "${HTTPD}"; then
7138 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd not found as ${HTTPD}, http tests disabled" >&5
7140 HTTPD_ENABLED="no"
7141 elif test ! -x "${APACHECTL}"; then
7142 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: apachectl not found as ${APACHECTL}, http tests disa…
7144 HTTPD_ENABLED="no"
7145 elif test ! -x "${APXS}"; then
7146 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not found as ${APXS}, http tests disabled" >&5
7148 HTTPD_ENABLED="no"
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using HTTPD=$HTTPD for tests" >&5
7151 printf "%s\n" "$as_me: using HTTPD=$HTTPD for tests" >&6;}
7163 if test "x$TEST_NGHTTPX" != "x" -a "x$TEST_NGHTTPX" != "xnghttpx"; then
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 printf %s "checking for $ac_word... " >&6; }
7181 for as_dir in $as_dummy
7189 for ac_exec_ext in '' $ac_executable_extensions; do
7192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7203 if test -n "$HTTPD_NGHTTPX"; then
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD_NGHTTPX" >&5
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 printf "%s\n" "no" >&6; }
7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221 printf %s "checking for $ac_word... " >&6; }
7232 for as_dir in $PATH
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7254 if test -n "$CADDY"; then
7255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CADDY" >&5
7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 printf "%s\n" "no" >&6; }
7266 if test -z "$TLSCHOICE"; then
7268 as_fn_error $? "select TLS backend(s) or disable TLS with --without-ssl.
7272 --with-amissl
7273 --with-bearssl
7274 --with-gnutls
7275 --with-mbedtls
7276 --with-openssl (also works for BoringSSL and libressl)
7277 --with-rustls
7278 --with-schannel
7279 --with-secure-transport
7280 --with-wolfssl
7286 # Check whether --with-darwinssl was given.
7289 …withval=$with_darwinssl; as_fn_error $? "--with-darwin-ssl and --without-darwin-ssl no longer work…
7296 # Make sure we can run config.sub.
7297 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
7298 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7308 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
7311 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
7312 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7318 *-*-*) ;;
7322 ac_save_IFS=$IFS; IFS='-'
7332 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7344 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
7345 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
7349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7352 *-*-*) ;;
7356 ac_save_IFS=$IFS; IFS='-'
7366 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7379 printf %s "checking for grep that handles long lines and -e... " >&6; }
7384 if test -z "$GREP"; then
7386 # Loop through the user's path and test for each of PROGNAME-LIST
7388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7396 for ac_prog in grep ggrep
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7401 # Check for GNU ac_path_GREP and select it if it is found.
7402 # Check for GNU $ac_path_GREP
7403 case `"$ac_path_GREP" --version 2>&1` in
7415 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
7418 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7419 # Best one so far, save it but keep looking for a better one
7424 test $ac_count -gt 10 && break
7426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7434 if test -z "$ac_cv_path_GREP"; then
7435 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7448 printf %s "checking for egrep... " >&6; }
7453 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7454 then ac_cv_path_EGREP="$GREP -E"
7456 if test -z "$EGREP"; then
7458 # Loop through the user's path and test for each of PROGNAME-LIST
7460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7468 for ac_prog in egrep
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7473 # Check for GNU ac_path_EGREP and select it if it is found.
7474 # Check for GNU $ac_path_EGREP
7475 case `"$ac_path_EGREP" --version 2>&1` in
7490 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7491 # Best one so far, save it but keep looking for a better one
7496 test $ac_count -gt 10 && break
7498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7506 if test -z "$ac_cv_path_EGREP"; then
7507 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
7515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7522 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
7524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 printf "%s\n" "no" >&6; }
7547 rm -rf conftest*
7553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
7555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 printf "%s\n" "no" >&6; }
7585 tmp_thread_safe_initially_defined="no"
7588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7590 if test "$tmp_thread_safe_initially_defined" = "no"; then
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
7596 tmp_need_thread_safe="no"
7602 tmp_need_thread_safe="no"
7607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 printf "%s\n" "no" >&6; }
7615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
7629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 printf "%s\n" "no" >&6; }
7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
7641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 printf "%s\n" "no" >&6; }
7671 tmp_reentrant_initially_defined="no"
7674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7676 if test "$tmp_reentrant_initially_defined" = "no"; then
7677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
7685 tmp_need_reentrant="no"
7689 if test "$tmp_need_reentrant" = "no"; then
7691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 tmp_errno="no"
7718 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7778 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7782 if test "$tmp_need_reentrant" = "no"; then
7784 if test "$tmp_need_reentrant" = "no"; then
7786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 tmp_gmtime_r="no"
7823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 rm -rf conftest*
7861 rm -rf conftest*
7866 if test "$tmp_need_reentrant" = "no"; then
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 tmp_localtime_r="no"
7905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7939 rm -rf conftest*
7943 rm -rf conftest*
7948 if test "$tmp_need_reentrant" = "no"; then
7950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7984 tmp_strerror_r="no"
7987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 rm -rf conftest*
8025 rm -rf conftest*
8030 if test "$tmp_need_reentrant" = "no"; then
8032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8066 tmp_strtok_r="no"
8069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103 rm -rf conftest*
8107 rm -rf conftest*
8112 if test "$tmp_need_reentrant" = "no"; then
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8148 tmp_gethostbyname_r="no"
8151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8185 rm -rf conftest*
8189 rm -rf conftest*
8194 if test "$tmp_need_reentrant" = "no"; then
8196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8230 tmp_getprotobyname_r="no"
8233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 rm -rf conftest*
8271 rm -rf conftest*
8279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 printf "%s\n" "no" >&6; }
8287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 printf "%s\n" "no" >&6; }
8310 # Check whether --enable-largefile was given.
8316 if test "$enable_largefile" != no; then
8318 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for l…
8319 printf %s "checking for special C compiler options needed for large files... " >&6; }
8324 ac_cv_sys_largefile_CC=no
8329 # so use the C compiler's -n32 option if that helps.
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* Check that off_t can represent 2**63 - 1 correctly.
8337 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8340 ? 1 : -1];
8352 rm -f core conftest.err conftest.$ac_objext conftest.beam
8353 CC="$CC -n32"
8356 ac_cv_sys_largefile_CC=' -n32'; break
8358 rm -f core conftest.err conftest.$ac_objext conftest.beam
8362 rm -f conftest.$ac_ext
8365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8367 if test "$ac_cv_sys_largefile_CC" != no; then
8371 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for larg…
8372 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* Check that off_t can represent 2**63 - 1 correctly.
8385 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8388 ? 1 : -1];
8398 ac_cv_sys_file_offset_bits=no; break
8400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8405 /* Check that off_t can represent 2**63 - 1 correctly.
8409 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8412 ? 1 : -1];
8424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8432 no | unknown) ;;
8437 rm -rf conftest*
8439 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large fil…
8440 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* Check that off_t can represent 2**63 - 1 correctly.
8453 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8456 ? 1 : -1];
8466 ac_cv_sys_large_files=no; break
8468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* Check that off_t can represent 2**63 - 1 correctly.
8477 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8480 ? 1 : -1];
8492 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8500 no | unknown) ;;
8505 rm -rf conftest*
8512 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace …
8537 # double-quoted strings.
8557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8560 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8561 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8562 ECHO='print -r --'
8577 # Invoke $ECHO with all args, space-separated.
8584 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8586 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8587 printf "%s\n" "print -r" >&6; } ;;
8588 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8606 printf %s "checking for a sed that does not truncate output... " >&6; }
8612 for ac_i in 1 2 3 4 5 6 7; do
8617 if test -z "$SED"; then
8619 # Loop through the user's path and test for each of PROGNAME-LIST
8621 for as_dir in $PATH
8629 for ac_prog in sed gsed
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8634 # Check for GNU ac_path_SED and select it if it is found.
8635 # Check for GNU $ac_path_SED
8636 case `"$ac_path_SED" --version 2>&1` in
8648 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8651 if test $ac_count -gt ${ac_path_SED_max-0}; then
8652 # Best one so far, save it but keep looking for a better one
8657 test $ac_count -gt 10 && break
8659 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8667 if test -z "$ac_cv_path_SED"; then
8668 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8678 rm -f conftest.sed
8680 test -z "$SED" && SED=sed
8681 Xsed="$SED -e 1s/^X//"
8693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8694 printf %s "checking for fgrep... " >&6; }
8699 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8700 then ac_cv_path_FGREP="$GREP -F"
8702 if test -z "$FGREP"; then
8704 # Loop through the user's path and test for each of PROGNAME-LIST
8706 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8714 for ac_prog in fgrep
8716 for ac_exec_ext in '' $ac_executable_extensions; do
8719 # Check for GNU ac_path_FGREP and select it if it is found.
8720 # Check for GNU $ac_path_FGREP
8721 case `"$ac_path_FGREP" --version 2>&1` in
8736 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8737 # Best one so far, save it but keep looking for a better one
8742 test $ac_count -gt 10 && break
8744 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8752 if test -z "$ac_cv_path_FGREP"; then
8753 …as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
8761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8766 test -z "$GREP" && GREP=grep
8786 # Check whether --with-gnu-ld was given.
8789 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
8791 with_gnu_ld=no
8796 # Check if gcc -print-prog-name=ld gives a path.
8797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8798 printf %s "checking for ld used by $CC... " >&6; }
8800 *-*-mingw*)
8802 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8804 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8815 test -z "$LD" && LD=$ac_prog
8822 # If it is relative, then search for the first ld in PATH.
8827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8828 printf %s "checking for GNU ld... " >&6; }
8830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8831 printf %s "checking for non-GNU ld... " >&6; }
8837 if test -z "$LD"; then
8839 for ac_dir in $PATH; do
8841 test -z "$ac_dir" && ac_dir=.
8842 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8844 # Check to see if the program is GNU ld. I'd rather use --version,
8845 # but apparently some variants of GNU ld only accept -v.
8846 # Break only if it was the GNU/non-GNU ld that we prefer.
8847 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8849 test no != "$with_gnu_ld" && break
8864 if test -n "$LD"; then
8865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8869 printf "%s\n" "no" >&6; }
8871 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8878 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8879 case `$LD -v 2>&1 </dev/null` in
8884 lt_cv_prog_gnu_ld=no
8888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" …
8901 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8906 if test -n "$NM"; then
8911 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8914 for lt_tmp_nm in $lt_nm_to_check; do
8916 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8918 test -z "$ac_dir" && ac_dir=.
8920 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8921 # Check to see if the nm accepts a BSD-compat flag.
8922 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8930 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
8932 lt_cv_path_NM="$tmp_nm -B"
8936 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
8938 lt_cv_path_NM="$tmp_nm -p"
8952 : ${lt_cv_path_NM=no}
8955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8957 if test no != "$lt_cv_path_NM"; then
8960 # Didn't find any BSD compatible name lister, look for dumpbin.
8961 if test -n "$DUMPBIN"; then :
8964 if test -n "$ac_tool_prefix"; then
8965 for ac_prog in dumpbin "link -dump"
8969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970 printf %s "checking for $ac_word... " >&6; }
8975 if test -n "$DUMPBIN"; then
8979 for as_dir in $PATH
8987 for ac_exec_ext in '' $ac_executable_extensions; do
8990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9000 if test -n "$DUMPBIN"; then
9001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 printf "%s\n" "no" >&6; }
9009 test -n "$DUMPBIN" && break
9012 if test -z "$DUMPBIN"; then
9014 for ac_prog in dumpbin "link -dump"
9018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9019 printf %s "checking for $ac_word... " >&6; }
9024 if test -n "$ac_ct_DUMPBIN"; then
9028 for as_dir in $PATH
9036 for ac_exec_ext in '' $ac_executable_extensions; do
9039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9049 if test -n "$ac_ct_DUMPBIN"; then
9050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9054 printf "%s\n" "no" >&6; }
9058 test -n "$ac_ct_DUMPBIN" && break
9066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9074 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
9076 DUMPBIN="$DUMPBIN -symbols -headers"
9088 test -z "$NM" && NM=nm
9095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9114 rm -f conftest*
9116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9120 printf %s "checking whether ln -s works... " >&6; }
9122 if test "$LN_S" = "ln -s"; then
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9127 printf "%s\n" "no, using $LN_S" >&6; }
9131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments…
9151 # no limit to the length of command line arguments.
9152 # Libtool will interpret -1 as no limit whatsoever
9153 lt_cv_sys_max_cmd_len=-1;
9157 # On Win9x/ME, this test blows up -- it succeeds, but takes
9159 # Worse, since 9x/ME are not pre-emptively multitasking,
9180 if test -x /sbin/sysctl; then
9181 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9182 elif test -x /usr/sbin/sysctl; then
9183 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9185 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9209 if test -x /sbin/sysconfig; then
9210 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9211 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9220 if test -n "$kargmax"; then
9228 if test -n "$lt_cv_sys_max_cmd_len" && \
9235 for i in 1 2 3 4 5 6 7 8; do
9238 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9239 # If test is not a shell built-in, we'll probably end up computing a
9262 if test -n "$lt_cv_sys_max_cmd_len"; then
9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
9276 : ${CP="cp -f"}
9277 : ${MV="mv -f"}
9278 : ${RM="rm -f"}
9311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host fo…
9318 *-*-mingw* )
9320 *-*-mingw* ) # actually msys
9323 *-*-cygwin* )
9331 *-*-cygwin* )
9333 *-*-mingw* ) # actually msys
9336 *-*-cygwin* )
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchai…
9368 *-*-mingw* )
9370 *-*-mingw* ) # actually msys
9380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9388 printf %s "checking for $LD option to reload object files... " >&6; }
9393 lt_cv_ld_reload_flag='-r'
9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9402 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9411 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9413 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9426 if test -n "$ac_tool_prefix"; then
9429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9430 printf %s "checking for $ac_word... " >&6; }
9435 if test -n "$FILECMD"; then
9439 for as_dir in $PATH
9447 for ac_exec_ext in '' $ac_executable_extensions; do
9450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9460 if test -n "$FILECMD"; then
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9465 printf "%s\n" "no" >&6; }
9470 if test -z "$ac_cv_prog_FILECMD"; then
9474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9475 printf %s "checking for $ac_word... " >&6; }
9480 if test -n "$ac_ct_FILECMD"; then
9484 for as_dir in $PATH
9492 for ac_exec_ext in '' $ac_executable_extensions; do
9495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9505 if test -n "$ac_ct_FILECMD"; then
9506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
9509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9510 printf "%s\n" "no" >&6; }
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9534 if test -n "$ac_tool_prefix"; then
9537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538 printf %s "checking for $ac_word... " >&6; }
9543 if test -n "$OBJDUMP"; then
9547 for as_dir in $PATH
9555 for ac_exec_ext in '' $ac_executable_extensions; do
9558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9568 if test -n "$OBJDUMP"; then
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9573 printf "%s\n" "no" >&6; }
9578 if test -z "$ac_cv_prog_OBJDUMP"; then
9582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 printf %s "checking for $ac_word... " >&6; }
9588 if test -n "$ac_ct_OBJDUMP"; then
9592 for as_dir in $PATH
9600 for ac_exec_ext in '' $ac_executable_extensions; do
9603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9613 if test -n "$ac_ct_OBJDUMP"; then
9614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9618 printf "%s\n" "no" >&6; }
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9636 test -z "$OBJDUMP" && OBJDUMP=objdump
9643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9654 # 'none' -- dependencies not supported.
9655 # 'unknown' -- same as none, but documents that we really don't know.
9656 # 'pass_all' -- all dependencies passed with no checks.
9657 # 'test_compile' -- check by making test program.
9658 # 'file_magic [[regex]]' -- check by looking for files in library path
9664 aix[4-9]*)
9673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9674 lt_cv_file_magic_cmd='$FILECMD -L'
9687 # unless we find 'file', for example because we are cross-compiling.
9693 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
9694 lt_cv_file_magic_cmd='$OBJDUMP -f'
9700 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9701 lt_cv_file_magic_cmd='$OBJDUMP -f'
9709 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9714 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
9732 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9736 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
9740 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9746 interix[3-9]*)
9753 *-32|*"-32 ") libmagic=32-bit;;
9754 *-n32|*"-n32 ") libmagic=N32;;
9755 *-64|*"-64 ") libmagic=64-bit;;
9756 *) libmagic=never-match;;
9762 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9766 netbsd* | netbsdelf*-gnu)
9767 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9768 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9775 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9785 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9788 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9811 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-
9819 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9823 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9848 want_nocaseglob=no
9855 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
9863 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9886 if test -n "$ac_tool_prefix"; then
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9890 printf %s "checking for $ac_word... " >&6; }
9895 if test -n "$DLLTOOL"; then
9899 for as_dir in $PATH
9907 for ac_exec_ext in '' $ac_executable_extensions; do
9910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9920 if test -n "$DLLTOOL"; then
9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9925 printf "%s\n" "no" >&6; }
9930 if test -z "$ac_cv_prog_DLLTOOL"; then
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9935 printf %s "checking for $ac_word... " >&6; }
9940 if test -n "$ac_ct_DLLTOOL"; then
9944 for as_dir in $PATH
9952 for ac_exec_ext in '' $ac_executable_extensions; do
9955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9965 if test -n "$ac_ct_DLLTOOL"; then
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9970 printf "%s\n" "no" >&6; }
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9988 test -z "$DLLTOOL" && DLLTOOL=dlltool
9996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries"…
10008 case `$DLLTOOL --help 2>&1` in
10009 *--identify-strict*)
10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10027 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10035 if test -n "$ac_tool_prefix"; then
10036 for ac_prog in ar
10040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10041 printf %s "checking for $ac_word... " >&6; }
10046 if test -n "$AR"; then
10050 for as_dir in $PATH
10058 for ac_exec_ext in '' $ac_executable_extensions; do
10061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10071 if test -n "$AR"; then
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10076 printf "%s\n" "no" >&6; }
10080 test -n "$AR" && break
10083 if test -z "$AR"; then
10085 for ac_prog in ar
10089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10090 printf %s "checking for $ac_word... " >&6; }
10095 if test -n "$ac_ct_AR"; then
10099 for as_dir in $PATH
10107 for ac_exec_ext in '' $ac_executable_extensions; do
10110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10120 if test -n "$ac_ct_AR"; then
10121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10125 printf "%s\n" "no" >&6; }
10129 test -n "$ac_ct_AR" && break
10137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10155 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
10158 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
10166 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
10175 printf %s "checking for archiver @FILE support... " >&6; }
10180 lt_cv_ar_at_file=no
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10200 if test 0 -eq "$ac_status"; then
10202 rm -f conftest.$ac_objext libconftest.a
10203 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10206 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10208 if test 0 -ne "$ac_status"; then
10212 rm -f conftest.* libconftest.a
10215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10221 if test no = "$lt_cv_ar_at_file"; then
10233 if test -n "$ac_tool_prefix"; then
10236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10237 printf %s "checking for $ac_word... " >&6; }
10242 if test -n "$STRIP"; then
10246 for as_dir in $PATH
10254 for ac_exec_ext in '' $ac_executable_extensions; do
10257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10267 if test -n "$STRIP"; then
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10272 printf "%s\n" "no" >&6; }
10277 if test -z "$ac_cv_prog_STRIP"; then
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10282 printf %s "checking for $ac_word... " >&6; }
10287 if test -n "$ac_ct_STRIP"; then
10291 for as_dir in $PATH
10299 for ac_exec_ext in '' $ac_executable_extensions; do
10302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10312 if test -n "$ac_ct_STRIP"; then
10313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10317 printf "%s\n" "no" >&6; }
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10335 test -z "$STRIP" && STRIP=:
10342 if test -n "$ac_tool_prefix"; then
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10346 printf %s "checking for $ac_word... " >&6; }
10351 if test -n "$RANLIB"; then
10355 for as_dir in $PATH
10363 for ac_exec_ext in '' $ac_executable_extensions; do
10366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10376 if test -n "$RANLIB"; then
10377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10381 printf "%s\n" "no" >&6; }
10386 if test -z "$ac_cv_prog_RANLIB"; then
10390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10391 printf %s "checking for $ac_word... " >&6; }
10396 if test -n "$ac_ct_RANLIB"; then
10400 for as_dir in $PATH
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10421 if test -n "$ac_ct_RANLIB"; then
10422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10426 printf "%s\n" "no" >&6; }
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10444 test -z "$RANLIB" && RANLIB=:
10451 # Determine commands to create old-style static archives.
10456 if test -n "$RANLIB"; then
10459 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10472 lock_old_archive_extraction=no ;;
10513 # If no C compiler was specified, use CC.
10514 LTCC=${LTCC-"$CC"}
10516 # If no C compiler flags were specified, use CFLAGS.
10517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10523 # Check for command to grab the raw symbol name followed by C symbol from nm.
10524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler o…
10538 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10540 # Define system-specific variables.
10577 case `$NM -V 2>&1` in
10584 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
10586 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10587 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
10589 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
10590 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
10602 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
10604 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
10605 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
10608 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
10610 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10611 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
10615 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
10617 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10618 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
10619 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
10630 for ac_symprfx in "" "_"; do
10637 # Fake it for dumpbin and say T for any non-static function,
10638 # D for any global variable and I for any imported variable.
10643 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10657 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympa…
10662 pipe_works=no
10664 rm -f conftest*
10678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10686 …if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$n…
10689 mv -f "$nlist"T "$nlist"
10691 rm -f "$nlist"T
10701 relocations are performed -- see ld's documentation on pseudo-relocs. */
10716 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10729 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
10751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10755 test $ac_status = 0; } && test -s conftest$ac_exeext; then
10773 rm -rf conftest* conftst*
10785 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10788 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10799 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10840 printf %s "checking for sysroot... " >&6; }
10842 # Check whether --with-sysroot was given.
10847 with_sysroot=no
10855 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10859 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
10861 no|'')
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10871 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10878 printf %s "checking for a working dd... " >&6; }
10886 if test -z "$lt_DD"; then
10888 # Loop through the user's path and test for each of PROGNAME-LIST
10890 for as_dir in $PATH
10898 for ac_prog in dd
10900 for ac_exec_ext in '' $ac_executable_extensions; do
10904 cmp -s conftest.i conftest.out \
10912 if test -z "$ac_cv_path_lt_DD"; then
10919 rm -f conftest.i conftest2.i conftest.out
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10935 cmp -s conftest.i conftest.out \
10938 rm -f conftest.i conftest2.i conftest.out
10939 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10950 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
10953 for cc_temp in $*""; do
10957 \-*) ;;
10961 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10964 # Check whether --enable-libtool-lock was given.
10970 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
10972 # Some flags need to be propagated to the compiler or linker for good
10975 ia64-*-hpux*)
10979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10982 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10985 *ELF-32*)
10988 *ELF-64*)
10993 rm -rf conftest*
10995 *-*-irix6*)
10999 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11006 *32-bit*)
11007 LD="${LD-ld} -melf32bsmip"
11010 LD="${LD-ld} -melf32bmipn32"
11012 *64-bit*)
11013 LD="${LD-ld} -melf64bmip"
11018 *32-bit*)
11019 LD="${LD-ld} -32"
11022 LD="${LD-ld} -n32"
11024 *64-bit*)
11025 LD="${LD-ld} -64"
11030 rm -rf conftest*
11033 mips64*-*linux*)
11037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11040 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11044 *32-bit*)
11047 *64-bit*)
11064 LD="${LD-ld} -m $emul"
11066 rm -rf conftest*
11069 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
11070 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11074 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
11075 # vice versa); the common cases where no linker options are needed do
11078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11084 *32-bit*)
11086 x86_64-*kfreebsd*-gnu)
11087 LD="${LD-ld} -m elf_i386_fbsd"
11089 x86_64-*linux*)
11091 *x86-64*)
11092 LD="${LD-ld} -m elf32_x86_64"
11095 LD="${LD-ld} -m elf_i386"
11099 powerpc64le-*linux*)
11100 LD="${LD-ld} -m elf32lppclinux"
11102 powerpc64-*linux*)
11103 LD="${LD-ld} -m elf32ppclinux"
11105 s390x-*linux*)
11106 LD="${LD-ld} -m elf_s390"
11108 sparc64-*linux*)
11109 LD="${LD-ld} -m elf32_sparc"
11113 *64-bit*)
11115 x86_64-*kfreebsd*-gnu)
11116 LD="${LD-ld} -m elf_x86_64_fbsd"
11118 x86_64-*linux*)
11119 LD="${LD-ld} -m elf_x86_64"
11121 powerpcle-*linux*)
11122 LD="${LD-ld} -m elf64lppc"
11124 powerpc-*linux*)
11125 LD="${LD-ld} -m elf64ppc"
11127 s390*-*linux*|s390*-*tpf*)
11128 LD="${LD-ld} -m elf64_s390"
11130 sparc*-*linux*)
11131 LD="${LD-ld} -m elf64_sparc"
11137 rm -rf conftest*
11140 *-*-sco3.2v5*)
11141 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11143 CFLAGS="$CFLAGS -belf"
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11145 printf %s "checking whether the C compiler needs -belf... " >&6; }
11151 ac_cpp='$CPP $CPPFLAGS'
11152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11170 lt_cv_cc_needs_belf=no
11172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 ac_cpp='$CPP $CPPFLAGS'
11176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
11184 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11188 *-*solaris*)
11192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11198 *64-bit*)
11202 i?86-*-solaris*|x86_64-*-solaris*)
11203 LD="${LD-ld} -m elf_x86_64"
11205 sparc*-*-solaris*)
11206 LD="${LD-ld} -m elf64_sparc"
11210 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
11211 LD=${LD-ld}_sol2
11215 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11216 LD="${LD-ld} -64"
11223 rm -rf conftest*
11229 if test -n "$ac_tool_prefix"; then
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11233 printf %s "checking for $ac_word... " >&6; }
11238 if test -n "$MANIFEST_TOOL"; then
11242 for as_dir in $PATH
11250 for ac_exec_ext in '' $ac_executable_extensions; do
11253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11263 if test -n "$MANIFEST_TOOL"; then
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11268 printf "%s\n" "no" >&6; }
11273 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11278 printf %s "checking for $ac_word... " >&6; }
11283 if test -n "$ac_ct_MANIFEST_TOOL"; then
11287 for as_dir in $PATH
11295 for ac_exec_ext in '' $ac_executable_extensions; do
11298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11308 if test -n "$ac_ct_MANIFEST_TOOL"; then
11309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11313 printf "%s\n" "no" >&6; }
11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11331 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11338 lt_cv_path_mainfest_tool=no
11339 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11340 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11345 rm -f conftest*
11347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11360 if test -n "$ac_tool_prefix"; then
11363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11364 printf %s "checking for $ac_word... " >&6; }
11369 if test -n "$DSYMUTIL"; then
11373 for as_dir in $PATH
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11394 if test -n "$DSYMUTIL"; then
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11399 printf "%s\n" "no" >&6; }
11404 if test -z "$ac_cv_prog_DSYMUTIL"; then
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11409 printf %s "checking for $ac_word... " >&6; }
11414 if test -n "$ac_ct_DSYMUTIL"; then
11418 for as_dir in $PATH
11426 for ac_exec_ext in '' $ac_executable_extensions; do
11429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11439 if test -n "$ac_ct_DSYMUTIL"; then
11440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 printf "%s\n" "no" >&6; }
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11462 if test -n "$ac_tool_prefix"; 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 "$NMEDIT"; 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 "$NMEDIT"; then
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11501 printf "%s\n" "no" >&6; }
11506 if test -z "$ac_cv_prog_NMEDIT"; then
11510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11511 printf %s "checking for $ac_word... " >&6; }
11516 if test -n "$ac_ct_NMEDIT"; then
11520 for as_dir in $PATH
11528 for ac_exec_ext in '' $ac_executable_extensions; do
11531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11541 if test -n "$ac_ct_NMEDIT"; then
11542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11546 printf "%s\n" "no" >&6; }
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11564 if test -n "$ac_tool_prefix"; 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 "$LIPO"; 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 "$LIPO"; then
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11603 printf "%s\n" "no" >&6; }
11608 if test -z "$ac_cv_prog_LIPO"; then
11612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11613 printf %s "checking for $ac_word... " >&6; }
11618 if test -n "$ac_ct_LIPO"; then
11622 for as_dir in $PATH
11630 for ac_exec_ext in '' $ac_executable_extensions; do
11633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11643 if test -n "$ac_ct_LIPO"; then
11644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11648 printf "%s\n" "no" >&6; }
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11666 if test -n "$ac_tool_prefix"; 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 "$OTOOL"; 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 "$OTOOL"; then
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11705 printf "%s\n" "no" >&6; }
11710 if test -z "$ac_cv_prog_OTOOL"; then
11714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11715 printf %s "checking for $ac_word... " >&6; }
11720 if test -n "$ac_ct_OTOOL"; then
11724 for as_dir in $PATH
11732 for ac_exec_ext in '' $ac_executable_extensions; do
11735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11745 if test -n "$ac_ct_OTOOL"; then
11746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 printf "%s\n" "no" >&6; }
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11768 if test -n "$ac_tool_prefix"; 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 "$OTOOL64"; 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 "$OTOOL64"; then
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11807 printf "%s\n" "no" >&6; }
11812 if test -z "$ac_cv_prog_OTOOL64"; then
11816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11817 printf %s "checking for $ac_word... " >&6; }
11822 if test -n "$ac_ct_OTOOL64"; then
11826 for as_dir in $PATH
11834 for ac_exec_ext in '' $ac_executable_extensions; do
11837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11847 if test -n "$ac_ct_OTOOL64"; then
11848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 printf "%s\n" "no" >&6; }
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11897 printf %s "checking for -single_module linker flag... " >&6; }
11902 lt_cv_apple_cc_single_mod=no
11903 if test -z "$LT_MULTI_MODULE"; then
11904 # By default we will add the -single_module flag. You can override
11906 # non-empty at configure time, or by adding -multi_module to the
11908 rm -rf libconftest.dylib*
11910 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11911 -dynamiclib -Wl,-single_module conftest.c" >&5
11912 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11913 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11915 # If there is a non-empty error log, and "single_module"
11917 if test -s conftest.err && $GREP single_module conftest.err; then
11921 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11926 rm -rf libconftest.dylib*
11927 rm -f conftest.*
11930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11933 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11934 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11939 lt_cv_ld_exported_symbols_list=no
11942 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 lt_cv_ld_exported_symbols_list=no
11959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11968 printf %s "checking for -force_load linker flag... " >&6; }
11973 lt_cv_ld_force_load=no
11977 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11978 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11986 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11987 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11989 if test -s conftest.err && $GREP force_load conftest.err; then
11991 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11996 rm -f conftest.err libconftest.a conftest conftest.c
11997 rm -rf conftest.dSYM
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
12004 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
12006 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12009 10.[012],*|,*powerpc*-darwin[5-8]*)
12010 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12012 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
12020 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
12022 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
12024 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
12033 # -----------------------------------
12058 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
12059 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
12075 # ------------------------------------ #
12077 # ------------------------------------ #
12082 # require separate configuration and build runs for each flavor.
12093 xc_lt_want_enable_shared='no'
12098 xc_lt_want_enable_static='no'
12108 # and build runs for shared and static is to enable shared libraries
12109 # and disable static ones. On these systems option '--disable-shared'
12117 xc_lt_want_enable_static='no'
12132 # Default behavior is to build PIC objects for shared libraries and
12133 # non-PIC objects for static libraries.
12144 xc_lt_want_with_pic='no'
12153 # of non-PIC compiled objects will fail with following linker error
12155 # is to build PIC objects even for static libraries. This behavior may
12156 # be overridden using 'configure --disable-shared --without-pic'.
12179 ## ----------------------- ##
12181 ## ----------------------- ##
12190 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
12191 if test -n "$ac_tool_prefix"; then
12194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12195 printf %s "checking for $ac_word... " >&6; }
12200 if test -n "$AS"; then
12204 for as_dir in $PATH
12212 for ac_exec_ext in '' $ac_executable_extensions; do
12215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12225 if test -n "$AS"; then
12226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12230 printf "%s\n" "no" >&6; }
12235 if test -z "$ac_cv_prog_AS"; then
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12240 printf %s "checking for $ac_word... " >&6; }
12245 if test -n "$ac_ct_AS"; then
12249 for as_dir in $PATH
12257 for ac_exec_ext in '' $ac_executable_extensions; do
12260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12270 if test -n "$ac_ct_AS"; then
12271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12275 printf "%s\n" "no" >&6; }
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12293 if test -n "$ac_tool_prefix"; 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 "$DLLTOOL"; 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 "$DLLTOOL"; then
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12332 printf "%s\n" "no" >&6; }
12337 if test -z "$ac_cv_prog_DLLTOOL"; then
12341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12342 printf %s "checking for $ac_word... " >&6; }
12347 if test -n "$ac_ct_DLLTOOL"; then
12351 for as_dir in $PATH
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12372 if test -n "$ac_ct_DLLTOOL"; then
12373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 printf "%s\n" "no" >&6; }
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12395 if test -n "$ac_tool_prefix"; 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 "$OBJDUMP"; 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 "$OBJDUMP"; then
12430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12434 printf "%s\n" "no" >&6; }
12439 if test -z "$ac_cv_prog_OBJDUMP"; then
12443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12444 printf %s "checking for $ac_word... " >&6; }
12449 if test -n "$ac_ct_OBJDUMP"; then
12453 for as_dir in $PATH
12461 for ac_exec_ext in '' $ac_executable_extensions; do
12464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12474 if test -n "$ac_ct_OBJDUMP"; then
12475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 printf "%s\n" "no" >&6; }
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12500 test -z "$AS" && AS=as
12506 test -z "$DLLTOOL" && DLLTOOL=dlltool
12512 test -z "$OBJDUMP" && OBJDUMP=objdump
12520 enable_dlopen=no
12524 # Check whether --enable-shared was given.
12527 enableval=$enable_shared; p=${PACKAGE-default}
12530 no) enable_shared=no ;;
12532 enable_shared=no
12535 for pkg in $enableval; do
12556 # Check whether --enable-static was given.
12559 enableval=$enable_static; p=${PACKAGE-default}
12562 no) enable_static=no ;;
12564 enable_static=no
12567 for pkg in $enableval; do
12589 # Check whether --with-pic was given.
12592 withval=$with_pic; lt_p=${PACKAGE-default}
12594 yes|no) pic_mode=$withval ;;
12599 for lt_pkg in $withval; do
12619 # Check whether --enable-fast-install was given.
12622 enableval=$enable_fast_install; p=${PACKAGE-default}
12625 no) enable_fast_install=no ;;
12627 enable_fast_install=no
12630 for pkg in $enableval; do
12652 power*-*-aix[5-9]*,yes)
12653 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning …
12656 # Check whether --with-aix-soname was given.
12663 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
12678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
12681 # For the AIX way of multilib, we name the shared archive member
12683 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
12684 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12686 if test 64 = "${OBJECT_MODE-32}"; then
12742 test -z "$LN_S" && LN_S="ln -s"
12757 if test -n "${ZSH_VERSION+set}"; then
12761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12762 printf %s "checking for objdir... " >&6; }
12767 rm -f .libs 2>/dev/null
12769 if test -d .libs; then
12772 # MS-DOS does not allow filenames that begin with a dot.
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
12792 # AIX sometimes has problems with the GCC collect2 program. For some
12806 # All known linkers require a '.a' archive for static linking (except MSVC and
12815 # Set sane defaults for various variables
12816 test -z "$CC" && CC=cc
12817 test -z "$LTCC" && LTCC=$CC
12818 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12819 test -z "$LD" && LD=ld
12820 test -z "$ac_objext" && ac_objext=o
12826 # Only perform the check for file, if the check method requires it
12827 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12832 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
12845 for ac_dir in $ac_dummy; do
12847 test -z "$ac_dir" && ac_dir=.
12848 if test -f "$ac_dir/${ac_tool_prefix}file"; then
12850 if test -n "$file_magic_test_file"; then
12868 *** bug-libtool@gnu.org
12884 if test -n "$MAGIC_CMD"; then
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12889 printf "%s\n" "no" >&6; }
12896 if test -z "$lt_cv_path_MAGIC_CMD"; then
12897 if test -n "$ac_tool_prefix"; then
12898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12899 printf %s "checking for file... " >&6; }
12912 for ac_dir in $ac_dummy; do
12914 test -z "$ac_dir" && ac_dir=.
12915 if test -f "$ac_dir/file"; then
12917 if test -n "$file_magic_test_file"; then
12935 *** bug-libtool@gnu.org
12951 if test -n "$MAGIC_CMD"; then
12952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 printf "%s\n" "no" >&6; }
12969 # Use C for the default configuration in the libtool script
12973 ac_cpp='$CPP $CPPFLAGS'
12974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12979 # Source file extension for C test sources.
12982 # Object file extension for compiled C test sources.
12998 # If no C compiler was specified, use CC.
12999 LTCC=${LTCC-"$CC"}
13001 # If no C compiler flags were specified, use CFLAGS.
13002 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13022 $RM -r conftest*
13026 ## There is no encapsulation within the following macros, do not change
13029 if test -n "$compiler"; then
13036 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13038 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13041 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-except…
13042 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13047 lt_cv_prog_compiler_rtti_exceptions=no
13050 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
13057 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13058 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13059 -e 's:$: $lt_compiler_flag:'`
13065 if (exit $ac_status) && test -s "$ac_outfile"; then
13067 # So say no if there are warnings other than the usual output.
13070 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13081 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13099 lt_prog_compiler_wl='-Wl,'
13100 lt_prog_compiler_static='-static'
13107 lt_prog_compiler_static='-Bstatic'
13109 lt_prog_compiler_pic='-fPIC'
13116 lt_prog_compiler_pic='-fPIC'
13120 # adding the '-m68020' flag to GCC prevents building anything better,
13121 # like '-m68040'.
13122 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13128 # PIC is the default for these OSes.
13133 # built for inclusion in a dll (and should export symbols for example).
13134 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13135 # (--disable-auto-import) libraries
13136 lt_prog_compiler_pic='-DDLL_EXPORT'
13139 lt_prog_compiler_static='$wl-static'
13147 lt_prog_compiler_pic='-fno-common'
13151 # PIC is the default for Haiku.
13152 # The "-static" flag exists, but is broken.
13157 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13158 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13165 lt_prog_compiler_pic='-fPIC'
13170 interix[3-9]*)
13171 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13178 lt_prog_compiler_can_build_shared=no
13179 enable_shared=no
13183 # QNX uses GNU C++, but need to define -shared option too, otherwise
13185 lt_prog_compiler_pic='-fPIC -shared'
13189 if test -d /usr/nec; then
13190 lt_prog_compiler_pic=-Kconform_pic
13195 lt_prog_compiler_pic='-fPIC'
13201 lt_prog_compiler_wl='-Xlinker '
13202 if test -n "$lt_prog_compiler_pic"; then
13203 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13208 # PORTME Check for flag to pass linker flags through the system compiler.
13211 lt_prog_compiler_wl='-Wl,'
13214 lt_prog_compiler_static='-Bstatic'
13216 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13223 lt_prog_compiler_pic='-fno-common'
13227 lt_prog_compiler_wl='-Wl,-Wl,,'
13228 lt_prog_compiler_pic='-PIC'
13229 lt_prog_compiler_static='-Bstatic'
13236 # built for inclusion in a dll (and should export symbols for example).
13237 lt_prog_compiler_pic='-DDLL_EXPORT'
13240 lt_prog_compiler_static='$wl-static'
13246 lt_prog_compiler_wl='-Wl,'
13247 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13248 # not for PA HP-UX.
13258 lt_prog_compiler_static='$wl-a ${wl}archive'
13262 lt_prog_compiler_wl='-Wl,'
13263 # PIC (with -KPIC) is the default.
13264 lt_prog_compiler_static='-non_shared'
13267 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13269 # old Intel for x86_64, which still supported -KPIC.
13271 lt_prog_compiler_wl='-Wl,'
13272 lt_prog_compiler_pic='-KPIC'
13273 lt_prog_compiler_static='-static'
13275 # flang / f18. f95 an alias for gfortran or flang on Debian
13277 lt_prog_compiler_wl='-Wl,'
13278 lt_prog_compiler_pic='-fPIC'
13279 lt_prog_compiler_static='-static'
13282 # ICC 10 doesn't accept -KPIC any more.
13284 lt_prog_compiler_wl='-Wl,'
13285 lt_prog_compiler_pic='-fPIC'
13286 lt_prog_compiler_static='-static'
13290 lt_prog_compiler_wl='-Wl,'
13291 lt_prog_compiler_pic='--shared'
13292 lt_prog_compiler_static='--static'
13296 lt_prog_compiler_wl='-Wl,-Wl,,'
13297 lt_prog_compiler_pic='-PIC'
13298 lt_prog_compiler_static='-Bstatic'
13302 lt_prog_compiler_wl='-Wl,'
13303 lt_prog_compiler_pic='-fPIC'
13304 lt_prog_compiler_static='-static'
13309 lt_prog_compiler_wl='-Wl,'
13310 lt_prog_compiler_pic='-fpic'
13311 lt_prog_compiler_static='-Bstatic'
13314 lt_prog_compiler_wl='-Wl,'
13316 lt_prog_compiler_static='-non_shared'
13320 lt_prog_compiler_wl='-Wl,'
13321 lt_prog_compiler_pic='-qpic'
13322 lt_prog_compiler_static='-qstaticlink'
13325 case `$CC -V 2>&1 | $SED 5q` in
13326 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13328 lt_prog_compiler_pic='-KPIC'
13329 lt_prog_compiler_static='-Bstatic'
13333 lt_prog_compiler_pic='-KPIC'
13334 lt_prog_compiler_static='-Bstatic'
13335 lt_prog_compiler_wl='-Qoption ld '
13339 lt_prog_compiler_pic='-KPIC'
13340 lt_prog_compiler_static='-Bstatic'
13341 lt_prog_compiler_wl='-Wl,'
13344 lt_prog_compiler_wl='-Wl,'
13345 lt_prog_compiler_pic='-fPIC'
13346 lt_prog_compiler_static='-static'
13349 lt_prog_compiler_wl='-Wl,'
13350 lt_prog_compiler_pic='-fpic'
13351 lt_prog_compiler_static='-Bstatic'
13359 lt_prog_compiler_pic='-KPIC'
13360 lt_prog_compiler_static='-Bstatic'
13364 # QNX uses GNU C++, but need to define -shared option too, otherwise
13366 lt_prog_compiler_pic='-fPIC -shared'
13370 lt_prog_compiler_wl='-Wl,'
13372 lt_prog_compiler_static='-non_shared'
13376 lt_prog_compiler_static='-non_shared'
13380 lt_prog_compiler_pic='-KPIC'
13381 lt_prog_compiler_static='-Bstatic'
13384 lt_prog_compiler_wl='-Qoption ld ';;
13386 lt_prog_compiler_wl='-Wl,';;
13391 lt_prog_compiler_wl='-Qoption ld '
13392 lt_prog_compiler_pic='-PIC'
13393 lt_prog_compiler_static='-Bstatic'
13397 lt_prog_compiler_wl='-Wl,'
13398 lt_prog_compiler_pic='-KPIC'
13399 lt_prog_compiler_static='-Bstatic'
13403 if test -d /usr/nec; then
13404 lt_prog_compiler_pic='-Kconform_pic'
13405 lt_prog_compiler_static='-Bstatic'
13410 lt_prog_compiler_wl='-Wl,'
13411 lt_prog_compiler_pic='-KPIC'
13412 lt_prog_compiler_static='-Bstatic'
13416 lt_prog_compiler_wl='-Wl,'
13417 lt_prog_compiler_can_build_shared=no
13421 lt_prog_compiler_pic='-pic'
13422 lt_prog_compiler_static='-Bstatic'
13426 lt_prog_compiler_can_build_shared=no
13432 # For platforms that do not support PIC, -DPIC is meaningless:
13437 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13442 printf %s "checking for $compiler option to produce PIC... " >&6; }
13449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13456 if test -n "$lt_prog_compiler_pic"; then
13457 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
13463 lt_cv_prog_compiler_pic_works=no
13466 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13475 -e 's:$: $lt_compiler_flag:'`
13481 if (exit $ac_status) && test -s "$ac_outfile"; then
13483 # So say no if there are warnings other than the usual output.
13486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13503 lt_prog_compiler_can_build_shared=no
13522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
13528 lt_cv_prog_compiler_static_works=no
13532 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13534 # So say no if there are warnings
13535 if test -s conftest.err; then
13536 # Append any errors to the config.log.
13547 $RM -r conftest*
13551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13566 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13567 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13572 lt_cv_prog_compiler_c_o=no
13573 $RM -r conftest 2>/dev/null
13579 lt_compiler_flag="-o out/conftest2.$ac_objext"
13585 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13586 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13587 -e 's:$: $lt_compiler_flag:'`
13593 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13596 # So say no if there are warnings
13599 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13605 # SGI C++ compiler will create directory out/ii_files/ for
13607 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13610 $RM -r conftest
13614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13622 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13623 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13628 lt_cv_prog_compiler_c_o=no
13629 $RM -r conftest 2>/dev/null
13635 lt_compiler_flag="-o out/conftest2.$ac_objext"
13641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13643 -e 's:$: $lt_compiler_flag:'`
13649 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13652 # So say no if there are warnings
13655 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13661 # SGI C++ compiler will create directory out/ii_files/ for
13663 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13666 $RM -r conftest
13670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13677 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
13679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13683 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13685 ln conftest.a conftest.b 2>&5 || hard_links=no
13686 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13689 if test no = "$hard_links"; then
13690 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j…
13691 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13695 need_locks=no
13703 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports…
13708 always_export_symbols=no
13711 compiler_needs_object=no
13712 enable_shared_with_static_runtimes=no
13715 hardcode_automatic=no
13716 hardcode_direct=no
13717 hardcode_direct_absolute=no
13720 hardcode_minus_L=no
13722 inherit_rpath=no
13730 # include_expsyms should be a list of space-separated symbols to be *always*
13752 with_gnu_ld=no
13760 with_gnu_ld=no
13762 linux* | k*bsd*-gnu | gnu*)
13763 link_all_deplibs=no
13770 # that we're better off using the native interface for both.
13771 lt_use_gnu_ld_interface=no
13779 case `$LD -v 2>&1` in
13781 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13782 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13798 # Set some defaults for GNU ld with shared library support. These
13802 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13803 export_dynamic_flag_spec='$wl--export-dynamic'
13804 # ancient GNU ld didn't support --whole-archive et. al.
13805 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13806 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13810 supports_anon_versioning=no
13811 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
13813 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13822 aix[3-9]*)
13825 ld_shlibs=no
13831 *** really care for shared libraries, you may want to install binutils
13832 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13843 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13847 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13848 hardcode_libdir_flag_spec='-L$libdir'
13855 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13858 # support --undefined. This deserves some investigation. FIXME
13859 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13861 ld_shlibs=no
13867 # as there is no search path for DLLs.
13868 hardcode_libdir_flag_spec='-L$libdir'
13869 export_dynamic_flag_spec='$wl--export-all-symbols'
13871 always_export_symbols=no
13873 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
13874 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
13876 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13877 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
13878 # If the export-symbols file already is a .def file, use it as
13880 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
13886 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
13888 ld_shlibs=no
13893 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13898 hardcode_libdir_flag_spec='-L$libdir'
13907 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13908 emximp -o $lib $output_objdir/$libname.def'
13915 prefix_cmds="$prefix_cmds -e 1d";
13917 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13919 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13920 emximp -o $lib $output_objdir/$libname.def'
13921 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13926 interix[3-9]*)
13927 hardcode_direct=no
13928 hardcode_shlibpath_var=no
13929 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13930 export_dynamic_flag_spec='$wl-E'
13935 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13937 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
13938-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
13941 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13942 tmp_diet=no
13943 if test linux-dietlibc = "$host_os"; then
13945 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13948 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13949 && test no = "$tmp_diet"
13952 tmp_sharedflag='-shared'
13955--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
13960--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
13961 tmp_addflag=' $pic_flag -Mnomain' ;;
13963 tmp_addflag=' -i_dynamic' ;;
13965 tmp_addflag=' -i_dynamic -nofor_main' ;;
13967 tmp_addflag=' -nofor_main' ;;
13970 tmp_sharedflag='--shared' ;;
13972 tmp_sharedflag='-Wl,-shared' ;;
13974 tmp_sharedflag='-qmkshrobj'
13977--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
13981 case `$CC -V 2>&1 | $SED 5q` in
13983--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
13985 tmp_sharedflag='-G' ;;
13987 tmp_sharedflag='-G' ;;
13989 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13993 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13995 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
14000 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14001 export_dynamic_flag_spec='-rdynamic'
14005 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14006 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14007 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14010 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14012 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
14017 ld_shlibs=no
14021 netbsd* | netbsdelf*-gnu)
14022 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14023 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14026 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14027 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14032 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14033 ld_shlibs=no
14044 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14045 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14046 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14048 ld_shlibs=no
14053 case `$LD -v 2>&1` in
14054 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14055 ld_shlibs=no
14068 # For security reasons, it is highly recommended that you always
14069 # use absolute paths for naming shared libraries, and exclude the
14072 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14073 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14074 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14075 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
14077 ld_shlibs=no
14084 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14087 hardcode_shlibpath_var=no
14091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14092 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14093 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14095 ld_shlibs=no
14100 if test no = "$ld_shlibs"; then
14112 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
14114 # are no directories specified by -L.
14116 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14123 aix[4-9]*)
14127 aix_use_runtimelinking=no
14128 exp_sym_flag='-Bexport'
14131 # If we're using GNU nm, then we don't want the "-C" option.
14132 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14133 # Without the "-l" option, or with the "-B" option, AIX nm treats
14137 # it in the Import File for the 'aix-soname' feature, so we have
14138 # to replace the "-B" option with "-P" for AIX nm.
14139 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14140-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
14142-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
14144 aix_use_runtimelinking=no
14147 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14148 # have runtime linking enabled, and use it for executables.
14149 # For shared libraries, we enable/disable runtime linking
14150 # depending on the kind of the shared library created -
14152 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14153 # "aix,yes" lib.so shared, rtl:yes, for executables
14155 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14156 # lib.a(lib.so.V) shared, rtl:no, for executables
14157 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14158 # lib.a(lib.so.V) shared, rtl:no
14159 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14161 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14162 for ld_flag in $LDFLAGS; do
14163 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14168 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14169 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14173 LDFLAGS="$LDFLAGS -Wl,-brtl"
14178 exp_sym_flag='-bexport'
14179 no_entry_flag='-bnoentry'
14184 # or program results in "error TOC overflow" add -mminimal-toc to
14185 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14186 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14193 file_list_spec='$wl-f,'
14195 aix,*) ;; # traditional, no import file
14198 hardcode_direct=no
14199 hardcode_direct_absolute=no
14206 # below for broken collect2 doesn't work under 4.3+
14207 collect2name=`$CC -print-prog-name=collect2`
14208 if test -f "$collect2name" &&
14220 hardcode_libdir_flag_spec='-L$libdir'
14225 shared_flag='-shared'
14227 shared_flag="$shared_flag "'$wl-G'
14229 # Need to ensure runtime linking is disabled for the traditional
14231 # /with/ Import File - we do not want to mix them.
14232 shared_flag_aix='-shared'
14233 shared_flag_svr4='-shared $wl-G'
14237 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14238 # chokes on -Wl,-G. The following line is correct:
14239 shared_flag='-G'
14242 shared_flag='$wl-G'
14244 shared_flag='$wl-bM:SRE'
14246 shared_flag_aix='$wl-bM:SRE'
14247 shared_flag_svr4='$wl-G'
14251 export_dynamic_flag_spec='$wl-bexpall'
14252 # It seems that -bexpall does not export symbols beginning with
14256 # Warning - without using the other runtime loading flags (-brtl),
14257 # -berok will link without error, but may produce a broken library.
14258 allow_undefined_flag='-berok'
14268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14289 # Check for a 64-bit object if we didn't find anything.
14290 if test -z "$lt_cv_aix_libpath_"; then
14291 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14296 if test -z "$lt_cv_aix_libpath_"; then
14305 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14306 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
14309 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
14310 allow_undefined_flag="-z nodefs"
14311 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
14322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14343 # Check for a 64-bit object if we didn't find anything.
14344 if test -z "$lt_cv_aix_libpath_"; then
14345 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14350 if test -z "$lt_cv_aix_libpath_"; then
14359 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14360 # Warning - without using the other run time loading flags,
14361 # -berok will link without error, but may produce a broken library.
14362 no_undefined_flag=' $wl-bernotok'
14363 allow_undefined_flag=' $wl-berok'
14365 # We only use this code for GNU lds that support --whole-archive.
14366 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
14372 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14373 # -brtl affects multiple linker settings, -berok does not and is overridden later
14374 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
14377 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
14380-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
14382 # used by -dlpreopen to get the symbols
14385 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
14394 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14398 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14399 hardcode_libdir_flag_spec='-L$libdir'
14406 export_dynamic_flag_spec=-rdynamic
14413 # no search path for DLLs.
14426 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
14427 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
14431 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14433 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
14439 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
14451 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14452 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
14465 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
14469 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14478 archive_cmds_need_lc=no
14479 hardcode_direct=no
14483 …whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\…
14496 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
14497 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
14498 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
14499 …e_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
14502 ld_shlibs=no
14508 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14509 hardcode_libdir_flag_spec='-L$libdir'
14510 hardcode_shlibpath_var=no
14518 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14519 hardcode_libdir_flag_spec='-R$libdir'
14521 hardcode_shlibpath_var=no
14526 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14529 hardcode_shlibpath_var=no
14532 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14534 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14535 hardcode_libdir_flag_spec='-R$libdir'
14537 hardcode_shlibpath_var=no
14542 …archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output…
14544 …archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libo…
14553 export_dynamic_flag_spec='$wl-E'
14557 if test yes,no = "$GCC,$with_gnu_ld"; then
14558 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14560 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14562 if test no = "$with_gnu_ld"; then
14567 export_dynamic_flag_spec='$wl-E'
14575 if test yes,no = "$GCC,$with_gnu_ld"; then
14578 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14581 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
14584 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14590 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14593 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14597 # Older versions of the 11.00 compiler do not understand -b yet
14598 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14600 printf %s "checking if $CC understands -b... " >&6; }
14605 lt_cv_prog_compiler__b=no
14607 LDFLAGS="$LDFLAGS -b"
14609 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14611 # So say no if there are warnings
14612 if test -s conftest.err; then
14613 # Append any errors to the config.log.
14624 $RM -r conftest*
14628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
14632 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
14634 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14640 if test no = "$with_gnu_ld"; then
14646 hardcode_direct=no
14647 hardcode_shlibpath_var=no
14652 export_dynamic_flag_spec='$wl-E'
14664-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14665 # Try to use the -exported_symbol ld option, if it does not
14666 # work, assume that -exports_file does not work either and
14668 # This should be the same for all languages, so no per-tag cache variable.
14669 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -export…
14670 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14676 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
14677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 lt_cv_irix_exported_symbol=no
14687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14694-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14696 link_all_deplibs=no
14698-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14699-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14701 archive_cmds_need_lc='no'
14702 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14713 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14714 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14719 netbsd* | netbsdelf*-gnu)
14720 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14721 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14723 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14725 hardcode_libdir_flag_spec='-R$libdir'
14727 hardcode_shlibpath_var=no
14731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14733 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14735 hardcode_shlibpath_var=no
14742 if test -f /usr/libexec/ld.so; then
14744 hardcode_shlibpath_var=no
14746 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14747 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14748 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
14749 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14750 export_dynamic_flag_spec='$wl-E'
14752 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14753 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14756 ld_shlibs=no
14761 hardcode_libdir_flag_spec='-L$libdir'
14770 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14771 emximp -o $lib $output_objdir/$libname.def'
14778 prefix_cmds="$prefix_cmds -e 1d";
14780 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14782 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14783 emximp -o $lib $output_objdir/$libname.def'
14784 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14791 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14792-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
14794 allow_undefined_flag=' -expect_unresolved \*'
14795-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
14797 archive_cmds_need_lc='no'
14798 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14802 osf4* | osf5*) # as osf3* with the addition of -msym flag
14804 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14805-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
14806 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14808 allow_undefined_flag=' -expect_unresolved \*'
14809-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
14810 …rchive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >>…
14811-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
14813 # Both c and cxx compiler support -rpath directly
14814 hardcode_libdir_flag_spec='-rpath $libdir'
14816 archive_cmds_need_lc='no'
14821 no_undefined_flag=' -z defs'
14824 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
14825 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14826 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
14828 case `$CC -V 2>&1` in
14831 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
14832 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14833 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
14837 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14838 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14839 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
14843 hardcode_libdir_flag_spec='-R$libdir'
14844 hardcode_shlibpath_var=no
14846 solaris2.[0-5] | solaris2.[0-5].*) ;;
14849 # but understands '-z linker_flag'. GCC discards it without '$wl',
14853 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14855 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
14866 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14868 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14870 hardcode_libdir_flag_spec='-L$libdir'
14873 hardcode_shlibpath_var=no
14879 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14885 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14886 reload_cmds='$CC -r -o $output$reload_objs'
14887 hardcode_direct=no
14890 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14891 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14895 hardcode_shlibpath_var=no
14899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14900 hardcode_shlibpath_var=no
14901 export_dynamic_flag_spec='-Bexport'
14905 if test -d /usr/nec; then
14906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14907 hardcode_shlibpath_var=no
14915 no_undefined_flag='$wl-z,text'
14916 archive_cmds_need_lc=no
14917 hardcode_shlibpath_var=no
14921 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14922 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
14924 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14925 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
14930 # Note: We CANNOT use -z defs as we might desire, because we do not
14931 # link with -lc, and that would cause any symbols used from libc to
14932 # always be unresolved, which means just about no library would
14933 # ever link correctly. If we're not using GNU ld we use -z text
14934 # though, which does catch some bad symbols but isn't as heavy-handed
14935 # as -z defs.
14936 no_undefined_flag='$wl-z,text'
14937 allow_undefined_flag='$wl-z,nodefs'
14938 archive_cmds_need_lc=no
14939 hardcode_shlibpath_var=no
14940 hardcode_libdir_flag_spec='$wl-R,$libdir'
14943 export_dynamic_flag_spec='$wl-Bexport'
14947 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14948 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
14950 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14951 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
14956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14957 hardcode_libdir_flag_spec='-L$libdir'
14958 hardcode_shlibpath_var=no
14962 ld_shlibs=no
14969 export_dynamic_flag_spec='$wl-Blargedynsym'
14975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
14977 test no = "$ld_shlibs" && can_build_shared=no
15000 # Assume -lc should be added
15006 # FIXME: we may have to deal with multi-command sequences.
15009 # Test whether the compiler implicitly links with -lc since on some
15010 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15011 # to ld, don't add -lc before -lgcc.
15012 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in"…
15013 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
15021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15024 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 compiler_flags=-v
15033 linker_flags=-v
15039 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
15040 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15045 lt_cv_archive_cmds_need_lc=no
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15225 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15228 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
15232 # otherwise default to the standard path separator (i.e. ":") - it is
15233 # assumed that no part of a normal pathname contains ";" but that should
15244 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15246 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15252 for lt_sys_path in $lt_search_path_spec; do
15253 if test -d "$lt_sys_path$lt_multi_os_dir"; then
15255 elif test -n "$lt_multi_os_dir"; then
15256 test -d "$lt_sys_path" && \
15264 for (lt_i = NF; lt_i > 0; lt_i--) {
15272 lt_count--;
15281 # for these hosts.
15284 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
15304 hardcode_into_libs=no
15306 # when you set need_version to no, make sure it does not cause -set_version
15318 # AIX 3 has no versioning support, so we append a major version to the name.
15322 aix[4-9]*)
15324 need_lib_prefix=no
15325 need_version=no
15333 # for dependence libraries. The import file would start with
15341 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15344 can_build_shared=no
15349 # filename-based versioning of shared library archives on AIX. While
15350 # this would work for both with and without runtime linking, it will
15351 # prevent static linking of such archives. So we do filename-based
15356 # versioned .so libs for executables only if there is the -brtl
15357 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15358 # To allow for filename-based versioning support, we need to create
15368 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15371 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15381 aix,no) # traditional AIX only
15383 # We preserve .a as extension for shared libraries through AIX4.2
15398-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
15399 …postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~…
15403 *,no) # both, prefer aix
15408-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
15409 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
15420 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15426 …finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $…
15439 need_version=no
15448 # libtool to hard-code these into programs
15454 need_version=no
15455 need_lib_prefix=no
15463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15465 test -d \$dldir || mkdir -p \$dldir~
15468 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15471 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15479 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffi…
15485 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15489 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ve…
15498 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15506 for lt_path in $LIB
15510 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15515 …path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
15519 # but this time dos style (no spaces!) so that the unix form looks
15521 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15522 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15523 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
15527 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15529 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15531 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15534 # common. (e.g. "Program Files" -> "PROGRA~1")
15540 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15542 test -d \$dldir || mkdir -p \$dldir~
15544 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15553 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
15564 need_lib_prefix=no
15565 need_version=no
15578 need_lib_prefix=no
15579 need_version=no
15588 if test -x /usr/bin/objformat; then
15596 version_type=freebsd-$objformat
15598 freebsd-elf*)
15601 need_version=no
15602 need_lib_prefix=no
15604 freebsd-*)
15618 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15619 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15620 shlibpath_overrides_runpath=no
15632 need_lib_prefix=no
15633 need_version=no
15638 shlibpath_overrides_runpath=no
15639 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15647 need_lib_prefix=no
15648 need_version=no
15681 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15686 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15692 interix[3-9]*)
15694 need_lib_prefix=no
15695 need_version=no
15700 shlibpath_overrides_runpath=no
15714 need_lib_prefix=no
15715 need_version=no
15724 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15725 libsuff= shlibsuff= libmagic=32-bit;;
15726 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15728 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15729 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15730 *) libsuff= shlibsuff= libmagic=never-match;;
15735 shlibpath_overrides_runpath=no
15741 # No shared lib support for Linux oldld, aout, or coff.
15743 dynamic_linker=no
15748 need_lib_prefix=no
15749 need_version=no
15756 # This implies no fast_install, which is unacceptable.
15757 # Some rework will be needed to allow for fast_install
15762 # Don't embed -rpath directories since the linker doesn't support them.
15763 hardcode_libdir_flag_spec='-L$libdir'
15767 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15769 need_lib_prefix=no
15770 need_version=no
15773 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15775 shlibpath_overrides_runpath=no
15782 lt_cv_shlibpath_overrides_runpath=no
15787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
15804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15813 # This implies no fast_install, which is unacceptable.
15814 # Some rework will be needed to allow for fast_install
15819 # searched for libraries, however this is still not possible. Aside from not
15821 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15822 # even though it is searched at run-time. Try to do the best guess by
15824 if test -f /etc/ld.so.conf; then
15825 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
15829 # We used to test for /lib/ld.so.1 and disable shared libraries on
15832 # most powerpc-linux boxes support dynamic linking these days and
15833 # people can always --disable-shared, the test was removed, and we
15838 netbsdelf*-gnu)
15840 need_lib_prefix=no
15841 need_version=no
15845 shlibpath_overrides_runpath=no
15852 need_lib_prefix=no
15853 need_version=no
15854 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15856 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15877 need_lib_prefix=no
15878 need_version=no
15882 shlibpath_overrides_runpath=no
15890 need_lib_prefix=no
15891 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15892 need_version=no
15897 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15906 need_version=no
15907 need_lib_prefix=no
15909 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15910 v=$($ECHO $release$versuffix | tr -d .-);
15911 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15919 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15921 test -d \$dldir || mkdir -p \$dldir~
15924 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15927 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15934 need_lib_prefix=no
15935 need_version=no
15944 dynamic_linker=no
15949 need_lib_prefix=no
15950 need_version=no
15967 need_lib_prefix=no
15979 shlibpath_overrides_runpath=no
15980 need_lib_prefix=no
15984 need_lib_prefix=no
15987 need_lib_prefix=no
15988 need_version=no
15989 shlibpath_overrides_runpath=no
15996 if test -d /usr/nec; then
16006 need_lib_prefix=no
16007 need_version=no
16027 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16029 need_lib_prefix=no
16030 need_version=no
16033 shlibpath_overrides_runpath=no
16045 dynamic_linker=no
16048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16050 test no = "$dynamic_linker" && can_build_shared=no
16065 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16068 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16170 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs…
16173 if test -n "$hardcode_libdir_flag_spec" ||
16174 test -n "$runpath_var" ||
16177 # We can hardcode non-existent directories.
16178 if test no != "$hardcode_direct" &&
16181 # when we should be linking with a yet-to-be-installed one
16182 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16183 test no != "$hardcode_minus_L"; then
16195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16201 enable_fast_install=no
16203 test no = "$enable_shared"; then
16218 lt_cv_dlopen=no
16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16241 printf %s "checking for dlopen in -ldl... " >&6; }
16247 LIBS="-ldl $LIBS"
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16267 ac_cv_lib_dl_dlopen=no
16269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16277 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16289 # Don't try to run any link tests for TPF. We know it's impossible
16290 # because TPF is a cross-compiler, and we know how we open DSOs.
16293 lt_cv_dlopen_self=no
16302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
16303 printf %s "checking for shl_load in -ldld... " >&6; }
16309 LIBS="-ldld $LIBS"
16310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 ac_cv_lib_dld_shl_load=no
16331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
16339 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16347 printf %s "checking for dlopen in -ldl... " >&6; }
16353 LIBS="-ldl $LIBS"
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 ac_cv_lib_dl_dlopen=no
16375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16383 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16386 printf %s "checking for dlopen in -lsvld... " >&6; }
16392 LIBS="-lsvld $LIBS"
16393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16412 ac_cv_lib_svld_dlopen=no
16414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16422 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16425 printf %s "checking for dld_link in -ldld... " >&6; }
16431 LIBS="-ldld $LIBS"
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 ac_cv_lib_dld_dld_link=no
16453 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16461 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16482 if test no = "$lt_cv_dlopen"; then
16483 enable_dlopen=no
16491 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16552 /* When -fvisibility=hidden is used, assume the code has been annotated
16553 correspondingly for the symbols needed. */
16580 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16584 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16590 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
16594 lt_cv_dlopen_self=no
16597 rm -fr conftest*
16601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16606 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlo…
16659 /* When -fvisibility=hidden is used, assume the code has been annotated
16660 correspondingly for the symbols needed. */
16687 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16691 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16697 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16701 lt_cv_dlopen_self_static=no
16704 rm -fr conftest*
16708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16719 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16724 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16749 if test -z "$STRIP"; then
16750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16751 printf "%s\n" "no" >&6; }
16753 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16754 old_striplib="$STRIP --strip-debug"
16755 striplib="$STRIP --strip-unneeded"
16756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16761 # FIXME - insert some real tests, host_os isn't really good enough
16762 striplib="$STRIP -x"
16763 old_striplib="$STRIP -S"
16764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16768 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
16769 old_striplib="$STRIP --strip-debug"
16770 striplib="$STRIP --strip-unneeded"
16771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16775 printf "%s\n" "no" >&6; }
16779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16780 printf "%s\n" "no" >&6; }
16798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16805 test no = "$can_build_shared" && enable_shared=no
16811 test yes = "$enable_shared" && enable_static=no
16812 if test -n "$RANLIB"; then
16818 aix[4-9]*)
16823 yes,*) enable_static=no ;; # shared object in lib.a archive as well
16828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16843 ac_cpp='$CPP $CPPFLAGS'
16844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16872 ## --------------------- ##
16874 ## --------------------- ##
16903 # Verify if libtool shared libraries should be linked using flag -version-info
16906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -vers…
16907 printf %s "checking whether to build shared libraries with -version-info... " >&6; }
16910 xc_lt_shlib_use_version_info='no'
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
16921 # Verify if libtool shared libraries should be linked using flag -no-undefined
16924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-u…
16925 printf %s "checking whether to build shared libraries with -no-undefined... " >&6; }
16926 xc_lt_shlib_use_no_undefined='no'
16937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
16941 # Verify if libtool shared libraries should be linked using flag -mimpure-text
16944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimp…
16945 printf %s "checking whether to build shared libraries with -mimpure-text... " >&6; }
16946 xc_lt_shlib_use_mimpure_text='no'
16954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
16964 xc_lt_build_static_with_pic='no'
16971 xc_lt_build_shared_with_pic='no'
16972 xc_lt_build_static_with_pic='no'
16977 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mod…
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" …
16983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
16985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" …
16987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
16994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
16997 test "$xc_lt_build_static" = 'no'; then
17000 xc_lt_build_shared_only='no'
17002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
17009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
17012 test "$xc_lt_build_shared" = 'no'; then
17015 xc_lt_build_static_only='no'
17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
17023 if test -n "$ac_tool_prefix"; then
17026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17027 printf %s "checking for $ac_word... " >&6; }
17032 if test -n "$RC"; then
17036 for as_dir in $PATH
17044 for ac_exec_ext in '' $ac_executable_extensions; do
17047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17057 if test -n "$RC"; then
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
17061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17062 printf "%s\n" "no" >&6; }
17067 if test -z "$ac_cv_prog_RC"; then
17071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17072 printf %s "checking for $ac_word... " >&6; }
17077 if test -n "$ac_ct_RC"; then
17081 for as_dir in $PATH
17089 for ac_exec_ext in '' $ac_executable_extensions; do
17092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17102 if test -n "$ac_ct_RC"; then
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17107 printf "%s\n" "no" >&6; }
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
17128 # Source file extension for RC test sources.
17131 # Object file extension for compiled RC test sources.
17141 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17148 # If no C compiler was specified, use CC.
17149 LTCC=${LTCC-"$CC"}
17151 # If no C compiler flags were specified, use CFLAGS.
17152 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17169 $RM -r conftest*
17177 CC=${RC-"windres"}
17186 if test -n "$compiler"; then
17195 ac_cpp='$CPP $CPPFLAGS'
17196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17235 # specifying separate CPPFLAGS or CFLAGS when compiling objects for
17237 # build using separate configure runs for shared and static libraries
17239 # to compile objects for each kind of library. Notice that relying on
17240 # the '-DPIC' CFLAG that libtool provides is not valid given that the
17241 # user might for example choose to build static libraries with PIC.
17266 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
17272 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
17274 REQUIRE_LIB_DEPS=no
17288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17289 printf %s "checking for inline... " >&6; }
17294 ac_cv_c_inline=no
17295 for ac_kw in inline __inline__ __inline; do
17296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17310 test "$ac_cv_c_inline" != no && break
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17321 no) ac_val=;;
17335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
17336 printf %s "checking if cpp -P is needed... " >&6; }
17337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17347 cpp=no
17349 cpp=yes
17351 rm -rf conftest*
17353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
17354 printf "%s\n" "$cpp" >&6; }
17356 if test "x$cpp" = "xyes"; then
17357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
17358 printf %s "checking if cpp -P works... " >&6; }
17360 CPPFLAGS="$CPPFLAGS -P"
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17373 cpp_p=no
17375 rm -rf conftest*
17377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
17381 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
17382 printf "%s\n" "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
17383 # without -P
17386 # with -P
17387 CPPPFLAG="-P"
17391 # without -P
17405 flags_prefer_cppflags="no"
17408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
17414 if test -z "$SED"; then
17417 if test -z "$GREP"; then
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
17444 rm -f conftest.err conftest.i conftest.$ac_ext
17445 if test -z "$tmp_exp"; then
17446 curl_cv_have_def___DECC=no
17459 if test -z "$SED"; then
17462 if test -z "$GREP"; then
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
17489 rm -f conftest.err conftest.i conftest.$ac_ext
17490 if test -z "$tmp_exp"; then
17491 curl_cv_have_def___DECC_VER=no
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17505 flags_dbg_yes="-g2"
17506 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
17507 flags_opt_yes="-O1"
17508 flags_opt_off="-O0"
17510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17511 printf "%s\n" "no" >&6; }
17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
17516 printf %s "checking if compiler is HP-UX C... " >&6; }
17521 if test -z "$SED"; then
17524 if test -z "$GREP"; then
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
17551 rm -f conftest.err conftest.i conftest.$ac_ext
17552 if test -z "$tmp_exp"; then
17553 curl_cv_have_def___HP_cc=no
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17566 flags_dbg_yes="-g"
17567 flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
17571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17572 printf "%s\n" "no" >&6; }
17576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
17582 if test -z "$SED"; then
17585 if test -z "$GREP"; then
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
17612 rm -f conftest.err conftest.i conftest.$ac_ext
17613 if test -z "$tmp_exp"; then
17614 curl_cv_have_def___IBMC__=no
17624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17627 flags_dbg_yes="-g"
17628 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
17629 flags_opt_all="$flags_opt_all -qnooptimize"
17630 flags_opt_all="$flags_opt_all -qoptimize=0"
17631 flags_opt_all="$flags_opt_all -qoptimize=1"
17632 flags_opt_all="$flags_opt_all -qoptimize=2"
17633 flags_opt_all="$flags_opt_all -qoptimize=3"
17634 flags_opt_all="$flags_opt_all -qoptimize=4"
17635 flags_opt_all="$flags_opt_all -qoptimize=5"
17636 flags_opt_yes="-O2"
17637 flags_opt_off="-qnooptimize"
17640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17641 printf "%s\n" "no" >&6; }
17645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
17651 if test -z "$SED"; then
17654 if test -z "$GREP"; then
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
17681 rm -f conftest.err conftest.i conftest.$ac_ext
17682 if test -z "$tmp_exp"; then
17683 curl_cv_have_def___INTEL_COMPILER=no
17693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5
17704 if test -z "$SED"; then
17707 if test -z "$GREP"; then
17712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
17734 rm -f conftest.err conftest.i conftest.$ac_ext
17735 if test -z "$tmp_exp"; then
17736 curl_cv_have_def___unix__=no
17747 flags_dbg_yes="-g"
17748 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
17749 flags_opt_yes="-O2"
17750 flags_opt_off="-O0"
17753 flags_dbg_yes="/Zi /Oy-"
17754 flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
17759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17760 printf "%s\n" "no" >&6; }
17764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
17770 if test -z "$SED"; then
17773 if test -z "$GREP"; then
17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795 if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
17800 rm -f conftest.err conftest.i conftest.$ac_ext
17801 if test -z "$tmp_exp"; then
17802 curl_cv_have_def___clang__=no
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
17820 if test -z "$SED"; then
17823 if test -z "$GREP"; then
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
17850 rm -f conftest.err conftest.i conftest.$ac_ext
17851 if test -z "$tmp_exp"; then
17852 curl_cv_have_def___ibmxl__=no
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17867 printf "%s\n" "no" >&6; }
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17872 fullclangver=`$CC -v 2>&1 | grep version`
17878 …clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*…
17879 if test -z "$clangver"; then
17880 clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
17885 clangvhi=`echo $clangver | cut -d . -f1`
17886 clangvlo=`echo $clangver | cut -d . -f2`
17889 if test "$compiler_num" -ge '1300'; then compiler_num='1200'
17890 elif test "$compiler_num" -ge '1205'; then compiler_num='1101'
17891 elif test "$compiler_num" -ge '1204'; then compiler_num='1000'
17892 elif test "$compiler_num" -ge '1107'; then compiler_num='900'
17893 elif test "$compiler_num" -ge '1103'; then compiler_num='800'
17894 elif test "$compiler_num" -ge '1003'; then compiler_num='700'
17895 elif test "$compiler_num" -ge '1001'; then compiler_num='600'
17896 elif test "$compiler_num" -ge '904'; then compiler_num='500'
17897 elif test "$compiler_num" -ge '902'; then compiler_num='400'
17898 elif test "$compiler_num" -ge '803'; then compiler_num='309'
17899 elif test "$compiler_num" -ge '703'; then compiler_num='308'
17903 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' …
17905 flags_dbg_yes="-g"
17906 flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
17907 flags_opt_yes="-O2"
17908 flags_opt_off="-O0"
17910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17911 printf "%s\n" "no" >&6; }
17915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
17921 if test -z "$SED"; then
17924 if test -z "$GREP"; then
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
17951 rm -f conftest.err conftest.i conftest.$ac_ext
17952 if test -z "$tmp_exp"; then
17953 curl_cv_have_def___GNUC__=no
17964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17969 # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32'
17970 gccver=`$CC -dumpversion | sed -E 's/-.+$//'`
17971 gccvhi=`echo $gccver | cut -d . -f1`
17972 if echo $gccver | grep -F '.' >/dev/null; then
17973 gccvlo=`echo $gccver | cut -d . -f2`
17978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5
17980 flags_dbg_yes="-g"
17981 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
17982 flags_opt_yes="-O2"
17983 flags_opt_off="-O0"
17985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17986 printf "%s\n" "no" >&6; }
17990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
17996 if test -z "$SED"; then
17999 if test -z "$GREP"; then
18004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18021 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18026 rm -f conftest.err conftest.i conftest.$ac_ext
18027 if test -z "$tmp_exp"; then
18028 curl_cv_have_def___GNUC__=no
18041 if test -z "$SED"; then
18044 if test -z "$GREP"; then
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
18071 rm -f conftest.err conftest.i conftest.$ac_ext
18072 if test -z "$tmp_exp"; then
18073 curl_cv_have_def__COMPILER_VERSION=no
18086 if test -z "$SED"; then
18089 if test -z "$GREP"; then
18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18111 if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
18116 rm -f conftest.err conftest.i conftest.$ac_ext
18117 if test -z "$tmp_exp"; then
18118 curl_cv_have_def__SGI_COMPILER_VERSION=no
18127 if test "$curl_cv_have_def___GNUC__" = "no" &&
18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18133 flags_dbg_yes="-g"
18134 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18135 flags_opt_yes="-O2"
18136 flags_opt_off="-O0"
18138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18139 printf "%s\n" "no" >&6; }
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
18149 if test -z "$SED"; then
18152 if test -z "$GREP"; then
18157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18179 rm -f conftest.err conftest.i conftest.$ac_ext
18180 if test -z "$tmp_exp"; then
18181 curl_cv_have_def___GNUC__=no
18194 if test -z "$SED"; then
18197 if test -z "$GREP"; then
18202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
18224 rm -f conftest.err conftest.i conftest.$ac_ext
18225 if test -z "$tmp_exp"; then
18226 curl_cv_have_def___sgi=no
18235 if test "$curl_cv_have_def___GNUC__" = "no" &&
18238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18241 flags_dbg_yes="-g"
18242 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18243 flags_opt_yes="-O2"
18244 flags_opt_off="-O0"
18246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18247 printf "%s\n" "no" >&6; }
18251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
18257 if test -z "$SED"; then
18260 if test -z "$GREP"; then
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18282 if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
18287 rm -f conftest.err conftest.i conftest.$ac_ext
18288 if test -z "$tmp_exp"; then
18289 curl_cv_have_def___SUNPRO_C=no
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18302 flags_dbg_yes="-g"
18303 flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
18304 flags_opt_yes="-xO2"
18307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18308 printf "%s\n" "no" >&6; }
18312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
18318 if test -z "$SED"; then
18321 if test -z "$GREP"; then
18326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18343 if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
18348 rm -f conftest.err conftest.i conftest.$ac_ext
18349 if test -z "$tmp_exp"; then
18350 curl_cv_have_def___TINYC__=no
18360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18363 flags_dbg_yes="-g"
18368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18369 printf "%s\n" "no" >&6; }
18380 *** Whatever settings are present in CFLAGS will be used for this run.
18384 *** mailing list: https://lists.haxx.selistinfo/curl-library/
18390 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18423 curl_cv_native_windows="no"
18426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
18444 for _sqz_token in $_sqz_input; do
18445 if test -z "$_sqz_result"; then
18468 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
18473 tmp_CFLAGS="$tmp_CFLAGS -std1"
18474 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
18475 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
18476 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
18481 if test "$compiler_num" -ge "295"; then
18482 tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
18488 tmp_CFLAGS="$tmp_CFLAGS -z"
18494 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
18495 tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
18496 tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
18501 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
18502 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-error 140,147,165,266"
18503 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-disable 279,981,1025,1469,2259"
18536 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
18537 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 tmp_compiler_works="no"
18570 sed 's/^/cc-fail: /' conftest.err >&6
18574 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599 tmp_compiler_works="no"
18601 sed 's/^/link-fail: /' conftest.err >&6
18605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18615 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18618 See \`config.log' for more details" "$LINENO" 5; }
18620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 tmp_compiler_works="no"
18646 echo "run-fail: test program exited with status $ac_status" >&6
18650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18658 CC="sh ./run-compiler"
18663 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18666 See \`config.log' for more details" "$LINENO" 5; }
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 tmp_compiler_works="no"
18694 echo "run-fail: test program exited with status $ac_status" >&6
18698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18712 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18718 printf "%s\n" "no" >&6; }
18719 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
18742 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options"…
18773 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might…
18777 ac_var_match_word="no"
18778 for word1 in $tmp_CFLAGS; do
18779 for word2 in $flags_opt_all; do
18788 honor_optimize_option="no"
18795 ac_var_match_word="no"
18796 for word1 in $tmp_CPPFLAGS; do
18797 for word2 in $flags_opt_all; do
18806 honor_optimize_option="no"
18811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
18818 want_optimize="no"
18826 for word1 in $tmp_CFLAGS; do
18827 ac_var_strip_word="no"
18828 for word2 in $flags_opt_all; do
18833 if test "$ac_var_strip_word" = "no"; then
18842 for word1 in $tmp_CPPFLAGS; do
18843 ac_var_strip_word="no"
18844 for word2 in $flags_opt_all; do
18849 if test "$ac_var_strip_word" = "no"; then
18857 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling opti…
18861 if test "$want_optimize" = "no"; then
18862 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling opt…
18877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18900 tmp_compiler_works="no"
18902 sed 's/^/cc-fail: /' conftest.err >&6
18906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18931 tmp_compiler_works="no"
18933 sed 's/^/link-fail: /' conftest.err >&6
18937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18947 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18950 See \`config.log' for more details" "$LINENO" 5; }
18952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 tmp_compiler_works="no"
18978 echo "run-fail: test program exited with status $ac_status" >&6
18982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18990 CC="sh ./run-compiler"
18995 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18998 See \`config.log' for more details" "$LINENO" 5; }
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 tmp_compiler_works="no"
19026 echo "run-fail: test program exited with status $ac_status" >&6
19030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
19049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19050 printf "%s\n" "no" >&6; }
19051 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
19076 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
19079 for warning in all extra; do
19081 ac_var_match_word="no"
19082 for word1 in $CFLAGS; do
19083 for word2 in -Wno-$warning -W$warning; do
19090 if test "$ac_var_match_word" = "no"; then
19091 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19099 for warning in pointer-arith write-strings; do
19101 ac_var_match_word="no"
19102 for word1 in $CFLAGS; do
19103 for word2 in -Wno-$warning -W$warning; do
19110 if test "$ac_var_match_word" = "no"; then
19111 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19119 for warning in shadow; do
19121 ac_var_match_word="no"
19122 for word1 in $CFLAGS; do
19123 for word2 in -Wno-$warning -W$warning; do
19130 if test "$ac_var_match_word" = "no"; then
19131 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19139 for warning in inline nested-externs; do
19141 ac_var_match_word="no"
19142 for word1 in $CFLAGS; do
19143 for word2 in -Wno-$warning -W$warning; do
19150 if test "$ac_var_match_word" = "no"; then
19151 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19159 for warning in missing-declarations; do
19161 ac_var_match_word="no"
19162 for word1 in $CFLAGS; do
19163 for word2 in -Wno-$warning -W$warning; do
19170 if test "$ac_var_match_word" = "no"; then
19171 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19179 for warning in missing-prototypes; do
19181 ac_var_match_word="no"
19182 for word1 in $CFLAGS; do
19183 for word2 in -Wno-$warning -W$warning; do
19190 if test "$ac_var_match_word" = "no"; then
19191 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19197 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
19200 for warning in float-equal; do
19202 ac_var_match_word="no"
19203 for word1 in $CFLAGS; do
19204 for word2 in -Wno-$warning -W$warning; do
19211 if test "$ac_var_match_word" = "no"; then
19212 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19220 for warning in sign-compare; do
19222 ac_var_match_word="no"
19223 for word1 in $CFLAGS; do
19224 for word2 in -Wno-$warning -W$warning; do
19231 if test "$ac_var_match_word" = "no"; then
19232 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19238 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
19241 for warning in undef; do
19243 ac_var_match_word="no"
19244 for word1 in $CFLAGS; do
19245 for word2 in -Wno-$warning -W$warning; do
19252 if test "$ac_var_match_word" = "no"; then
19253 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19259 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
19262 for warning in endif-labels strict-prototypes; do
19264 ac_var_match_word="no"
19265 for word1 in $CFLAGS; do
19266 for word2 in -Wno-$warning -W$warning; do
19273 if test "$ac_var_match_word" = "no"; then
19274 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19282 for warning in declaration-after-statement; do
19284 ac_var_match_word="no"
19285 for word1 in $CFLAGS; do
19286 for word2 in -Wno-$warning -W$warning; do
19293 if test "$ac_var_match_word" = "no"; then
19294 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19302 for warning in cast-align; do
19304 ac_var_match_word="no"
19305 for word1 in $CFLAGS; do
19306 for word2 in -Wno-$warning -W$warning; do
19313 if test "$ac_var_match_word" = "no"; then
19314 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19320 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
19323 for warning in shorten-64-to-32; do
19325 ac_var_match_word="no"
19326 for word1 in $CFLAGS; do
19327 for word2 in -Wno-$warning -W$warning; do
19334 if test "$ac_var_match_word" = "no"; then
19335 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19342 if test "$compiler_num" -ge "101"; then
19345 for warning in unused; do
19347 ac_var_match_word="no"
19348 for word1 in $CFLAGS; do
19349 for word2 in -Wno-$warning -W$warning; do
19356 if test "$ac_var_match_word" = "no"; then
19357 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19365 if test "$compiler_num" -ge "207"; then
19368 for warning in address; do
19370 ac_var_match_word="no"
19371 for word1 in $CFLAGS; do
19372 for word2 in -Wno-$warning -W$warning; do
19379 if test "$ac_var_match_word" = "no"; then
19380 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19388 for warning in attributes; do
19390 ac_var_match_word="no"
19391 for word1 in $CFLAGS; do
19392 for word2 in -Wno-$warning -W$warning; do
19399 if test "$ac_var_match_word" = "no"; then
19400 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19408 for warning in bad-function-cast; do
19410 ac_var_match_word="no"
19411 for word1 in $CFLAGS; do
19412 for word2 in -Wno-$warning -W$warning; do
19419 if test "$ac_var_match_word" = "no"; then
19420 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19428 for warning in conversion; do
19430 ac_var_match_word="no"
19431 for word1 in $CFLAGS; do
19432 for word2 in -Wno-$warning -W$warning; do
19439 if test "$ac_var_match_word" = "no"; then
19440 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19448 for warning in div-by-zero format-security; do
19450 ac_var_match_word="no"
19451 for word1 in $CFLAGS; do
19452 for word2 in -Wno-$warning -W$warning; do
19459 if test "$ac_var_match_word" = "no"; then
19460 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19468 for warning in empty-body; do
19470 ac_var_match_word="no"
19471 for word1 in $CFLAGS; do
19472 for word2 in -Wno-$warning -W$warning; do
19479 if test "$ac_var_match_word" = "no"; then
19480 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19488 for warning in missing-field-initializers; do
19490 ac_var_match_word="no"
19491 for word1 in $CFLAGS; do
19492 for word2 in -Wno-$warning -W$warning; do
19499 if test "$ac_var_match_word" = "no"; then
19500 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19508 for warning in missing-noreturn; do
19510 ac_var_match_word="no"
19511 for word1 in $CFLAGS; do
19512 for word2 in -Wno-$warning -W$warning; do
19519 if test "$ac_var_match_word" = "no"; then
19520 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19528 for warning in old-style-definition; do
19530 ac_var_match_word="no"
19531 for word1 in $CFLAGS; do
19532 for word2 in -Wno-$warning -W$warning; do
19539 if test "$ac_var_match_word" = "no"; then
19540 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19548 for warning in redundant-decls; do
19550 ac_var_match_word="no"
19551 for word1 in $CFLAGS; do
19552 for word2 in -Wno-$warning -W$warning; do
19559 if test "$ac_var_match_word" = "no"; then
19560 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19566 …# CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically d…
19569 for warning in type-limits; do
19571 ac_var_match_word="no"
19572 for word1 in $CFLAGS; do
19573 for word2 in -Wno-$warning -W$warning; do
19580 if test "$ac_var_match_word" = "no"; then
19581 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19587 # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical
19590 for warning in unreachable-code unused-parameter; do
19592 ac_var_match_word="no"
19593 for word1 in $CFLAGS; do
19594 for word2 in -Wno-$warning -W$warning; do
19601 if test "$ac_var_match_word" = "no"; then
19602 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19610 if test "$compiler_num" -ge "208"; then
19613 for warning in ignored-qualifiers; do
19615 ac_var_match_word="no"
19616 for word1 in $CFLAGS; do
19617 for word2 in -Wno-$warning -W$warning; do
19624 if test "$ac_var_match_word" = "no"; then
19625 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19633 for warning in vla; do
19635 ac_var_match_word="no"
19636 for word1 in $CFLAGS; do
19637 for word2 in -Wno-$warning -W$warning; do
19644 if test "$ac_var_match_word" = "no"; then
19645 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19653 if test "$compiler_num" -ge "209"; then
19656 for warning in sign-conversion; do
19658 ac_var_match_word="no"
19659 for word1 in $CFLAGS; do
19660 for word2 in -Wno-$warning -W$warning; do
19667 if test "$ac_var_match_word" = "no"; then
19668 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19674 tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME
19677 for warning in shift-sign-overflow; do
19679 ac_var_match_word="no"
19680 for word1 in $CFLAGS; do
19681 for word2 in -Wno-$warning -W$warning; do
19688 if test "$ac_var_match_word" = "no"; then
19689 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19698 if test "$compiler_num" -ge "300"; then
19701 for warning in language-extension-token; do
19703 ac_var_match_word="no"
19704 for word1 in $CFLAGS; do
19705 for word2 in -Wno-$warning -W$warning; do
19712 if test "$ac_var_match_word" = "no"; then
19713 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19719 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
19722 if test "$compiler_num" -ge "302"; then
19725 for warning in enum-conversion; do
19727 ac_var_match_word="no"
19728 for word1 in $CFLAGS; do
19729 for word2 in -Wno-$warning -W$warning; do
19736 if test "$ac_var_match_word" = "no"; then
19737 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19745 for warning in sometimes-uninitialized; do
19747 ac_var_match_word="no"
19748 for word1 in $CFLAGS; do
19749 for word2 in -Wno-$warning -W$warning; do
19756 if test "$ac_var_match_word" = "no"; then
19757 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19769 for warning in missing-variable-declarations; do
19771 ac_var_match_word="no"
19772 for word1 in $CFLAGS; do
19773 for word2 in -Wno-$warning -W$warning; do
19780 if test "$ac_var_match_word" = "no"; then
19781 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19791 if test "$compiler_num" -ge "304"; then
19794 for warning in header-guard; do
19796 ac_var_match_word="no"
19797 for word1 in $CFLAGS; do
19798 for word2 in -Wno-$warning -W$warning; do
19805 if test "$ac_var_match_word" = "no"; then
19806 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19814 for warning in unused-const-variable; do
19816 ac_var_match_word="no"
19817 for word1 in $CFLAGS; do
19818 for word2 in -Wno-$warning -W$warning; do
19825 if test "$ac_var_match_word" = "no"; then
19826 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19834 if test "$compiler_num" -ge "305"; then
19837 for warning in pragmas; do
19839 ac_var_match_word="no"
19840 for word1 in $CFLAGS; do
19841 for word2 in -Wno-$warning -W$warning; do
19848 if test "$ac_var_match_word" = "no"; then
19849 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19857 for warning in unreachable-code-break; do
19859 ac_var_match_word="no"
19860 for word1 in $CFLAGS; do
19861 for word2 in -Wno-$warning -W$warning; do
19868 if test "$ac_var_match_word" = "no"; then
19869 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19877 if test "$compiler_num" -ge "306"; then
19880 for warning in double-promotion; do
19882 ac_var_match_word="no"
19883 for word1 in $CFLAGS; do
19884 for word2 in -Wno-$warning -W$warning; do
19891 if test "$ac_var_match_word" = "no"; then
19892 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19900 if test "$compiler_num" -ge "309"; then
19903 for warning in comma; do
19905 ac_var_match_word="no"
19906 for word1 in $CFLAGS; do
19907 for word2 in -Wno-$warning -W$warning; do
19914 if test "$ac_var_match_word" = "no"; then
19915 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19923 if test "$compiler_num" -lt "400"; then
19924 tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
19927 if test "$compiler_num" -ge "700"; then
19930 for warning in assign-enum; do
19932 ac_var_match_word="no"
19933 for word1 in $CFLAGS; do
19934 for word2 in -Wno-$warning -W$warning; do
19941 if test "$ac_var_match_word" = "no"; then
19942 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19950 for warning in extra-semi-stmt; do
19952 ac_var_match_word="no"
19953 for word1 in $CFLAGS; do
19954 for word2 in -Wno-$warning -W$warning; do
19961 if test "$ac_var_match_word" = "no"; then
19962 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19969 if test "$compiler_num" -ge "1000"; then
19970 …tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and abo…
19973 tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion"
19979 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
19988 test "$compiler_num" -ge "300"; then
19989 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
19994 for warning in all; do
19996 ac_var_match_word="no"
19997 for word1 in $CFLAGS; do
19998 for word2 in -Wno-$warning -W$warning; do
20005 if test "$ac_var_match_word" = "no"; then
20006 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20012 tmp_CFLAGS="$tmp_CFLAGS -W"
20014 if test "$compiler_num" -ge "104"; then
20017 for warning in pointer-arith write-strings; do
20019 ac_var_match_word="no"
20020 for word1 in $CFLAGS; do
20021 for word2 in -Wno-$warning -W$warning; do
20028 if test "$ac_var_match_word" = "no"; then
20029 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20036 test "$compiler_num" -ge "300"; then
20039 for warning in unused shadow; do
20041 ac_var_match_word="no"
20042 for word1 in $CFLAGS; do
20043 for word2 in -Wno-$warning -W$warning; do
20050 if test "$ac_var_match_word" = "no"; then
20051 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20060 if test "$compiler_num" -ge "207"; then
20063 for warning in inline nested-externs; do
20065 ac_var_match_word="no"
20066 for word1 in $CFLAGS; do
20067 for word2 in -Wno-$warning -W$warning; do
20074 if test "$ac_var_match_word" = "no"; then
20075 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20082 test "$compiler_num" -ge "300"; then
20085 for warning in missing-declarations; do
20087 ac_var_match_word="no"
20088 for word1 in $CFLAGS; do
20089 for word2 in -Wno-$warning -W$warning; do
20096 if test "$ac_var_match_word" = "no"; then
20097 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20105 for warning in missing-prototypes; do
20107 ac_var_match_word="no"
20108 for word1 in $CFLAGS; do
20109 for word2 in -Wno-$warning -W$warning; do
20116 if test "$ac_var_match_word" = "no"; then
20117 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20126 if test "$compiler_num" -ge "295"; then
20127 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
20130 for warning in bad-function-cast; do
20132 ac_var_match_word="no"
20133 for word1 in $CFLAGS; do
20134 for word2 in -Wno-$warning -W$warning; do
20141 if test "$ac_var_match_word" = "no"; then
20142 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20150 if test "$compiler_num" -ge "296"; then
20153 for warning in float-equal; do
20155 ac_var_match_word="no"
20156 for word1 in $CFLAGS; do
20157 for word2 in -Wno-$warning -W$warning; do
20164 if test "$ac_var_match_word" = "no"; then
20165 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20171 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
20174 for warning in sign-compare; do
20176 ac_var_match_word="no"
20177 for word1 in $CFLAGS; do
20178 for word2 in -Wno-$warning -W$warning; do
20185 if test "$ac_var_match_word" = "no"; then
20186 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20194 for warning in undef; do
20196 ac_var_match_word="no"
20197 for word1 in $CFLAGS; do
20198 for word2 in -Wno-$warning -W$warning; do
20205 if test "$ac_var_match_word" = "no"; then
20206 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20214 if test "$compiler_num" -ge "297"; then
20215 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
20218 if test "$compiler_num" -ge "300"; then
20222 if test "$compiler_num" -ge "303"; then
20225 for warning in endif-labels strict-prototypes; do
20227 ac_var_match_word="no"
20228 for word1 in $CFLAGS; do
20229 for word2 in -Wno-$warning -W$warning; do
20236 if test "$ac_var_match_word" = "no"; then
20237 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20245 if test "$compiler_num" -ge "304"; then
20248 for warning in declaration-after-statement; do
20250 ac_var_match_word="no"
20251 for word1 in $CFLAGS; do
20252 for word2 in -Wno-$warning -W$warning; do
20259 if test "$ac_var_match_word" = "no"; then
20260 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20268 for warning in old-style-definition; do
20270 ac_var_match_word="no"
20271 for word1 in $CFLAGS; do
20272 for word2 in -Wno-$warning -W$warning; do
20279 if test "$ac_var_match_word" = "no"; then
20280 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20288 if test "$compiler_num" -ge "400"; then
20289 tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
20292 if test "$compiler_num" -ge "401"; then
20295 for warning in attributes; do
20297 ac_var_match_word="no"
20298 for word1 in $CFLAGS; do
20299 for word2 in -Wno-$warning -W$warning; do
20306 if test "$ac_var_match_word" = "no"; then
20307 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20315 for warning in div-by-zero format-security; do
20317 ac_var_match_word="no"
20318 for word1 in $CFLAGS; do
20319 for word2 in -Wno-$warning -W$warning; do
20326 if test "$ac_var_match_word" = "no"; then
20327 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20335 for warning in missing-field-initializers; do
20337 ac_var_match_word="no"
20338 for word1 in $CFLAGS; do
20339 for word2 in -Wno-$warning -W$warning; do
20346 if test "$ac_var_match_word" = "no"; then
20347 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20354 *-*-msys*)
20359 for warning in missing-noreturn; do
20361 ac_var_match_word="no"
20362 for word1 in $CFLAGS; do
20363 for word2 in -Wno-$warning -W$warning; do
20370 if test "$ac_var_match_word" = "no"; then
20371 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20376 # Seen to clash with libtool-generated stub code
20381 for warning in unreachable-code unused-parameter; do
20383 ac_var_match_word="no"
20384 for word1 in $CFLAGS; do
20385 for word2 in -Wno-$warning -W$warning; do
20392 if test "$ac_var_match_word" = "no"; then
20393 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20402 for warning in pragmas; do
20404 ac_var_match_word="no"
20405 for word1 in $CFLAGS; do
20406 for word2 in -Wno-$warning -W$warning; do
20413 if test "$ac_var_match_word" = "no"; then
20414 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20422 for warning in redundant-decls; do
20424 ac_var_match_word="no"
20425 for word1 in $CFLAGS; do
20426 for word2 in -Wno-$warning -W$warning; do
20433 if test "$ac_var_match_word" = "no"; then
20434 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20440 …# CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically d…
20441 # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical
20444 if test "$compiler_num" -ge "402"; then
20447 for warning in cast-align; do
20449 ac_var_match_word="no"
20450 for word1 in $CFLAGS; do
20451 for word2 in -Wno-$warning -W$warning; do
20458 if test "$ac_var_match_word" = "no"; then
20459 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20467 if test "$compiler_num" -ge "403"; then
20470 for warning in address; do
20472 ac_var_match_word="no"
20473 for word1 in $CFLAGS; do
20474 for word2 in -Wno-$warning -W$warning; do
20481 if test "$ac_var_match_word" = "no"; then
20482 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20490 for warning in type-limits old-style-declaration; do
20492 ac_var_match_word="no"
20493 for word1 in $CFLAGS; do
20494 for word2 in -Wno-$warning -W$warning; do
20501 if test "$ac_var_match_word" = "no"; then
20502 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20510 for warning in missing-parameter-type empty-body; do
20512 ac_var_match_word="no"
20513 for word1 in $CFLAGS; do
20514 for word2 in -Wno-$warning -W$warning; do
20521 if test "$ac_var_match_word" = "no"; then
20522 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20530 for warning in clobbered ignored-qualifiers; do
20532 ac_var_match_word="no"
20533 for word1 in $CFLAGS; do
20534 for word2 in -Wno-$warning -W$warning; do
20541 if test "$ac_var_match_word" = "no"; then
20542 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20550 for warning in conversion trampolines; do
20552 ac_var_match_word="no"
20553 for word1 in $CFLAGS; do
20554 for word2 in -Wno-$warning -W$warning; do
20561 if test "$ac_var_match_word" = "no"; then
20562 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20570 for warning in sign-conversion; do
20572 ac_var_match_word="no"
20573 for word1 in $CFLAGS; do
20574 for word2 in -Wno-$warning -W$warning; do
20581 if test "$ac_var_match_word" = "no"; then
20582 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20588 tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME
20591 for warning in vla; do
20593 ac_var_match_word="no"
20594 for word1 in $CFLAGS; do
20595 for word2 in -Wno-$warning -W$warning; do
20602 if test "$ac_var_match_word" = "no"; then
20603 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20609 tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
20612 if test "$compiler_num" -ge "405"; then
20614 tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
20618 if test "$compiler_num" -ge "406"; then
20621 for warning in double-promotion; do
20623 ac_var_match_word="no"
20624 for word1 in $CFLAGS; do
20625 for word2 in -Wno-$warning -W$warning; do
20632 if test "$ac_var_match_word" = "no"; then
20633 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20641 if test "$compiler_num" -ge "408"; then
20642 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
20645 if test "$compiler_num" -ge "500"; then
20646 tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
20649 if test "$compiler_num" -ge "600"; then
20652 for warning in shift-negative-value; do
20654 ac_var_match_word="no"
20655 for word1 in $CFLAGS; do
20656 for word2 in -Wno-$warning -W$warning; do
20663 if test "$ac_var_match_word" = "no"; then
20664 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20670 tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
20673 for warning in null-dereference; do
20675 ac_var_match_word="no"
20676 for word1 in $CFLAGS; do
20677 for word2 in -Wno-$warning -W$warning; do
20684 if test "$ac_var_match_word" = "no"; then
20685 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20691 tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
20694 for warning in duplicated-cond; do
20696 ac_var_match_word="no"
20697 for word1 in $CFLAGS; do
20698 for word2 in -Wno-$warning -W$warning; do
20705 if test "$ac_var_match_word" = "no"; then
20706 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20714 for warning in unused-const-variable; do
20716 ac_var_match_word="no"
20717 for word1 in $CFLAGS; do
20718 for word2 in -Wno-$warning -W$warning; do
20725 if test "$ac_var_match_word" = "no"; then
20726 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20734 if test "$compiler_num" -ge "700"; then
20737 for warning in duplicated-branches; do
20739 ac_var_match_word="no"
20740 for word1 in $CFLAGS; do
20741 for word2 in -Wno-$warning -W$warning; do
20748 if test "$ac_var_match_word" = "no"; then
20749 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20757 for warning in restrict; do
20759 ac_var_match_word="no"
20760 for word1 in $CFLAGS; do
20761 for word2 in -Wno-$warning -W$warning; do
20768 if test "$ac_var_match_word" = "no"; then
20769 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20777 for warning in alloc-zero; do
20779 ac_var_match_word="no"
20780 for word1 in $CFLAGS; do
20781 for word2 in -Wno-$warning -W$warning; do
20788 if test "$ac_var_match_word" = "no"; then
20789 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20795 tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
20796 tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
20797 tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough"
20800 if test "$compiler_num" -ge "1000"; then
20803 for warning in arith-conversion; do
20805 ac_var_match_word="no"
20806 for word1 in $CFLAGS; do
20807 for word2 in -Wno-$warning -W$warning; do
20814 if test "$ac_var_match_word" = "no"; then
20815 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20823 for warning in enum-conversion; do
20825 ac_var_match_word="no"
20826 for word1 in $CFLAGS; do
20827 for word2 in -Wno-$warning -W$warning; do
20834 if test "$ac_var_match_word" = "no"; then
20835 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20845 if test "$compiler_num" -ge "300"; then
20846 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
20849 if test "$compiler_num" -ge "104"; then
20850 tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
20852 if test "$compiler_num" -ge "207"; then
20853 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
20854 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
20875 if test "$compiler_num" -gt "600"; then
20876 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
20877 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
20878 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
20879 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
20880 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
20881 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
20882 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
20883 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
20884 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
20885 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
20886 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
20889 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
20890 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
20891 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
20902 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20909 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20910 tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
20917 tmp_CFLAGS="$tmp_CFLAGS -v"
20926 for warning in all; do
20928 ac_var_match_word="no"
20929 for word1 in $CFLAGS; do
20930 for word2 in -Wno-$warning -W$warning; do
20937 if test "$ac_var_match_word" = "no"; then
20938 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20946 for warning in write-strings; do
20948 ac_var_match_word="no"
20949 for word1 in $CFLAGS; do
20950 for word2 in -Wno-$warning -W$warning; do
20957 if test "$ac_var_match_word" = "no"; then
20958 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20966 for warning in unsupported; do
20968 ac_var_match_word="no"
20969 for word1 in $CFLAGS; do
20970 for word2 in -Wno-$warning -W$warning; do
20977 if test "$ac_var_match_word" = "no"; then
20978 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20992 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
20993 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options"…
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21024 tmp_compiler_works="no"
21026 sed 's/^/cc-fail: /' conftest.err >&6
21030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 tmp_compiler_works="no"
21057 sed 's/^/link-fail: /' conftest.err >&6
21061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21071 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21074 See \`config.log' for more details" "$LINENO" 5; }
21076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21100 tmp_compiler_works="no"
21102 echo "run-fail: test program exited with status $ac_status" >&6
21106 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21114 CC="sh ./run-compiler"
21119 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21122 See \`config.log' for more details" "$LINENO" 5; }
21124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21148 tmp_compiler_works="no"
21150 echo "run-fail: test program exited with status $ac_status" >&6
21154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21168 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
21173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21174 printf "%s\n" "no" >&6; }
21175 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
21189 if test "$compiler_num" -ge "1000"; then
21190 CFLAGS="$CFLAGS -shared-intel"
21191 elif test "$compiler_num" -ge "900"; then
21192 CFLAGS="$CFLAGS -i-dynamic"
21199 CURL_CFLAG_EXTRAS="-Werror"
21201 if test "$compiler_num" -ge "500"; then
21202 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
21209 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
21211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21230 printf "%s\n" "no" >&6; }
21235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21242 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays"…
21244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
21263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21264 printf "%s\n" "no" >&6; }
21269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21276 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mis…
21278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21309 printf "%s\n" "no" >&6; }
21314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21321 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library interna…
21323 supports_symbol_hiding="no"
21331 tmp_CFLAGS="-fvisibility=hidden"
21335 if test "$compiler_num" -ge "304"; then
21336 if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
21338 tmp_CFLAGS="-fvisibility=hidden"
21344 if test "$compiler_num" -ge "900"; then
21345 if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
21347 CFLAGS="$CFLAGS -fvisibility=hidden"
21348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21368 tmp_CFLAGS="-fvisibility=hidden"
21372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21379 if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
21381 tmp_CFLAGS="-xldscope=hidden"
21390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21420 if test -f conftest.err; then
21422 if test "$?" -eq "0"; then
21423 supports_symbol_hiding="no"
21429 supports_symbol_hiding="no"
21431 sed 's/^/cc-src: /' conftest.$ac_ext >&6
21432 sed 's/^/cc-err: /' conftest.err >&6
21436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21446 printf "%s\n" "no" >&6; }
21455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
21457 supports_curldebug="no"
21461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
21463 supports_curldebug="no"
21465 if test "$supports_curldebug" != "no"; then
21468 supports_curldebug="no"
21469 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined s…
21476 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enable…
21478 test "$supports_curldebug" = "no" || supports_curldebug="yes"
21479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
21481 if test "$supports_curldebug" = "no"; then
21482 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." …
21484 want_curldebug="no"
21498 # cross-compilation of unit tests static library/programs fails when
21503 supports_unittests=no
21510 mips-sgi-irix6.5)
21512 supports_unittests=no
21518 # due to unittests library being built with no symbols or members. Libtool ?
21522 supports_unittests=no
21530 want_unittests=no
21543 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file AP…
21545 curl_win32_file_api="no"
21548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21575 if test "$curl_win32_file_api" = "no"; then
21576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
21615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
21624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21625 printf "%s\n" "no" >&6; }
21630 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto …
21632 curl_win32_crypto_api="no"
21634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21679 printf "%s\n" "no" >&6; }
21686 tst_cflags="no"
21693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for good-to-use Darwin CFLAGS" >&5
21694 printf %s "checking for good-to-use Darwin CFLAGS... " >&6; }
21695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
21700 CFLAGS="$CFLAGS -Werror=partial-availability"
21701 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availab…
21702 printf %s "checking whether $CC accepts -Werror=partial-availability... " >&6; }
21703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21719 printf "%s\n" "no" >&6; }
21722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to link macOS CoreFoundation, CoreSe…
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 build_for_macos="no"
21761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21765 …LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework SystemConfiguration"
21767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21768 printf "%s\n" "no" >&6; }
21772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21773 printf "%s\n" "no" >&6; }
21777 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_a…
21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21807 printf "%s\n" "no" >&6; }
21810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21813 if test "$curl_cv_native_windows" = "yes" && test -n "${RC}"; then
21823 if test -z "$HAVE_WINDRES_TRUE"; then :
21829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
21831 # Check whether --enable-http was given.
21835 no)
21836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21837 printf "%s\n" "no" >&6; }
21842 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RT…
21857 curl_h1_msg="no (--enable-http, --with-hyper)"
21858 curl_altsvc_msg="no";
21859 curl_hsts_msg="no (--enable-hsts)";
21860 enable_altsvc="no"
21861 hsts="no"
21863 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
21875 # Check whether --enable-ftp was given.
21879 no)
21880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21881 printf "%s\n" "no" >&6; }
21888 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
21900 # Check whether --enable-file was given.
21904 no)
21905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21906 printf "%s\n" "no" >&6; }
21913 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
21925 # Check whether --enable-ldap was given.
21929 no)
21930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21931 printf "%s\n" "no" >&6; }
21940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
21957 # Check whether --enable-ldaps was given.
21961 no)
21962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21963 printf "%s\n" "no" >&6; }
21971 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >…
21979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21993 printf "%s\n" "no" >&6; }
22000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22013 OPT_HYPER="no"
22016 # Check whether --with-hyper was given.
22023 no)
22024 want_hyper="no"
22038 as_fn_error $? "--with-hyper is not compatible with --disable-http" "$LINENO" 5
22046 if test -n "$PKG_CONFIG"; then
22049 if test -n "$ac_tool_prefix"; then
22050 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22051 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22053 printf %s "checking for $ac_word... " >&6; }
22065 for as_dir in $as_dummy
22073 for ac_exec_ext in '' $ac_executable_extensions; do
22076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22087 if test -n "$PKGCONFIG"; then
22088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
22091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22092 printf "%s\n" "no" >&6; }
22097 if test -z "$ac_cv_path_PKGCONFIG"; then
22099 # Extract the first word of "pkg-config", so it can be a program name with args.
22100 set dummy pkg-config; ac_word=$2
22101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22102 printf %s "checking for $ac_word... " >&6; }
22114 for as_dir in $as_dummy
22122 for ac_exec_ext in '' $ac_executable_extensions; do
22125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22136 if test -n "$ac_pt_PKGCONFIG"; then
22137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
22140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22141 printf "%s\n" "no" >&6; }
22145 PKGCONFIG="no"
22149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
22162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper options with pkg-config" >&5
22163 printf %s "checking for hyper options with pkg-config... " >&6; }
22165 if test -n "$want_hyper_path"; then
22169 $PKGCONFIG --exists hyper >/dev/null 2>&1 && echo 1`
22171 if test -z "$itexists"; then
22172 PKGCONFIG="no"
22173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22174 printf "%s\n" "no" >&6; }
22176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
22182 if test "$PKGCONFIG" != "no" ; then
22184 if test -n "$want_hyper_path"; then
22189 $PKGCONFIG --libs-only-l hyper`
22191 if test -n "$want_hyper_path"; then
22195 $PKGCONFIG --cflags-only-I hyper`
22197 if test -n "$want_hyper_path"; then
22202 $PKGCONFIG --libs-only-L hyper`
22204 LIB_HYPER="-lhyper -ldl -lpthread -lm"
22206 CPP_HYPER=-I"$want_hyper_path/capi/include"
22207 LD_HYPER="-L$want_hyper_path/target/release -L$want_hyper_path/target/debug"
22210 if test -n "$LIB_HYPER"; then
22211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_HYPER" >&5
22212 printf "%s\n" "$as_me: -l is $LIB_HYPER" >&6;}
22213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_HYPER" >&5
22214 printf "%s\n" "$as_me: -I is $CPP_HYPER" >&6;}
22215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_HYPER" >&5
22216 printf "%s\n" "$as_me: -L is $LD_HYPER" >&6;}
22223 DIR_HYPER=`echo $LD_HYPER | $SED -e 's/^-L//' -e 's/ -L/:/g'`
22226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper_io_new in -lhyper" >&5
22227 printf %s "checking for hyper_io_new in -lhyper... " >&6; }
22233 LIBS="-lhyper $LIBS"
22234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22253 ac_cv_lib_hyper_hyper_io_new=no
22255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hyper_hyper_io_new" >&5
22264 for ac_header in hyper.h
22271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5
22282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_HYPER to CURL_LIBRARY_PATH" >&5
22289 for d in `echo $DIR_HYPER | $SED -e 's/:/ /'`; do
22290 if test -f "$d/libhyper.a"; then
22294 as_fn_error $? "--with-hyper but hyper was not found. See docs/HYPER.md." "$LINENO" 5
22302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disable RTSP support with hyper" >&5
22310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
22312 # Check whether --enable-rtsp was given.
22316 no)
22317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22318 printf "%s\n" "no" >&6; }
22329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22342 printf "%s\n" "no" >&6; }
22349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
22351 # Check whether --enable-proxy was given.
22355 no)
22356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22357 printf "%s\n" "no" >&6; }
22363 https_proxy="no"
22365 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
22378 # Check whether --enable-dict was given.
22382 no)
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22384 printf "%s\n" "no" >&6; }
22391 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
22403 # Check whether --enable-telnet was given.
22407 no)
22408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22409 printf "%s\n" "no" >&6; }
22416 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
22428 # Check whether --enable-tftp was given.
22432 no)
22433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22434 printf "%s\n" "no" >&6; }
22441 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
22454 # Check whether --enable-pop3 was given.
22458 no)
22459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22460 printf "%s\n" "no" >&6; }
22467 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
22481 # Check whether --enable-imap was given.
22485 no)
22486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22487 printf "%s\n" "no" >&6; }
22494 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
22508 # Check whether --enable-smb was given.
22512 no)
22513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22514 printf "%s\n" "no" >&6; }
22521 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
22534 # Check whether --enable-smtp was given.
22538 no)
22539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22540 printf "%s\n" "no" >&6; }
22547 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
22560 # Check whether --enable-gopher was given.
22564 no)
22565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22566 printf "%s\n" "no" >&6; }
22573 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support mqtt" >&5
22586 # Check whether --enable-mqtt was given.
22590 no)
22591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22592 printf "%s\n" "no" >&6; }
22599 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22605 printf "%s\n" "no" >&6; }
22611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
22612 printf %s "checking whether to provide built-in manual... " >&6; }
22613 # Check whether --enable-manual was given.
22617 no)
22618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22619 printf "%s\n" "no" >&6; }
22621 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
22636 # Check whether --enable-libcurl_option was given.
22640 no)
22641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22642 printf "%s\n" "no" >&6; }
22646 curl_libcurl_msg="no"
22648 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
22662 # Check whether --enable-libgcc was given.
22667 LIBS="-lgcc $LIBS"
22668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22671 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22672 printf "%s\n" "no" >&6; }
22676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22677 printf "%s\n" "no" >&6; }
22683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
22685 tst_lib_xnet_required="no"
22686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22707 LIBS="-lxnet $LIBS"
22710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
22721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22722 printf %s "checking for gethostbyname in -lnsl... " >&6; }
22728 LIBS="-lnsl $LIBS"
22729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22748 ac_cv_lib_nsl_gethostbyname=no
22750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22759 LIBS="-lnsl $LIBS"
22769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
22770 printf %s "checking for gethostbyname in -lsocket... " >&6; }
22776 LIBS="-lsocket $LIBS"
22777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22796 ac_cv_lib_socket_gethostbyname=no
22798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
22807 LIBS="-lsocket $LIBS"
22815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
22816 printf %s "checking for gethostbyname in -lwatt... " >&6; }
22822 LIBS="-lwatt $LIBS"
22823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22842 ac_cv_lib_watt_gethostbyname=no
22844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
22853 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
22854 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
22855 LIBS="-lwatt $LIBS"
22863 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket …
22864 printf %s "checking for gethostbyname with both nsl and socket libs... " >&6; }
22866 LIBS="-lnsl -lsocket $LIBS"
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22892 printf "%s\n" "no" >&6; }
22896 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22903 winsock_LIB="-lws2_32"
22904 if test ! -z "$winsock_LIB"; then
22907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
22908 printf %s "checking for gethostbyname in $winsock_LIB... " >&6; }
22909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22940 printf "%s\n" "no" >&6; }
22945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
22954 printf %s "checking for gethostbyname for Minix 3... " >&6; }
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22982 printf "%s\n" "no" >&6; }
22985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
22992 printf %s "checking for gethostbyname for eCos... " >&6; }
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23020 printf "%s\n" "no" >&6; }
23023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23027 if test "$HAVE_GETHOSTBYNAME" != "1" -o "${with_amissl+set}" = set
23029 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.lib…
23030 printf %s "checking for gethostbyname for AmigaOS bsdsocket.library... " >&6; }
23031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23069 printf "%s\n" "no" >&6; }
23072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
23079 printf %s "checking for gethostbyname in -lnetwork... " >&6; }
23085 LIBS="-lnetwork $LIBS"
23086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23105 ac_cv_lib_network_gethostbyname=no
23107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
23116 LIBS="-lnetwork $LIBS"
23123 as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
23137 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23170 curl_cv_native_windows="no"
23173 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
23216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
23217 printf %s "checking for connect in libraries... " >&6; }
23220 for tst_lib in '' '-lsocket' ; do
23223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23256 case X-"$tst_connect_need_LIBS" in
23257 X-unknown)
23258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
23262 X-)
23263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
23290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
23291 printf %s "checking for monotonic clock_gettime... " >&6; }
23294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23327 printf "%s\n" "no" >&6; }
23328 curl_func_clock_gettime="no"
23331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
23339 printf %s "checking for clock_gettime in libraries... " >&6; }
23344 for x_xlibs in '' '-lrt' '-lposix4' ; do
23346 if test -z "$x_xlibs"; then
23351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23380 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23387 case X-"$curl_cv_gclk_LIBS" in
23388 X-unknown)
23389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
23391 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23393 curl_func_clock_gettime="no"
23395 X-)
23396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
23397 printf "%s\n" "no additional lib required" >&6; }
23401 if test -z "$curl_cv_save_LIBS"; then
23406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
23414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
23421 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23424 See \`config.log' for more details" "$LINENO" 5; }
23426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23460 printf "%s\n" "no" >&6; }
23461 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23463 curl_func_clock_gettime="no"
23467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23475 CC="sh ./run-compiler"
23480 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23483 See \`config.log' for more details" "$LINENO" 5; }
23485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23519 printf "%s\n" "no" >&6; }
23520 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23522 curl_func_clock_gettime="no"
23526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for raw monotonic clock_gettime" >&5
23564 printf %s "checking for raw monotonic clock_gettime... " >&6; }
23567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23602 printf "%s\n" "no" >&6; }
23605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23618 # Check whether --with-zlib was given.
23625 if test "$OPT_ZLIB" = "no" ; then
23626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
23633 if test -z "$OPT_ZLIB" ; then
23635 if test -n "$PKG_CONFIG"; then
23638 if test -n "$ac_tool_prefix"; then
23639 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23640 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23642 printf %s "checking for $ac_word... " >&6; }
23654 for as_dir in $as_dummy
23662 for ac_exec_ext in '' $ac_executable_extensions; do
23665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23676 if test -n "$PKGCONFIG"; then
23677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23681 printf "%s\n" "no" >&6; }
23686 if test -z "$ac_cv_path_PKGCONFIG"; then
23688 # Extract the first word of "pkg-config", so it can be a program name with args.
23689 set dummy pkg-config; ac_word=$2
23690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23691 printf %s "checking for $ac_word... " >&6; }
23703 for as_dir in $as_dummy
23711 for ac_exec_ext in '' $ac_executable_extensions; do
23714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23725 if test -n "$ac_pt_PKGCONFIG"; then
23726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23730 printf "%s\n" "no" >&6; }
23734 PKGCONFIG="no"
23738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
23751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
23752 printf %s "checking for zlib options with pkg-config... " >&6; }
23754 if test -n ""; then
23758 $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
23760 if test -z "$itexists"; then
23761 PKGCONFIG="no"
23762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23763 printf "%s\n" "no" >&6; }
23765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
23771 if test "$PKGCONFIG" != "no" ; then
23772 ZLIB_LIBS="`$PKGCONFIG --libs-only-l zlib`"
23773 if test -n "$ZLIB_LIBS"; then
23774 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
23776 ZLIB_LIBS="`$PKGCONFIG --libs zlib`"
23779 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags zlib`"
23784 if test -z "$HAVE_LIBZ"; then
23787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
23788 printf %s "checking for inflateEnd in -lz... " >&6; }
23794 LIBS="-lz $LIBS"
23795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23814 ac_cv_lib_z_inflateEnd=no
23816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
23825 ZLIB_LIBS="-lz"
23834 if test -n "$OPT_ZLIB"; then
23835 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
23836 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
23845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
23846 printf %s "checking for gzread in -lz... " >&6; }
23852 LIBS="-lz $LIBS"
23853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872 ac_cv_lib_z_gzread=no
23874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
23884 ZLIB_LIBS="-lz"
23904 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the …
23913 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, …
23928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
23948 # Check whether --with-brotli was given.
23963 if test -n "$PKG_CONFIG"; then
23966 if test -n "$ac_tool_prefix"; then
23967 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23968 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23970 printf %s "checking for $ac_word... " >&6; }
23982 for as_dir in $as_dummy
23990 for ac_exec_ext in '' $ac_executable_extensions; do
23993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24004 if test -n "$PKGCONFIG"; then
24005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24009 printf "%s\n" "no" >&6; }
24014 if test -z "$ac_cv_path_PKGCONFIG"; then
24016 # Extract the first word of "pkg-config", so it can be a program name with args.
24017 set dummy pkg-config; ac_word=$2
24018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24019 printf %s "checking for $ac_word... " >&6; }
24031 for as_dir in $as_dummy
24039 for ac_exec_ext in '' $ac_executable_extensions; do
24042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24053 if test -n "$ac_pt_PKGCONFIG"; then
24054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24058 printf "%s\n" "no" >&6; }
24062 PKGCONFIG="no"
24066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24079 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >…
24080 printf %s "checking for libbrotlidec options with pkg-config... " >&6; }
24082 if test -n ""; then
24086 $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
24088 if test -z "$itexists"; then
24089 PKGCONFIG="no"
24090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24091 printf "%s\n" "no" >&6; }
24093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24099 if test "$PKGCONFIG" != "no" ; then
24100 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
24101 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
24102 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
24103 version=`$PKGCONFIG --modversion libbrotlidec`
24104 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'`
24115 if test -n "$PREFIX_BROTLI"; then
24116 LIB_BROTLI="-lbrotlidec"
24117 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
24118 CPP_BROTLI=-I${PREFIX_BROTLI}/include
24126 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec"…
24127 printf %s "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
24133 LIBS="-lbrotlidec $LIBS"
24134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 ac_cv_lib_brotlidec_BrotliDecoderDecompress=no
24155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress"…
24165 LIBS="-lbrotlidec $LIBS"
24170 for ac_header in brotli/decode.h
24194 if test -n "$DIR_BROTLI"; then
24199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
24213 # Check whether --with-zstd was given.
24228 if test -n "$PKG_CONFIG"; then
24231 if test -n "$ac_tool_prefix"; then
24232 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24233 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24235 printf %s "checking for $ac_word... " >&6; }
24247 for as_dir in $as_dummy
24255 for ac_exec_ext in '' $ac_executable_extensions; do
24258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24269 if test -n "$PKGCONFIG"; then
24270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24274 printf "%s\n" "no" >&6; }
24279 if test -z "$ac_cv_path_PKGCONFIG"; then
24281 # Extract the first word of "pkg-config", so it can be a program name with args.
24282 set dummy pkg-config; ac_word=$2
24283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24284 printf %s "checking for $ac_word... " >&6; }
24296 for as_dir in $as_dummy
24304 for ac_exec_ext in '' $ac_executable_extensions; do
24307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24318 if test -n "$ac_pt_PKGCONFIG"; then
24319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24323 printf "%s\n" "no" >&6; }
24327 PKGCONFIG="no"
24331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24344 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libzstd options with pkg-config" >&5
24345 printf %s "checking for libzstd options with pkg-config... " >&6; }
24347 if test -n ""; then
24351 $PKGCONFIG --exists libzstd >/dev/null 2>&1 && echo 1`
24353 if test -z "$itexists"; then
24354 PKGCONFIG="no"
24355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24356 printf "%s\n" "no" >&6; }
24358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24364 if test "$PKGCONFIG" != "no" ; then
24365 LIB_ZSTD=`$PKGCONFIG --libs-only-l libzstd`
24366 LD_ZSTD=`$PKGCONFIG --libs-only-L libzstd`
24367 CPP_ZSTD=`$PKGCONFIG --cflags-only-I libzstd`
24368 version=`$PKGCONFIG --modversion libzstd`
24369 DIR_ZSTD=`echo $LD_ZSTD | $SED -e 's/-L//'`
24380 if test -n "$PREFIX_ZSTD"; then
24381 LIB_ZSTD="-lzstd"
24382 LD_ZSTD=-L${PREFIX_ZSTD}/lib$libsuff
24383 CPP_ZSTD=-I${PREFIX_ZSTD}/include
24391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZSTD_createDStream in -lzstd" >&5
24392 printf %s "checking for ZSTD_createDStream in -lzstd... " >&6; }
24398 LIBS="-lzstd $LIBS"
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24418 ac_cv_lib_zstd_ZSTD_createDStream=no
24420 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_createDStream" >&5
24430 LIBS="-lzstd $LIBS"
24435 for ac_header in zstd.h
24459 if test -n "$DIR_ZSTD"; then
24464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_ZSTD to CURL_LIBRARY_PATH" >&5
24478 # Check whether --with-ldap-lib was given.
24487 # Check whether --with-lber-lib was given.
24497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
24498 printf %s "checking for lber.h... " >&6; }
24504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24543 curl_cv_header_lber_h="no"
24546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
24556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24594 curl_cv_need_header_lber_h="no"
24601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
24614 printf %s "checking for ldap.h... " >&6; }
24620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24661 curl_cv_header_ldap_h="no"
24664 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
24678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
24679 printf %s "checking for ldap_ssl.h... " >&6; }
24685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24728 curl_cv_header_ldap_ssl_h="no"
24731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
24745 if test -z "$LDAPLIBNAME" ; then
24748 LBERLIBNAME="no"
24754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
24755 printf %s "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
24761 LIBS="-l"$LDAPLIBNAME" $LIBS"
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 eval "$as_ac_Lib=no"
24783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24796 LIBS="-l"$LDAPLIBNAME" $LIBS"
24800 if test -n "$ldap_askedfor"; then
24803 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LD…
24820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
24821 printf %s "checking for LDAP libraries... " >&6; }
24830 for x_nlibs in '' "$u_libs" \
24831 '-lldap' \
24832 '-lldap -llber' \
24833 '-llber -lldap' \
24834 '-lldapssl -lldapx -lldapsdk' \
24835 '-lldapsdk -lldapx -lldapssl' \
24836 '-lldap -llber -lssl -lcrypto' ; do
24839 if test -z "$x_nlibs"; then
24844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24899 case X-"$curl_cv_ldap_LIBS" in
24900 X-unknown)
24901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
24904 X-)
24905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
24906 printf "%s\n" "no additional lib required" >&6; }
24909 if test -z "$curl_cv_save_LIBS"; then
24914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
24920 case X-"$curl_cv_ldap_LIBS" in
24921 X-unknown)
24922 if test -n "$ldap_askedfor"; then
24925 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDA…
24926 printf "%s\n" "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;}
24945 if test "$LBERLIBNAME" != "no" ; then
24947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
24948 printf %s "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
24954 LIBS="-l"$LBERLIBNAME" $LIBS"
24955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24974 eval "$as_ac_Lib=no"
24976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24989 LIBS="-l"$LBERLIBNAME" $LIBS"
24993 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LD…
25050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
25052 # Check whether --enable-ipv6 was given.
25056 no)
25057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25058 printf "%s\n" "no" >&6; }
25059 ipv6=no
25061 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25106 printf "%s\n" "no" >&6; }
25107 ipv6=no
25109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25124 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id me…
25126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25162 printf "%s\n" "no" >&6; }
25165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
25179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 curl_cv_writable_argv=no
25206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25214 CC="sh ./run-compiler"
25222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25246 curl_cv_writable_argv=no
25249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25266 no)
25267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25268 printf "%s\n" "no" >&6; }
25271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25272 printf "%s\n" "no" >&6; }
25273 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made defaul…
25282 # Check whether --with-gssapi-includes was given.
25285 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
25292 # Check whether --with-gssapi-libs was given.
25295 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
25302 # Check whether --with-gssapi was given.
25317 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
25320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
25321 printf %s "checking if GSS-API support is requested... " >&6; }
25323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25328 if test -n "$PKG_CONFIG"; then
25331 if test -n "$ac_tool_prefix"; then
25332 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25333 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25335 printf %s "checking for $ac_word... " >&6; }
25347 for as_dir in $as_dummy
25355 for ac_exec_ext in '' $ac_executable_extensions; do
25358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25369 if test -n "$PKGCONFIG"; then
25370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25374 printf "%s\n" "no" >&6; }
25379 if test -z "$ac_cv_path_PKGCONFIG"; then
25381 # Extract the first word of "pkg-config", so it can be a program name with args.
25382 set dummy pkg-config; ac_word=$2
25383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25384 printf %s "checking for $ac_word... " >&6; }
25396 for as_dir in $as_dummy
25404 for ac_exec_ext in '' $ac_executable_extensions; do
25407 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25418 if test -n "$ac_pt_PKGCONFIG"; then
25419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25423 printf "%s\n" "no" >&6; }
25427 PKGCONFIG="no"
25431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25444 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25445 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25447 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25451 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25453 if test -z "$itexists"; then
25454 PKGCONFIG="no"
25455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25456 printf "%s\n" "no" >&6; }
25458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25465 if test -n "$PKG_CONFIG"; then
25468 if test -n "$ac_tool_prefix"; then
25469 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25470 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25472 printf %s "checking for $ac_word... " >&6; }
25484 for as_dir in $as_dummy
25492 for ac_exec_ext in '' $ac_executable_extensions; do
25495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25506 if test -n "$PKGCONFIG"; then
25507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25511 printf "%s\n" "no" >&6; }
25516 if test -z "$ac_cv_path_PKGCONFIG"; then
25518 # Extract the first word of "pkg-config", so it can be a program name with args.
25519 set dummy pkg-config; ac_word=$2
25520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25521 printf %s "checking for $ac_word... " >&6; }
25533 for as_dir in $as_dummy
25541 for ac_exec_ext in '' $ac_executable_extensions; do
25544 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25555 if test -n "$ac_pt_PKGCONFIG"; then
25556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25560 printf "%s\n" "no" >&6; }
25564 PKGCONFIG="no"
25568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25581 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25582 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25584 if test -n ""; then
25588 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25590 if test -z "$itexists"; then
25591 PKGCONFIG="no"
25592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25593 printf "%s\n" "no" >&6; }
25595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25601 if test -z "$GSSAPI_INCS"; then
25602 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
25603 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
25604 elif test "$PKGCONFIG" != "no" ; then
25605 GSSAPI_INCS=`$PKGCONFIG --cflags mit-krb5-gssapi`
25606 elif test -f "$KRB5CONFIG"; then
25607 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
25609 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
25626 for ac_header in gssapi/gssapi.h
25638 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
25666 want_gss=no
25667 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header f…
25668 printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
25674 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBAS…
25675 printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
25676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25707 printf "%s\n" "no" >&6; }
25713 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25721 printf "%s\n" "no" >&6; }
25730 if test -n "$gnu_gss"; then
25733 LIBS="-lgss $LIBS"
25734 elif test -z "$GSSAPI_LIB_DIR"; then
25736 *-*-darwin*)
25737 LIBS="-lgssapi_krb5 -lresolv $LIBS"
25742 if test -n "$PKG_CONFIG"; then
25745 if test -n "$ac_tool_prefix"; then
25746 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25747 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25749 printf %s "checking for $ac_word... " >&6; }
25761 for as_dir in $as_dummy
25769 for ac_exec_ext in '' $ac_executable_extensions; do
25772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25783 if test -n "$PKGCONFIG"; then
25784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25788 printf "%s\n" "no" >&6; }
25793 if test -z "$ac_cv_path_PKGCONFIG"; then
25795 # Extract the first word of "pkg-config", so it can be a program name with args.
25796 set dummy pkg-config; ac_word=$2
25797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25798 printf %s "checking for $ac_word... " >&6; }
25810 for as_dir in $as_dummy
25818 for ac_exec_ext in '' $ac_executable_extensions; do
25821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25832 if test -n "$ac_pt_PKGCONFIG"; then
25833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25837 printf "%s\n" "no" >&6; }
25841 PKGCONFIG="no"
25845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25858 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25859 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25861 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25865 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25867 if test -z "$itexists"; then
25868 PKGCONFIG="no"
25869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25870 printf "%s\n" "no" >&6; }
25872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25879 if test -n "$PKG_CONFIG"; then
25882 if test -n "$ac_tool_prefix"; then
25883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25886 printf %s "checking for $ac_word... " >&6; }
25898 for as_dir in $as_dummy
25906 for ac_exec_ext in '' $ac_executable_extensions; do
25909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25920 if test -n "$PKGCONFIG"; then
25921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25925 printf "%s\n" "no" >&6; }
25930 if test -z "$ac_cv_path_PKGCONFIG"; then
25932 # Extract the first word of "pkg-config", so it can be a program name with args.
25933 set dummy pkg-config; ac_word=$2
25934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25935 printf %s "checking for $ac_word... " >&6; }
25947 for as_dir in $as_dummy
25955 for ac_exec_ext in '' $ac_executable_extensions; do
25958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25969 if test -n "$ac_pt_PKGCONFIG"; then
25970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25974 printf "%s\n" "no" >&6; }
25978 PKGCONFIG="no"
25982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25995 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25996 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25998 if test -n ""; then
26002 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
26004 if test -z "$itexists"; then
26005 PKGCONFIG="no"
26006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26007 printf "%s\n" "no" >&6; }
26009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26015 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
26016 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
26018 elif test "$PKGCONFIG" != "no" ; then
26019 gss_libs=`$PKGCONFIG --libs mit-krb5-gssapi`
26021 elif test -f "$KRB5CONFIG"; then
26022 gss_libs=`$KRB5CONFIG --libs gssapi`
26026 *-hp-hpux*)
26035 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
26036 LIBS="-l$gss_libname $LIBS"
26038 LIBS="-l$gss_libname $LIBS"
26046 *-hp-hpux*)
26047 LIBS="-lgss $LIBS"
26050 LIBS="-lgssapi $LIBS"
26059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can link against GSS-API library" >&5
26060 printf %s "checking if we can link against GSS-API library... " >&6; }
26061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26097 printf "%s\n" "no" >&6; }
26098 as_fn_error $? "--with-gssapi was specified, but a GSS-API library was not found." "$LINENO" 5
26101 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26105 build_libstubgss=no
26120 DEFAULT_SSL_BACKEND=no
26123 # Check whether --with-default-ssl-backend was given.
26130 no)
26137 VALID_DEFAULT_SSL_BACKEND=no
26142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS" >&5
26148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26158 # --with-schannel implies --enable-sspi
26166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26167 printf "%s\n" "no" >&6; }
26169 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26172 printf "%s\n" "no" >&6; }
26176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
26180 …(test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); th…
26181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26189 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26191 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Security"
26193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26194 printf "%s\n" "no" >&6; }
26196 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26199 printf "%s\n" "no" >&6; }
26204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiS…
26209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26241 # Use AmiSSL's built-in ca bundle
26244 LIBS="-lamisslstubs -lamisslauto $LIBS"
26294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26295 printf "%s\n" "no" >&6; }
26298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26299 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26302 printf "%s\n" "no" >&6; }
26305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26306 printf "%s\n" "no" >&6; }
26319 *-*-msys* | *-*-mingw*)
26320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
26321 printf %s "checking for gdi32... " >&6; }
26323 LIBS="-lgdi32 $LIBS"
26324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26346 printf "%s\n" "no" >&6; }
26349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26360 PKGTEST="no"
26364 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26365 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26373 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26374 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26381 if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
26382 as_fn_error $? "$PREFIX_OPENSSL is a bad --with-openssl prefix!" "$LINENO" 5
26388 SSL_LDFLAGS="-L$LIB_OPENSSL"
26389 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
26397 if test -n "$PKG_CONFIG"; then
26400 if test -n "$ac_tool_prefix"; then
26401 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26402 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26404 printf %s "checking for $ac_word... " >&6; }
26416 for as_dir in $as_dummy
26424 for ac_exec_ext in '' $ac_executable_extensions; do
26427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26438 if test -n "$PKGCONFIG"; then
26439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26443 printf "%s\n" "no" >&6; }
26448 if test -z "$ac_cv_path_PKGCONFIG"; then
26450 # Extract the first word of "pkg-config", so it can be a program name with args.
26451 set dummy pkg-config; ac_word=$2
26452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26453 printf %s "checking for $ac_word... " >&6; }
26465 for as_dir in $as_dummy
26473 for ac_exec_ext in '' $ac_executable_extensions; do
26476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26487 if test -n "$ac_pt_PKGCONFIG"; then
26488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26492 printf "%s\n" "no" >&6; }
26496 PKGCONFIG="no"
26500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
26513 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
26514 printf %s "checking for openssl options with pkg-config... " >&6; }
26516 if test -n "$OPENSSL_PCDIR"; then
26520 $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
26522 if test -z "$itexists"; then
26523 PKGCONFIG="no"
26524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 printf "%s\n" "no" >&6; }
26527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26533 if test "$PKGCONFIG" != "no" ; then
26535 if test -n "$OPENSSL_PCDIR"; then
26539 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
26542 if test -n "$OPENSSL_PCDIR"; then
26546 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
26549 if test -n "$OPENSSL_PCDIR"; then
26553 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
26556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
26557 printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
26558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
26559 printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
26560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
26561 printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
26563 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
26572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
26573 printf %s "checking for HMAC_Update in -lcrypto... " >&6; }
26579 LIBS="-lcrypto $LIBS"
26580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26599 ac_cv_lib_crypto_HMAC_Update=no
26601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
26611 LIBS="-lcrypto $LIBS"
26615 if test -n "$LIB_OPENSSL" ; then
26616 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
26618 if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
26619 # only set this if pkg-config wasn't used
26620 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
26622 # Linking previously failed, try extra paths from --with-openssl or
26623 # pkg-config. Use a different function name to avoid reusing the earlier
26625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
26626 printf %s "checking for HMAC_Init_ex in -lcrypto... " >&6; }
26632 LIBS="-lcrypto $LIBS"
26633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26652 ac_cv_lib_crypto_HMAC_Init_ex=no
26654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
26664 LIBS="-lcrypto $LIBS"
26668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
26669 printf %s "checking OpenSSL linking with -ldl... " >&6; }
26670 LIBS="-lcrypto $CLEANLIBS -ldl"
26671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26695 printf "%s\n" "no" >&6; }
26697 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
26698 printf %s "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
26699 LIBS="-lcrypto $CLEANLIBS -ldl -lpthread"
26700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26725 printf "%s\n" "no" >&6; }
26732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26750 printf %s "checking for SSL_connect in -lssl... " >&6; }
26756 LIBS="-lssl $LIBS"
26757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26776 ac_cv_lib_ssl_SSL_connect=no
26778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26788 LIBS="-lssl $LIBS"
26794 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
26795 printf %s "checking for ssl with RSAglue/rsaref libs in use... " >&6; };
26797 LIBS="-lRSAglue -lrsaref $LIBS"
26798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26799 printf %s "checking for SSL_connect in -lssl... " >&6; }
26805 LIBS="-lssl $LIBS"
26806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26825 ac_cv_lib_ssl_SSL_connect=no
26827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26837 LIBS="-lssl $LIBS"
26842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26843 printf "%s\n" "no" >&6; }
26846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26852for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h openssl/pem.h openssl/ssl.h openssl…
26871 if test $ac_cv_header_openssl_x509_h = no; then
26931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
26932 printf %s "checking for BoringSSL... " >&6; }
26933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26962 printf "%s\n" "no" >&6; }
26965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AWS-LC" >&5
26968 printf %s "checking for AWS-LC... " >&6; }
26969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26979 #error not AWS-LC
26990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26992 ssl_msg="AWS-LC"
26997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26998 printf "%s\n" "no" >&6; }
27001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
27004 printf %s "checking for libressl... " >&6; }
27005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27034 printf "%s\n" "no" >&6; }
27037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= v3" >&5
27040 printf %s "checking for OpenSSL >= v3... " >&6; }
27041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27074 printf "%s\n" "no" >&6; }
27077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27081 for ac_func in SSL_set_quic_use_legacy_codepoint
27092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5
27095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5
27100 if test -n "$LIB_OPENSSL"; then
27104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
27111 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPT_OPENSSL: $OPT_OPENSSL" >&5
27118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&5
27120 as_fn_error $? "--with-openssl was given but OpenSSL could not be detected" "$LINENO" 5
27126 # Check whether --with-random was given.
27134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
27135 printf %s "checking for \"/dev/urandom\"... " >&6; }
27141 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
27142 if test -r ""/dev/urandom""; then
27145 eval "$as_ac_File=no"
27149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27157 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cro…
27158 printf "%s\n" "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
27164 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
27173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SRP support in OpenSSL" >&5
27174 printf %s "checking for SRP support in OpenSSL... " >&6; }
27175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27206 printf "%s\n" "no" >&6; }
27209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27214 # Check whether --enable-openssl-auto-load-config was given.
27217 enableval=$enable_openssl_auto_load_config; if test X"$enableval" = X"no"; then
27218 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled"…
27230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5
27231 printf %s "checking for QUIC support in OpenSSL... " >&6; }
27232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27262 printf "%s\n" "no" >&6; }
27265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27283 if test -n "$PKG_CONFIG"; then
27286 if test -n "$ac_tool_prefix"; then
27287 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27288 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27290 printf %s "checking for $ac_word... " >&6; }
27302 for as_dir in $as_dummy
27310 for ac_exec_ext in '' $ac_executable_extensions; do
27313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27324 if test -n "$PKGCONFIG"; then
27325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27329 printf "%s\n" "no" >&6; }
27334 if test -z "$ac_cv_path_PKGCONFIG"; then
27336 # Extract the first word of "pkg-config", so it can be a program name with args.
27337 set dummy pkg-config; ac_word=$2
27338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27339 printf %s "checking for $ac_word... " >&6; }
27351 for as_dir in $as_dummy
27359 for ac_exec_ext in '' $ac_executable_extensions; do
27362 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27373 if test -n "$ac_pt_PKGCONFIG"; then
27374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27378 printf "%s\n" "no" >&6; }
27382 PKGCONFIG="no"
27386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
27399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
27400 printf %s "checking for gnutls options with pkg-config... " >&6; }
27402 if test -n ""; then
27406 $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
27408 if test -z "$itexists"; then
27409 PKGCONFIG="no"
27410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27411 printf "%s\n" "no" >&6; }
27413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
27419 if test "$PKGCONFIG" != "no" ; then
27420 addlib=`$PKGCONFIG --libs-only-l gnutls`
27421 addld=`$PKGCONFIG --libs-only-L gnutls`
27422 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
27423 version=`$PKGCONFIG --modversion gnutls`
27424 gtlslib=`echo $addld | $SED -e 's/^-L//'`
27426 check=`libgnutls-config --version 2>/dev/null`
27427 if test -n "$check"; then
27428 addlib=`libgnutls-config --libs`
27429 addcflags=`libgnutls-config --cflags`
27430 version=`libgnutls-config --version`
27431 gtlslib=`libgnutls-config --prefix`/lib$libsuff
27435 cfg=$OPT_GNUTLS/bin/libgnutls-config
27436 check=`$cfg --version 2>/dev/null`
27437 if test -n "$check"; then
27438 addlib=`$cfg --libs`
27439 addcflags=`$cfg --cflags`
27440 version=`$cfg --version`
27441 gtlslib=`$cfg --prefix`/lib$libsuff
27443 addlib=-lgnutls
27444 addld=-L$OPT_GNUTLS/lib$libsuff
27445 addcflags=-I$OPT_GNUTLS/include
27451 if test -z "$version"; then
27455 if test -n "$addlib"; then
27463 if test "$addcflags" != "-I/usr/include"; then
27467 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_get_dn2 in -lgnutls" >&5
27468 printf %s "checking for gnutls_x509_crt_get_dn2 in -lgnutls... " >&6; }
27474 LIBS="-lgnutls $LIBS"
27475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27494 ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2=no
27496 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&5
27525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
27528 if test -n "$gtlslib"; then
27532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
27541 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
27549 printf %s "checking for nettle_MD5Init in -lgnutls... " >&6; }
27555 LIBS="-lgnutls $LIBS"
27556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27575 ac_cv_lib_gnutls_nettle_MD5Init=no
27577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
27591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
27592 printf %s "checking for nettle_MD5Init in -lnettle... " >&6; }
27598 LIBS="-lnettle $LIBS"
27599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 ac_cv_lib_nettle_nettle_MD5Init=no
27620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
27635 LIBS="-lnettle $LIBS"
27639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
27640 printf %s "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
27646 LIBS="-lgnutls $LIBS"
27647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27666 ac_cv_lib_gnutls_gnutls_srp_verifier=no
27668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
27701 if test -z "$OPT_MBEDTLS" ; then
27703 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
27704 printf %s "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
27710 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 ac_cv_lib_mbedtls_mbedtls_havege_init=no
27732 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
27761 addld=-L$OPT_MBEDTLS/lib$libsuff
27762 addcflags=-I$OPT_MBEDTLS/include
27766 if test "$addcflags" != "-I/usr/include"; then
27770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
27771 printf %s "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
27777 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27797 ac_cv_lib_mbedtls_mbedtls_ssl_init=no
27799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
27828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
27832 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27834 if test -n "$mbedtlslib"; then
27838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
27845 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27852 yes|no)
27873 if test -n "$PKG_CONFIG"; then
27876 if test -n "$ac_tool_prefix"; then
27877 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27878 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27880 printf %s "checking for $ac_word... " >&6; }
27892 for as_dir in $as_dummy
27900 for ac_exec_ext in '' $ac_executable_extensions; do
27903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27914 if test -n "$PKGCONFIG"; then
27915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27919 printf "%s\n" "no" >&6; }
27924 if test -z "$ac_cv_path_PKGCONFIG"; then
27926 # Extract the first word of "pkg-config", so it can be a program name with args.
27927 set dummy pkg-config; ac_word=$2
27928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27929 printf %s "checking for $ac_word... " >&6; }
27941 for as_dir in $as_dummy
27949 for ac_exec_ext in '' $ac_executable_extensions; do
27952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27963 if test -n "$ac_pt_PKGCONFIG"; then
27964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27968 printf "%s\n" "no" >&6; }
27972 PKGCONFIG="no"
27976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
27989 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfssl options with pkg-config" >&5
27990 printf %s "checking for wolfssl options with pkg-config... " >&6; }
27992 if test -n "$wolfpkg"; then
27996 $PKGCONFIG --exists wolfssl >/dev/null 2>&1 && echo 1`
27998 if test -z "$itexists"; then
27999 PKGCONFIG="no"
28000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28001 printf "%s\n" "no" >&6; }
28003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Check dir $wolfpkg" >&5
28014 if test "$PKGCONFIG" != "no" ; then
28016 if test -n "$wolfpkg"; then
28021 $PKGCONFIG --libs-only-l wolfssl`
28023 if test -n "$wolfpkg"; then
28028 $PKGCONFIG --libs-only-L wolfssl`
28030 if test -n "$wolfpkg"; then
28035 $PKGCONFIG --cflags-only-I wolfssl`
28037 if test -n "$wolfpkg"; then
28042 $PKGCONFIG --modversion wolfssl`
28043 wolfssllibpath=`echo $addld | $SED -e 's/^-L//'`
28045 addlib=-lwolfssl
28046 if test -n "$OPT_WOLFSSL"; then
28047 addld=-L$OPT_WOLFSSL/lib$libsuff
28048 addcflags=-I$OPT_WOLFSSL/include
28056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addld to LDFLAGS" >&5
28058 if test "$addcflags" != "-I/usr/include"; then
28060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addcflags to CPPFLAGS" >&5
28066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addlib to LIBS" >&5
28069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -lwolfssl" >&5
28070 printf %s "checking for wolfSSL_Init in -lwolfssl... " >&6; }
28071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28075 /* These aren't needed for detection and confuse WolfSSL.
28095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28111 printf "%s\n" "no" >&6; }
28117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected wolfSSL" >&5
28129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
28132 for typesize in 8 4 2 16 1; do
28133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28159 if test $r -gt 0; then
28163 if test $r -eq 0; then
28166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
28168 tname=$(echo "ac_cv_sizeof_long long" | tr A-Z a-z | tr " " "_")
28177 LIBS="$addlib -lm $LIBS"
28219 if test -n "$wolfssllibpath"; then
28223 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&5
28228 as_fn_error $? "--with-wolfssl but wolfSSL was not found or doesn't work" "$LINENO" 5
28232 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28249 if test -z "$OPT_BEARSSL" ; then
28251 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28252 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28258 LIBS="-lbearssl -lbearssl $LIBS"
28259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28278 ac_cv_lib_bearssl_br_ssl_client_init_full=no
28280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28309 addld=-L$OPT_BEARSSL/lib$libsuff
28310 addcflags=-I$OPT_BEARSSL/include
28314 if test "$addcflags" != "-I/usr/include"; then
28318 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28319 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28325 LIBS="-lbearssl -lbearssl $LIBS"
28326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28345 ac_cv_lib_bearssl_br_ssl_client_init_full=no
28347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected BearSSL" >&5
28380 LIBS="-lbearssl $LIBS"
28382 if test -n "$bearssllib"; then
28386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $bearssllib to CURL_LIBRARY_PATH" >&5
28393 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28411 LDFLAGS="$LDFLAGS -framework Security"
28417 if test -z "$OPT_RUSTLS" ; then
28419 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls"…
28420 printf %s "checking for rustls_client_session_read in -lrustls... " >&6; }
28426 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28446 ac_cv_lib_rustls_rustls_client_session_read=no
28448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read"…
28472 addld=-L$OPT_RUSTLS/lib$libsuff
28473 addcflags=-I$OPT_RUSTLS/include
28477 if test "$addcflags" != "-I/usr/include"; then
28481 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5
28482 printf %s "checking for rustls_connection_read in -lrustls... " >&6; }
28488 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28508 ac_cv_lib_rustls_rustls_connection_read=no
28510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5
28530 as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5
28536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5
28540 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28542 if test -n "$rustlslib"; then
28546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5
28553 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28557 if test "x$USE_WIN32_CRYPTO" = "x1" -o "x$USE_SCHANNEL" = "x1"; then
28558 LIBS="-ladvapi32 -lcrypt32 $LIBS"
28562 LIBS="-lbcrypt $LIBS"
28569 Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-schannel, --with-secure-t…
28575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
28582 as_fn_error $? "--without-ssl has been set together with an explicit option to use an ssl library
28583 …e.g. --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-schannel, --with-secure
28595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
28600 if test -n "$ssl_backends"; then
28604 if test no = "$VALID_DEFAULT_SSL_BACKEND"
28606 if test -n "$SSL_ENABLED"
28620 if test -n "$check_for_ca_bundle"; then
28623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
28627 # Check whether --with-ca-bundle was given.
28633 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
28641 # Check whether --with-ca-path was given.
28647 as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
28659 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
28660 "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28663 elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
28665 capath="no"
28666 elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28667 if test "x$OPENSSL_ENABLED" != "x1" -a \
28668 "x$GNUTLS_ENABLED" != "x1" -a \
28669 "x$MBEDTLS_ENABLED" != "x1" -a \
28671 … as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS, mbedTLS or wolfSSL" "$LINENO" 5
28674 ca="no"
28676 ca="no"
28677 capath="no"
28681 cac="${prefix}/share/curl/curl-ca-bundle.crt"
28683 cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
28686 for a in /etc/ssl/certs/ca-certificates.crt \
28687 /etc/pki/tls/certs/ca-bundle.crt \
28688 /usr/share/ssl/certs/ca-bundle.crt \
28689 /usr/local/share/certs/ca-root-nss.crt \
28692 if test -f "$a"; then
28698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: want $want_capath ca $ca" >&5
28701 if test "x$OPENSSL_ENABLED" = "x1" -o \
28702 "x$GNUTLS_ENABLED" = "x1" -o \
28703 "x$MBEDTLS_ENABLED" = "x1" -o \
28709 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cro…
28710 printf "%s\n" "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
28714 if test "x$ca" = "xno" || test -f "$ca"; then
28722 if test ! -z "$check_capath"; then
28723 for a in "$check_capath"; do
28724 …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…
28744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
28752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
28756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28757 printf "%s\n" "no" >&6; }
28760 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL libr…
28763 # Check whether --with-ca-fallback was given.
28767 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
28768 as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
28772 with_ca_fallback="no"
28775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
28778 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
28779 as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
28790 # Check whether --with-libpsl was given.
28798 curl_psl_msg="no (libpsl disabled)"
28799 if test $with_libpsl != "no"; then
28800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5
28801 printf %s "checking for library containing psl_builtin... " >&6; }
28807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28822 for ac_lib in '' psl
28824 if test -z "$ac_lib"; then
28827 ac_res=-l$ac_lib
28828 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28845 ac_cv_search_psl_builtin=no
28850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5
28853 if test "$ac_res" != no
28879 # Check whether --with-libgsasl was given.
28887 if test $with_libgsasl != "no"; then
28888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gsasl_init" >&5
28889 printf %s "checking for library containing gsasl_init... " >&6; }
28895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28910 for ac_lib in '' gsasl
28912 if test -z "$ac_lib"; then
28915 ac_res=-l$ac_lib
28916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28922 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28933 ac_cv_search_gsasl_init=no
28938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gsasl_init" >&5
28941 if test "$ac_res" != no
28950 curl_gsasl_msg="no (libgsasl not found)";
28951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libgsasl was not found" >&5
28968 # Check whether --with-libmetalink was given.
28971 …withval=$with_libmetalink; as_fn_error $? "--with-libmetalink and --without-libmetalink no longer …
28978 # Check whether --with-libssh2 was given.
28983 OPT_LIBSSH2=no
28990 # Check whether --with-libssh was given.
28995 OPT_LIBSSH=no
29001 # Check whether --with-wolfssh was given.
29006 OPT_WOLFSSH=no
29018 if test -n "$PKG_CONFIG"; then
29021 if test -n "$ac_tool_prefix"; then
29022 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29023 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29025 printf %s "checking for $ac_word... " >&6; }
29037 for as_dir in $as_dummy
29045 for ac_exec_ext in '' $ac_executable_extensions; do
29048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29059 if test -n "$PKGCONFIG"; then
29060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29064 printf "%s\n" "no" >&6; }
29069 if test -z "$ac_cv_path_PKGCONFIG"; then
29071 # Extract the first word of "pkg-config", so it can be a program name with args.
29072 set dummy pkg-config; ac_word=$2
29073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29074 printf %s "checking for $ac_word... " >&6; }
29086 for as_dir in $as_dummy
29094 for ac_exec_ext in '' $ac_executable_extensions; do
29097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29108 if test -n "$ac_pt_PKGCONFIG"; then
29109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29113 printf "%s\n" "no" >&6; }
29117 PKGCONFIG="no"
29121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29134 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
29135 printf %s "checking for libssh2 options with pkg-config... " >&6; }
29137 if test -n ""; then
29141 $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
29143 if test -z "$itexists"; then
29144 PKGCONFIG="no"
29145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29146 printf "%s\n" "no" >&6; }
29148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29154 if test "$PKGCONFIG" != "no" ; then
29155 LIB_SSH2=`$PKGCONFIG --libs-only-l libssh2`
29156 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
29157 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
29158 version=`$PKGCONFIG --modversion libssh2`
29159 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/^-L//'`
29170 if test -n "$PREFIX_SSH2"; then
29171 LIB_SSH2="-lssh2"
29172 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
29173 CPP_SSH2=-I${PREFIX_SSH2}/include
29181 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2_session_block_directions in -ls…
29182 printf %s "checking for libssh2_session_block_directions in -lssh2... " >&6; }
29188 LIBS="-lssh2 $LIBS"
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29208 ac_cv_lib_ssh2_libssh2_session_block_directions=no
29210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_session_block_directi…
29220 LIBS="-lssh2 $LIBS"
29245 if test -n "$DIR_SSH2"; then
29250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
29267 if test -n "$PKG_CONFIG"; then
29270 if test -n "$ac_tool_prefix"; then
29271 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29272 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29274 printf %s "checking for $ac_word... " >&6; }
29286 for as_dir in $as_dummy
29294 for ac_exec_ext in '' $ac_executable_extensions; do
29297 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29308 if test -n "$PKGCONFIG"; then
29309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29313 printf "%s\n" "no" >&6; }
29318 if test -z "$ac_cv_path_PKGCONFIG"; then
29320 # Extract the first word of "pkg-config", so it can be a program name with args.
29321 set dummy pkg-config; ac_word=$2
29322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29323 printf %s "checking for $ac_word... " >&6; }
29335 for as_dir in $as_dummy
29343 for ac_exec_ext in '' $ac_executable_extensions; do
29346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29357 if test -n "$ac_pt_PKGCONFIG"; then
29358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29362 printf "%s\n" "no" >&6; }
29366 PKGCONFIG="no"
29370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
29384 printf %s "checking for libssh options with pkg-config... " >&6; }
29386 if test -n ""; then
29390 $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
29392 if test -z "$itexists"; then
29393 PKGCONFIG="no"
29394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29395 printf "%s\n" "no" >&6; }
29397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29403 if test "$PKGCONFIG" != "no" ; then
29404 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
29405 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
29406 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
29407 version=`$PKGCONFIG --modversion libssh`
29408 DIR_SSH=`echo $LD_SSH | $SED -e 's/^-L//'`
29419 if test -n "$PREFIX_SSH"; then
29420 LIB_SSH="-lssh"
29421 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
29422 CPP_SSH=-I${PREFIX_SSH}/include
29430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
29431 printf %s "checking for ssh_new in -lssh... " >&6; }
29437 LIBS="-lssh $LIBS"
29438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29457 ac_cv_lib_ssh_ssh_new=no
29459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
29469 LIBS="-lssh $LIBS"
29494 if test -n "$DIR_SSH"; then
29499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
29515 WOLFCONFIG="$OPT_WOLFSSH/bin/wolfssh-config"
29516 LDFLAGS="$LDFLAGS `$WOLFCONFIG --libs`"
29517 CPPFLAGS="$CPPFLAGS `$WOLFCONFIG --cflags`"
29520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSH_Init in -lwolfssh" >&5
29521 printf %s "checking for wolfSSH_Init in -lwolfssh... " >&6; }
29527 LIBS="-lwolfssh $LIBS"
29528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29547 ac_cv_lib_wolfssh_wolfSSH_Init=no
29549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssh_wolfSSH_Init" >&5
29559 LIBS="-lwolfssh $LIBS"
29564 for ac_header in wolfssh/ssh.h
29587 # Check whether --with-librtmp was given.
29602 if test -n "$PKG_CONFIG"; then
29605 if test -n "$ac_tool_prefix"; then
29606 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29607 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29609 printf %s "checking for $ac_word... " >&6; }
29621 for as_dir in $as_dummy
29629 for ac_exec_ext in '' $ac_executable_extensions; do
29632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29643 if test -n "$PKGCONFIG"; then
29644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29648 printf "%s\n" "no" >&6; }
29653 if test -z "$ac_cv_path_PKGCONFIG"; then
29655 # Extract the first word of "pkg-config", so it can be a program name with args.
29656 set dummy pkg-config; ac_word=$2
29657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29658 printf %s "checking for $ac_word... " >&6; }
29670 for as_dir in $as_dummy
29678 for ac_exec_ext in '' $ac_executable_extensions; do
29681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29692 if test -n "$ac_pt_PKGCONFIG"; then
29693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29697 printf "%s\n" "no" >&6; }
29701 PKGCONFIG="no"
29705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29718 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
29719 printf %s "checking for librtmp options with pkg-config... " >&6; }
29721 if test -n ""; then
29725 $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
29727 if test -z "$itexists"; then
29728 PKGCONFIG="no"
29729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29730 printf "%s\n" "no" >&6; }
29732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29738 if test "$PKGCONFIG" != "no" ; then
29739 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
29740 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
29741 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
29742 version=`$PKGCONFIG --modversion librtmp`
29743 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/^-L//'`
29745 … as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
29750 LIB_RTMP="-lrtmp"
29753 LIB_RTMP="-lrtmp"
29758 if test -n "$PREFIX_RTMP"; then
29759 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
29760 CPP_RTMP=-I${PREFIX_RTMP}/include
29768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
29769 printf %s "checking for RTMP_Init in -lrtmp... " >&6; }
29775 LIBS="-lrtmp $LIBS"
29776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29795 ac_cv_lib_rtmp_RTMP_Init=no
29797 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
29806 for ac_header in librtmp/rtmp.h
29841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
29843 # Check whether --enable-versioned-symbols was given.
29847 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
29851 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
29852 if test -z "$GLD"; then
29853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29854 printf "%s\n" "no" >&6; }
29855 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --ver…
29856 printf "%s\n" "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
29858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29879 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29880 printf "%s\n" "no" >&6; }
29886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29887 printf "%s\n" "no" >&6; }
29908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Window…
29912 # Check whether --with-winidn was given.
29919 no|default)
29920 want_winidn="no"
29921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29922 printf "%s\n" "no" >&6; }
29927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
29943 WINIDN_LIBS="-lnormaliz"
29947 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
29948 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
29952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29976 CFLAGS=`echo $CFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
29977 CFLAGS=`echo $CFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
29978 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
29979 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
29980 WINIDN_CPPFLAGS="$WINIDN_CPPFLAGS -DWINVER=0x0600"
29983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
29989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
29991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30017 printf "%s\n" "no" >&6; }
30018 tst_links_winidn="no"
30021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30030 curl_idn_msg="enabled (Windows-native)"
30032 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30033 printf "%s\n" "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
30042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
30046 # Check whether --with-libidn2 was given.
30053 want_idn="no"
30054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (using winidn instead)" >&5
30055 printf "%s\n" "no (using winidn instead)" >&6; }
30058 no)
30059 want_idn="no"
30060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30061 printf "%s\n" "no" >&6; }
30066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
30072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30088 PKGCONFIG="no"
30093 if test -n "$PKG_CONFIG"; then
30096 if test -n "$ac_tool_prefix"; then
30097 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30098 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30100 printf %s "checking for $ac_word... " >&6; }
30112 for as_dir in $as_dummy
30120 for ac_exec_ext in '' $ac_executable_extensions; do
30123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30134 if test -n "$PKGCONFIG"; then
30135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30139 printf "%s\n" "no" >&6; }
30144 if test -z "$ac_cv_path_PKGCONFIG"; then
30146 # Extract the first word of "pkg-config", so it can be a program name with args.
30147 set dummy pkg-config; ac_word=$2
30148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30149 printf %s "checking for $ac_word... " >&6; }
30161 for as_dir in $as_dummy
30169 for ac_exec_ext in '' $ac_executable_extensions; do
30172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30183 if test -n "$ac_pt_PKGCONFIG"; then
30184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30188 printf "%s\n" "no" >&6; }
30192 PKGCONFIG="no"
30196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30209 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30210 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30212 if test -n "$IDN_PCDIR"; then
30216 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30218 if test -z "$itexists"; then
30219 PKGCONFIG="no"
30220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30221 printf "%s\n" "no" >&6; }
30223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30228 if test "$PKGCONFIG" != "no"; then
30230 if test -n "$IDN_PCDIR"; then
30234 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30236 if test -n "$IDN_PCDIR"; then
30240 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30242 if test -n "$IDN_PCDIR"; then
30246 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30247 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30249 IDN_LIBS="-lidn2"
30250 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
30251 IDN_CPPFLAGS="-I$want_idn_path/include"
30256 if test -n "$PKG_CONFIG"; then
30259 if test -n "$ac_tool_prefix"; then
30260 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30261 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30263 printf %s "checking for $ac_word... " >&6; }
30275 for as_dir in $as_dummy
30283 for ac_exec_ext in '' $ac_executable_extensions; do
30286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30297 if test -n "$PKGCONFIG"; then
30298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30302 printf "%s\n" "no" >&6; }
30307 if test -z "$ac_cv_path_PKGCONFIG"; then
30309 # Extract the first word of "pkg-config", so it can be a program name with args.
30310 set dummy pkg-config; ac_word=$2
30311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30312 printf %s "checking for $ac_word... " >&6; }
30324 for as_dir in $as_dummy
30332 for ac_exec_ext in '' $ac_executable_extensions; do
30335 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30346 if test -n "$ac_pt_PKGCONFIG"; then
30347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30351 printf "%s\n" "no" >&6; }
30355 PKGCONFIG="no"
30359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30372 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30373 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30375 if test -n ""; then
30379 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30381 if test -z "$itexists"; then
30382 PKGCONFIG="no"
30383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30384 printf "%s\n" "no" >&6; }
30386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30391 if test "$PKGCONFIG" != "no"; then
30392 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30393 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30394 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30395 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30397 IDN_LIBS="-lidn2"
30401 if test "$PKGCONFIG" != "no"; then
30402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
30403 printf "%s\n" "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
30404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30405 printf "%s\n" "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
30406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30407 printf "%s\n" "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
30408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
30409 printf "%s\n" "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
30411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
30413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
30425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
30427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30464 printf "%s\n" "no" >&6; }
30465 tst_links_libidn="no"
30468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30487 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
30490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
30494 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30495 printf "%s\n" "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
30505 if test "x$disable_http" = "xyes" -o X"$want_hyper" != Xno; then
30506 # without HTTP or with Hyper, nghttp2 is no use
30507 OPT_H2="no"
30511 # Check whether --with-nghttp2 was given.
30518 no)
30519 want_nghttp2="no"
30539 if test -n "$PKG_CONFIG"; then
30542 if test -n "$ac_tool_prefix"; then
30543 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30544 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30546 printf %s "checking for $ac_word... " >&6; }
30558 for as_dir in $as_dummy
30566 for ac_exec_ext in '' $ac_executable_extensions; do
30569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30580 if test -n "$PKGCONFIG"; then
30581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30585 printf "%s\n" "no" >&6; }
30590 if test -z "$ac_cv_path_PKGCONFIG"; then
30592 # Extract the first word of "pkg-config", so it can be a program name with args.
30593 set dummy pkg-config; ac_word=$2
30594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30595 printf %s "checking for $ac_word... " >&6; }
30607 for as_dir in $as_dummy
30615 for ac_exec_ext in '' $ac_executable_extensions; do
30618 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30629 if test -n "$ac_pt_PKGCONFIG"; then
30630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30634 printf "%s\n" "no" >&6; }
30638 PKGCONFIG="no"
30642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30655 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
30656 printf %s "checking for libnghttp2 options with pkg-config... " >&6; }
30658 if test -n "$want_nghttp2_pkg_config_path"; then
30662 $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
30664 if test -z "$itexists"; then
30665 PKGCONFIG="no"
30666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30667 printf "%s\n" "no" >&6; }
30669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30675 if test "$PKGCONFIG" != "no" ; then
30677 if test -n "$want_nghttp2_pkg_config_path"; then
30682 $PKGCONFIG --libs-only-l libnghttp2`
30683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
30684 printf "%s\n" "$as_me: -l is $LIB_H2" >&6;}
30687 if test -n "$want_nghttp2_pkg_config_path"; then
30691 $PKGCONFIG --cflags-only-I libnghttp2`
30692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
30693 printf "%s\n" "$as_me: -I is $CPP_H2" >&6;}
30696 if test -n "$want_nghttp2_pkg_config_path"; then
30701 $PKGCONFIG --libs-only-L libnghttp2`
30702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
30703 printf "%s\n" "$as_me: -L is $LD_H2" >&6;}
30705 DIR_H2=`echo $LD_H2 | $SED -e 's/^-L//'`
30707 LIB_H2="-lnghttp2"
30708 LD_H2=-L${want_nghttp2_path}/lib$libsuff
30709 CPP_H2=-I${want_nghttp2_path}/include
30712 …as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LIN…
30714 LIB_H2="-lnghttp2"
30723 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp2_session_get_stream_local_window…
30724 printf %s "checking for nghttp2_session_get_stream_local_window_size in -lnghttp2... " >&6; }
30730 LIBS="-lnghttp2 $LIBS"
30731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 ac_cv_lib_nghttp2_nghttp2_session_get_stream_local_window_size=no
30752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_session_get_stream…
30761 for ac_header in nghttp2/nghttp2.h
30781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_H2 to CURL_LIBRARY_PATH" >&5
30794 OPT_TCP2="no"
30797 # without HTTP, ngtcp2 is no use
30798 OPT_TCP2="no"
30802 # Check whether --with-ngtcp2 was given.
30809 no)
30810 want_tcp2="no"
30822 curl_tcp2_msg="no (--with-ngtcp2)"
30826 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LI…
30834 if test -n "$PKG_CONFIG"; then
30837 if test -n "$ac_tool_prefix"; then
30838 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30839 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30841 printf %s "checking for $ac_word... " >&6; }
30853 for as_dir in $as_dummy
30861 for ac_exec_ext in '' $ac_executable_extensions; do
30864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30875 if test -n "$PKGCONFIG"; then
30876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30880 printf "%s\n" "no" >&6; }
30885 if test -z "$ac_cv_path_PKGCONFIG"; then
30887 # Extract the first word of "pkg-config", so it can be a program name with args.
30888 set dummy pkg-config; ac_word=$2
30889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30890 printf %s "checking for $ac_word... " >&6; }
30902 for as_dir in $as_dummy
30910 for ac_exec_ext in '' $ac_executable_extensions; do
30913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30924 if test -n "$ac_pt_PKGCONFIG"; then
30925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30929 printf "%s\n" "no" >&6; }
30933 PKGCONFIG="no"
30937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30950 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options with pkg-config" >&5
30951 printf %s "checking for libngtcp2 options with pkg-config... " >&6; }
30953 if test -n "$want_tcp2_path"; then
30957 $PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
30959 if test -z "$itexists"; then
30960 PKGCONFIG="no"
30961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30962 printf "%s\n" "no" >&6; }
30964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30970 if test "$PKGCONFIG" != "no" ; then
30972 if test -n "$want_tcp2_path"; then
30977 $PKGCONFIG --libs-only-l libngtcp2`
30978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
30979 printf "%s\n" "$as_me: -l is $LIB_TCP2" >&6;}
30982 if test -n "$want_tcp2_path"; then
30986 $PKGCONFIG --cflags-only-I libngtcp2`
30987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
30988 printf "%s\n" "$as_me: -I is $CPP_TCP2" >&6;}
30991 if test -n "$want_tcp2_path"; then
30996 $PKGCONFIG --libs-only-L libngtcp2`
30997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
30998 printf "%s\n" "$as_me: -L is $LD_TCP2" >&6;}
31005 DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/^-L//'`
31007 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new_versioned in -ln…
31008 printf %s "checking for ngtcp2_conn_client_new_versioned in -lngtcp2... " >&6; }
31014 LIBS="-lngtcp2 $LIBS"
31015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31034 ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_versioned=no
31036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_vers…
31045 for ac_header in ngtcp2/ngtcp2.h
31059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&5
31076 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2 pkg-config file." "$LINENO" 5
31082 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"…
31088 if test -n "$PKG_CONFIG"; then
31091 if test -n "$ac_tool_prefix"; then
31092 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31093 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31095 printf %s "checking for $ac_word... " >&6; }
31107 for as_dir in $as_dummy
31115 for ac_exec_ext in '' $ac_executable_extensions; do
31118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31129 if test -n "$PKGCONFIG"; then
31130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31134 printf "%s\n" "no" >&6; }
31139 if test -z "$ac_cv_path_PKGCONFIG"; then
31141 # Extract the first word of "pkg-config", so it can be a program name with args.
31142 set dummy pkg-config; ac_word=$2
31143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31144 printf %s "checking for $ac_word... " >&6; }
31156 for as_dir in $as_dummy
31164 for ac_exec_ext in '' $ac_executable_extensions; do
31167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31178 if test -n "$ac_pt_PKGCONFIG"; then
31179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31183 printf "%s\n" "no" >&6; }
31187 PKGCONFIG="no"
31191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31204 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with p…
31205 printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; }
31207 if test -n "$want_tcp2_path"; then
31211 $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1`
31213 if test -z "$itexists"; then
31214 PKGCONFIG="no"
31215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31216 printf "%s\n" "no" >&6; }
31218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31224 if test "$PKGCONFIG" != "no" ; then
31226 if test -n "$want_tcp2_path"; then
31231 $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls`
31232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5
31233 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;}
31236 if test -n "$want_tcp2_path"; then
31240 $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls`
31241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5
31242 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;}
31245 if test -n "$want_tcp2_path"; then
31250 $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls`
31251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5
31252 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;}
31259 DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'`
31261 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31262 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; }
31268 LIBS="-lngtcp2_crypto_quictls $LIBS"
31269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31288 ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb=no
31290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypt…
31299 for ac_header in ngtcp2/ngtcp2_crypto.h
31313 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PAT…
31330 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config fi…
31335 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1";…
31341 if test -n "$PKG_CONFIG"; then
31344 if test -n "$ac_tool_prefix"; then
31345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31348 printf %s "checking for $ac_word... " >&6; }
31360 for as_dir in $as_dummy
31368 for ac_exec_ext in '' $ac_executable_extensions; do
31371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31382 if test -n "$PKGCONFIG"; then
31383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31387 printf "%s\n" "no" >&6; }
31392 if test -z "$ac_cv_path_PKGCONFIG"; then
31394 # Extract the first word of "pkg-config", so it can be a program name with args.
31395 set dummy pkg-config; ac_word=$2
31396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31397 printf %s "checking for $ac_word... " >&6; }
31409 for as_dir in $as_dummy
31417 for ac_exec_ext in '' $ac_executable_extensions; do
31420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31431 if test -n "$ac_pt_PKGCONFIG"; then
31432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31436 printf "%s\n" "no" >&6; }
31440 PKGCONFIG="no"
31444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31457 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with…
31458 printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; }
31460 if test -n "$want_tcp2_path"; then
31464 $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1`
31466 if test -z "$itexists"; then
31467 PKGCONFIG="no"
31468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31469 printf "%s\n" "no" >&6; }
31471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31477 if test "$PKGCONFIG" != "no" ; then
31479 if test -n "$want_tcp2_path"; then
31484 $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl`
31485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5
31486 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31489 if test -n "$want_tcp2_path"; then
31493 $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl`
31494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5
31495 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31498 if test -n "$want_tcp2_path"; then
31503 $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl`
31504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5
31505 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31512 DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'`
31514 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31515 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6;…
31521 LIBS="-lngtcp2_crypto_boringssl $LIBS"
31522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb=no
31543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_cry…
31552 for ac_header in ngtcp2/ngtcp2_crypto.h
31566 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_P…
31583 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config
31588 if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then
31594 if test -n "$PKG_CONFIG"; then
31597 if test -n "$ac_tool_prefix"; then
31598 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31599 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31601 printf %s "checking for $ac_word... " >&6; }
31613 for as_dir in $as_dummy
31621 for ac_exec_ext in '' $ac_executable_extensions; do
31624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31635 if test -n "$PKGCONFIG"; then
31636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31640 printf "%s\n" "no" >&6; }
31645 if test -z "$ac_cv_path_PKGCONFIG"; then
31647 # Extract the first word of "pkg-config", so it can be a program name with args.
31648 set dummy pkg-config; ac_word=$2
31649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31650 printf %s "checking for $ac_word... " >&6; }
31662 for as_dir in $as_dummy
31670 for ac_exec_ext in '' $ac_executable_extensions; do
31673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31684 if test -n "$ac_pt_PKGCONFIG"; then
31685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31689 printf "%s\n" "no" >&6; }
31693 PKGCONFIG="no"
31697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31710 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_gnutls options with pk…
31711 printf %s "checking for libngtcp2_crypto_gnutls options with pkg-config... " >&6; }
31713 if test -n "$want_tcp2_path"; then
31717 $PKGCONFIG --exists libngtcp2_crypto_gnutls >/dev/null 2>&1 && echo 1`
31719 if test -z "$itexists"; then
31720 PKGCONFIG="no"
31721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31722 printf "%s\n" "no" >&6; }
31724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31730 if test "$PKGCONFIG" != "no" ; then
31732 if test -n "$want_tcp2_path"; then
31737 $PKGCONFIG --libs-only-l libngtcp2_crypto_gnutls`
31738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&5
31739 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&6;}
31742 if test -n "$want_tcp2_path"; then
31746 $PKGCONFIG --cflags-only-I libngtcp2_crypto_gnutls`
31747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&5
31748 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&6;}
31751 if test -n "$want_tcp2_path"; then
31756 $PKGCONFIG --libs-only-L libngtcp2_crypto_gnutls`
31757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&5
31758 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&6;}
31765 DIR_NGTCP2_CRYPTO_GNUTLS=`echo $LD_NGTCP2_CRYPTO_GNUTLS | $SED -e 's/^-L//'`
31767 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31768 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_gnutls... " >&6; }
31774 LIBS="-lngtcp2_crypto_gnutls $LIBS"
31775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31794 ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_recv_client_initial_cb=no
31796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto…
31805 for ac_header in ngtcp2/ngtcp2_crypto.h
31819 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH…
31836 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_gnutls pkg-config fil…
31841 if test "x$NGTCP2_ENABLED" = "x1" -a "x$WOLFSSL_ENABLED" = "x1"; then
31847 if test -n "$PKG_CONFIG"; then
31850 if test -n "$ac_tool_prefix"; then
31851 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31852 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31854 printf %s "checking for $ac_word... " >&6; }
31866 for as_dir in $as_dummy
31874 for ac_exec_ext in '' $ac_executable_extensions; do
31877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31888 if test -n "$PKGCONFIG"; then
31889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31893 printf "%s\n" "no" >&6; }
31898 if test -z "$ac_cv_path_PKGCONFIG"; then
31900 # Extract the first word of "pkg-config", so it can be a program name with args.
31901 set dummy pkg-config; ac_word=$2
31902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31903 printf %s "checking for $ac_word... " >&6; }
31915 for as_dir in $as_dummy
31923 for ac_exec_ext in '' $ac_executable_extensions; do
31926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31937 if test -n "$ac_pt_PKGCONFIG"; then
31938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31942 printf "%s\n" "no" >&6; }
31946 PKGCONFIG="no"
31950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31963 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_wolfssl options with p…
31964 printf %s "checking for libngtcp2_crypto_wolfssl options with pkg-config... " >&6; }
31966 if test -n "$want_tcp2_path"; then
31970 $PKGCONFIG --exists libngtcp2_crypto_wolfssl >/dev/null 2>&1 && echo 1`
31972 if test -z "$itexists"; then
31973 PKGCONFIG="no"
31974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31975 printf "%s\n" "no" >&6; }
31977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31983 if test "$PKGCONFIG" != "no" ; then
31985 if test -n "$want_tcp2_path"; then
31990 $PKGCONFIG --libs-only-l libngtcp2_crypto_wolfssl`
31991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&5
31992 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&6;}
31995 if test -n "$want_tcp2_path"; then
31999 $PKGCONFIG --cflags-only-I libngtcp2_crypto_wolfssl`
32000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&5
32001 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32004 if test -n "$want_tcp2_path"; then
32009 $PKGCONFIG --libs-only-L libngtcp2_crypto_wolfssl`
32010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&5
32011 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32018 DIR_NGTCP2_CRYPTO_WOLFSSL=`echo $LD_NGTCP2_CRYPTO_WOLFSSL | $SED -e 's/^-L//'`
32020 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
32021 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_wolfssl... " >&6; }
32027 LIBS="-lngtcp2_crypto_wolfssl $LIBS"
32028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32047 ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypto_recv_client_initial_cb=no
32049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypt…
32058 for ac_header in ngtcp2/ngtcp2_crypto.h
32072 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_WOLFSSL to CURL_LIBRARY_PAT…
32089 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_wolfssl pkg-config fi…
32095 OPT_OPENSSL_QUIC="no"
32097 if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then
32098 # without HTTP or without openssl, no use
32099 OPT_OPENSSL_QUIC="no"
32103 # Check whether --with-openssl-quic was given.
32110 no)
32111 want_openssl_quic="no"
32118 curl_openssl_quic_msg="no (--with-openssl-quic)"
32122 as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32125 as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5
32137 if test "x$USE_NGTCP2" = "x" -a "$USE_OPENSSL_QUIC" = "x"; then
32138 # without ngtcp2 or openssl quic, nghttp3 is of no use for us
32139 OPT_NGHTTP3="no"
32143 # Check whether --with-nghttp3 was given.
32150 no)
32151 want_nghttp3="no"
32163 curl_http3_msg="no (--with-nghttp3)"
32171 if test -n "$PKG_CONFIG"; then
32174 if test -n "$ac_tool_prefix"; then
32175 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32176 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32178 printf %s "checking for $ac_word... " >&6; }
32190 for as_dir in $as_dummy
32198 for ac_exec_ext in '' $ac_executable_extensions; do
32201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32212 if test -n "$PKGCONFIG"; then
32213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32217 printf "%s\n" "no" >&6; }
32222 if test -z "$ac_cv_path_PKGCONFIG"; then
32224 # Extract the first word of "pkg-config", so it can be a program name with args.
32225 set dummy pkg-config; ac_word=$2
32226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32227 printf %s "checking for $ac_word... " >&6; }
32239 for as_dir in $as_dummy
32247 for ac_exec_ext in '' $ac_executable_extensions; do
32250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32261 if test -n "$ac_pt_PKGCONFIG"; then
32262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32266 printf "%s\n" "no" >&6; }
32270 PKGCONFIG="no"
32274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32287 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options with pkg-config" >&5
32288 printf %s "checking for libnghttp3 options with pkg-config... " >&6; }
32290 if test -n "$want_nghttp3_path"; then
32294 $PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
32296 if test -z "$itexists"; then
32297 PKGCONFIG="no"
32298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32299 printf "%s\n" "no" >&6; }
32301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32307 if test "$PKGCONFIG" != "no" ; then
32309 if test -n "$want_nghttp3_path"; then
32314 $PKGCONFIG --libs-only-l libnghttp3`
32315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
32316 printf "%s\n" "$as_me: -l is $LIB_NGHTTP3" >&6;}
32319 if test -n "$want_nghttp3_path"; then
32323 $PKGCONFIG --cflags-only-I libnghttp3`
32324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
32325 printf "%s\n" "$as_me: -I is $CPP_NGHTTP3" >&6;}
32328 if test -n "$want_nghttp3_path"; then
32333 $PKGCONFIG --libs-only-L libnghttp3`
32334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
32335 printf "%s\n" "$as_me: -L is $LD_NGHTTP3" >&6;}
32342 DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/^-L//'`
32344 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_new_versioned in -l…
32345 printf %s "checking for nghttp3_conn_client_new_versioned in -lnghttp3... " >&6; }
32351 LIBS="-lnghttp3 $LIBS"
32352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32371 ac_cv_lib_nghttp3_nghttp3_conn_client_new_versioned=no
32373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn_client_new_ve…
32382 for ac_header in nghttp3/nghttp3.h
32395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5
32412 …as_fn_error $? "--with-nghttp3 was specified but could not find nghttp3 pkg-config file." "$LINENO…
32419 if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then
32425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32431 if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then
32438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32444 OPT_QUICHE="no"
32446 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
32447 # without HTTP or with ngtcp2, quiche is no use
32448 OPT_QUICHE="no"
32452 # Check whether --with-quiche was given.
32459 no)
32460 want_quiche="no"
32475 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LI…
32479 as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32487 if test -n "$PKG_CONFIG"; then
32490 if test -n "$ac_tool_prefix"; then
32491 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32492 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32494 printf %s "checking for $ac_word... " >&6; }
32506 for as_dir in $as_dummy
32514 for ac_exec_ext in '' $ac_executable_extensions; do
32517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32528 if test -n "$PKGCONFIG"; then
32529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32533 printf "%s\n" "no" >&6; }
32538 if test -z "$ac_cv_path_PKGCONFIG"; then
32540 # Extract the first word of "pkg-config", so it can be a program name with args.
32541 set dummy pkg-config; ac_word=$2
32542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32543 printf %s "checking for $ac_word... " >&6; }
32555 for as_dir in $as_dummy
32563 for ac_exec_ext in '' $ac_executable_extensions; do
32566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32577 if test -n "$ac_pt_PKGCONFIG"; then
32578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32582 printf "%s\n" "no" >&6; }
32586 PKGCONFIG="no"
32590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche options with pkg-config" >&5
32604 printf %s "checking for quiche options with pkg-config... " >&6; }
32606 if test -n "$want_quiche_path"; then
32610 $PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
32612 if test -z "$itexists"; then
32613 PKGCONFIG="no"
32614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32615 printf "%s\n" "no" >&6; }
32617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32623 if test "$PKGCONFIG" != "no" ; then
32625 if test -n "$want_quiche_path"; then
32630 $PKGCONFIG --libs-only-l quiche`
32631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
32632 printf "%s\n" "$as_me: -l is $LIB_QUICHE" >&6;}
32635 if test -n "$want_quiche_path"; then
32639 $PKGCONFIG --cflags-only-I quiche`
32640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
32641 printf "%s\n" "$as_me: -I is $CPP_QUICHE" >&6;}
32644 if test -n "$want_quiche_path"; then
32649 $PKGCONFIG --libs-only-L quiche`
32650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
32651 printf "%s\n" "$as_me: -L is $LD_QUICHE" >&6;}
32658 DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/^-L//'`
32660 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche_conn_send_ack_eliciting in -lqui…
32661 printf %s "checking for quiche_conn_send_ack_eliciting in -lquiche... " >&6; }
32667 LIBS="-lquiche $LIBS"
32668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32687 ac_cv_lib_quiche_quiche_conn_send_ack_eliciting=no
32689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_conn_send_ack_elicit…
32698 for ac_header in quiche.h
32710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&5
32741 …as_fn_error $? "--with-quiche was specified but could not find quiche pkg-config file." "$LINENO" 5
32747 OPT_MSH3="no"
32749 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
32750 # without HTTP or with ngtcp2, msh3 is no use
32751 OPT_MSH3="no"
32755 # Check whether --with-msh3 was given.
32762 no)
32763 want_msh3="no"
32779 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINE…
32787 as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32790 as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5
32797 if test -n "$want_msh3_path"; then
32798 LD_MSH3="-L$want_msh3_path/lib"
32799 CPP_MSH3="-I$want_msh3_path/include"
32804 LIBS="-lmsh3 $LIBS"
32806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MsH3ApiOpen in -lmsh3" >&5
32807 printf %s "checking for MsH3ApiOpen in -lmsh3... " >&6; }
32813 LIBS="-lmsh3 $LIBS"
32814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32833 ac_cv_lib_msh3_MsH3ApiOpen=no
32835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msh3_MsH3ApiOpen" >&5
32844 for ac_header in msh3.h
32859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_MSH3 to CURL_LIBRARY_PATH" >&5
32880 # Check whether --with-zsh-functions-dir was given.
32887 no)
32890 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
32902 # Check whether --with-fish-functions-dir was given.
32909 no)
32913 if test -n "$PKG_CONFIG"; then
32916 if test -n "$ac_tool_prefix"; then
32917 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32918 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32920 printf %s "checking for $ac_word... " >&6; }
32932 for as_dir in $as_dummy
32940 for ac_exec_ext in '' $ac_executable_extensions; do
32943 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32954 if test -n "$PKGCONFIG"; then
32955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32959 printf "%s\n" "no" >&6; }
32964 if test -z "$ac_cv_path_PKGCONFIG"; then
32966 # Extract the first word of "pkg-config", so it can be a program name with args.
32967 set dummy pkg-config; ac_word=$2
32968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32969 printf %s "checking for $ac_word... " >&6; }
32981 for as_dir in $as_dummy
32989 for ac_exec_ext in '' $ac_executable_extensions; do
32992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33003 if test -n "$ac_pt_PKGCONFIG"; then
33004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
33007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33008 printf "%s\n" "no" >&6; }
33012 PKGCONFIG="no"
33016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
33029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fish options with pkg-config" >&5
33030 printf %s "checking for fish options with pkg-config... " >&6; }
33032 if test -n ""; then
33036 $PKGCONFIG --exists fish >/dev/null 2>&1 && echo 1`
33038 if test -z "$itexists"; then
33039 PKGCONFIG="no"
33040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33041 printf "%s\n" "no" >&6; }
33043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
33048 if test "$PKGCONFIG" != "no" ; then
33049 FISH_FUNCTIONS_DIR="$($PKGCONFIG --variable completionsdir fish)"
34216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
34217 printf %s "checking for an ANSI C-conforming const... " >&6; }
34222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34240 an arm of an if-expression whose if-part is not a constant
34243 pcpcc = &g + (g ? g-g : 0);
34256 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
34261 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
34267 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
34269 struct s *b = &bx; b->j = 5;
34271 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
34286 ac_cv_c_const=no
34288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
34292 if test $ac_cv_c_const = no; then
34329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
34330 printf %s "checking for struct timeval... " >&6; }
34336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34377 curl_cv_struct_timeval="no"
34380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
34397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
34398 printf %s "checking run-time libs availability... " >&6; }
34404 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34407 See \`config.log' for more details" "$LINENO" 5; }
34409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34425 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34436 CC="sh ./run-compiler"
34441 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34444 See \`config.log' for more details" "$LINENO" 5; }
34446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34462 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
34483 for typesize in 8 4 2 16 1; do
34484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34510 if test $r -gt 0; then
34514 if test $r -eq 0; then
34517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34519 tname=$(echo "ac_cv_sizeof_size_t" | tr A-Z a-z | tr " " "_")
34529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
34532 for typesize in 8 4 2 16 1; do
34533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34559 if test $r -gt 0; then
34563 if test $r -eq 0; then
34566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34568 tname=$(echo "ac_cv_sizeof_long" | tr A-Z a-z | tr " " "_")
34578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
34581 for typesize in 8 4 2 16 1; do
34582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34608 if test $r -gt 0; then
34612 if test $r -eq 0; then
34615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34617 tname=$(echo "ac_cv_sizeof_int" | tr A-Z a-z | tr " " "_")
34627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
34630 for typesize in 8 4 2 16 1; do
34631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34657 if test $r -gt 0; then
34661 if test $r -eq 0; then
34664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34666 tname=$(echo "ac_cv_sizeof_time_t" | tr A-Z a-z | tr " " "_")
34676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
34679 for typesize in 8 4 2 16 1; do
34680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34706 if test $r -gt 0; then
34710 if test $r -eq 0; then
34713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34715 tname=$(echo "ac_cv_sizeof_off_t" | tr A-Z a-z | tr " " "_")
34725 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
34728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
34731 for typesize in 8 4 2 16 1; do
34732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34760 if test $r -gt 0; then
34764 if test $r -eq 0; then
34767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34769 tname=$(echo "ac_cv_sizeof_curl_off_t" | tr A-Z a-z | tr " " "_")
34779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_socket_t" >&5
34782 for typesize in 8 4 2 16 1; do
34783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34811 if test $r -gt 0; then
34815 if test $r -eq 0; then
34818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34820 tname=$(echo "ac_cv_sizeof_curl_socket_t" | tr A-Z a-z | tr " " "_")
34841 if test ${ac_cv_sizeof_curl_off_t} -lt 8; then
34845 # check for ssize_t
34857 # check for bool type
34877 # check for sa_family_t
34919 # check for suseconds_t
34939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
34946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34947 printf "%s\n" "no" >&6; }
34950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34956 time_t t = -1;
34963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34971 printf "%s\n" "no" >&6; }
34974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34982 CC="sh ./run-compiler"
34987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34988 printf "%s\n" "no" >&6; }
34991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34997 time_t t = -1;
35004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35012 printf "%s\n" "no" >&6; }
35015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
35055 printf %s "checking for in_addr_t equivalent... " >&6; }
35062 for t in "unsigned long" int size_t unsigned long; do
35064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
35176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for select" >&5
35177 printf %s "checking for select... " >&6; }
35178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35228 printf "%s\n" "no" >&6; }
35229 curl_cv_select="no"
35232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
35259 printf %s "checking for recv... " >&6; }
35260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35300 printf "%s\n" "no" >&6; }
35301 curl_cv_recv="no"
35304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for send" >&5
35332 printf %s "checking for send... " >&6; }
35333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35373 printf "%s\n" "no" >&6; }
35374 curl_cv_send="no"
35377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
35404 printf %s "checking for MSG_NOSIGNAL... " >&6; }
35410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 curl_cv_msg_nosignal="no"
35449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
35496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
35498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35535 printf "%s\n" "no" >&6; }
35536 tst_links_alarm="no"
35539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
35545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35562 printf "%s\n" "no" >&6; }
35563 tst_proto_alarm="no"
35566 rm -rf conftest*
35571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
35573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35600 printf "%s\n" "no" >&6; }
35601 tst_compi_alarm="no"
35604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
35611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35616 printf "%s\n" "no" >&6; }
35617 tst_allow_alarm="no"
35621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
35627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35635 printf "%s\n" "no" >&6; }
35636 curl_cv_func_alarm="no"
35699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
35701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35738 printf "%s\n" "no" >&6; }
35739 tst_links_basename="no"
35742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
35748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35767 printf "%s\n" "no" >&6; }
35768 tst_proto_basename="no"
35771 rm -rf conftest*
35776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
35778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35807 printf "%s\n" "no" >&6; }
35808 tst_compi_basename="no"
35811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
35818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35823 printf "%s\n" "no" >&6; }
35824 tst_allow_basename="no"
35828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
35834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35842 printf "%s\n" "no" >&6; }
35843 curl_cv_func_basename="no"
35879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
35881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35909 printf "%s\n" "no" >&6; }
35910 tst_links_closesocket="no"
35913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
35919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35937 printf "%s\n" "no" >&6; }
35938 tst_proto_closesocket="no"
35941 rm -rf conftest*
35946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
35948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35976 printf "%s\n" "no" >&6; }
35977 tst_compi_closesocket="no"
35980 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
35987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35992 printf "%s\n" "no" >&6; }
35993 tst_allow_closesocket="no"
35997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
36003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36011 printf "%s\n" "no" >&6; }
36012 curl_cv_func_closesocket="no"
36048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
36050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36078 printf "%s\n" "no" >&6; }
36079 tst_links_closesocket_camel="no"
36082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
36088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36106 printf "%s\n" "no" >&6; }
36107 tst_proto_closesocket_camel="no"
36110 rm -rf conftest*
36115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
36117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36145 printf "%s\n" "no" >&6; }
36146 tst_compi_closesocket_camel="no"
36149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
36156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36161 printf "%s\n" "no" >&6; }
36162 tst_allow_closesocket_camel="no"
36166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
36172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36180 printf "%s\n" "no" >&6; }
36181 curl_cv_func_closesocket_camel="no"
36227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
36229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36266 printf "%s\n" "no" >&6; }
36267 tst_links_fcntl="no"
36270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
36276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36293 printf "%s\n" "no" >&6; }
36294 tst_proto_fcntl="no"
36297 rm -rf conftest*
36302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
36304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36331 printf "%s\n" "no" >&6; }
36332 tst_compi_fcntl="no"
36335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
36342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36347 printf "%s\n" "no" >&6; }
36348 tst_allow_fcntl="no"
36352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
36358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
36378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36406 printf "%s\n" "no" >&6; }
36407 tst_compi_fcntl_o_nonblock="no"
36410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
36417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36422 printf "%s\n" "no" >&6; }
36423 tst_allow_fcntl_o_nonblock="no"
36427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
36431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36439 printf "%s\n" "no" >&6; }
36440 curl_cv_func_fcntl_o_nonblock="no"
36444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36445 printf "%s\n" "no" >&6; }
36446 curl_cv_func_fcntl="no"
36461 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
36468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36494 curl_cv_native_windows="no"
36497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
36545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
36547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36575 printf "%s\n" "no" >&6; }
36576 tst_links_freeaddrinfo="no"
36579 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
36585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36604 printf "%s\n" "no" >&6; }
36605 tst_proto_freeaddrinfo="no"
36608 rm -rf conftest*
36613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
36615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36643 printf "%s\n" "no" >&6; }
36644 tst_compi_freeaddrinfo="no"
36647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
36654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36659 printf "%s\n" "no" >&6; }
36660 tst_allow_freeaddrinfo="no"
36664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
36670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36678 printf "%s\n" "no" >&6; }
36679 curl_cv_func_freeaddrinfo="no"
36716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
36718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36755 printf "%s\n" "no" >&6; }
36756 tst_links_fsetxattr="no"
36759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
36765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36782 printf "%s\n" "no" >&6; }
36783 tst_proto_fsetxattr="no"
36786 rm -rf conftest*
36792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
36794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36822 printf "%s\n" "no" >&6; }
36823 tst_compi_fsetxattr="no"
36826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
36831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36859 printf "%s\n" "no" >&6; }
36860 tst_compi_fsetxattr="no"
36863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
36868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36872 printf "%s\n" "no" >&6; }
36877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
36880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36885 printf "%s\n" "no" >&6; }
36886 tst_allow_fsetxattr="no"
36890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
36896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36902 if test "$tst_nargs_fsetxattr" -eq "5"; then
36906 elif test "$tst_nargs_fsetxattr" -eq "6"; then
36914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36915 printf "%s\n" "no" >&6; }
36916 curl_cv_func_fsetxattr="no"
36926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
36928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36965 printf "%s\n" "no" >&6; }
36966 tst_links_ftruncate="no"
36969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
36975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36992 printf "%s\n" "no" >&6; }
36993 tst_proto_ftruncate="no"
36996 rm -rf conftest*
37001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
37003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37030 printf "%s\n" "no" >&6; }
37031 tst_compi_ftruncate="no"
37034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
37041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37046 printf "%s\n" "no" >&6; }
37047 tst_allow_ftruncate="no"
37051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
37057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37065 printf "%s\n" "no" >&6; }
37066 curl_cv_func_ftruncate="no"
37095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
37097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37126 printf "%s\n" "no" >&6; }
37127 tst_links_getaddrinfo="no"
37130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
37136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37155 printf "%s\n" "no" >&6; }
37156 tst_proto_getaddrinfo="no"
37159 rm -rf conftest*
37164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
37166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37195 printf "%s\n" "no" >&6; }
37196 tst_compi_getaddrinfo="no"
37199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
37211 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37214 See \`config.log' for more details" "$LINENO" 5; }
37216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37262 printf "%s\n" "no" >&6; }
37263 tst_works_getaddrinfo="no"
37266 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37274 CC="sh ./run-compiler"
37279 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37282 See \`config.log' for more details" "$LINENO" 5; }
37284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37330 printf "%s\n" "no" >&6; }
37331 tst_works_getaddrinfo="no"
37334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37346 test "$tst_works_getaddrinfo" != "no"; then
37347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
37350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37355 printf "%s\n" "no" >&6; }
37356 tst_allow_getaddrinfo="no"
37360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
37366 test "$tst_works_getaddrinfo" != "no"; then
37367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37375 printf "%s\n" "no" >&6; }
37376 curl_cv_func_getaddrinfo="no"
37377 curl_cv_func_getaddrinfo_threadsafe="no"
37381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
37385 tst_tsafe_getaddrinfo="no"
37391 tst_tsafe_getaddrinfo="no"
37397 tst_tsafe_getaddrinfo="no"
37403 tst_tsafe_getaddrinfo="no"
37412 tst_tsafe_getaddrinfo="no"
37418 tst_tsafe_getaddrinfo="no"
37431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37456 tst_symbol_defined="no"
37459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37464 curl_cv_have_def_h_errno=no
37471 tst_h_errno_macro="no"
37473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37499 tst_h_errno_modifiable_lvalue="no"
37502 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37531 tst_h_errno_sbs_issue_7="no"
37534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37535 if test "$tst_h_errno_macro" = "no" &&
37536 test "$tst_h_errno_modifiable_lvalue" = "no" &&
37537 test "$tst_h_errno_sbs_issue_7" = "no"; then
37538 tst_tsafe_getaddrinfo="no"
37543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
37551 curl_cv_func_getaddrinfo_threadsafe="no"
37562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
37564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37593 printf "%s\n" "no" >&6; }
37594 tst_links_gethostbyname="no"
37597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
37603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37622 printf "%s\n" "no" >&6; }
37623 tst_proto_gethostbyname="no"
37626 rm -rf conftest*
37631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
37633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37662 printf "%s\n" "no" >&6; }
37663 tst_compi_gethostbyname="no"
37666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
37673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37678 printf "%s\n" "no" >&6; }
37679 tst_allow_gethostbyname="no"
37683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
37689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37697 printf "%s\n" "no" >&6; }
37698 curl_cv_func_gethostbyname="no"
37709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
37711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37748 printf "%s\n" "no" >&6; }
37749 tst_links_gethostbyname_r="no"
37752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
37758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37775 printf "%s\n" "no" >&6; }
37776 tst_proto_gethostbyname_r="no"
37779 rm -rf conftest*
37785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
37787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37816 printf "%s\n" "no" >&6; }
37817 tst_compi_gethostbyname_r="no"
37820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
37825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37854 printf "%s\n" "no" >&6; }
37855 tst_compi_gethostbyname_r="no"
37858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
37863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37892 printf "%s\n" "no" >&6; }
37893 tst_compi_gethostbyname_r="no"
37896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
37901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37905 printf "%s\n" "no" >&6; }
37910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
37913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37918 printf "%s\n" "no" >&6; }
37919 tst_allow_gethostbyname_r="no"
37923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
37929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37935 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
37939 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
37943 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
37951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37952 printf "%s\n" "no" >&6; }
37953 curl_cv_func_gethostbyname_r="no"
37973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
37975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38004 printf "%s\n" "no" >&6; }
38005 tst_links_gethostname="no"
38008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
38014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38033 printf "%s\n" "no" >&6; }
38034 tst_proto_gethostname="no"
38037 rm -rf conftest*
38042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
38044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38073 printf "%s\n" "no" >&6; }
38074 tst_compi_gethostname="no"
38077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
38082 printf %s "checking for gethostname arg 2 data type... " >&6; }
38084 for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do
38085 for tst_arg2 in 'int' 'unsigned int' 'size_t'; do
38087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
38128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
38131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38136 printf "%s\n" "no" >&6; }
38137 tst_allow_gethostname="no"
38141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
38147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38155 printf "%s\n" "no" >&6; }
38156 curl_cv_func_gethostname="no"
38166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername can be linked" >&5
38168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38197 printf "%s\n" "no" >&6; }
38198 tst_links_getpeername="no"
38201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is prototyped" >&5
38207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38226 printf "%s\n" "no" >&6; }
38227 tst_proto_getpeername="no"
38230 rm -rf conftest*
38235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is compilable" >&5
38237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38266 printf "%s\n" "no" >&6; }
38267 tst_compi_getpeername="no"
38270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername usage allowed" >&5
38277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38282 printf "%s\n" "no" >&6; }
38283 tst_allow_getpeername="no"
38287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername might be used" >&5
38293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38301 printf "%s\n" "no" >&6; }
38302 curl_cv_func_getpeername="no"
38312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname can be linked" >&5
38314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38343 printf "%s\n" "no" >&6; }
38344 tst_links_getsockname="no"
38347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is prototyped" >&5
38353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38372 printf "%s\n" "no" >&6; }
38373 tst_proto_getsockname="no"
38376 rm -rf conftest*
38381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is compilable" >&5
38383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38412 printf "%s\n" "no" >&6; }
38413 tst_compi_getsockname="no"
38416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname usage allowed" >&5
38423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38428 printf "%s\n" "no" >&6; }
38429 tst_allow_getsockname="no"
38433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname might be used" >&5
38439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38447 printf "%s\n" "no" >&6; }
38448 curl_cv_func_getsockname="no"
38474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex can be linked" >&5
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38505 printf "%s\n" "no" >&6; }
38506 tst_links_if_nametoindex="no"
38509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is prototyped" >&5
38515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38533 printf "%s\n" "no" >&6; }
38534 tst_proto_if_nametoindex="no"
38537 rm -rf conftest*
38542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is compilable" >&5
38544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38572 printf "%s\n" "no" >&6; }
38573 tst_compi_if_nametoindex="no"
38576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex usage allowed" >&5
38583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38588 printf "%s\n" "no" >&6; }
38589 tst_allow_if_nametoindex="no"
38593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex might be used" >&5
38599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38607 printf "%s\n" "no" >&6; }
38608 curl_cv_func_if_nametoindex="no"
38665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
38667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38704 printf "%s\n" "no" >&6; }
38705 tst_links_getifaddrs="no"
38708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
38714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38731 printf "%s\n" "no" >&6; }
38732 tst_proto_getifaddrs="no"
38735 rm -rf conftest*
38740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
38742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38769 printf "%s\n" "no" >&6; }
38770 tst_compi_getifaddrs="no"
38773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
38785 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38788 See \`config.log' for more details" "$LINENO" 5; }
38790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38822 printf "%s\n" "no" >&6; }
38823 tst_works_getifaddrs="no"
38826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38834 CC="sh ./run-compiler"
38839 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38842 See \`config.log' for more details" "$LINENO" 5; }
38844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38876 printf "%s\n" "no" >&6; }
38877 tst_works_getifaddrs="no"
38880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38892 test "$tst_works_getifaddrs" != "no"; then
38893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
38896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38901 printf "%s\n" "no" >&6; }
38902 tst_allow_getifaddrs="no"
38906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
38912 test "$tst_works_getifaddrs" != "no"; then
38913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38921 printf "%s\n" "no" >&6; }
38922 curl_cv_func_getifaddrs="no"
38960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
38962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38999 printf "%s\n" "no" >&6; }
39000 tst_links_gmtime_r="no"
39003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
39009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39026 printf "%s\n" "no" >&6; }
39027 tst_proto_gmtime_r="no"
39030 rm -rf conftest*
39035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
39037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39064 printf "%s\n" "no" >&6; }
39065 tst_compi_gmtime_r="no"
39068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
39080 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39083 See \`config.log' for more details" "$LINENO" 5; }
39085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39117 printf "%s\n" "no" >&6; }
39118 tst_works_gmtime_r="no"
39121 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39129 CC="sh ./run-compiler"
39134 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39137 See \`config.log' for more details" "$LINENO" 5; }
39139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39171 printf "%s\n" "no" >&6; }
39172 tst_works_gmtime_r="no"
39175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39187 test "$tst_works_gmtime_r" != "no"; then
39188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
39191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39196 printf "%s\n" "no" >&6; }
39197 tst_allow_gmtime_r="no"
39201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
39207 test "$tst_works_gmtime_r" != "no"; then
39208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39216 printf "%s\n" "no" >&6; }
39217 curl_cv_func_gmtime_r="no"
39278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
39280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39317 printf "%s\n" "no" >&6; }
39318 tst_links_inet_ntop="no"
39321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
39327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39344 printf "%s\n" "no" >&6; }
39345 tst_proto_inet_ntop="no"
39348 rm -rf conftest*
39353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
39355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39382 printf "%s\n" "no" >&6; }
39383 tst_compi_inet_ntop="no"
39386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
39398 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39401 See \`config.log' for more details" "$LINENO" 5; }
39403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39420 /* - */
39427 /* - */
39437 /* - */
39451 /* - */
39461 /* - */
39471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39477 printf "%s\n" "no" >&6; }
39478 tst_works_inet_ntop="no"
39481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39489 CC="sh ./run-compiler"
39494 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39497 See \`config.log' for more details" "$LINENO" 5; }
39499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39516 /* - */
39523 /* - */
39533 /* - */
39547 /* - */
39557 /* - */
39567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39573 printf "%s\n" "no" >&6; }
39574 tst_works_inet_ntop="no"
39577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39589 test "$tst_works_inet_ntop" != "no"; then
39590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
39593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39598 printf "%s\n" "no" >&6; }
39599 tst_allow_inet_ntop="no"
39603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
39609 test "$tst_works_inet_ntop" != "no"; then
39610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39618 printf "%s\n" "no" >&6; }
39619 curl_cv_func_inet_ntop="no"
39630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
39632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39669 printf "%s\n" "no" >&6; }
39670 tst_links_inet_pton="no"
39673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
39679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39696 printf "%s\n" "no" >&6; }
39697 tst_proto_inet_pton="no"
39700 rm -rf conftest*
39705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
39707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39734 printf "%s\n" "no" >&6; }
39735 tst_compi_inet_pton="no"
39738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
39750 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39753 See \`config.log' for more details" "$LINENO" 5; }
39755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39770 /* - */
39774 /* - */
39781 /* - */
39785 /* - */
39798 /* - */
39806 /* - */
39816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39822 printf "%s\n" "no" >&6; }
39823 tst_works_inet_pton="no"
39826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39834 CC="sh ./run-compiler"
39839 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39842 See \`config.log' for more details" "$LINENO" 5; }
39844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39859 /* - */
39863 /* - */
39870 /* - */
39874 /* - */
39887 /* - */
39895 /* - */
39905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39911 printf "%s\n" "no" >&6; }
39912 tst_works_inet_pton="no"
39915 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39927 test "$tst_works_inet_pton" != "no"; then
39928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
39931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39936 printf "%s\n" "no" >&6; }
39937 tst_allow_inet_pton="no"
39941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
39947 test "$tst_works_inet_pton" != "no"; then
39948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39956 printf "%s\n" "no" >&6; }
39957 curl_cv_func_inet_pton="no"
40023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5
40025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40062 printf "%s\n" "no" >&6; }
40063 tst_links_ioctl="no"
40066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5
40072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40089 printf "%s\n" "no" >&6; }
40090 tst_proto_ioctl="no"
40093 rm -rf conftest*
40098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5
40100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40127 printf "%s\n" "no" >&6; }
40128 tst_compi_ioctl="no"
40131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5
40138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40143 printf "%s\n" "no" >&6; }
40144 tst_allow_ioctl="no"
40148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5
40154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5
40168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40196 printf "%s\n" "no" >&6; }
40197 tst_compi_ioctl_fionbio="no"
40200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5
40207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40212 printf "%s\n" "no" >&6; }
40213 tst_allow_ioctl_fionbio="no"
40217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5
40221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40229 printf "%s\n" "no" >&6; }
40230 curl_cv_func_ioctl_fionbio="no"
40239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5
40241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40270 printf "%s\n" "no" >&6; }
40271 tst_compi_ioctl_siocgifaddr="no"
40274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5
40281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40286 printf "%s\n" "no" >&6; }
40287 tst_allow_ioctl_siocgifaddr="no"
40291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5
40295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40303 printf "%s\n" "no" >&6; }
40304 curl_cv_func_ioctl_siocgifaddr="no"
40308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40309 printf "%s\n" "no" >&6; }
40310 curl_cv_func_ioctl="no"
40320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
40322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40349 printf "%s\n" "no" >&6; }
40350 tst_links_ioctlsocket="no"
40353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
40359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40376 printf "%s\n" "no" >&6; }
40377 tst_proto_ioctlsocket="no"
40380 rm -rf conftest*
40385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40414 printf "%s\n" "no" >&6; }
40415 tst_compi_ioctlsocket="no"
40418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
40425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40430 printf "%s\n" "no" >&6; }
40431 tst_allow_ioctlsocket="no"
40435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
40441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
40455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40483 printf "%s\n" "no" >&6; }
40484 tst_compi_ioctlsocket_fionbio="no"
40487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
40494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40499 printf "%s\n" "no" >&6; }
40500 tst_allow_ioctlsocket_fionbio="no"
40504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
40508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40516 printf "%s\n" "no" >&6; }
40517 curl_cv_func_ioctlsocket_fionbio="no"
40521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40522 printf "%s\n" "no" >&6; }
40523 curl_cv_func_ioctlsocket="no"
40533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
40535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40561 printf "%s\n" "no" >&6; }
40562 tst_links_ioctlsocket_camel="no"
40565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
40571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40588 printf "%s\n" "no" >&6; }
40589 tst_proto_ioctlsocket_camel="no"
40592 rm -rf conftest*
40597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
40599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40626 printf "%s\n" "no" >&6; }
40627 tst_compi_ioctlsocket_camel="no"
40630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
40637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40642 printf "%s\n" "no" >&6; }
40643 tst_allow_ioctlsocket_camel="no"
40647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
40653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
40667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40695 printf "%s\n" "no" >&6; }
40696 tst_compi_ioctlsocket_camel_fionbio="no"
40699 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
40706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40711 printf "%s\n" "no" >&6; }
40712 tst_allow_ioctlsocket_camel_fionbio="no"
40716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
40720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40728 printf "%s\n" "no" >&6; }
40729 curl_cv_func_ioctlsocket_camel_fionbio="no"
40733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40734 printf "%s\n" "no" >&6; }
40735 curl_cv_func_ioctlsocket_camel="no"
40746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
40748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40785 printf "%s\n" "no" >&6; }
40786 tst_links_memrchr="no"
40789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40792 if test "$tst_links_memrchr" = "no"; then
40793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
40795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40822 printf "%s\n" "no" >&6; }
40823 tst_macro_memrchr="no"
40826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
40833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40850 printf "%s\n" "no" >&6; }
40851 tst_proto_memrchr="no"
40854 rm -rf conftest*
40860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
40862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40889 printf "%s\n" "no" >&6; }
40890 tst_compi_memrchr="no"
40893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
40900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40905 printf "%s\n" "no" >&6; }
40906 tst_allow_memrchr="no"
40910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
40916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40924 printf "%s\n" "no" >&6; }
40925 curl_cv_func_memrchr="no"
40975 tst_compi_poll="no"
40979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
40981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41008 printf "%s\n" "no" >&6; }
41009 tst_links_poll="no"
41012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41035 printf "%s\n" "no" >&6; }
41036 tst_proto_poll="no"
41039 rm -rf conftest*
41044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
41046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41073 printf "%s\n" "no" >&6; }
41074 tst_compi_poll="no"
41077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
41089 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41092 See \`config.log' for more details" "$LINENO" 5; }
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 us = (after.tv_sec - before.tv_sec) * 1000000 +
41119 (after.tv_usec - before.tv_usec);
41132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41138 printf "%s\n" "no" >&6; }
41139 tst_works_poll="no"
41142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41150 CC="sh ./run-compiler"
41155 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41158 See \`config.log' for more details" "$LINENO" 5; }
41160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 us = (after.tv_sec - before.tv_sec) * 1000000 +
41185 (after.tv_usec - before.tv_usec);
41198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41204 printf "%s\n" "no" >&6; }
41205 tst_works_poll="no"
41208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41220 test "$tst_works_poll" != "no"; then
41221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
41224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41229 printf "%s\n" "no" >&6; }
41230 tst_allow_poll="no"
41234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
41240 test "$tst_works_poll" != "no"; then
41241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41249 printf "%s\n" "no" >&6; }
41250 curl_cv_func_poll="no"
41277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
41279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41316 printf "%s\n" "no" >&6; }
41317 tst_links_sigaction="no"
41320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
41326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41343 printf "%s\n" "no" >&6; }
41344 tst_proto_sigaction="no"
41347 rm -rf conftest*
41352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
41354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41381 printf "%s\n" "no" >&6; }
41382 tst_compi_sigaction="no"
41385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
41392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41397 printf "%s\n" "no" >&6; }
41398 tst_allow_sigaction="no"
41402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
41408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41416 printf "%s\n" "no" >&6; }
41417 curl_cv_func_sigaction="no"
41427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
41429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41466 printf "%s\n" "no" >&6; }
41467 tst_links_siginterrupt="no"
41470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
41476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41493 printf "%s\n" "no" >&6; }
41494 tst_proto_siginterrupt="no"
41497 rm -rf conftest*
41502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
41504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41531 printf "%s\n" "no" >&6; }
41532 tst_compi_siginterrupt="no"
41535 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
41542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41547 printf "%s\n" "no" >&6; }
41548 tst_allow_siginterrupt="no"
41552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
41558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41566 printf "%s\n" "no" >&6; }
41567 curl_cv_func_siginterrupt="no"
41577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
41579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41616 printf "%s\n" "no" >&6; }
41617 tst_links_signal="no"
41620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
41626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41643 printf "%s\n" "no" >&6; }
41644 tst_proto_signal="no"
41647 rm -rf conftest*
41652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
41654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41681 printf "%s\n" "no" >&6; }
41682 tst_compi_signal="no"
41685 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
41692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41697 printf "%s\n" "no" >&6; }
41698 tst_allow_signal="no"
41702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
41708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41716 printf "%s\n" "no" >&6; }
41717 curl_cv_func_signal="no"
41745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
41747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41784 printf "%s\n" "no" >&6; }
41785 tst_links_sigsetjmp="no"
41788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41791 if test "$tst_links_sigsetjmp" = "no"; then
41792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
41794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41822 printf "%s\n" "no" >&6; }
41823 tst_macro_sigsetjmp="no"
41826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
41833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41850 printf "%s\n" "no" >&6; }
41851 tst_proto_sigsetjmp="no"
41854 rm -rf conftest*
41860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
41862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41890 printf "%s\n" "no" >&6; }
41891 tst_compi_sigsetjmp="no"
41894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
41901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41906 printf "%s\n" "no" >&6; }
41907 tst_allow_sigsetjmp="no"
41911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
41917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41925 printf "%s\n" "no" >&6; }
41926 curl_cv_func_sigsetjmp="no"
41936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
41938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41968 printf "%s\n" "no" >&6; }
41969 tst_links_socket="no"
41972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
41978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41998 printf "%s\n" "no" >&6; }
41999 tst_proto_socket="no"
42002 rm -rf conftest*
42007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
42009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42039 printf "%s\n" "no" >&6; }
42040 tst_compi_socket="no"
42043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
42050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42055 printf "%s\n" "no" >&6; }
42056 tst_allow_socket="no"
42060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
42066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42074 printf "%s\n" "no" >&6; }
42075 curl_cv_func_socket="no"
42085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
42087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42124 printf "%s\n" "no" >&6; }
42125 tst_links_socketpair="no"
42128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
42134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42152 printf "%s\n" "no" >&6; }
42153 tst_proto_socketpair="no"
42156 rm -rf conftest*
42161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
42163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42192 printf "%s\n" "no" >&6; }
42193 tst_compi_socketpair="no"
42196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
42203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42208 printf "%s\n" "no" >&6; }
42209 tst_allow_socketpair="no"
42213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
42219 { 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 curl_cv_func_socketpair="no"
42238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
42240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42277 printf "%s\n" "no" >&6; }
42278 tst_links_strcasecmp="no"
42281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
42287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42304 printf "%s\n" "no" >&6; }
42305 tst_proto_strcasecmp="no"
42308 rm -rf conftest*
42313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
42315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42342 printf "%s\n" "no" >&6; }
42343 tst_compi_strcasecmp="no"
42346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
42353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42358 printf "%s\n" "no" >&6; }
42359 tst_allow_strcasecmp="no"
42363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
42369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42377 printf "%s\n" "no" >&6; }
42378 curl_cv_func_strcasecmp="no"
42388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
42390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42427 printf "%s\n" "no" >&6; }
42428 tst_links_strcmpi="no"
42431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
42437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42454 printf "%s\n" "no" >&6; }
42455 tst_proto_strcmpi="no"
42458 rm -rf conftest*
42463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
42465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42492 printf "%s\n" "no" >&6; }
42493 tst_compi_strcmpi="no"
42496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
42503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42508 printf "%s\n" "no" >&6; }
42509 tst_allow_strcmpi="no"
42513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
42519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42527 printf "%s\n" "no" >&6; }
42528 curl_cv_func_strcmpi="no"
42538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
42540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42577 printf "%s\n" "no" >&6; }
42578 tst_links_strdup="no"
42581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
42587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42604 printf "%s\n" "no" >&6; }
42605 tst_proto_strdup="no"
42608 rm -rf conftest*
42613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
42615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42642 printf "%s\n" "no" >&6; }
42643 tst_compi_strdup="no"
42646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
42653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42658 printf "%s\n" "no" >&6; }
42659 tst_allow_strdup="no"
42663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
42669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42677 printf "%s\n" "no" >&6; }
42678 curl_cv_func_strdup="no"
42694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
42696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42733 printf "%s\n" "no" >&6; }
42734 tst_links_strerror_r="no"
42737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
42743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42760 printf "%s\n" "no" >&6; }
42761 tst_proto_strerror_r="no"
42764 rm -rf conftest*
42769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
42771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42798 printf "%s\n" "no" >&6; }
42799 tst_compi_strerror_r="no"
42802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
42809 for arg3 in 'size_t' 'int' 'unsigned int'; do
42811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42841 printf "%s\n" "no" >&6; }
42842 tst_glibc_strerror_r="no"
42845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
42861 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42864 See \`config.log' for more details" "$LINENO" 5; }
42866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42901 printf "%s\n" "no" >&6; }
42902 tst_works_glibc_strerror_r="no"
42905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42913 CC="sh ./run-compiler"
42918 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42921 See \`config.log' for more details" "$LINENO" 5; }
42923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42958 printf "%s\n" "no" >&6; }
42959 tst_works_glibc_strerror_r="no"
42962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
42978 for arg3 in 'size_t' 'int' 'unsigned int'; do
42980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43010 printf "%s\n" "no" >&6; }
43011 tst_posix_strerror_r="no"
43014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
43030 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43033 See \`config.log' for more details" "$LINENO" 5; }
43035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43070 printf "%s\n" "no" >&6; }
43071 tst_works_posix_strerror_r="no"
43074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43082 CC="sh ./run-compiler"
43087 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43090 See \`config.log' for more details" "$LINENO" 5; }
43092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43127 printf "%s\n" "no" >&6; }
43128 tst_works_posix_strerror_r="no"
43131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43143 tst_posix_strerror_r="no"
43146 tst_glibc_strerror_r="no"
43149 test "$tst_works_glibc_strerror_r" != "no" &&
43154 test "$tst_works_posix_strerror_r" != "no" &&
43159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
43162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43167 printf "%s\n" "no" >&6; }
43168 tst_allow_strerror_r="no"
43172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
43178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43199 printf "%s\n" "no" >&6; }
43200 curl_cv_func_strerror_r="no"
43205 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit l…
43217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
43219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43256 printf "%s\n" "no" >&6; }
43257 tst_links_stricmp="no"
43260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43283 printf "%s\n" "no" >&6; }
43284 tst_proto_stricmp="no"
43287 rm -rf conftest*
43292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
43294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43321 printf "%s\n" "no" >&6; }
43322 tst_compi_stricmp="no"
43325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
43332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43337 printf "%s\n" "no" >&6; }
43338 tst_allow_stricmp="no"
43342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
43348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43356 printf "%s\n" "no" >&6; }
43357 curl_cv_func_stricmp="no"
43367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
43369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43406 printf "%s\n" "no" >&6; }
43407 tst_links_strtok_r="no"
43410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
43416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43433 printf "%s\n" "no" >&6; }
43434 tst_proto_strtok_r="no"
43437 rm -rf conftest*
43442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
43444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43471 printf "%s\n" "no" >&6; }
43472 tst_compi_strtok_r="no"
43475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
43482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43487 printf "%s\n" "no" >&6; }
43488 tst_allow_strtok_r="no"
43492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
43498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43506 printf "%s\n" "no" >&6; }
43507 curl_cv_func_strtok_r="no"
43517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
43519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43556 printf "%s\n" "no" >&6; }
43557 tst_links_strtoll="no"
43560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
43566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43583 printf "%s\n" "no" >&6; }
43584 tst_proto_strtoll="no"
43587 rm -rf conftest*
43592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
43594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43621 printf "%s\n" "no" >&6; }
43622 tst_compi_strtoll="no"
43625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
43632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43637 printf "%s\n" "no" >&6; }
43638 tst_allow_strtoll="no"
43642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
43648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43656 printf "%s\n" "no" >&6; }
43657 curl_cv_func_strtoll="no"
43663 ac_cv_func_pipe=no
43665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
43666 printf "%s\n" "$as_me: skip check for pipe on msdosdjgpp" >&6;}
43670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecla…
43671 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
43678 for ac_arg in '' -fno-builtin; do
43681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43696 # No library function is consistently available on
43698 # declaration. Include always-available headers on the
43700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43729 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
43738 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43741 See \`config.log' for more details" "$LINENO" 5; } ;; #(
43769for ac_func in _fseeki64 arc4random fnmatch fseeko geteuid getpass_r getppid getpwuid getpwuid_r g…
43785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
43786 printf %s "checking deeper for $func... " >&6; }
43787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43810 …E_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
43816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
43817 printf "%s\n" "but still no" >&6; }
43820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43841 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode"…
43842 printf %s "checking how to set a socket into non-blocking mode... " >&6; }
43854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
43857 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method…
43858 printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
43865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43866 printf %s "checking for $ac_word... " >&6; }
43878 for as_dir in $as_dummy
43886 for ac_exec_ext in '' $ac_executable_extensions; do
43889 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43900 if test -n "$PERL"; then
43901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
43904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43905 printf "%s\n" "no" >&6; }
43911 for ac_prog in gnroff nroff
43915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43916 printf %s "checking for $ac_word... " >&6; }
43928 for as_dir in $as_dummy
43936 for ac_exec_ext in '' $ac_executable_extensions; do
43939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43950 if test -n "$NROFF"; then
43951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5
43954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43955 printf "%s\n" "no" >&6; }
43959 test -n "$NROFF" && break
43964 if test -n "$NROFF"; then
43966 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from ma…
43968 MANOPT="-man"
43970 if test -z "$mancheck"; then
43971 MANOPT="-mandoc"
43973 if test -z "$mancheck"; then
43975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
43977 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext fro…
43978 printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;}
43980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
43984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
43990 if test -z "$MANOPT"
43992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5
43993 printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;}
43994 USE_MANUAL="no";
44021 if test -n "$want_ares_path"; then
44024 if test -n "$PKG_CONFIG"; then
44027 if test -n "$ac_tool_prefix"; then
44028 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44029 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44031 printf %s "checking for $ac_word... " >&6; }
44043 for as_dir in $as_dummy
44051 for ac_exec_ext in '' $ac_executable_extensions; do
44054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44065 if test -n "$PKGCONFIG"; then
44066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44070 printf "%s\n" "no" >&6; }
44075 if test -z "$ac_cv_path_PKGCONFIG"; then
44077 # Extract the first word of "pkg-config", so it can be a program name with args.
44078 set dummy pkg-config; ac_word=$2
44079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44080 printf %s "checking for $ac_word... " >&6; }
44092 for as_dir in $as_dummy
44100 for ac_exec_ext in '' $ac_executable_extensions; do
44103 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44114 if test -n "$ac_pt_PKGCONFIG"; then
44115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44119 printf "%s\n" "no" >&6; }
44123 PKGCONFIG="no"
44127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44140 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44141 printf %s "checking for libcares options with pkg-config... " >&6; }
44143 if test -n "$ARES_PCDIR"; then
44147 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44149 if test -z "$itexists"; then
44150 PKGCONFIG="no"
44151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44152 printf "%s\n" "no" >&6; }
44154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44159 if test "$PKGCONFIG" != "no" ; then
44161 if test -n "$ARES_PCDIR"; then
44166 $PKGCONFIG --libs-only-l libcares`
44168 if test -n "$ARES_PCDIR"; then
44173 $PKGCONFIG --libs-only-L libcares`
44175 if test -n "$ARES_PCDIR"; then
44180 $PKGCONFIG --cflags-only-I libcares`
44181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
44182 printf "%s\n" "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
44183 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
44184 printf "%s\n" "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44185 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44186 printf "%s\n" "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44188 ares_CPPFLAGS="-I$want_ares_path/include"
44189 ares_LDFLAGS="-L$want_ares_path/lib"
44190 ares_LIBS="-lcares"
44194 if test -n "$PKG_CONFIG"; then
44197 if test -n "$ac_tool_prefix"; then
44198 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44199 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44201 printf %s "checking for $ac_word... " >&6; }
44213 for as_dir in $as_dummy
44221 for ac_exec_ext in '' $ac_executable_extensions; do
44224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44235 if test -n "$PKGCONFIG"; then
44236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44240 printf "%s\n" "no" >&6; }
44245 if test -z "$ac_cv_path_PKGCONFIG"; then
44247 # Extract the first word of "pkg-config", so it can be a program name with args.
44248 set dummy pkg-config; ac_word=$2
44249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44250 printf %s "checking for $ac_word... " >&6; }
44262 for as_dir in $as_dummy
44270 for ac_exec_ext in '' $ac_executable_extensions; do
44273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44284 if test -n "$ac_pt_PKGCONFIG"; then
44285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44289 printf "%s\n" "no" >&6; }
44293 PKGCONFIG="no"
44297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44310 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44311 printf %s "checking for libcares options with pkg-config... " >&6; }
44313 if test -n ""; then
44317 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44319 if test -z "$itexists"; then
44320 PKGCONFIG="no"
44321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44322 printf "%s\n" "no" >&6; }
44324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44329 if test "$PKGCONFIG" != "no" ; then
44330 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
44331 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
44332 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
44333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
44334 printf "%s\n" "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
44335 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
44336 printf "%s\n" "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44337 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44338 printf "%s\n" "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44342 ares_LIBS="-lcares"
44351 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
44352 printf %s "checking that c-ares is good and recent enough... " >&6; }
44353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* set of dummy functions in case c-ares was built with debug */
44381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44387 printf "%s\n" "no" >&6; }
44388 as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
44393 want_ares="no"
44396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44405 curl_res_msg="c-ares"
44414 build_libhostname=no
44427 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
44430 # Check whether --enable-threaded_resolver was given.
44437 no)
44438 want_thres="no"
44444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
44449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded re…
44450 printf %s "checking whether to use POSIX threads for threaded resolver... " >&6; }
44451 # Check whether --enable-pthreads was given.
44455 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44456 printf "%s\n" "no" >&6; }
44457 want_pthreads=no
44459 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
44474 if test "$want_pthreads" != "no"; then
44476 as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
44478 if test "$dontwant_rt" != "no"; then
44480 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is di…
44481 printf "%s\n" "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
44483 want_pthreads=no
44487 if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
44488 want_pthreads=no
44491 if test "$want_pthreads" != "no"; then
44511 *-hp-hpux*)
44520 # assign PTHREAD for pkg-config use
44521 PTHREAD=" -pthread"
44524 *-ibm-aix*)
44525 COMPILER_VERSION=`"$CC" -qversion 2>/dev/null`
44527 CFLAGS="$CFLAGS -pthread"
44529 CFLAGS="$CFLAGS -qthreaded"
44532 powerpc-*amigaos*)
44533 PTHREAD=" -lpthread"
44536 CFLAGS="$CFLAGS -pthread"
44539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
44540 printf %s "checking for pthread_create in -lpthread... " >&6; }
44546 LIBS="-lpthread $LIBS"
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44566 ac_cv_lib_pthread_pthread_create=no
44568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
44597 as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
44606 as_fn_error $? "Threaded resolver enabled but no thread library found" "$LINENO" 5
44611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking convert -I options to -isystem" >&5
44612 printf %s "checking convert -I options to -isystem... " >&6; }
44615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44617 tmp_has_include="no"
44619 for word1 in $tmp_chg_FLAGS; do
44621 -I*)
44627 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44628 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44632 tmp_has_include="no"
44634 for word1 in $tmp_chg_FLAGS; do
44636 -I*)
44642 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44643 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44649 printf "%s\n" "no" >&6; }
44653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
44655 # Check whether --enable-verbose was given.
44659 no)
44660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44661 printf "%s\n" "no" >&6; }
44665 curl_verbose_msg="no"
44667 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows nati…
44680 # Check whether --enable-sspi was given.
44686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44696 printf "%s\n" "no" >&6; }
44697 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on na…
44698 printf "%s\n" "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&…
44703 # --with-schannel implies --enable-sspi
44704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44708 printf "%s\n" "no" >&6; }
44714 # --with-schannel implies --enable-sspi
44715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44719 printf "%s\n" "no" >&6; }
44725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable basic authentication metho…
44727 # Check whether --enable-basic-auth was given.
44731 no)
44732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44733 printf "%s\n" "no" >&6; }
44739 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable bearer authentication meth…
44752 # Check whether --enable-bearer-auth was given.
44756 no)
44757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44758 printf "%s\n" "no" >&6; }
44764 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable digest authentication meth…
44777 # Check whether --enable-digest-auth was given.
44781 no)
44782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44783 printf "%s\n" "no" >&6; }
44789 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable kerberos authentication me…
44802 # Check whether --enable-kerberos-auth was given.
44806 no)
44807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44808 printf "%s\n" "no" >&6; }
44814 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable negotiate authentication m…
44827 # Check whether --enable-negotiate-auth was given.
44831 no)
44832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44833 printf "%s\n" "no" >&6; }
44839 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable aws sig methods" >&5
44853 # Check whether --enable-aws was given.
44857 no)
44858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44859 printf "%s\n" "no" >&6; }
44865 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support NTLM" >&5
44878 # Check whether --enable-ntlm was given.
44882 no)
44883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44884 printf "%s\n" "no" >&6; }
44890 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44903 # Check whether --enable-ntlm-wb was given.
44911 no)
44912 want_ntlm_wb="no"
44919 if test -n "$enableval" && test "$enableval" != "yes"; then
44927 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable NTLM delegation to winbin…
44932 want_ntlm_wb="no"
44934 want_ntlm_wb="no"
44936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_ntlm_wb" >&5
44949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
44950 printf %s "checking whether to enable TLS-SRP authentication... " >&6; }
44951 # Check whether --enable-tls-srp was given.
44955 no)
44956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44957 printf "%s\n" "no" >&6; }
44958 want_tls_srp=no
44960 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
44983 # Check whether --enable-unix-sockets was given.
44987 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44988 printf "%s\n" "no" >&6; }
44989 want_unix_sockets=no
44991 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
45030 as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
45038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support cookies" >&5
45040 # Check whether --enable-cookies was given.
45044 no)
45045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45046 printf "%s\n" "no" >&6; }
45051 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support socketpair" >&5
45064 # Check whether --enable-socketpair was given.
45068 no)
45069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45070 printf "%s\n" "no" >&6; }
45075 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HTTP authentication" >&5
45088 # Check whether --enable-http-auth was given.
45092 no)
45093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45094 printf "%s\n" "no" >&6; }
45099 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DoH" >&5
45112 # Check whether --enable-doh was given.
45116 no)
45117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45118 printf "%s\n" "no" >&6; }
45123 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the MIME API" >&5
45136 # Check whether --enable-mime was given.
45140 no)
45141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45142 printf "%s\n" "no" >&6; }
45147 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support binding connections local…
45160 # Check whether --enable-bindlocal was given.
45164 no)
45165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45166 printf "%s\n" "no" >&6; }
45171 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the form API" >&5
45184 # Check whether --enable-form-api was given.
45188 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45189 printf "%s\n" "no" >&6; }
45194 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45196 test "$enable_mime" = no &&
45202 if test "$enable_mime" = no; then
45203 enable_form_api=no
45204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45205 printf "%s\n" "no" >&6; }
45210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support date parsing" >&5
45219 # Check whether --enable-dateparse was given.
45223 no)
45224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45225 printf "%s\n" "no" >&6; }
45230 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support netrc parsing" >&5
45243 # Check whether --enable-netrc was given.
45247 no)
45248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45249 printf "%s\n" "no" >&6; }
45254 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support progress-meter" >&5
45266 printf %s "checking whether to support progress-meter... " >&6; }
45267 # Check whether --enable-progress-meter was given.
45271 no)
45272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45273 printf "%s\n" "no" >&6; }
45278 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DNS shuffling" >&5
45291 # Check whether --enable-dnsshuffle was given.
45295 no)
45296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45297 printf "%s\n" "no" >&6; }
45302 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support curl_easy_option*" >&5
45315 # Check whether --enable-get-easy-options was given.
45319 no)
45320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45321 printf "%s\n" "no" >&6; }
45326 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
45338 printf %s "checking whether to support alt-svc... " >&6; }
45339 # Check whether --enable-alt-svc was given.
45343 no)
45344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45345 printf "%s\n" "no" >&6; }
45349 curl_altsvc_msg="no";
45350 enable_altsvc="no"
45352 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support headers-api" >&5
45364 printf %s "checking whether to support headers-api... " >&6; }
45365 # Check whether --enable-headers-api was given.
45369 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45370 printf "%s\n" "no" >&6; }
45371 curl_headers_msg="no (--enable-headers-api)"
45377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45388 if test -n "$SSL_ENABLED"; then
45389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HSTS" >&5
45391 # Check whether --enable-hsts was given.
45395 no)
45396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45397 printf "%s\n" "no" >&6; }
45398 hsts="no"
45400 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hsts" >&5
45411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: disables HSTS due to lack of SSL" >&5
45413 hsts="no"
45417 curl_hsts_msg="no (--enable-hsts)";
45424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ECH support is available" >&5
45432 for ac_func in SSL_get_ech_status
45450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ECH_SUPPORT" >&5
45454 as_fn_error $? "--enable-ech ignored: No ECH support found" "$LINENO" 5
45468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support WebSockets" >&5
45470 # Check whether --enable-websockets was given.
45474 no)
45475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45476 printf "%s\n" "no" >&6; }
45479 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
45480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45493 printf "%s\n" "no" >&6; }
45494 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Websockets disabled due to lack of >32 bit …
45500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45501 printf "%s\n" "no" >&6; }
45508 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols …
45511 doing_symbol_hiding="no"
45519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45523 printf "%s\n" "no" >&6; }
45572 elif test -n "$SSL_ENABLED"; then
45590 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
45591 -o "x$USE_THREADS_WIN32" = "x1"; then
45602 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
45614 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
45620 if test "x$CURL_DISABLE_NEGOTIATE_AUTH" != "x1" -a \
45621 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45625 if test "x$CURL_DISABLE_KERBEROS_AUTH" != "x1" -a \
45626 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45630 use_curl_ntlm_core=no
45633 if test "x$OPENSSL_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
45634 -o "x$GNUTLS_ENABLED" = "x1" \
45635 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
45636 -o "x$USE_WIN32_CRYPTO" = "x1" \
45637 -o "x$WOLFSSL_NTLM" = "x1"; then
45642 -o "x$USE_WINDOWS_SSPI" = "x1"; then
45645 if test "x$CURL_DISABLE_HTTP" != "x1" -a \
45653 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
45660 if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \
45661 -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then
45672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5
45673 printf %s "checking if this build supports HTTPS-proxy... " >&6; }
45677 -o "x$GNUTLS_ENABLED" = "x1" \
45678 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
45679 -o "x$RUSTLS_ENABLED" = "x1" \
45680 -o "x$BEARSSL_ENABLED" = "x1" \
45681 -o "x$SCHANNEL_ENABLED" = "x1" \
45682 -o "x$GNUTLS_ENABLED" = "x1" \
45683 -o "x$MBEDTLS_ENABLED" = "x1"; then
45684 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
45685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45687 elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then
45688 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
45689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45693 printf "%s\n" "no" >&6; }
45696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45697 printf "%s\n" "no" >&6; }
45700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45701 printf "%s\n" "no" >&6; }
45708 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
45709 if test ${ac_cv_sizeof_off_t} -gt 4 -o \
45717 elif test "x$USE_THREADS_POSIX" = "x1" -a \
45721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45745 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
45806 -a "x$use_curl_ntlm_core" = "xyes"; then
45856 xc_bad_var_libs=no
45857 for xc_word in $LIBS; do
45859 -l* | --library=*)
45868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
45870 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
45871 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
45875 xc_bad_var_ldflags=no
45876 for xc_word in $LDFLAGS; do
45878 -D*)
45881 -U*)
45884 -I*)
45887 -l* | --library=*)
45893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
45896 for xc_word in $LDFLAGS; do
45898 -D*)
45899 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
45900 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
45902 -U*)
45903 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
45904 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
45906 -I*)
45907 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
45908 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
45910 -l* | --library=*)
45911 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
45912 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45919 xc_bad_var_cppflags=no
45920 for xc_word in $CPPFLAGS; do
45922 -rpath*)
45925 -L* | --library-path=*)
45928 -l* | --library=*)
45934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
45937 for xc_word in $CPPFLAGS; do
45939 -rpath*)
45940 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
45941 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
45943 -L* | --library-path=*)
45944 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
45945 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
45947 -l* | --library=*)
45948 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
45949 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45956 xc_bad_var_cflags=no
45957 for xc_word in $CFLAGS; do
45959 -D*)
45962 -U*)
45965 -I*)
45968 -rpath*)
45971 -L* | --library-path=*)
45974 -l* | --library=*)
45980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
45983 for xc_word in $CFLAGS; do
45985 -D*)
45986 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
45987 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
45989 -U*)
45990 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
45991 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
45993 -I*)
45994 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
45995 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
45997 -rpath*)
45998 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
45999 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
46001 -L* | --library-path=*)
46002 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
46003 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
46005 -l* | --library=*)
46006 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46007 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
46017 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
46027 ac_configure_args="$ac_configure_args --enable-curldebug"
46030-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile l…
46035 # scripts and configure runs, see configure's option --config-cache.
46039 # config.status only pays attention to the cache file if you give it
46040 # the --recheck option to rerun configure.
46049 # but we know of no workaround that is simple, portable, and efficient.
46054 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46059 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
46073 # `set' does not quote correctly, so add quotes: double-quote
46075 sed -n \
46081 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46095 if test -w "$cache_file"; then
46097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
46099 if test ! -f "$cache_file" || test -h "$cache_file"; then
46104 mv -f confcache "$cache_file"$$ &&
46105 mv -f "$cache_file"$$ "$cache_file" ;; #(
46107 mv -f confcache "$cache_file" ;;
46112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
46116 rm -f confcache
46122 DEFS=-DHAVE_CONFIG_H
46127 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46141 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
46145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configur…
46147 if test -n "$am_sleep_pid"; then
46151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
46153 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
46157 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46161 if test -n "$EXEEXT"; then
46169 if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FA…
46173 if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FA…
46177 if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FA…
46181 if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; t…
46185 if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
46189 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46193 if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
46197 if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
46201 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
46205 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46209 if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
46213 if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
46217 if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
46221 if test -z "${USE_GSASL_TRUE}" && test -z "${USE_GSASL_FALSE}"; then
46225 if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_…
46229 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46233 if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
46237 if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
46241 if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
46245 if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
46250 : "${CONFIG_STATUS=./config.status}"
46254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
46261 # Compiler output produced by configure, useful for debugging
46262 # configure, is in config.log if it exists.
46268 SHELL=\${CONFIG_SHELL-$SHELL}
46272 ## -------------------- ##
46274 ## -------------------- ##
46277 DUALCASE=1; export DUALCASE # for MKS sh
46283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
46285 alias -g '${1+"$@"}'='"$@"'
46288 case `(set -o) 2>/dev/null` in #(
46290 set -o posix ;; #(
46304 # Quoting is to prevent editors from complaining about space-tab.
46314 # Ensure predictable behavior from utilities with locale-dependent output.
46321 # to be unset--not just set to an empty or harmless value--now, to
46322 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
46325 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
46337 # Find who we are. Look in the path if we contain no directory separator.
46342 for as_dir in $PATH
46350 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
46361 if test ! -f "$as_myself"; then
46369 # ----------------------------------------
46375 as_status=$1; test $as_status -eq 0 && as_status=1
46377 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
46378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
46387 # -----------------------
46395 # -----------------
46396 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
46405 # ---------------
46414 # ----------------------
46433 # ------------------
46446 as_val=`expr "$@" || test $? -eq 1`
46458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
46464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46470 as_me=`$as_basename -- "$0" ||
46498 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
46499 # for compatibility with existing Makefiles.
46501 case `echo -n x` in #(((((
46502 -n*)
46510 ECHO_N='-n';;
46513 # For backward compatibility with old third-party macros, we provide
46519 rm -f conf$$ conf$$.exe conf$$.file
46520 if test -d conf$$.dir; then
46521 rm -f conf$$.dir/conf$$.file
46523 rm -f conf$$.dir
46527 if ln -s conf$$.file conf$$ 2>/dev/null; then
46528 as_ln_s='ln -s'
46530 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
46531 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
46532 # In both cases, we have to default to `cp -pR'.
46533 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
46534 as_ln_s='cp -pR'
46538 as_ln_s='cp -pR'
46541 as_ln_s='cp -pR'
46543 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
46548 # -------------
46554 -*) as_dir=./$as_dir;;
46556 test -d "$as_dir" || eval $as_mkdir_p || {
46564 as_dir=`$as_dirname -- "$as_dir" ||
46587 test -d "$as_dir" && break
46589 test -z "$as_dirs" || eval "mkdir $as_dirs"
46590 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
46594 if mkdir -p . 2>/dev/null; then
46595 as_mkdir_p='mkdir -p "$as_dir"'
46597 test -d ./-p && rmdir ./-p
46603 # -----------------------
46607 test -f "$1" && test -x "$1"
46609 as_test_x='test -x'
46612 # Sed expression to map a string onto a valid CPP name.
46620 ## ----------------------------------- ##
46622 ## ----------------------------------- ##
46631 This file was extended by curl $as_me -, which was
46640 on `(hostname || uname -n) 2>/dev/null | sed 1q`
46655 # Files that config.status was made for.
46670 -h, --help print this help, then exit
46671 -V, --version print version number and configuration settings, then exit
46672 --config print configuration, then exit
46673 -q, --quiet, --silent
46675 -d, --debug don't remove temporary files
46676 --recheck update $as_me by reconfiguring in the same conditions
46677 --file=FILE[:TEMPLATE]
46679 --header=FILE[:TEMPLATE]
46699 curl config.status -
46704 This config.status script is free software; the Free Software Foundation
46712 test -n "\$AWK" || AWK=awk
46721 --*=?*)
46726 --*=)
46740 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46742 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
46744 --config | --confi | --conf | --con | --co | --c )
46746 --debug | --debu | --deb | --de | --d | -d )
46748 --file | --fil | --fi | --f )
46756 --header | --heade | --head | --hea )
46763 --he | --h)
46764 # Conflict between --help and --header
46766 Try \`$0 --help' for more information.";;
46767 --help | --hel | -h )
46769 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46770 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46774 -*) as_fn_error $? "unrecognized option: \`$1'
46775 Try \`$0 --help' for more information." ;;
46788 ac_configure_extra_args="$ac_configure_extra_args --silent"
46794 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46804 exec 5>>config.log
46807 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46816 # INIT-COMMANDS
46818 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
46821 # The HP-UX ksh and POSIX shell print the target directory to stdout
47013 # A function that is used when there is no print builtin or printf.
47022 for var in AS \
47120 # Double-quote double-evaled strings.
47121 for var in reload_cmds \
47154 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
47166 if test -n "\${ZSH_VERSION+set}"; then
47186 for ac_config_target in $ac_config_targets
47197 "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
47206 "tests/config") CONFIG_FILES="$CONFIG_FILES tests/config" ;;
47213 "tests/http/config.ini") CONFIG_FILES="$CONFIG_FILES tests/http/config.ini" ;;
47218 "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
47228 # We use the long form for the default assignment because of an extremely
47236 # Have a temporary directory for convenience. Make it in the build tree
47237 # simply because there is no reason against having it here, and in addition,
47239 # Hook for its removal unless debugging.
47247 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
47251 # Create a (secure) tmp directory for tmp files.
47254 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
47255 test -d "$tmp"
47258 tmp=./conf$$-$RANDOM
47263 # Set up the scripts for CONFIG_FILES section.
47264 # No need to generate them if there are no CONFIG_FILES.
47265 # This happens for instance with `./config.status config.h'.
47266 if test -n "$CONFIG_FILES"; then
47271 # But we know of no other shell where ac_cr would be empty at this
47293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
47295 for ac_last_try in false false false false false :; do
47299 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
47308 rm -f conf$$subs.sh
47313 sed -n '
47356 rm -f conf$$subs.awk
47360 for (key in S) S_is_set[key] = 1
47369 for (i = 2; i < nfields; i++) {
47392 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
47419 fi # test -n "$CONFIG_FILES"
47421 # Set up the scripts for CONFIG_HEADERS section.
47422 # No need to generate them if there are no CONFIG_HEADERS.
47423 # This happens for instance with `./config.status Makefile'.
47424 if test -n "$CONFIG_HEADERS"; then
47430 # here-document in config.status, that substitutes the proper values into
47431 # config.h.in to produce config.h.
47436 for ac_last_try in false false :; do
47437 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
47438 if test -z "$ac_tt"; then
47447 # For the awk script, D is an array of macro values keyed by name,
47452 sed -n '
47492 for (key in D) D_is_set[key] = 1
47507 prefix = substr(line, 1, index(line, defundef) - 1)
47513 # Replace #undef with comments. This is necessary, for example,
47526 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
47527 fi # test -n "$CONFIG_HEADERS"
47532 for ac_tag
47540 :[FH]-) ac_tag=-:-;;
47555 for ac_f
47558 -) ac_f="$ac_tmp/stdin";;
47559 *) # Look for the file first in the build tree, then in the source tree
47560 # (if the path is not absolute). The absolute path cannot be DOS-style,
47562 test -f "$ac_f" ||
47565 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
47575 # /* config.h. Generated by config.status. */
47579 if test x"$ac_file" != x-; then
47581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
47593 *:-:* | *:-) cat >"$ac_tmp/stdin" \
47599 ac_dir=`$as_dirname -- "$ac_file" ||
47629 # A ".." for each directory in $ac_dir_suffix.
47638 # for backward compatibility:
47689 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
47692 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
47693 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
47715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
47730 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
47733 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
47734 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
47735 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
47736 "$ac_tmp/out"`; test -z "$ac_out"; } &&
47737 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
47742 rm -f "$ac_tmp/stdin"
47744 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
47745 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
47753 if test x"$ac_file" != x-; then
47756 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
47757 } >"$ac_tmp/config.h" \
47759 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
47760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
47763 rm -f "$ac_file"
47764 mv "$ac_tmp/config.h" "$ac_file" \
47769 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
47770 || as_fn_error $? "could not create -" "$LINENO" 5
47775 for _am_header in $config_headers :; do
47783 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
47805 s/.*/./; q'`/stamp-h$_am_stamp_count
47808 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
47816 # Older Autoconf quotes --file arguments for eval, but not when files
47817 # are listed without --file. Let's play safe and only enable the eval
47832 for am_mf
47835 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
47837 # dependency-tracking related rules and includes.
47840 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
47842 am_dirpart=`$as_dirname -- "$am_mf" ||
47865 am_filepart=`$as_basename -- "$am_mf" ||
47884 && sed -e '/# am--include-marker/d' "$am_filepart" \
47885 | $MAKE -f - am--depfiles" >&5
47887 && sed -e '/# am--include-marker/d' "$am_filepart" \
47888 | $MAKE -f - am--depfiles) >&5 2>&5
47893 if test $am_rc -ne 0; then
47894 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47897 for automatic dependency tracking. If GNU make was not used, consider
47898 re-running the configure script with MAKE=\"gmake\" (or whatever is
47899 necessary). You can also try re-running configure with the
47900 '--disable-dependency-tracking' option to at least be able to build
47901 the package (albeit without support for automatic dependency tracking).
47902 See \`config.log' for more details" "$LINENO" 5; }
47908 rm -f conftest-deps.mk
47915 if test -n "${ZSH_VERSION+set}"; then
47928 # Provide generalized library-building support services.
47932 # This is free software; see the source for copying conditions. There is NO
47933 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
47943 # distribution terms that you use for the rest of that program.
47947 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47948 # GNU General Public License for more details.
47957 # Configured defaults for sys_lib_dlsearch_path munging.
47960 # ### BEGIN LIBTOOL CONFIG
47984 # Whether or not to optimize for fast installation.
47987 # Shared archive member basename,for filename based shared library versioning on AIX.
47996 # The PATH separator for the build system.
48012 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
48013 Xsed="\$SED -e 1s/^X//"
48024 # A BSD- or MS-compatible name lister.
48079 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
48087 # Commands used to install an old-style archive.
48092 # Whether to use a lock for old archive extraction.
48119 # Specify filename containing input files for \$NM.
48122 # The root where to search for dependent libraries,and where our libraries should be installed.
48149 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
48152 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
48168 # Do we need the "lib" prefix for modules?
48171 # Do we need a version for libraries?
48183 # Is shlibpath searched before the hard-coded library search path?
48190 # The last name is the one that the linker finds with -lNAME
48196 # Permission mode override for installation of shared libraries.
48215 # Compile-time system search path for libraries.
48218 # Detected run-time system search path for libraries.
48245 # Commands used to build an old-style archive.
48257 # Additional compiler flags for building library objects.
48266 # Does compiler simultaneously support -c and -o options?
48269 # Whether or not to add -lc for building shared libraries.
48281 # Whether the compiler copes with passing no objects directly.
48284 # Create an old-style archive from a shared archive.
48287 # Create a temporary old-style archive to link instead of a shared archive.
48305 # Flag that enforces no undefined symbols.
48312 # Whether we need a single "-rpath" flag with a separated argument.
48325 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48357 # Commands necessary for linking programs (against libraries) with templates.
48360 # Commands necessary for finishing linking programs.
48369 # ### END LIBTOOL CONFIG
48378 # -----------------------------------
48403 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
48404 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
48413 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
48416 for cc_temp in $*""; do
48420 \-*) ;;
48424 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
48435 # AIX sometimes has problems with the GCC collect2 program. For some
48452 # if finds mixed CR/LF and LF-only lines. Since sed operates in
48456 || (rm -f "$cfgfile"; exit 1)
48458 mv -f "$cfgfile" "$ofile" ||
48459 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
48465 # ### BEGIN LIBTOOL TAG CONFIG: RC
48474 # Commands used to build an old-style archive.
48486 # Additional compiler flags for building library objects.
48495 # Does compiler simultaneously support -c and -o options?
48498 # Whether or not to add -lc for building shared libraries.
48510 # Whether the compiler copes with passing no objects directly.
48513 # Create an old-style archive from a shared archive.
48516 # Create a temporary old-style archive to link instead of a shared archive.
48534 # Flag that enforces no undefined symbols.
48541 # Whether we need a single "-rpath" flag with a separated argument.
48554 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48586 # Commands necessary for linking programs (against libraries) with templates.
48589 # Commands necessary for finishing linking programs.
48598 # ### END LIBTOOL TAG CONFIG: RC
48604 done # for ac_tag
48615 # configure is writing to config.log, and then calls config.status.
48616 # config.status does its own redirection, appending to config.log.
48617 # Unfortunately, on DOS this fails, as config.log is still kept open
48618 # by configure, so config.status won't be able to write to it; its
48620 # effectively closing config.log, so it can be properly (re)opened and
48621 # appended to by config.status. When coming back to configure, we
48627 ac_config_status_args="$ac_config_status_args --quiet"
48630 exec 5>>config.log
48635 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
48636 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…
48643 if test -z "$tmp_cpp"; then
48644 tmp_cpp='cpp'
48673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
48689 GSS-API: ${curl_gss_msg}
48691 TLS-SRP: ${curl_tls_srp_msg}
48697 Built-in manual: ${curl_manual_msg}
48698 --libcurl option: ${curl_libcurl_msg}
48710 Alt-svc: ${curl_altsvc_msg}
48737 GSS-API: ${curl_gss_msg}
48739 TLS-SRP: ${curl_tls_srp_msg}
48745 Built-in manual: ${curl_manual_msg}
48746 --libcurl option: ${curl_libcurl_msg}
48758 Alt-svc: ${curl_altsvc_msg}
48769 if test -n "$experimental"; then