• Home
  • Raw
  • Download

Lines Matching +full:aws +full:- +full:crt +full:- +full:test +full:- +full:stuff

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,
19 ## -------------------------------- ##
21 ## -------------------------------- ##
66 # Try built-in echo, and fail.
73 # Verify that 'test' command is available, otherwise abort.
77 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
83 echo "$xc_msg_err 'test' command not found. $xc_msg_abrt" >&2
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.
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.
252 elif test "x$PATH_SEPARATOR" != "x$xc_tst_auto_separator"; then
253 echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2
261 ## -------------------- ##
263 ## -------------------- ##
268 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
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
315 do eval test \${$as_var+y} \
339 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
347 if test "x$as_myself" = x; then
350 if test ! -f "$as_myself"; then
357 # into an infinite loop, continuously re-executing ourselves.
358 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
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
381 if test "x$CONFIG_SHELL" = x; then
383 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
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 ;; #(
411 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
417 test x\$exitcode = x0 || exit 1
419 test x\"\$blah\" = xblah || exit 1
420 test -x / || exit 1"
423 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
424 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
425 test \$(( 1 + 1 )) = 2 || exit 1
427 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
432 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
433 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
440 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
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
486 if test "x$CONFIG_SHELL" != x
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
509 if test x$as_have_required = xno
513 if test ${ZSH_VERSION+y} ; then
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 # -----------------------
622 # Test if FILE is an executable regular file.
625 test -f "$1" && test -x "$1"
628 # ----------------------
633 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
647 # ------------------
651 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
660 as_val=`expr "$@" || test $? -eq 1`
665 # ---------
674 # ----------------------------------------
680 as_status=$1; test $as_status -eq 0 && as_status=1
681 if test "$4"; then
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
690 test "X`expr 00001 : '.*\(...\)'`" = X001; then
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" ||
737 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
738 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
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
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'
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`
863 PACKAGE_VERSION='-'
864 PACKAGE_STRING='curl -'
1362 if test -n "$ac_prev"; then
1375 --)
1378 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1380 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1383 -build | --build | --buil | --bui | --bu)
1385 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1388 -cache-file | --cache-file | --cache-fil | --cache-fi \
1389 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1391 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1392 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1395 --config-cache | -C)
1398 -datadir | --datadir | --datadi | --datad)
1400 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1403 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1404 | --dataroo | --dataro | --datar)
1406 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1407 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1410 -disable-* | --disable-*)
1411 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1413 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1416 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1421 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1426 -docdir | --docdir | --docdi | --doc | --do)
1428 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1431 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1433 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1436 -enable-* | --enable-*)
1437 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1439 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1442 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1447 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1452 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1453 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1454 | --exec | --exe | --ex)
1456 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1457 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1458 | --exec=* | --exe=* | --ex=*)
1461 -gas | --gas | --ga | --g)
1462 # Obsolete; use --with-gas.
1465 -help | --help | --hel | --he | -h)
1467 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1469 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1472 -host | --host | --hos | --ho)
1474 -host=* | --host=* | --hos=* | --ho=*)
1477 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1479 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1480 | --ht=*)
1483 -includedir | --includedir | --includedi | --included | --include \
1484 | --includ | --inclu | --incl | --inc)
1486 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1487 | --includ=* | --inclu=* | --incl=* | --inc=*)
1490 -infodir | --infodir | --infodi | --infod | --info | --inf)
1492 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1495 -libdir | --libdir | --libdi | --libd)
1497 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1500 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1501 | --libexe | --libex | --libe)
1503 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1504 | --libexe=* | --libex=* | --libe=*)
1507 -localedir | --localedir | --localedi | --localed | --locale)
1509 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1512 -localstatedir | --localstatedir | --localstatedi | --localstated \
1513 | --localstate | --localstat | --localsta | --localst | --locals)
1515 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1516 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1519 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1521 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1524 -nfp | --nfp | --nf)
1525 # Obsolete; use --without-fp.
1528 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1529 | --no-cr | --no-c | -n)
1532 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1533 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1536 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1537 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1538 | --oldin | --oldi | --old | --ol | --o)
1540 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1541 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1542 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1545 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1547 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1550 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1551 | --program-pre | --program-pr | --program-p)
1553 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1554 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1557 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1558 | --program-suf | --program-su | --program-s)
1560 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1561 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1564 -program-transform-name | --program-transform-name \
1565 | --program-transform-nam | --program-transform-na \
1566 | --program-transform-n | --program-transform- \
1567 | --program-transform | --program-transfor \
1568 | --program-transfo | --program-transf \
1569 | --program-trans | --program-tran \
1570 | --progr-tra | --program-tr | --program-t)
1572 -program-transform-name=* | --program-transform-name=* \
1573 | --program-transform-nam=* | --program-transform-na=* \
1574 | --program-transform-n=* | --program-transform-=* \
1575 | --program-transform=* | --program-transfor=* \
1576 | --program-transfo=* | --program-transf=* \
1577 | --program-trans=* | --program-tran=* \
1578 | --progr-tra=* | --program-tr=* | --program-t=*)
1581 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1583 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1586 -psdir | --psdir | --psdi | --psd | --ps)
1588 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1592 | -silent | --silent | --silen | --sile | --sil)
1595 -runstatedir | --runstatedir | --runstatedi | --runstated \
1596 | --runstate | --runstat | --runsta | --runst | --runs \
1597 | --run | --ru | --r)
1599 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1600 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1601 | --run=* | --ru=* | --r=*)
1604 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1606 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1607 | --sbi=* | --sb=*)
1610 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1611 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1612 | --sharedst | --shareds | --shared | --share | --shar \
1613 | --sha | --sh)
1615 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1616 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1617 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1618 | --sha=* | --sh=*)
1621 -site | --site | --sit)
1623 -site=* | --site=* | --sit=*)
1626 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1628 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1631 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1632 | --syscon | --sysco | --sysc | --sys | --sy)
1634 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1635 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1638 -target | --target | --targe | --targ | --tar | --ta | --t)
1640 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1643 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1646 -version | --version | --versio | --versi | --vers | -V)
1649 -with-* | --with-*)
1650 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1652 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1655 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1660 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1665 -without-* | --without-*)
1666 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1668 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1671 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1676 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1681 --x)
1682 # Obsolete; use --with-x.
1685 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1686 | --x-incl | --x-inc | --x-in | --x-i)
1688 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1689 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1692 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1693 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1695 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1696 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1699 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1700 Try \`$0 --help' for more information"
1707 '' | [0-9]* | *[!_$as_cr_alnum]* )
1715 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1716 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1724 if test -n "$ac_prev"; then
1725 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1729 if test -n "$ac_unrecognized_opts"; then
1755 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1759 # used to hold the argument of --host etc.
1766 if test "x$host_alias" != x; then
1767 if test "x$build_alias" = x; then
1769 elif test "x$build_alias" != "x$host_alias"; then
1775 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1777 test "$silent" = yes && exec 6>/dev/null
1780 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1781 ac_ls_di=`ls -di .` &&
1782 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1784 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1789 if test -z "$srcdir"; then
1792 ac_confdir=`$as_dirname -- "$as_myself" ||
1816 if test ! -r "$srcdir/$ac_unique_file"; then
1822 if test ! -r "$srcdir/$ac_unique_file"; then
1823 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1828 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1831 if test "$ac_abs_confdir" = "$ac_pwd"; then
1836 # mess up M-x gdb in Emacs.
1848 # Report the --help message.
1850 if test "$ac_init_help" = "long"; then
1854 \`configure' configures curl - to adapt to many kinds of systems.
1864 -h, --help display this help and exit
1865 --help=short display options specific to this package
1866 --help=recursive display the short help of all the included packages
1867 -V, --version display version information and exit
1868 -q, --quiet, --silent do not print \`checking ...' messages
1869 --cache-file=FILE cache test results in FILE [disabled]
1870 -C, --config-cache alias for \`--cache-file=config.cache'
1871 -n, --no-create do not create output files
1872 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1875 --prefix=PREFIX install architecture-independent files in PREFIX
1877 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1882 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1883 for instance \`--prefix=\$HOME'.
1888 --bindir=DIR user executables [EPREFIX/bin]
1889 --sbindir=DIR system admin executables [EPREFIX/sbin]
1890 --libexecdir=DIR program executables [EPREFIX/libexec]
1891 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1892 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1893 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1894 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1895 --libdir=DIR object code libraries [EPREFIX/lib]
1896 --includedir=DIR C header files [PREFIX/include]
1897 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1898 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1899 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1900 --infodir=DIR info documentation [DATAROOTDIR/info]
1901 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1902 --mandir=DIR man documentation [DATAROOTDIR/man]
1903 --docdir=DIR documentation root [DATAROOTDIR/doc/curl]
1904 --htmldir=DIR html documentation [DOCDIR]
1905 --dvidir=DIR dvi documentation [DOCDIR]
1906 --pdfdir=DIR pdf documentation [DOCDIR]
1907 --psdir=DIR ps documentation [DOCDIR]
1913 --program-prefix=PREFIX prepend PREFIX to installed program names
1914 --program-suffix=SUFFIX append SUFFIX to installed program names
1915 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1918 --build=BUILD configure for building on BUILD [guessed]
1919 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1923 if test -n "$ac_init_help"; then
1925 short | recursive ) echo "Configuration of curl -:";;
1930 --disable-option-checking ignore unrecognized --enable/--with options
1931 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1932 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1933 --enable-maintainer-mode
1936 --enable-silent-rules less verbose build output (undo: "make V=1")
1937 --disable-silent-rules verbose build output (undo: "make V=0")
1938 --enable-debug Enable debug build options
1939 --disable-debug Disable debug build options
1940 --enable-optimize Enable compiler optimizations
1941 --disable-optimize Disable compiler optimizations
1942 --enable-warnings Enable strict compiler warnings
1943 --disable-warnings Disable strict compiler warnings
1944 --enable-werror Enable compiler warnings as errors
1945 --disable-werror Disable compiler warnings as errors
1946 --enable-curldebug Enable curl debug memory tracking
1947 --disable-curldebug Disable curl debug memory tracking
1948 --enable-symbol-hiding Enable hiding of library internal symbols
1949 --disable-symbol-hiding Disable hiding of library internal symbols
1950 --enable-ares[=PATH] Enable c-ares for DNS lookups
1951 --disable-ares Disable c-ares for DNS lookups
1952 --disable-rt disable dependency on -lrt
1953 --enable-httpsrr Enable HTTPSRR support
1954 --disable-httpsrr Disable HTTPSRR support
1955 --enable-ech Enable ECH support
1956 --disable-ech Disable ECH support
1957 --enable-code-coverage Provide code coverage
1958 --enable-dependency-tracking
1960 --disable-dependency-tracking
1961 speeds up one-time build
1962 --disable-largefile omit support for large files
1963 --enable-shared[=PKGS] build shared libraries [default=yes]
1964 --enable-static[=PKGS] build static libraries [default=yes]
1965 --enable-fast-install[=PKGS]
1967 --disable-libtool-lock avoid locking (might break parallel builds)
1968 --enable-http Enable HTTP support
1969 --disable-http Disable HTTP support
1970 --enable-ftp Enable FTP support
1971 --disable-ftp Disable FTP support
1972 --enable-file Enable FILE support
1973 --disable-file Disable FILE support
1974 --enable-ldap Enable LDAP support
1975 --disable-ldap Disable LDAP support
1976 --enable-ldaps Enable LDAPS support
1977 --disable-ldaps Disable LDAPS support
1978 --enable-rtsp Enable RTSP support
1979 --disable-rtsp Disable RTSP support
1980 --enable-proxy Enable proxy support
1981 --disable-proxy Disable proxy support
1982 --enable-dict Enable DICT support
1983 --disable-dict Disable DICT support
1984 --enable-telnet Enable TELNET support
1985 --disable-telnet Disable TELNET support
1986 --enable-tftp Enable TFTP support
1987 --disable-tftp Disable TFTP support
1988 --enable-pop3 Enable POP3 support
1989 --disable-pop3 Disable POP3 support
1990 --enable-imap Enable IMAP support
1991 --disable-imap Disable IMAP support
1992 --enable-smb Enable SMB/CIFS support
1993 --disable-smb Disable SMB/CIFS support
1994 --enable-smtp Enable SMTP support
1995 --disable-smtp Disable SMTP support
1996 --enable-gopher Enable Gopher support
1997 --disable-gopher Disable Gopher support
1998 --enable-mqtt Enable MQTT support
1999 --disable-mqtt Disable MQTT support
2000 --enable-manual Enable built-in manual
2001 --disable-manual Disable built-in manual
2002 --enable-docs Enable documentation
2003 --disable-docs Disable documentation
2004 --enable-libcurl-option Enable --libcurl C code generation support
2005 --disable-libcurl-option
2006 Disable --libcurl C code generation support
2007 --enable-libgcc use libgcc when linking
2008 --enable-ipv6 Enable IPv6 (with IPv4) support
2009 --disable-ipv6 Disable IPv6 support
2010 --enable-openssl-auto-load-config
2012 --disable-openssl-auto-load-config
2014 --enable-versioned-symbols
2016 --disable-versioned-symbols
2018 --enable-threaded-resolver
2020 --disable-threaded-resolver
2022 --enable-pthreads Enable POSIX threads (default for threaded resolver)
2023 --disable-pthreads Disable POSIX threads
2024 --enable-verbose Enable verbose strings
2025 --disable-verbose Disable verbose strings
2026 --enable-sspi Enable SSPI
2027 --disable-sspi Disable SSPI
2028 --enable-basic-auth Enable basic authentication (default)
2029 --disable-basic-auth Disable basic authentication
2030 --enable-bearer-auth Enable bearer authentication (default)
2031 --disable-bearer-auth Disable bearer authentication
2032 --enable-digest-auth Enable digest authentication (default)
2033 --disable-digest-auth Disable digest authentication
2034 --enable-kerberos-auth Enable kerberos authentication (default)
2035 --disable-kerberos-auth Disable kerberos authentication
2036 --enable-negotiate-auth Enable negotiate authentication (default)
2037 --disable-negotiate-auth
2039 --enable-aws Enable AWS sig support (default)
2040 --disable-aws Disable AWS sig support
2041 --enable-ntlm Enable NTLM support
2042 --disable-ntlm Disable NTLM support
2043 --enable-tls-srp Enable TLS-SRP authentication
2044 --disable-tls-srp Disable TLS-SRP authentication
2045 --enable-unix-sockets Enable Unix domain sockets
2046 --disable-unix-sockets Disable Unix domain sockets
2047 --enable-cookies Enable cookies support
2048 --disable-cookies Disable cookies support
2049 --enable-socketpair Enable socketpair support
2050 --disable-socketpair Disable socketpair support
2051 --enable-http-auth Enable HTTP authentication support
2052 --disable-http-auth Disable HTTP authentication support
2053 --enable-doh Enable DoH support
2054 --disable-doh Disable DoH support
2055 --enable-mime Enable mime API support
2056 --disable-mime Disable mime API support
2057 --enable-bindlocal Enable local binding support
2058 --disable-bindlocal Disable local binding support
2059 --enable-form-api Enable form API support
2060 --disable-form-api Disable form API support
2061 --enable-dateparse Enable date parsing
2062 --disable-dateparse Disable date parsing
2063 --enable-netrc Enable netrc parsing
2064 --disable-netrc Disable netrc parsing
2065 --enable-progress-meter Enable progress-meter
2066 --disable-progress-meter
2067 Disable progress-meter
2068 --enable-dnsshuffle Enable DNS shuffling
2069 --disable-dnsshuffle Disable DNS shuffling
2070 --enable-get-easy-options
2072 --disable-get-easy-options
2074 --enable-alt-svc Enable alt-svc support
2075 --disable-alt-svc Disable alt-svc support
2076 --enable-headers-api Enable headers-api support
2077 --disable-headers-api Disable headers-api support
2078 --enable-hsts Enable HSTS support
2079 --disable-hsts Disable HSTS support
2080 --enable-websockets Enable WebSockets support
2081 --disable-websockets Disable WebSockets support
2084 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2085 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2086 --with-schannel enable Windows native SSL/TLS
2087 --with-secure-transport enable Apple OS native SSL/TLS
2088 --with-amissl enable Amiga native SSL/TLS (AmiSSL)
2089 --with-ssl=PATH old version of --with-openssl
2090 --without-ssl build without any TLS library
2091 --with-openssl=PATH Where to look for OpenSSL, PATH points to the SSL
2095 --with-gnutls=PATH where to look for GnuTLS, PATH points to the
2097 --with-mbedtls=PATH where to look for mbedTLS, PATH points to the
2099 --with-wolfssl=PATH where to look for WolfSSL, PATH points to the
2101 --with-bearssl=PATH where to look for BearSSL, PATH points to the
2103 --with-rustls=PATH where to look for rustls, PATH points to the
2105 --with-test-nghttpx=PATH
2107 --with-test-caddy=PATH where to find caddy for testing
2108 --with-test-vsftpd=PATH where to find vsftpd for testing
2109 --with-test-httpd=PATH where to find httpd/apache2 for testing
2111 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2113 --with-aix-soname=aix|svr4|both
2116 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2117 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2119 --with-hyper=PATH Enable hyper usage
2120 --without-hyper Disable hyper usage
2121 --with-zlib=PATH search for zlib in PATH
2122 --without-zlib disable use of zlib
2123 --with-brotli=PATH Where to look for brotli, PATH points to the BROTLI
2126 --without-brotli disable BROTLI
2127 --with-zstd=PATH Where to look for libzstd, PATH points to the
2131 --without-zstd disable libzstd
2132 --with-ldap-lib=libname Specify name of ldap lib file
2133 --with-lber-lib=libname Specify name of lber lib file
2134 --with-gssapi-includes=DIR
2135 Specify location of GSS-API headers
2136 --with-gssapi-libs=DIR Specify location of GSS-API libs
2137 --with-gssapi=DIR Where to look for GSS-API
2138 --with-default-ssl-backend=NAME
2140 --without-default-ssl-backend
2142 --with-random=FILE read randomness from FILE (default=/dev/urandom)
2143 --with-ca-bundle=FILE Path to a file containing CA certificates (example:
2144 /etc/ca-bundle.crt)
2145 --without-ca-bundle Don't use a default CA bundle
2146 --with-ca-path=DIRECTORY
2153 --without-ca-path Don't use a default CA path
2154 --with-ca-fallback Use the built in CA store of the SSL library
2155 --without-ca-fallback Don't use the built in CA store of the SSL library
2156 --with-libpsl=PATH Where to look for libpsl, PATH points to the LIBPSL
2159 --without-libpsl disable LIBPSL
2160 --without-libgsasl disable libgsasl support for SCRAM
2161 --with-libssh2=PATH Where to look for libssh2, PATH points to the
2165 --with-libssh2 enable libssh2
2166 --with-libssh=PATH Where to look for libssh, PATH points to the libssh
2169 --with-libssh enable libssh
2170 --with-wolfssh=PATH Where to look for wolfssh, PATH points to the
2174 --with-wolfssh enable wolfssh
2175 --with-librtmp=PATH Where to look for librtmp, PATH points to the
2179 --without-librtmp disable LIBRTMP
2180 --with-winidn=PATH enable Windows native IDN
2181 --without-winidn disable Windows native IDN
2182 --with-libidn2=PATH Enable libidn2 usage
2183 --without-libidn2 Disable libidn2 usage
2184 --with-nghttp2=PATH Enable nghttp2 usage
2185 --without-nghttp2 Disable nghttp2 usage
2186 --with-ngtcp2=PATH Enable ngtcp2 usage
2187 --without-ngtcp2 Disable ngtcp2 usage
2188 --with-openssl-quic Enable OpenSSL QUIC usage
2189 --without-openssl-quic Disable OpenSSL QUIC usage
2190 --with-nghttp3=PATH Enable nghttp3 usage
2191 --without-nghttp3 Disable nghttp3 usage
2192 --with-quiche=PATH Enable quiche usage
2193 --without-quiche Disable quiche usage
2194 --with-msh3=PATH Enable msh3 usage
2195 --without-msh3 Disable msh3 usage
2196 --with-zsh-functions-dir=PATH
2198 --without-zsh-functions-dir
2200 --with-fish-functions-dir=PATH
2202 --without-fish-functions-dir
2208 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2210 LIBS libraries to pass to the linker, e.g. -l<library>
2211 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2215 User-defined run-time library search path.
2225 if test "$ac_init_help" = "recursive"; then
2226 # If there are subdirs, report their specific --help.
2227 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2228 test -d "$ac_dir" ||
2229 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2267 # Metaconfig's "Configure" on case-insensitive file systems.
2268 if test -f "$ac_srcdir/configure.gnu"; then
2270 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2271 elif test -f "$ac_srcdir/configure"; then
2273 $SHELL "$ac_srcdir/configure" --help=recursive
2281 test -n "$ac_init_help" && exit $ac_status
2284 curl configure -
2298 ## ------------------------ ##
2300 ## ------------------------ ##
2303 # --------------------------
2307 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2308 rm -f conftest.$ac_objext conftest.beam
2314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2318 if test -s conftest.err; then
2319 grep -v '^ *+' conftest.err >conftest.er1
2321 mv -f conftest.er1 conftest.err
2323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2324 test $ac_status = 0; } && {
2325 test -z "$ac_c_werror_flag" ||
2326 test ! -s conftest.err
2327 } && test -s conftest.$ac_objext
2342 # ----------------------
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2356 if test -s conftest.err; then
2357 grep -v '^ *+' conftest.err >conftest.er1
2359 mv -f conftest.er1 conftest.err
2361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2362 test $ac_status = 0; } > conftest.i && {
2363 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2364 test ! -s conftest.err
2380 # -------------------------------------------------------
2385 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2388 if eval test \${$3+y}
2392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2413 # -----------------------
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2428 if test -s conftest.err; then
2429 grep -v '^ *+' conftest.err >conftest.er1
2431 mv -f conftest.er1 conftest.err
2433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2434 test $ac_status = 0; } && {
2435 test -z "$ac_c_werror_flag" ||
2436 test ! -s conftest.err
2437 } && test -s conftest$ac_exeext && {
2438 test "$cross_compiling" = yes ||
2439 test -x conftest$ac_exeext
2453 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2460 # ----------------------------------
2464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2467 if eval test \${$3+y}
2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2513 # ----------------------
2518 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2529 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; }; }
2549 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2556 # -------------------------------------------------------
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 if eval test \${$3+y}
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2610 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2611 # ------------------------------------------------------------------
2613 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2620 if eval test \${$3+y}
2624 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 # ----------------------------------------------------
2667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2670 if eval test \${$4+y}
2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2742 It was created by curl $as_me -, which was
2751 ## --------- ##
2753 ## --------- ##
2755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2762 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2765 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2792 ## ----------- ##
2794 ## ----------- ##
2800 # Strip out --no-create and --no-recursion so they do not pile up.
2801 # Strip out --silent because we don't want to record it for future runs.
2802 # Also quote any args containing shell meta-characters.
2803 # Make two passes to allow for proper duplicate-argument suppression.
2813 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2814 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2815 | -silent | --silent | --silen | --sile | --sil)
2824 if test $ac_must_keep_next = true; then
2828 *=* | --config-cache | -C | -disable-* | --disable-* \
2829 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2830 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2831 | -with-* | --with-* | -without-* | --without-* | --x)
2836 -* ) ac_must_keep_next=true ;;
2859 printf "%s\n" "## ---------------- ##
2861 ## ---------------- ##"
2865 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2870 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2883 sed -n \
2888 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2895 printf "%s\n" "## ----------------- ##
2897 ## ----------------- ##"
2909 if test -n "$ac_subst_files"; then
2910 printf "%s\n" "## ------------------- ##
2912 ## ------------------- ##"
2925 if test -s confdefs.h; then
2926 printf "%s\n" "## ----------- ##
2928 ## ----------- ##"
2933 test "$ac_signal" != 0 &&
2937 rm -f core *.core core.conftest.* &&
2938 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2947 rm -f -r conftest* confdefs.h
2968 if test -n "$CONFIG_SITE"; then
2970 elif test "x$prefix" != xNONE; then
2984 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2989 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2996 if test -r "$cache_file"; then
2999 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3013 # Test code for whether the C compiler supports C89 (global declarations)
3016 Do not test the value of __STDC__, because some compilers set it to 0
3044 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3045 function prototypes and stuff, but not \xHH hex character constants.
3047 as an "x". The following induces an error, until -std is added to get
3050 that is true only with -std. */
3051 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3053 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3056 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3058 int test (int i, double x);
3064 # Test code for whether the C compiler supports C89 (body of main).
3069 # Test code for whether the C compiler supports C99 (global declarations)
3087 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3110 static long long int bignum = -9223372036854775807LL;
3130 // See if C++-style comments work.
3175 # Test code for whether the C compiler supports C99 (body of main).
3193 ia->datasize = 10;
3194 for (int i = 0; i < ia->datasize; ++i)
3195 ia->data[i] = i * 1.234;
3200 .name = L"Test wide string",
3208 dynamic_array[ni.number - 1] = 543;
3212 || dynamic_array[ni.number - 1] != 543);
3215 # Test code for whether the C compiler supports C11 (global declarations)
3235 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3249 // Check UTF-8 literals.
3258 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3269 # Test code for whether the C compiler supports C11 (body of main).
3279 # Test code for whether the C compiler supports C11 (complete).
3295 # Test code for whether the C compiler supports C99 (complete).
3309 # Test code for whether the C compiler supports C89 (complete).
3332 ac_aux_files="ltmain.sh config.guess config.sub missing compile install-sh"
3338 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3362 # As a special case, if "install-sh" is required, that requirement
3363 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3365 if test x"$ac_aux" = x"install-sh"
3367 if test -f "${as_dir}install-sh"; then
3368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3369 ac_install_sh="${as_dir}install-sh -c"
3370 elif test -f "${as_dir}install.sh"; then
3371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3372 ac_install_sh="${as_dir}install.sh -c"
3373 elif test -f "${as_dir}shtool"; then
3374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3375 ac_install_sh="${as_dir}shtool install -c"
3379 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3385 if test -f "${as_dir}${ac_aux}"; then
3386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3397 if test "$ac_aux_dir_found" = yes; then
3418 if test -f "${ac_aux_dir}config.guess"; then
3421 if test -f "${ac_aux_dir}config.sub"; then
3424 if test -f "$ac_aux_dir/configure"; then
3438 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
3442 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
3447 if test "x$ac_old_val" != "x$ac_new_val"; then
3451 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3452 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
3456 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3467 if test "$ac_new_set" = set; then
3479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3481 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
3483 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3486 ## -------------------- ##
3488 ## -------------------- ##
3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502 # using curl-override.m4
3512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portio…
3513 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3514 # Check whether --enable-maintainer-mode was given.
3515 if test ${enable_maintainer_mode+y}
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3524 if test $USE_MAINTAINER_MODE = yes; then
3535 # Check whether --enable-silent-rules was given.
3536 if test ${enable_silent_rules+y}
3546 am_make=${MAKE-make}
3547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" …
3549 if test ${am_cv_make_support_nested_variables+y}
3559 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3567 if test $am_cv_make_support_nested_variables = yes; then
3578 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
3581 # Check whether --enable-debug was given.
3582 if test ${enable_debug+y}
3601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
3605 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
3608 # Check whether --enable-optimize was given.
3609 if test ${enable_optimize+y}
3617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 … if test "$want_debug" = "yes"; then
3623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
3627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3639 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings"…
3642 # Check whether --enable-warnings was given.
3643 if test ${enable_warnings+y}
3659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
3663 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as erro…
3666 # Check whether --enable-werror was given.
3667 if test ${enable_werror+y}
3683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
3687 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory trackin…
3690 # Check whether --enable-curldebug was given.
3691 if test ${enable_curldebug+y}
3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 if test "$want_debug" = "yes"; then
3704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3727 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library interna…
3730 # Check whether --enable-symbol-hiding was given.
3731 if test ${enable_symbol_hiding+y}
3739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3755 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >…
3756 printf %s "checking whether to enable c-ares for DNS lookups... " >&6; }
3758 # Check whether --enable-ares was given.
3759 if test ${enable_ares+y}
3773 if test -n "$enableval" && test "$enableval" != "yes"; then
3778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
3782 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
3783 printf %s "checking whether to disable dependency on -lrt... " >&6; }
3785 # Check whether --enable-rt was given.
3786 if test ${enable_rt+y}
3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
3804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable HTTPSRR support" >&5
3813 # Check whether --enable-httpsrr was given.
3814 if test ${enable_httpsrr+y}
3822 curl_httpsrr_msg="no (--enable-httpsrr)"
3823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 curl_httpsrr_msg="no (--enable-httpsrr)"
3829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 curl_httpsrr_msg="enabled (--disable-httpsrr)"
3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable ECH support" >&5
3845 # Check whether --enable-ech was given.
3846 if test ${enable_ech+y}
3854 curl_ech_msg="no (--enable-ech)"
3855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 curl_ech_msg="no (--enable-ech)"
3861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 curl_ech_msg="enabled (--disable-ech)"
3868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3878 if test -z "$xc_configure_preamble_result"; then
3886 if test -z "$xc_PATH_SEPARATOR"; then
3889 if test -z "$PATH_SEPARATOR"; then
3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
3896 if test "x$PATH_SEPARATOR" != "x$xc_PATH_SEPARATOR"; then
3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
3911 if test -z "$SED"; then
3914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3916 if test ${ac_cv_path_SED+y}
3922 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3945 test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
3950 if test -n "$SED"; then
3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 if test -z "$SED" || test "$SED" = "not_found"; then
3965 if test -z "$GREP"; then
3968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3970 if test ${ac_cv_path_GREP+y}
3976 ac_cv_path_GREP="$GREP" # Let the user override the test with a path.
3992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3999 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
4004 if test -n "$GREP"; then
4005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
4008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 if test -z "$GREP" || test "$GREP" = "not_found"; then
4019 if test -z "$EGREP"; then
4020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that grep -E works" >&5
4021 printf %s "checking that grep -E works... " >&6; }
4022 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
4023 EGREP="$GREP -E"
4024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 if test ${ac_cv_path_EGREP+y}
4039 ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path.
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4062 test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
4067 if test -n "$EGREP"; then
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
4071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
4079 …as_fn_error $? "grep -E is not working and egrep is not found in PATH. Cannot continue." "$LINENO"…
4083 if test -z "$AR"; then
4084 if test -n "$ac_tool_prefix"; then
4087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4089 if test ${ac_cv_path_AR+y}
4095 ac_cv_path_AR="$AR" # Let the user override the test with a path.
4111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4122 if test -n "$AR"; then
4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4132 if test -z "$ac_cv_path_AR"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138 if test ${ac_cv_path_ac_pt_AR+y}
4144 ac_cv_path_ac_pt_AR="$ac_pt_AR" # Let the user override the test with a path.
4160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4171 if test -n "$ac_pt_AR"; then
4172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 if test "x$ac_pt_AR" = x; then
4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4194 if test -z "$AR" || test "$AR" = "not_found"; then
4202 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
4215 -l* | --library=*)
4223 if test $xc_bad_var_libs = yes; then
4224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
4226 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
4227 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
4234 -D*)
4237 -U*)
4240 -I*)
4243 -l* | --library=*)
4248 if test $xc_bad_var_ldflags = yes; then
4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
4254 -D*)
4255 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4258 -U*)
4259 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for…
4262 -I*)
4263 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4266 -l* | --library=*)
4267 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4278 -rpath*)
4281 -L* | --library-path=*)
4284 -l* | --library=*)
4289 if test $xc_bad_var_cppflags = yes; then
4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
4295 -rpath*)
4296 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4299 -L* | --library-path=*)
4300 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for…
4303 -l* | --library=*)
4304 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4315 -D*)
4318 -U*)
4321 -I*)
4324 -rpath*)
4327 -L* | --library-path=*)
4330 -l* | --library=*)
4335 if test $xc_bad_var_cflags = yes; then
4336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
4341 -D*)
4342 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4345 -U*)
4346 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for…
4349 -I*)
4350 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4353 -rpath*)
4354 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4357 -L* | --library-path=*)
4358 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for…
4361 -l* | --library=*)
4362 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4369 if test $xc_bad_var_libs = yes ||
4370 test $xc_bad_var_cflags = yes ||
4371 test $xc_bad_var_ldflags = yes ||
4372 test $xc_bad_var_cppflags = yes; then
4373 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
4387 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4394 printf %s "checking for a BSD-compatible install... " >&6; }
4395 if test -z "$INSTALL"; then
4396 if test ${ac_cv_path_install+y}
4417 # Don't use installbsd from OSF since it installs stuff as root
4422 if test $ac_prog = install &&
4426 elif test $ac_prog = install &&
4428 # program-specific install script used by HP pwplus--don't use.
4431 rm -rf conftest.one conftest.two conftest.dir
4435 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
4436 test -s conftest.one && test -s conftest.two &&
4437 test -s conftest.dir/conftest.one &&
4438 test -s conftest.dir/conftest.two
4440 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
4453 rm -rf conftest.one conftest.two conftest.dir
4456 if test ${ac_cv_path_install+y}; then
4466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4495 if test -n "$ac_tool_prefix"; then
4498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4500 if test ${ac_cv_prog_CC+y}
4504 if test -n "$CC"; then
4505 ac_cv_prog_CC="$CC" # Let the user override the test.
4519 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4529 if test -n "$CC"; then
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 if test -z "$ac_cv_prog_CC"; then
4543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 if test ${ac_cv_prog_ac_ct_CC+y}
4549 if test -n "$ac_ct_CC"; then
4550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4574 if test -n "$ac_ct_CC"; then
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 if test "x$ac_ct_CC" = x; then
4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4597 if test -z "$CC"; then
4598 if test -n "$ac_tool_prefix"; then
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 if test ${ac_cv_prog_CC+y}
4607 if test -n "$CC"; then
4608 ac_cv_prog_CC="$CC" # Let the user override the test.
4622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4632 if test -n "$CC"; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 if test -z "$CC"; then
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 if test ${ac_cv_prog_CC+y}
4652 if test -n "$CC"; then
4653 ac_cv_prog_CC="$CC" # Let the user override the test.
4667 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4679 if test $ac_prog_rejected = yes; then
4683 if test $# != 0; then
4694 if test -n "$CC"; then
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 if test -z "$CC"; then
4705 if test -n "$ac_tool_prefix"; then
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 if test ${ac_cv_prog_CC+y}
4716 if test -n "$CC"; then
4717 ac_cv_prog_CC="$CC" # Let the user override the test.
4731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4741 if test -n "$CC"; then
4742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 test -n "$CC" && break
4753 if test -z "$CC"; then
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 if test ${ac_cv_prog_ac_ct_CC+y}
4765 if test -n "$ac_ct_CC"; then
4766 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4790 if test -n "$ac_ct_CC"; then
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 test -n "$ac_ct_CC" && break
4802 if test "x$ac_ct_CC" = x; then
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4816 if test -z "$CC"; then
4817 if test -n "$ac_tool_prefix"; then
4820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822 if test ${ac_cv_prog_CC+y}
4826 if test -n "$CC"; then
4827 ac_cv_prog_CC="$CC" # Let the user override the test.
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4851 if test -n "$CC"; then
4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 if test -z "$ac_cv_prog_CC"; then
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4867 if test ${ac_cv_prog_ac_ct_CC+y}
4871 if test -n "$ac_ct_CC"; then
4872 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4896 if test -n "$ac_ct_CC"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 if test "x$ac_ct_CC" = x; then
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4922 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4931 for ac_option in --version -v -V -qversion -version; do
4937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4941 if test -s conftest.err; then
4947 rm -f conftest.er1 conftest.err
4948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4949 test $ac_status = 0; }
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 # Try to create an executable without -o first, disregard a.out.
4967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4969 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4982 rm -f $ac_rmfiles
4989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4994 test $ac_status = 0; }
4996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4999 # so that the user can short-circuit this test for compilers unknown to
5003 test -f "$ac_file" || continue
5012 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5016 # We set ac_cv_exeext here because the later test for it is not
5017 # safe: cross compilers may not add the suffix if given an `-o'
5026 test "$ac_cv_exeext" = no && ac_cv_exeext=
5031 if test -z "$ac_file"
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5052 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5066 test $ac_status = 0; }
5073 test -f "$ac_file" || continue
5082 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5087 rm -f conftest conftest$ac_cv_exeext
5088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5091 rm -f conftest.$ac_ext
5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5111 if test "$cross_compiling" != yes; then
5117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5122 test $ac_status = 0; }
5128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5133 test $ac_status = 0; }; }; then
5136 if test "$cross_compiling" = maybe; then
5139 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5142 If you meant to cross compile, use \`--host'.
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5150 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5154 if test ${ac_cv_objext+y}
5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168 rm -f conftest.o conftest.obj
5174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5179 test $ac_status = 0; }
5182 test -f "$ac_file" || continue;
5193 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5198 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5206 if test ${ac_cv_c_compiler_gnu+y}
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5237 if test $ac_compiler_gnu = yes; then
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5245 printf %s "checking whether $CC accepts -g... " >&6; }
5246 if test ${ac_cv_prog_cc_g+y}
5253 CFLAGS="-g"
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 CFLAGS="-g"
5285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5308 if test $ac_test_CFLAGS; then
5310 elif test $ac_cv_prog_cc_g = yes; then
5311 if test "$GCC" = yes; then
5312 CFLAGS="-g -O2"
5314 CFLAGS="-g"
5317 if test "$GCC" = yes; then
5318 CFLAGS="-O2"
5324 if test x$ac_prog_cc_stdc = xno
5326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5328 if test ${ac_cv_prog_cc_c11+y}
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 for ac_arg in '' -std=gnu11
5345 rm -f core conftest.err conftest.$ac_objext conftest.beam
5346 test "x$ac_cv_prog_cc_c11" != "xno" && break
5348 rm -f conftest.$ac_ext
5352 if test "x$ac_cv_prog_cc_c11" = xno
5354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5357 if test "x$ac_cv_prog_cc_c11" = x
5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5370 if test x$ac_prog_cc_stdc = xno
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5374 if test ${ac_cv_prog_cc_c99+y}
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5384 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5391 rm -f core conftest.err conftest.$ac_objext conftest.beam
5392 test "x$ac_cv_prog_cc_c99" != "xno" && break
5394 rm -f conftest.$ac_ext
5398 if test "x$ac_cv_prog_cc_c99" = xno
5400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5403 if test "x$ac_cv_prog_cc_c99" = x
5405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5416 if test x$ac_prog_cc_stdc = xno
5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5420 if test ${ac_cv_prog_cc_c89+y}
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
5437 rm -f core conftest.err conftest.$ac_objext conftest.beam
5438 test "x$ac_cv_prog_cc_c89" != "xno" && break
5440 rm -f conftest.$ac_ext
5444 if test "x$ac_cv_prog_cc_c89" = xno
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5449 if test "x$ac_cv_prog_cc_c89" = x
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" …
5476 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5477 if test ${am_cv_prog_cc_c_o+y}
5481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 # Following AC_PROG_CC_C_O, we do the test twice because some
5493 # compilers refuse to overwrite an existing .o file with -o,
5497 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5498 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5502 && test -f conftest2.$ac_objext; then
5509 rm -f core conftest*
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5514 if test "$am_cv_prog_cc_c_o" != yes; then
5518 # A longer-term fix would be to have automake use am__CC in this case,
5524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5538 if test -n "$CPP" && test -d "$CPP"; then
5541 if test -z "$CPP"; then
5542 if test ${ac_cv_prog_CPP+y}
5547 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5553 # with a fresh cross-compiler works.
5554 # On the NeXT, cc -E runs the code through the compiler's parser,
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5568 rm -f conftest.err conftest.i conftest.$ac_ext
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5585 rm -f conftest.err conftest.i conftest.$ac_ext
5589 rm -f conftest.i conftest.err conftest.$ac_ext
5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5609 # with a fresh cross-compiler works.
5610 # On the NeXT, cc -E runs the code through the compiler's parser,
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 rm -f conftest.err conftest.i conftest.$ac_ext
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 rm -f conftest.err conftest.i conftest.$ac_ext
5645 rm -f conftest.i conftest.err conftest.$ac_ext
5650 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5677 if test $ac_cache; then
5679 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
5683 elif test $ac_header; then
5697 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
5707 if test "x$ac_cv_header_stdatomic_h" = xyes
5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _Atomic is available" >&5
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723 i = 4; // Force an atomic-write operation.
5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5757 if test ${ac_cv_path_SED+y}
5767 if test -z "$SED"; then
5769 # Loop through the user's path and test for each of PROGNAME-LIST
5786 case `"$ac_path_SED" --version 2>&1` in
5798 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5801 if test $ac_count -gt ${ac_path_SED_max-0}; then
5807 test $ac_count -gt 10 && break
5809 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5817 if test -z "$ac_cv_path_SED"; then
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5828 rm -f conftest.sed
5833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
5838 # Check whether --enable-code-coverage was given.
5839 if test ${enable_code_coverage+y}
5845 if test "$GCC" != "yes"
5849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
5852 if test "x$coverage" = "xyes"; then
5855 if test -n "$ac_tool_prefix"; then
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 if test ${ac_cv_prog_GCOV+y}
5864 if test -n "$GCOV"; then
5865 ac_cv_prog_GCOV="$GCOV" # Let the user override the test.
5879 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5889 if test -n "$GCOV"; then
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899 if test -z "$ac_cv_prog_GCOV"; then
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5905 if test ${ac_cv_prog_ac_ct_GCOV+y}
5909 if test -n "$ac_ct_GCOV"; then
5910 ac_cv_prog_ac_ct_GCOV="$ac_ct_GCOV" # Let the user override the test.
5924 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5934 if test -n "$ac_ct_GCOV"; then
5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
5938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5942 if test "x$ac_ct_GCOV" = x; then
5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5957 if test -z "$GCOV"; then
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5964 if test ${ac_cv_prog_LCOV+y}
5968 if test -n "$LCOV"; then
5969 ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
5983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5993 if test -n "$LCOV"; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002 if test -z "$LCOV"; then
6006 CPPFLAGS="$CPPFLAGS -DNDEBUG"
6007 CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage"
6008 LIBS="$LIBS -lgcov"
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
6030 # arguments. Must try -L first in case configure is actually a
6038 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
6039 if test "$*" = "X"; then
6040 # -L didn't work.
6041 set X `ls -t "$srcdir/configure" conftest.file`
6043 if test "$*" != "X $srcdir/configure conftest.file" \
6044 && test "$*" != "X conftest.file $srcdir/configure"; then
6050 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
6053 if test "$2" = conftest.file || test $am_try -eq 2; then
6060 test "$2" = conftest.file
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6079 rm -f conftest.file
6081 test "$program_prefix" != NONE &&
6084 test "$program_suffix" != NONE &&
6092 if test x"${MISSING+set}" != xset; then
6096 if eval "$MISSING --is-lightweight"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
6104 if test x"${install_sh+set}" != xset; then
6107 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
6109 install_sh="\${SHELL} $am_aux_dir/install-sh"
6114 # run "make install-strip". However 'strip' might not be the right
6115 # tool to use in cross-compilation environments, therefore Automake
6117 if test "$cross_compiling" != no; then
6118 if test -n "$ac_tool_prefix"; then
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6123 if test ${ac_cv_prog_STRIP+y}
6127 if test -n "$STRIP"; then
6128 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6152 if test -n "$STRIP"; then
6153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 if test -z "$ac_cv_prog_STRIP"; then
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6168 if test ${ac_cv_prog_ac_ct_STRIP+y}
6172 if test -n "$ac_ct_STRIP"; then
6173 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6197 if test -n "$ac_ct_STRIP"; then
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6205 if test "x$ac_ct_STRIP" = x; then
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6221 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
6225 printf %s "checking for a race-free mkdir -p... " >&6; }
6226 if test -z "$MKDIR_P"; then
6227 if test ${ac_cv_path_mkdir+y}
6243 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
6257 test -d ./--version && rmdir ./--version
6258 if test ${ac_cv_path_mkdir+y}; then
6259 MKDIR_P="$ac_cv_path_mkdir -p"
6265 MKDIR_P="$ac_install_sh -d"
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277 if test ${ac_cv_prog_AWK+y}
6281 if test -n "$AWK"; then
6282 ac_cv_prog_AWK="$AWK" # Let the user override the test.
6296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6306 if test -n "$AWK"; then
6307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6315 test -n "$AWK" && break
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6319 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6320 set x ${MAKE-make}
6321 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6322 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
6332 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6338 rm -f conftest.make
6340 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 SET_MAKE="MAKE=${MAKE-make}"
6350 rm -rf .tst 2>/dev/null
6352 if test -d .tst; then
6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include di…
6364 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
6378 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
6379 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
6394 if test "$am__include" != "#"; then
6399 rm -f confinc.* confmf.*
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
6403 # Check whether --enable-dependency-tracking was given.
6404 if test ${enable_dependency_tracking+y}
6409 if test "x$enable_dependency_tracking" != xno; then
6414 if test "x$enable_dependency_tracking" != xno; then
6423 ## --------------------------------------- ##
6425 ## --------------------------------------- ##
6427 if test "`cd $srcdir && pwd`" != "`pwd`"; then
6428 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6429 # is not polluted with repeated "-I."
6430 am__isrc=' -I$(srcdir)'
6431 # test to see if srcdir already configured
6432 if test -f $srcdir/config.status; then
6437 # test whether we have cygpath
6438 if test -z "$CYGPATH_W"; then
6439 if (cygpath --version) >/dev/null 2>/dev/null; then
6440 CYGPATH_W='cygpath -w'
6449 VERSION='-'
6459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6475 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6476 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6482 # in the wild :-( We should find a proper way to deprecate it ...
6483 AMTAR='$${TAR-tar}'
6489 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6499 if test ${am_cv_CC_dependencies_compiler_type+y}
6503 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6506 # instance it was reported that on HP-UX the gcc test will end up
6507 # making a dummy file named 'D' -- because '-MD' means "put the output
6509 rm -rf conftest.dir
6517 # both Tru64's cc and ICC support -MD to output dependencies as a
6524 if test "$am_compiler_list" = ""; then
6525 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6529 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6537 # We need to recreate these files for each test, as the compiler may
6549 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6551 # handle '-M -o', and we need to detect this. Also, some Intel
6553 am__obj=sub/conftest.${OBJEXT-o}
6554 am__minus_obj="-o $am__obj"
6558 test "$am__universal" = false || continue
6561 # After this tag, mechanisms are not by side-effect, so they'll
6563 if test "x$enable_dependency_tracking" = xyes; then
6570 # This compiler won't grok '-c -o', but also, the minuso test has
6573 am__obj=conftest.${OBJEXT-o}
6581 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6586 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6588 # or remarks (even with -Werror). So we grep stderr for any message
6590 # When given -MP, icc 7.0 and 7.1 complain thusly:
6591 # icc: Command line warning: ignoring option '-M'; no argument required
6593 # icc: Command line remark: option '-MP' not supported
6603 rm -rf conftest.dir
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6614 test "x$enable_dependency_tracking" != xno \
6615 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6625 if test -z "$CTAGS"; then
6629 if test -z "$ETAGS"; then
6633 if test -z "$CSCOPE"; then
6639 # POSIX will say in a future version that running "rm -f" with no argument
6647 if rm -f && rm -fr && rm -rf; then : OK; else
6652 on the command line, even when the '-f' option is present. This is contrary
6656 Please tell bug-automake@gnu.org about your system, including the value
6661 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
6674 to "yes", and re-run configure.
6681 ## ------------------------------------- ##
6683 ## ------------------------------------- ##
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
6688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
6693 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
6697 PKGADD_NAME="curl - a client that groks URLs"
6703 …curl_ssl_msg="no (--with-{openssl,gnutls,mbedtls,wolfssl,schannel,secure-transport,amissl,bea…
6704 curl_ssh_msg="no (--with-{libssh,libssh2})"
6705 curl_zlib_msg="no (--with-zlib)"
6706 curl_brotli_msg="no (--with-brotli)"
6707 curl_zstd_msg="no (--with-zstd)"
6708 curl_gss_msg="no (--with-gssapi)"
6709 curl_gsasl_msg="no (--with-gsasl)"
6710 curl_tls_srp_msg="no (--enable-tls-srp)"
6711 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
6712 curl_ipv6_msg="no (--enable-ipv6)"
6713 curl_unix_sockets_msg="no (--enable-unix-sockets)"
6714 curl_idn_msg="no (--with-{libidn2,winidn})"
6715 curl_docs_msg="enabled (--disable-docs)"
6716 curl_manual_msg="no (--enable-manual)"
6717 curl_libcurl_msg="enabled (--disable-libcurl-option)"
6718 curl_verbose_msg="enabled (--disable-verbose)"
6719 curl_sspi_msg="no (--enable-sspi)"
6720 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
6721 curl_ldaps_msg="no (--enable-ldaps)"
6722 curl_rtsp_msg="no (--enable-rtsp)"
6723 curl_rtmp_msg="no (--with-librtmp)"
6724 curl_psl_msg="no (--with-libpsl)"
6725 curl_altsvc_msg="enabled (--disable-alt-svc)"
6726 curl_headers_msg="enabled (--disable-headers-api)"
6727 curl_hsts_msg="enabled (--disable-hsts)"
6728 curl_ws_msg="no (--enable-websockets)"
6731 curl_h2_msg="no (--with-nghttp2)"
6732 …curl_h3_msg="no (--with-ngtcp2 --with-nghttp3, --with-quiche, --with-openssl-quic, --with-msh…
6740 compilersh="run-compiler"
6755 # Check whether --with-schannel was given.
6756 if test ${with_schannel+y}
6765 # Check whether --with-secure-transport was given.
6766 if test ${with_secure_transport+y}
6770 TLSCHOICE="${TLSCHOICE:+$TLSCHOICE, }Secure-Transport"
6777 # Check whether --with-amissl was given.
6778 if test ${with_amissl+y}
6790 # Check whether --with-ssl was given.
6791 if test ${with_ssl+y}
6796 if test X"$withval" != Xno; then
6806 # Check whether --with-openssl was given.
6807 if test ${with_openssl+y}
6811 if test X"$withval" != Xno; then
6820 # Check whether --with-gnutls was given.
6821 if test ${with_gnutls+y}
6825 if test X"$withval" != Xno; then
6834 # Check whether --with-mbedtls was given.
6835 if test ${with_mbedtls+y}
6839 if test X"$withval" != Xno; then
6848 # Check whether --with-wolfssl was given.
6849 if test ${with_wolfssl+y}
6853 if test X"$withval" != Xno; then
6862 # Check whether --with-bearssl was given.
6863 if test ${with_bearssl+y}
6867 if test X"$withval" != Xno; then
6876 # Check whether --with-rustls was given.
6877 if test ${with_rustls+y}
6881 if test X"$withval" != Xno; then
6891 # Check whether --with-test-nghttpx was given.
6892 if test ${with_test_nghttpx+y}
6895 if test X"$OPT_TEST_NGHTTPX" = "Xno" ; then
6905 # Check whether --with-test-caddy was given.
6906 if test ${with_test_caddy+y}
6909 if test X"$OPT_CADDY" = "Xno" ; then
6919 # Check whether --with-test-vsftpd was given.
6920 if test ${with_test_vsftpd+y}
6923 if test X"$OPT_VSFTPD" = "Xno" ; then
6933 # Check whether --with-test-httpd was given.
6934 if test ${with_test_httpd+y}
6941 if test x"$request_httpd" = "xcheck" -o x"$request_httpd" = "xyes"; then
6942 if test -x "/usr/sbin/apache2" -a -x "/usr/sbin/apache2ctl"; then
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6950 if test ${ac_cv_path_APXS+y}
6956 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
6971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6982 if test -n "$APXS"; then
6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 if test "x$APXS" = "x"; then
6992 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apache2-dev not installed, httpd tests disabled" >&5
6993 printf "%s\n" "$as_me: apache2-dev not installed, httpd tests disabled" >&6;}
6999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 if test ${ac_cv_path_HTTPD+y}
7007 ac_cv_path_HTTPD="$HTTPD" # Let the user override the test with a path.
7022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7033 if test -n "$HTTPD"; then
7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
7037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042 if test "x$HTTPD" = "x"; then
7045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7047 if test ${ac_cv_path_HTTPD+y}
7053 ac_cv_path_HTTPD="$HTTPD" # Let the user override the test with a path.
7068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7079 if test -n "$HTTPD"; then
7080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 if test ${ac_cv_path_APACHECTL+y}
7099 ac_cv_path_APACHECTL="$APACHECTL" # Let the user override the test with a path.
7114 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7125 if test -n "$APACHECTL"; then
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APACHECTL" >&5
7129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 if test ${ac_cv_path_APXS+y}
7144 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
7159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7170 if test -n "$APXS"; then
7171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
7174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179 if test "x$HTTPD" = "x" -o "x$APACHECTL" = "x"; then
7180 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd/apache2 not in PATH, http tests disabled" >&5
7184 if test "x$APXS" = "x"; then
7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not in PATH, http tests disabled" >&5
7190 elif test x"$request_httpd" != "xno"; then
7194 if test ! -x "${HTTPD}"; then
7195 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd not found as ${HTTPD}, http tests disabled" >&5
7198 elif test ! -x "${APACHECTL}"; then
7199 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: apachectl not found as ${APACHECTL}, http tests disa…
7202 elif test ! -x "${APXS}"; then
7203 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not found as ${APXS}, http tests disabled" >&5
7207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using HTTPD=$HTTPD for tests" >&5
7211 if test x"$HTTPD_ENABLED" = "xno"; then
7220 if test "x$TEST_NGHTTPX" != "x" -a "x$TEST_NGHTTPX" != "xnghttpx"; then
7225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7227 if test ${ac_cv_path_HTTPD_NGHTTPX+y}
7233 ac_cv_path_HTTPD_NGHTTPX="$HTTPD_NGHTTPX" # Let the user override the test with a path.
7249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7260 if test -n "$HTTPD_NGHTTPX"; then
7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD_NGHTTPX" >&5
7264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7272 if test "x$TEST_CADDY" != "x"; then
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279 if test ${ac_cv_path_CADDY+y}
7285 ac_cv_path_CADDY="$CADDY" # Let the user override the test with a path.
7300 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7311 if test -n "$CADDY"; then
7312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CADDY" >&5
7315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 if test -z "$TLSCHOICE"; then
7324 if test "x$OPT_SSL" != "xno"; then
7325 as_fn_error $? "select TLS backend(s) or disable TLS with --without-ssl.
7329 --with-amissl
7330 --with-bearssl
7331 --with-gnutls
7332 --with-mbedtls
7333 --with-openssl (also works for BoringSSL and libressl)
7334 --with-rustls
7335 --with-schannel
7336 --with-secure-transport
7337 --with-wolfssl
7343 # Check whether --with-darwinssl was given.
7344 if test ${with_darwinssl+y}
7346 …withval=$with_darwinssl; as_fn_error $? "--with-darwin-ssl and --without-darwin-ssl no longer work…
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7359 if test ${ac_cv_build+y}
7364 test "x$ac_build_alias" = x &&
7366 test "x$ac_build_alias" = x &&
7372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7375 *-*-*) ;;
7379 ac_save_IFS=$IFS; IFS='-'
7389 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7394 if test ${ac_cv_host+y}
7398 if test "x$host_alias" = x; then
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7409 *-*-*) ;;
7413 ac_save_IFS=$IFS; IFS='-'
7423 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7436 printf %s "checking for grep that handles long lines and -e... " >&6; }
7437 if test ${ac_cv_path_GREP+y}
7441 if test -z "$GREP"; then
7443 # Loop through the user's path and test for each of PROGNAME-LIST
7460 case `"$ac_path_GREP" --version 2>&1` in
7472 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
7475 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7481 test $ac_count -gt 10 && break
7483 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7491 if test -z "$ac_cv_path_GREP"; then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7506 if test ${ac_cv_path_EGREP+y}
7510 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7511 then ac_cv_path_EGREP="$GREP -E"
7513 if test -z "$EGREP"; then
7515 # Loop through the user's path and test for each of PROGNAME-LIST
7532 case `"$ac_path_EGREP" --version 2>&1` in
7547 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7553 test $ac_count -gt 10 && break
7555 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7563 if test -z "$ac_cv_path_EGREP"; then
7572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7579 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
7581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 rm -rf conftest*
7610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7647 if test "$tmp_thread_safe_initially_defined" = "no"; then
7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
7663 if test "$tmp_need_thread_safe" = "yes"; then
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
7674 if test "$tmp_thread_safe_initially_defined" = "yes" ||
7675 test "$tmp_need_thread_safe" = "yes"; then
7686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
7698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7733 if test "$tmp_reentrant_initially_defined" = "no"; then
7734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
7746 if test "$tmp_need_reentrant" = "no"; then
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7776 if test "$tmp_errno" = "yes"; then
7777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7839 if test "$tmp_need_reentrant" = "no"; then
7841 if test "$tmp_need_reentrant" = "no"; then
7843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7882 if test "$tmp_gmtime_r" = "yes"; then
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7914 rm -rf conftest*
7918 rm -rf conftest*
7923 if test "$tmp_need_reentrant" = "no"; then
7925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7964 if test "$tmp_localtime_r" = "yes"; then
7965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7996 rm -rf conftest*
8000 rm -rf conftest*
8005 if test "$tmp_need_reentrant" = "no"; then
8007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8046 if test "$tmp_strerror_r" = "yes"; then
8047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 rm -rf conftest*
8082 rm -rf conftest*
8087 if test "$tmp_need_reentrant" = "no"; then
8089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8128 if test "$tmp_strtok_r" = "yes"; then
8129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 rm -rf conftest*
8164 rm -rf conftest*
8169 if test "$tmp_need_reentrant" = "no"; then
8171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8210 if test "$tmp_gethostbyname_r" = "yes"; then
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8242 rm -rf conftest*
8246 rm -rf conftest*
8251 if test "$tmp_need_reentrant" = "no"; then
8253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8292 if test "$tmp_getprotobyname_r" = "yes"; then
8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8324 rm -rf conftest*
8328 rm -rf conftest*
8335 if test "$tmp_need_reentrant" = "yes"; then
8336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
8346 if test "$tmp_reentrant_initially_defined" = "yes" ||
8347 test "$tmp_need_reentrant" = "yes"; then
8358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 # Check whether --enable-largefile was given.
8368 if test ${enable_largefile+y}
8373 if test "$enable_largefile" != no; then
8375 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for l…
8377 if test ${ac_cv_sys_largefile_CC+y}
8382 if test "$GCC" != yes; then
8386 # so use the C compiler's -n32 option if that helps.
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* Check that off_t can represent 2**63 - 1 correctly.
8394 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8397 ? 1 : -1];
8409 rm -f core conftest.err conftest.$ac_objext conftest.beam
8410 CC="$CC -n32"
8413 ac_cv_sys_largefile_CC=' -n32'; break
8415 rm -f core conftest.err conftest.$ac_objext conftest.beam
8419 rm -f conftest.$ac_ext
8422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8424 if test "$ac_cv_sys_largefile_CC" != no; then
8428 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for larg…
8430 if test ${ac_cv_sys_file_offset_bits+y}
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8438 /* Check that off_t can represent 2**63 - 1 correctly.
8442 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8445 ? 1 : -1];
8457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8462 /* Check that off_t can represent 2**63 - 1 correctly.
8466 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8469 ? 1 : -1];
8481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8494 rm -rf conftest*
8495 if test $ac_cv_sys_file_offset_bits = unknown; then
8496 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large fil…
8498 if test ${ac_cv_sys_large_files+y}
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* Check that off_t can represent 2**63 - 1 correctly.
8510 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8513 ? 1 : -1];
8525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* Check that off_t can represent 2**63 - 1 correctly.
8534 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8537 ? 1 : -1];
8549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8562 rm -rf conftest*
8569 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace …
8594 # double-quoted strings.
8614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8616 # Test print first, because it will be a builtin if present.
8617 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8618 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8619 ECHO='print -r --'
8620 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
8634 # Invoke $ECHO with all args, space-separated.
8641 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8643 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8644 printf "%s\n" "print -r" >&6; } ;;
8645 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8664 if test ${ac_cv_path_SED+y}
8674 if test -z "$SED"; then
8676 # Loop through the user's path and test for each of PROGNAME-LIST
8693 case `"$ac_path_SED" --version 2>&1` in
8705 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8708 if test $ac_count -gt ${ac_path_SED_max-0}; then
8714 test $ac_count -gt 10 && break
8716 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8724 if test -z "$ac_cv_path_SED"; then
8732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8735 rm -f conftest.sed
8737 test -z "$SED" && SED=sed
8738 Xsed="$SED -e 1s/^X//"
8750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8752 if test ${ac_cv_path_FGREP+y}
8756 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8757 then ac_cv_path_FGREP="$GREP -F"
8759 if test -z "$FGREP"; then
8761 # Loop through the user's path and test for each of PROGNAME-LIST
8778 case `"$ac_path_FGREP" --version 2>&1` in
8793 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8799 test $ac_count -gt 10 && break
8801 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8809 if test -z "$ac_cv_path_FGREP"; then
8818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8823 test -z "$GREP" && GREP=grep
8843 # Check whether --with-gnu-ld was given.
8844 if test ${with_gnu_ld+y}
8846 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
8852 if test yes = "$GCC"; then
8853 # Check if gcc -print-prog-name=ld gives a path.
8854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8857 *-*-mingw*)
8859 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8861 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8872 test -z "$LD" && LD=$ac_prog
8883 elif test yes = "$with_gnu_ld"; then
8884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8888 printf %s "checking for non-GNU ld... " >&6; }
8890 if test ${lt_cv_path_LD+y}
8894 if test -z "$LD"; then
8898 test -z "$ac_dir" && ac_dir=.
8899 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8901 # Check to see if the program is GNU ld. I'd rather use --version,
8902 # but apparently some variants of GNU ld only accept -v.
8903 # Break only if it was the GNU/non-GNU ld that we prefer.
8904 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8906 test no != "$with_gnu_ld" && break
8909 test yes != "$with_gnu_ld" && break
8916 lt_cv_path_LD=$LD # Let the user override the test with a path.
8921 if test -n "$LD"; then
8922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8931 if test ${lt_cv_prog_gnu_ld+y}
8935 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8936 case `$LD -v 2>&1 </dev/null` in
8945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" …
8958 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8959 if test ${lt_cv_path_NM+y}
8963 if test -n "$NM"; then
8964 # Let the user override the test.
8968 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8975 test -z "$ac_dir" && ac_dir=.
8977 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8978 # Check to see if the nm accepts a BSD-compat flag.
8979 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8987 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
8989 lt_cv_path_NM="$tmp_nm -B"
8993 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
8995 lt_cv_path_NM="$tmp_nm -p"
9012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
9014 if test no != "$lt_cv_path_NM"; then
9018 if test -n "$DUMPBIN"; then :
9019 # Let the user override the test.
9021 if test -n "$ac_tool_prefix"; then
9022 for ac_prog in dumpbin "link -dump"
9026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9028 if test ${ac_cv_prog_DUMPBIN+y}
9032 if test -n "$DUMPBIN"; then
9033 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
9047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9057 if test -n "$DUMPBIN"; then
9058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
9061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9066 test -n "$DUMPBIN" && break
9069 if test -z "$DUMPBIN"; then
9071 for ac_prog in dumpbin "link -dump"
9075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9077 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
9081 if test -n "$ac_ct_DUMPBIN"; then
9082 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
9096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9106 if test -n "$ac_ct_DUMPBIN"; then
9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9115 test -n "$ac_ct_DUMPBIN" && break
9118 if test "x$ac_ct_DUMPBIN" = x; then
9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9131 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
9133 DUMPBIN="$DUMPBIN -symbols -headers"
9141 if test : != "$DUMPBIN"; then
9145 test -z "$NM" && NM=nm
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9154 if test ${lt_cv_nm_interface+y}
9171 rm -f conftest*
9173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9177 printf %s "checking whether ln -s works... " >&6; }
9179 if test "$LN_S" = "ln -s"; then
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments…
9190 if test ${lt_cv_sys_max_cmd_len+y}
9199 # On DJGPP, this test can blow up pretty badly due to problems in libc
9207 # Under GNU Hurd, this test is not required because there is
9209 # Libtool will interpret -1 as no limit whatsoever
9210 lt_cv_sys_max_cmd_len=-1;
9214 # On Win9x/ME, this test blows up -- it succeeds, but takes
9216 # Worse, since 9x/ME are not pre-emptively multitasking,
9218 # the test eventually succeeds (with a max line length of 256k).
9230 # On AmigaOS with pdksh, this test takes hours, literally.
9237 if test -x /sbin/sysctl; then
9238 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9239 elif test -x /usr/sbin/sysctl; then
9240 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9255 # The test takes a long time on OS/2.
9261 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
9266 if test -x /sbin/sysconfig; then
9267 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9268 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9277 if test -n "$kargmax"; then
9285 if test -n "$lt_cv_sys_max_cmd_len" && \
9286 test undefined != "$lt_cv_sys_max_cmd_len"; then
9295 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9296 # If test is not a shell built-in, we'll probably end up computing a
9299 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
9301 test 17 != "$i" # 1/2 MB should be enough
9319 if test -n "$lt_cv_sys_max_cmd_len"; then
9320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
9333 : ${CP="cp -f"}
9334 : ${MV="mv -f"}
9335 : ${RM="rm -f"}
9347 # test EBCDIC or ASCII
9368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host fo…
9370 if test ${lt_cv_to_host_file_cmd+y}
9375 *-*-mingw* )
9377 *-*-mingw* ) # actually msys
9380 *-*-cygwin* )
9388 *-*-cygwin* )
9390 *-*-mingw* ) # actually msys
9393 *-*-cygwin* )
9409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchai…
9418 if test ${lt_cv_to_tool_file_cmd+y}
9425 *-*-mingw* )
9427 *-*-mingw* ) # actually msys
9437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9446 if test ${lt_cv_ld_reload_flag+y}
9450 lt_cv_ld_reload_flag='-r'
9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9459 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9462 if test yes != "$GCC"; then
9467 if test yes = "$GCC"; then
9468 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9470 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9483 if test -n "$ac_tool_prefix"; then
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9488 if test ${ac_cv_prog_FILECMD+y}
9492 if test -n "$FILECMD"; then
9493 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
9507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9517 if test -n "$FILECMD"; then
9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
9521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9527 if test -z "$ac_cv_prog_FILECMD"; then
9531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9533 if test ${ac_cv_prog_ac_ct_FILECMD+y}
9537 if test -n "$ac_ct_FILECMD"; then
9538 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
9552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9562 if test -n "$ac_ct_FILECMD"; then
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 if test "x$ac_ct_FILECMD" = x; then
9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9591 if test -n "$ac_tool_prefix"; then
9594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9596 if test ${ac_cv_prog_OBJDUMP+y}
9600 if test -n "$OBJDUMP"; then
9601 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9625 if test -n "$OBJDUMP"; then
9626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635 if test -z "$ac_cv_prog_OBJDUMP"; then
9639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9641 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
9645 if test -n "$ac_ct_OBJDUMP"; then
9646 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
9660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9670 if test -n "$ac_ct_OBJDUMP"; then
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 if test "x$ac_ct_OBJDUMP" = x; then
9683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9693 test -z "$OBJDUMP" && OBJDUMP=objdump
9700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9702 if test ${lt_cv_deplibs_check_method+y}
9711 # 'none' -- dependencies not supported.
9712 # 'unknown' -- same as none, but documents that we really don't know.
9713 # 'pass_all' -- all dependencies passed with no checks.
9714 # 'test_compile' -- check by making test program.
9715 # 'file_magic [[regex]]' -- check by looking for files in library path
9721 aix[4-9]*)
9730 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9731 lt_cv_file_magic_cmd='$FILECMD -L'
9743 # func_win32_libid shell function, so use a weaker test based on 'objdump',
9744 # unless we find 'file', for example because we are cross-compiling.
9750 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
9751 lt_cv_file_magic_cmd='$OBJDUMP -f'
9756 # use the weaker test based on 'objdump'. See mingw*.
9757 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9758 lt_cv_file_magic_cmd='$OBJDUMP -f'
9766 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9771 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
9789 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9793 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
9797 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9803 interix[3-9]*)
9810 *-32|*"-32 ") libmagic=32-bit;;
9811 *-n32|*"-n32 ") libmagic=N32;;
9812 *-64|*"-64 ") libmagic=64-bit;;
9813 *) libmagic=never-match;;
9819 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9823 netbsd* | netbsdelf*-gnu)
9824 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9832 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9842 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9843 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9845 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9868 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-
9876 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9880 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9906 if test "$build" = "$host"; then
9912 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
9920 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9943 if test -n "$ac_tool_prefix"; then
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9948 if test ${ac_cv_prog_DLLTOOL+y}
9952 if test -n "$DLLTOOL"; then
9953 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9977 if test -n "$DLLTOOL"; then
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9987 if test -z "$ac_cv_prog_DLLTOOL"; then
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9993 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
9997 if test -n "$ac_ct_DLLTOOL"; then
9998 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
10012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10022 if test -n "$ac_ct_DLLTOOL"; then
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10030 if test "x$ac_ct_DLLTOOL" = x; then
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10045 test -z "$DLLTOOL" && DLLTOOL=dlltool
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries"…
10055 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
10065 case `$DLLTOOL --help 2>&1` in
10066 *--identify-strict*)
10081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10084 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10092 if test -n "$ac_tool_prefix"; then
10097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10099 if test ${ac_cv_prog_AR+y}
10103 if test -n "$AR"; then
10104 ac_cv_prog_AR="$AR" # Let the user override the test.
10118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10128 if test -n "$AR"; then
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10137 test -n "$AR" && break
10140 if test -z "$AR"; then
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10148 if test ${ac_cv_prog_ac_ct_AR+y}
10152 if test -n "$ac_ct_AR"; then
10153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10177 if test -n "$ac_ct_AR"; then
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10186 test -n "$ac_ct_AR" && break
10189 if test "x$ac_ct_AR" = x; then
10194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10215 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
10223 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
10233 if test ${lt_cv_ar_at_file+y}
10238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10256 test $ac_status = 0; }
10257 if test 0 -eq "$ac_status"; then
10259 rm -f conftest.$ac_objext libconftest.a
10260 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10264 test $ac_status = 0; }
10265 if test 0 -ne "$ac_status"; then
10269 rm -f conftest.* libconftest.a
10272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10278 if test no = "$lt_cv_ar_at_file"; then
10290 if test -n "$ac_tool_prefix"; then
10293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10295 if test ${ac_cv_prog_STRIP+y}
10299 if test -n "$STRIP"; then
10300 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10324 if test -n "$STRIP"; then
10325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10334 if test -z "$ac_cv_prog_STRIP"; then
10338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10340 if test ${ac_cv_prog_ac_ct_STRIP+y}
10344 if test -n "$ac_ct_STRIP"; then
10345 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10369 if test -n "$ac_ct_STRIP"; then
10370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10377 if test "x$ac_ct_STRIP" = x; then
10382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10392 test -z "$STRIP" && STRIP=:
10399 if test -n "$ac_tool_prefix"; then
10402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10404 if test ${ac_cv_prog_RANLIB+y}
10408 if test -n "$RANLIB"; then
10409 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10433 if test -n "$RANLIB"; then
10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10443 if test -z "$ac_cv_prog_RANLIB"; then
10447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10449 if test ${ac_cv_prog_ac_ct_RANLIB+y}
10453 if test -n "$ac_ct_RANLIB"; then
10454 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10478 if test -n "$ac_ct_RANLIB"; then
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10486 if test "x$ac_ct_RANLIB" = x; then
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10501 test -z "$RANLIB" && RANLIB=:
10508 # Determine commands to create old-style static archives.
10513 if test -n "$RANLIB"; then
10516 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10571 LTCC=${LTCC-"$CC"}
10574 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler o…
10583 if test ${lt_cv_sys_global_symbol_pipe+y}
10595 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10597 # Define system-specific variables.
10606 if test ia64 = "$host_cpu"; then
10634 case `$NM -V 2>&1` in
10639 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10641 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
10643 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10644 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
10646 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
10647 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
10659 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
10661 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
10662 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
10665 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
10667 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10668 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
10672 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
10674 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10675 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
10676 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
10693 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10694 # Fake it for dumpbin and say T for any non-static function,
10714 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympa…
10721 rm -f conftest*
10735 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10739 test $ac_status = 0; }; then
10743 …if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$n…
10746 mv -f "$nlist"T "$nlist"
10748 rm -f "$nlist"T
10758 relocations are performed -- see ld's documentation on pseudo-relocs. */
10773 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10786 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
10808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10812 test $ac_status = 0; } && test -s conftest$ac_exeext; then
10830 rm -rf conftest* conftst*
10833 if test yes = "$pipe_works"; then
10842 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10845 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10854 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
10856 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10899 # Check whether --with-sysroot was given.
10900 if test ${with_sysroot+y}
10911 if test yes = "$GCC"; then
10912 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10916 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
10921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10928 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10936 if test ${ac_cv_path_lt_DD+y}
10943 if test -z "$lt_DD"; then
10945 # Loop through the user's path and test for each of PROGNAME-LIST
10961 cmp -s conftest.i conftest.out \
10969 if test -z "$ac_cv_path_lt_DD"; then
10976 rm -f conftest.i conftest2.i conftest.out
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10984 if test ${lt_cv_truncate_bin+y}
10992 cmp -s conftest.i conftest.out \
10995 rm -f conftest.i conftest2.i conftest.out
10996 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
11007 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
11014 \-*) ;;
11018 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11021 # Check whether --enable-libtool-lock was given.
11022 if test ${enable_libtool_lock+y}
11027 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
11032 ia64-*-hpux*)
11036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11040 test $ac_status = 0; }; then
11042 *ELF-32*)
11045 *ELF-64*)
11050 rm -rf conftest*
11052 *-*-irix6*)
11056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11060 test $ac_status = 0; }; then
11061 if test yes = "$lt_cv_prog_gnu_ld"; then
11063 *32-bit*)
11064 LD="${LD-ld} -melf32bsmip"
11067 LD="${LD-ld} -melf32bmipn32"
11069 *64-bit*)
11070 LD="${LD-ld} -melf64bmip"
11075 *32-bit*)
11076 LD="${LD-ld} -32"
11079 LD="${LD-ld} -n32"
11081 *64-bit*)
11082 LD="${LD-ld} -64"
11087 rm -rf conftest*
11090 mips64*-*linux*)
11094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11098 test $ac_status = 0; }; then
11101 *32-bit*)
11104 *64-bit*)
11121 LD="${LD-ld} -m $emul"
11123 rm -rf conftest*
11126 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
11127 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11131 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
11135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11139 test $ac_status = 0; }; then
11141 *32-bit*)
11143 x86_64-*kfreebsd*-gnu)
11144 LD="${LD-ld} -m elf_i386_fbsd"
11146 x86_64-*linux*)
11148 *x86-64*)
11149 LD="${LD-ld} -m elf32_x86_64"
11152 LD="${LD-ld} -m elf_i386"
11156 powerpc64le-*linux*)
11157 LD="${LD-ld} -m elf32lppclinux"
11159 powerpc64-*linux*)
11160 LD="${LD-ld} -m elf32ppclinux"
11162 s390x-*linux*)
11163 LD="${LD-ld} -m elf_s390"
11165 sparc64-*linux*)
11166 LD="${LD-ld} -m elf32_sparc"
11170 *64-bit*)
11172 x86_64-*kfreebsd*-gnu)
11173 LD="${LD-ld} -m elf_x86_64_fbsd"
11175 x86_64-*linux*)
11176 LD="${LD-ld} -m elf_x86_64"
11178 powerpcle-*linux*)
11179 LD="${LD-ld} -m elf64lppc"
11181 powerpc-*linux*)
11182 LD="${LD-ld} -m elf64ppc"
11184 s390*-*linux*|s390*-*tpf*)
11185 LD="${LD-ld} -m elf64_s390"
11187 sparc*-*linux*)
11188 LD="${LD-ld} -m elf64_sparc"
11194 rm -rf conftest*
11197 *-*-sco3.2v5*)
11198 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11200 CFLAGS="$CFLAGS -belf"
11201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11202 printf %s "checking whether the C compiler needs -belf... " >&6; }
11203 if test ${lt_cv_cc_needs_belf+y}
11209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
11240 if test yes != "$lt_cv_cc_needs_belf"; then
11241 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11245 *-*solaris*)
11249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11253 test $ac_status = 0; }; then
11255 *64-bit*)
11259 i?86-*-solaris*|x86_64-*-solaris*)
11260 LD="${LD-ld} -m elf_x86_64"
11262 sparc*-*-solaris*)
11263 LD="${LD-ld} -m elf64_sparc"
11267 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
11268 LD=${LD-ld}_sol2
11272 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11273 LD="${LD-ld} -64"
11280 rm -rf conftest*
11286 if test -n "$ac_tool_prefix"; then
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11291 if test ${ac_cv_prog_MANIFEST_TOOL+y}
11295 if test -n "$MANIFEST_TOOL"; then
11296 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
11310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11320 if test -n "$MANIFEST_TOOL"; then
11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11336 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
11340 if test -n "$ac_ct_MANIFEST_TOOL"; then
11341 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
11355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11365 if test -n "$ac_ct_MANIFEST_TOOL"; then
11366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373 if test "x$ac_ct_MANIFEST_TOOL" = x; then
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11388 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11391 if test ${lt_cv_path_mainfest_tool+y}
11396 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11397 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11402 rm -f conftest*
11404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11406 if test yes != "$lt_cv_path_mainfest_tool"; then
11417 if test -n "$ac_tool_prefix"; then
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11422 if test ${ac_cv_prog_DSYMUTIL+y}
11426 if test -n "$DSYMUTIL"; then
11427 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
11441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11451 if test -n "$DSYMUTIL"; then
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11461 if test -z "$ac_cv_prog_DSYMUTIL"; then
11465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11467 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
11471 if test -n "$ac_ct_DSYMUTIL"; then
11472 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
11486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11496 if test -n "$ac_ct_DSYMUTIL"; then
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11504 if test "x$ac_ct_DSYMUTIL" = x; then
11509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11519 if test -n "$ac_tool_prefix"; then
11522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11524 if test ${ac_cv_prog_NMEDIT+y}
11528 if test -n "$NMEDIT"; then
11529 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
11543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11553 if test -n "$NMEDIT"; then
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11563 if test -z "$ac_cv_prog_NMEDIT"; then
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11569 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
11573 if test -n "$ac_ct_NMEDIT"; then
11574 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
11588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11598 if test -n "$ac_ct_NMEDIT"; then
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11606 if test "x$ac_ct_NMEDIT" = x; then
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11621 if test -n "$ac_tool_prefix"; then
11624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11626 if test ${ac_cv_prog_LIPO+y}
11630 if test -n "$LIPO"; then
11631 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
11645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11655 if test -n "$LIPO"; then
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665 if test -z "$ac_cv_prog_LIPO"; then
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11671 if test ${ac_cv_prog_ac_ct_LIPO+y}
11675 if test -n "$ac_ct_LIPO"; then
11676 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
11690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11700 if test -n "$ac_ct_LIPO"; then
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11708 if test "x$ac_ct_LIPO" = x; then
11713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11723 if test -n "$ac_tool_prefix"; then
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11728 if test ${ac_cv_prog_OTOOL+y}
11732 if test -n "$OTOOL"; then
11733 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
11747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11757 if test -n "$OTOOL"; then
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 if test -z "$ac_cv_prog_OTOOL"; then
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11773 if test ${ac_cv_prog_ac_ct_OTOOL+y}
11777 if test -n "$ac_ct_OTOOL"; then
11778 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
11792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11802 if test -n "$ac_ct_OTOOL"; then
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11810 if test "x$ac_ct_OTOOL" = x; then
11815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11825 if test -n "$ac_tool_prefix"; then
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11830 if test ${ac_cv_prog_OTOOL64+y}
11834 if test -n "$OTOOL64"; then
11835 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
11849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11859 if test -n "$OTOOL64"; then
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11869 if test -z "$ac_cv_prog_OTOOL64"; then
11873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11875 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
11879 if test -n "$ac_ct_OTOOL64"; then
11880 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
11894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11904 if test -n "$ac_ct_OTOOL64"; then
11905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11912 if test "x$ac_ct_OTOOL64" = x; then
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11954 printf %s "checking for -single_module linker flag... " >&6; }
11955 if test ${lt_cv_apple_cc_single_mod+y}
11960 if test -z "$LT_MULTI_MODULE"; then
11961 # By default we will add the -single_module flag. You can override
11963 # non-empty at configure time, or by adding -multi_module to the
11965 rm -rf libconftest.dylib*
11967 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11968 -dynamiclib -Wl,-single_module conftest.c" >&5
11969 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11970 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11972 # If there is a non-empty error log, and "single_module"
11974 if test -s conftest.err && $GREP single_module conftest.err; then
11978 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11983 rm -rf libconftest.dylib*
11984 rm -f conftest.*
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11990 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11991 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11992 if test ${lt_cv_ld_exported_symbols_list+y}
11999 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
12024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
12025 printf %s "checking for -force_load linker flag... " >&6; }
12026 if test ${lt_cv_ld_force_load+y}
12034 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
12035 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
12043 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
12044 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
12046 if test -s conftest.err && $GREP force_load conftest.err; then
12048 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
12053 rm -f conftest.err libconftest.a conftest conftest.c
12054 rm -rf conftest.dSYM
12057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
12061 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
12063 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12066 10.[012],*|,*powerpc*-darwin[5-8]*)
12067 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
12069 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
12073 if test yes = "$lt_cv_apple_cc_single_mod"; then
12076 if test yes = "$lt_cv_ld_exported_symbols_list"; then
12077 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
12079 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
12081 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
12090 # -----------------------------------
12115 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
12116 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
12126 if test "x$ac_cv_header_dlfcn_h" = xyes
12132 # ------------------------------------ #
12134 # ------------------------------------ #
12158 if test "x$xc_lt_want_enable_shared" = 'xno' &&
12159 test "x$xc_lt_want_enable_static" = 'xno'; then
12166 # and disable static ones. On these systems option '--disable-shared'
12170 if test "x$xc_lt_want_enable_shared" = 'xyes' &&
12171 test "x$xc_lt_want_enable_static" = 'xyes'; then
12190 # non-PIC objects for static libraries.
12210 # of non-PIC compiled objects will fail with following linker error
12213 # be overridden using 'configure --disable-shared --without-pic'.
12216 if test "x$xc_lt_want_with_pic" = 'xdefault'; then
12236 ## ----------------------- ##
12238 ## ----------------------- ##
12247 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
12248 if test -n "$ac_tool_prefix"; then
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12253 if test ${ac_cv_prog_AS+y}
12257 if test -n "$AS"; then
12258 ac_cv_prog_AS="$AS" # Let the user override the test.
12272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12282 if test -n "$AS"; then
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 if test -z "$ac_cv_prog_AS"; then
12296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12298 if test ${ac_cv_prog_ac_ct_AS+y}
12302 if test -n "$ac_ct_AS"; then
12303 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
12317 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12327 if test -n "$ac_ct_AS"; then
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 if test "x$ac_ct_AS" = x; then
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12350 if test -n "$ac_tool_prefix"; then
12353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12355 if test ${ac_cv_prog_DLLTOOL+y}
12359 if test -n "$DLLTOOL"; then
12360 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12384 if test -n "$DLLTOOL"; then
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394 if test -z "$ac_cv_prog_DLLTOOL"; then
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12400 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
12404 if test -n "$ac_ct_DLLTOOL"; then
12405 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12429 if test -n "$ac_ct_DLLTOOL"; then
12430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12437 if test "x$ac_ct_DLLTOOL" = x; then
12442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12452 if test -n "$ac_tool_prefix"; then
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12457 if test ${ac_cv_prog_OBJDUMP+y}
12461 if test -n "$OBJDUMP"; then
12462 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
12476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12486 if test -n "$OBJDUMP"; then
12487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12496 if test -z "$ac_cv_prog_OBJDUMP"; then
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12502 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
12506 if test -n "$ac_ct_OBJDUMP"; then
12507 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
12521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12531 if test -n "$ac_ct_OBJDUMP"; then
12532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12539 if test "x$ac_ct_OBJDUMP" = x; then
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12557 test -z "$AS" && AS=as
12563 test -z "$DLLTOOL" && DLLTOOL=dlltool
12569 test -z "$OBJDUMP" && OBJDUMP=objdump
12581 # Check whether --enable-shared was given.
12582 if test ${enable_shared+y}
12584 enableval=$enable_shared; p=${PACKAGE-default}
12594 if test "X$pkg" = "X$p"; then
12613 # Check whether --enable-static was given.
12614 if test ${enable_static+y}
12616 enableval=$enable_static; p=${PACKAGE-default}
12626 if test "X$pkg" = "X$p"; then
12646 # Check whether --with-pic was given.
12647 if test ${with_pic+y}
12649 withval=$with_pic; lt_p=${PACKAGE-default}
12658 if test "X$lt_pkg" = "X$lt_p"; then
12676 # Check whether --enable-fast-install was given.
12677 if test ${enable_fast_install+y}
12679 enableval=$enable_fast_install; p=${PACKAGE-default}
12689 if test "X$pkg" = "X$p"; then
12709 power*-*-aix[5-9]*,yes)
12710 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning …
12713 # Check whether --with-aix-soname was given.
12714 if test ${with_aix_soname+y}
12720 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
12725 if test ${lt_cv_with_aix_soname+y}
12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
12737 if test aix != "$with_aix_soname"; then
12741 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12743 if test 64 = "${OBJECT_MODE-32}"; then
12799 test -z "$LN_S" && LN_S="ln -s"
12814 if test -n "${ZSH_VERSION+set}"; then
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12820 if test ${lt_cv_objdir+y}
12824 rm -f .libs 2>/dev/null
12826 if test -d .libs; then
12829 # MS-DOS does not allow filenames that begin with a dot.
12834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
12852 if test set != "${COLLECT_NAMES+set}"; then
12873 test -z "$CC" && CC=cc
12874 test -z "$LTCC" && LTCC=$CC
12875 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12876 test -z "$LD" && LD=ld
12877 test -z "$ac_objext" && ac_objext=o
12884 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12887 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12890 if test ${lt_cv_path_MAGIC_CMD+y}
12896 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
12904 test -z "$ac_dir" && ac_dir=.
12905 if test -f "$ac_dir/${ac_tool_prefix}file"; then
12907 if test -n "$file_magic_test_file"; then
12925 *** bug-libtool@gnu.org
12941 if test -n "$MAGIC_CMD"; then
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12953 if test -z "$lt_cv_path_MAGIC_CMD"; then
12954 if test -n "$ac_tool_prefix"; then
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12957 if test ${lt_cv_path_MAGIC_CMD+y}
12963 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
12971 test -z "$ac_dir" && ac_dir=.
12972 if test -f "$ac_dir/file"; then
12974 if test -n "$file_magic_test_file"; then
12992 *** bug-libtool@gnu.org
13008 if test -n "$MAGIC_CMD"; then
13009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13036 # Source file extension for C test sources.
13039 # Object file extension for compiled C test sources.
13056 LTCC=${LTCC-"$CC"}
13059 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13068 # save warnings/boilerplate of simple test code
13079 $RM -r conftest*
13086 if test -n "$compiler"; then
13090 if test yes = "$GCC"; then
13093 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13095 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13098 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-except…
13099 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13100 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
13107 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
13114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13116 -e 's:$: $lt_compiler_flag:'`
13122 if (exit $ac_status) && test -s "$ac_outfile"; then
13127 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13137 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
13138 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13155 if test yes = "$GCC"; then
13156 lt_prog_compiler_wl='-Wl,'
13157 lt_prog_compiler_static='-static'
13162 if test ia64 = "$host_cpu"; then
13164 lt_prog_compiler_static='-Bstatic'
13166 lt_prog_compiler_pic='-fPIC'
13173 lt_prog_compiler_pic='-fPIC'
13177 # adding the '-m68020' flag to GCC prevents building anything better,
13178 # like '-m68040'.
13179 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13191 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13192 # (--disable-auto-import) libraries
13193 lt_prog_compiler_pic='-DDLL_EXPORT'
13196 lt_prog_compiler_static='$wl-static'
13204 lt_prog_compiler_pic='-fno-common'
13209 # The "-static" flag exists, but is broken.
13214 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13215 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13222 lt_prog_compiler_pic='-fPIC'
13227 interix[3-9]*)
13228 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13240 # QNX uses GNU C++, but need to define -shared option too, otherwise
13242 lt_prog_compiler_pic='-fPIC -shared'
13246 if test -d /usr/nec; then
13247 lt_prog_compiler_pic=-Kconform_pic
13252 lt_prog_compiler_pic='-fPIC'
13258 lt_prog_compiler_wl='-Xlinker '
13259 if test -n "$lt_prog_compiler_pic"; then
13260 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13268 lt_prog_compiler_wl='-Wl,'
13269 if test ia64 = "$host_cpu"; then
13271 lt_prog_compiler_static='-Bstatic'
13273 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13280 lt_prog_compiler_pic='-fno-common'
13284 lt_prog_compiler_wl='-Wl,-Wl,,'
13285 lt_prog_compiler_pic='-PIC'
13286 lt_prog_compiler_static='-Bstatic'
13294 lt_prog_compiler_pic='-DDLL_EXPORT'
13297 lt_prog_compiler_static='$wl-static'
13303 lt_prog_compiler_wl='-Wl,'
13304 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13305 # not for PA HP-UX.
13315 lt_prog_compiler_static='$wl-a ${wl}archive'
13319 lt_prog_compiler_wl='-Wl,'
13320 # PIC (with -KPIC) is the default.
13321 lt_prog_compiler_static='-non_shared'
13324 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13326 # old Intel for x86_64, which still supported -KPIC.
13328 lt_prog_compiler_wl='-Wl,'
13329 lt_prog_compiler_pic='-KPIC'
13330 lt_prog_compiler_static='-static'
13334 lt_prog_compiler_wl='-Wl,'
13335 lt_prog_compiler_pic='-fPIC'
13336 lt_prog_compiler_static='-static'
13339 # ICC 10 doesn't accept -KPIC any more.
13341 lt_prog_compiler_wl='-Wl,'
13342 lt_prog_compiler_pic='-fPIC'
13343 lt_prog_compiler_static='-static'
13347 lt_prog_compiler_wl='-Wl,'
13348 lt_prog_compiler_pic='--shared'
13349 lt_prog_compiler_static='--static'
13353 lt_prog_compiler_wl='-Wl,-Wl,,'
13354 lt_prog_compiler_pic='-PIC'
13355 lt_prog_compiler_static='-Bstatic'
13359 lt_prog_compiler_wl='-Wl,'
13360 lt_prog_compiler_pic='-fPIC'
13361 lt_prog_compiler_static='-static'
13366 lt_prog_compiler_wl='-Wl,'
13367 lt_prog_compiler_pic='-fpic'
13368 lt_prog_compiler_static='-Bstatic'
13371 lt_prog_compiler_wl='-Wl,'
13373 lt_prog_compiler_static='-non_shared'
13377 lt_prog_compiler_wl='-Wl,'
13378 lt_prog_compiler_pic='-qpic'
13379 lt_prog_compiler_static='-qstaticlink'
13382 case `$CC -V 2>&1 | $SED 5q` in
13383 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13385 lt_prog_compiler_pic='-KPIC'
13386 lt_prog_compiler_static='-Bstatic'
13390 lt_prog_compiler_pic='-KPIC'
13391 lt_prog_compiler_static='-Bstatic'
13392 lt_prog_compiler_wl='-Qoption ld '
13396 lt_prog_compiler_pic='-KPIC'
13397 lt_prog_compiler_static='-Bstatic'
13398 lt_prog_compiler_wl='-Wl,'
13401 lt_prog_compiler_wl='-Wl,'
13402 lt_prog_compiler_pic='-fPIC'
13403 lt_prog_compiler_static='-static'
13406 lt_prog_compiler_wl='-Wl,'
13407 lt_prog_compiler_pic='-fpic'
13408 lt_prog_compiler_static='-Bstatic'
13416 lt_prog_compiler_pic='-KPIC'
13417 lt_prog_compiler_static='-Bstatic'
13421 # QNX uses GNU C++, but need to define -shared option too, otherwise
13423 lt_prog_compiler_pic='-fPIC -shared'
13427 lt_prog_compiler_wl='-Wl,'
13429 lt_prog_compiler_static='-non_shared'
13433 lt_prog_compiler_static='-non_shared'
13437 lt_prog_compiler_pic='-KPIC'
13438 lt_prog_compiler_static='-Bstatic'
13441 lt_prog_compiler_wl='-Qoption ld ';;
13443 lt_prog_compiler_wl='-Wl,';;
13448 lt_prog_compiler_wl='-Qoption ld '
13449 lt_prog_compiler_pic='-PIC'
13450 lt_prog_compiler_static='-Bstatic'
13454 lt_prog_compiler_wl='-Wl,'
13455 lt_prog_compiler_pic='-KPIC'
13456 lt_prog_compiler_static='-Bstatic'
13460 if test -d /usr/nec; then
13461 lt_prog_compiler_pic='-Kconform_pic'
13462 lt_prog_compiler_static='-Bstatic'
13467 lt_prog_compiler_wl='-Wl,'
13468 lt_prog_compiler_pic='-KPIC'
13469 lt_prog_compiler_static='-Bstatic'
13473 lt_prog_compiler_wl='-Wl,'
13478 lt_prog_compiler_pic='-pic'
13479 lt_prog_compiler_static='-Bstatic'
13489 # For platforms that do not support PIC, -DPIC is meaningless:
13494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13500 if test ${lt_cv_prog_compiler_pic+y}
13506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13513 if test -n "$lt_prog_compiler_pic"; then
13514 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
13516 if test ${lt_cv_prog_compiler_pic_works+y}
13523 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13532 -e 's:$: $lt_compiler_flag:'`
13538 if (exit $ac_status) && test -s "$ac_outfile"; then
13543 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13553 if test yes = "$lt_cv_prog_compiler_pic_works"; then
13579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
13581 if test ${lt_cv_prog_compiler_static_works+y}
13589 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13592 if test -s conftest.err; then
13604 $RM -r conftest*
13608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13611 if test yes = "$lt_cv_prog_compiler_static_works"; then
13623 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13624 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13625 if test ${lt_cv_prog_compiler_c_o+y}
13630 $RM -r conftest 2>/dev/null
13636 lt_compiler_flag="-o out/conftest2.$ac_objext"
13642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13644 -e 's:$: $lt_compiler_flag:'`
13650 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13656 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13664 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13667 $RM -r conftest
13671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13679 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13680 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13681 if test ${lt_cv_prog_compiler_c_o+y}
13686 $RM -r conftest 2>/dev/null
13692 lt_compiler_flag="-o out/conftest2.$ac_objext"
13698 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13699 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13700 -e 's:$: $lt_compiler_flag:'`
13706 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13712 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13720 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13723 $RM -r conftest
13727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13734 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
13736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13746 if test no = "$hard_links"; then
13747 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j…
13748 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13760 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports…
13787 # include_expsyms should be a list of space-separated symbols to be *always*
13808 if test yes != "$GCC"; then
13819 linux* | k*bsd*-gnu | gnu*)
13829 if test yes = "$with_gnu_ld"; then
13836 case `$LD -v 2>&1` in
13838 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13839 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13851 if test yes = "$lt_use_gnu_ld_interface"; then
13859 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13860 export_dynamic_flag_spec='$wl--export-dynamic'
13861 # ancient GNU ld didn't support --whole-archive et. al.
13862 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13863 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13868 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
13870 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13879 aix[3-9]*)
13881 if test ia64 != "$host_cpu"; then
13889 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13900 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13904 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13905 hardcode_libdir_flag_spec='-L$libdir'
13912 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13915 # support --undefined. This deserves some investigation. FIXME
13916 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13925 hardcode_libdir_flag_spec='-L$libdir'
13926 export_dynamic_flag_spec='$wl--export-all-symbols'
13930 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
13931 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
13933 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13934 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
13935 # If the export-symbols file already is a .def file, use it as
13937 …='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\…
13943 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
13950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13955 hardcode_libdir_flag_spec='-L$libdir'
13964 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13965 emximp -o $lib $output_objdir/$libname.def'
13971 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13972 prefix_cmds="$prefix_cmds -e 1d";
13974 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13976 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13977 emximp -o $lib $output_objdir/$libname.def'
13978 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13983 interix[3-9]*)
13986 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13987 export_dynamic_flag_spec='$wl-E'
13992 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13994 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
13995-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
13998 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14000 if test linux-dietlibc = "$host_os"; then
14002 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14005 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14006 && test no = "$tmp_diet"
14009 tmp_sharedflag='-shared'
14012--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
14017--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
14018 tmp_addflag=' $pic_flag -Mnomain' ;;
14020 tmp_addflag=' -i_dynamic' ;;
14022 tmp_addflag=' -i_dynamic -nofor_main' ;;
14024 tmp_addflag=' -nofor_main' ;;
14027 tmp_sharedflag='--shared' ;;
14029 tmp_sharedflag='-Wl,-shared' ;;
14031 tmp_sharedflag='-qmkshrobj'
14034--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
14038 case `$CC -V 2>&1 | $SED 5q` in
14040--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
14042 tmp_sharedflag='-G' ;;
14044 tmp_sharedflag='-G' ;;
14046 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14048 if test yes = "$supports_anon_versioning"; then
14050 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14052 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
14057 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14058 export_dynamic_flag_spec='-rdynamic'
14062 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14063 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14064 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14065 if test yes = "$supports_anon_versioning"; then
14067 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14069 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
14078 netbsd* | netbsdelf*-gnu)
14079 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14080 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14083 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14084 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14089 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14101 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14102 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14103 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14110 case `$LD -v 2>&1` in
14111 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14129 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14130 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14132 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
14141 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14148 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14149 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14150 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14157 if test no = "$ld_shlibs"; then
14169 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
14171 # are no directories specified by -L.
14173 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14180 aix[4-9]*)
14181 if test ia64 = "$host_cpu"; then
14185 exp_sym_flag='-Bexport'
14188 # If we're using GNU nm, then we don't want the "-C" option.
14189 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14190 # Without the "-l" option, or with the "-B" option, AIX nm treats
14194 # it in the Import File for the 'aix-soname' feature, so we have
14195 # to replace the "-B" option with "-P" for AIX nm.
14196 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14197-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
14199-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
14203 # Test if we are trying to use run time linking or normal
14204 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14207 # depending on the kind of the shared library created -
14218 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14220 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14225 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14226 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14230 LDFLAGS="$LDFLAGS -Wl,-brtl"
14235 exp_sym_flag='-bexport'
14236 no_entry_flag='-bnoentry'
14241 # or program results in "error TOC overflow" add -mminimal-toc to
14243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14250 file_list_spec='$wl-f,'
14260 if test yes = "$GCC"; then
14264 collect2name=`$CC -print-prog-name=collect2`
14265 if test -f "$collect2name" &&
14277 hardcode_libdir_flag_spec='-L$libdir'
14282 shared_flag='-shared'
14283 if test yes = "$aix_use_runtimelinking"; then
14284 shared_flag="$shared_flag "'$wl-G'
14288 # /with/ Import File - we do not want to mix them.
14289 shared_flag_aix='-shared'
14290 shared_flag_svr4='-shared $wl-G'
14293 if test ia64 = "$host_cpu"; then
14294 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14295 # chokes on -Wl,-G. The following line is correct:
14296 shared_flag='-G'
14298 if test yes = "$aix_use_runtimelinking"; then
14299 shared_flag='$wl-G'
14301 shared_flag='$wl-bM:SRE'
14303 shared_flag_aix='$wl-bM:SRE'
14304 shared_flag_svr4='$wl-G'
14308 export_dynamic_flag_spec='$wl-bexpall'
14309 # It seems that -bexpall does not export symbols beginning with
14312 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14313 # Warning - without using the other runtime loading flags (-brtl),
14314 # -berok will link without error, but may produce a broken library.
14315 allow_undefined_flag='-berok'
14318 if test set = "${lt_cv_aix_libpath+set}"; then
14321 if test ${lt_cv_aix_libpath_+y}
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14346 # Check for a 64-bit object if we didn't find anything.
14347 if test -z "$lt_cv_aix_libpath_"; then
14348 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14353 if test -z "$lt_cv_aix_libpath_"; then
14362 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14363 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
14365 if test ia64 = "$host_cpu"; then
14366 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
14367 allow_undefined_flag="-z nodefs"
14368 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
14372 if test set = "${lt_cv_aix_libpath+set}"; then
14375 if test ${lt_cv_aix_libpath_+y}
14379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14399 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14400 # Check for a 64-bit object if we didn't find anything.
14401 if test -z "$lt_cv_aix_libpath_"; then
14402 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14407 if test -z "$lt_cv_aix_libpath_"; then
14416 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14417 # Warning - without using the other run time loading flags,
14418 # -berok will link without error, but may produce a broken library.
14419 no_undefined_flag=' $wl-bernotok'
14420 allow_undefined_flag=' $wl-berok'
14421 if test yes = "$with_gnu_ld"; then
14422 # We only use this code for GNU lds that support --whole-archive.
14423 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
14429 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14430 # -brtl affects multiple linker settings, -berok does not and is overridden later
14431 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
14432 if test svr4 != "$with_aix_soname"; then
14434 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
14436 if test aix != "$with_aix_soname"; then
14437-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
14439 # used by -dlpreopen to get the symbols
14442 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
14451 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14455 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14456 hardcode_libdir_flag_spec='-L$libdir'
14463 export_dynamic_flag_spec=-rdynamic
14483 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
14484 …='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\…
14488 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14490 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
14496 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
14508 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14509 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
14522 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
14526 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14539 if test yes = "$lt_cv_ld_force_load"; then
14540 …_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conveni…
14551 if test yes = "$_lt_dar_can_shared"; then
14553 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
14554 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
14555 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
14556 …e_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
14565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14566 hardcode_libdir_flag_spec='-L$libdir'
14575 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14576 hardcode_libdir_flag_spec='-R$libdir'
14583 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14589 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14591 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14592 hardcode_libdir_flag_spec='-R$libdir'
14598 if test yes = "$GCC"; then
14599 …put_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libob…
14601 …s='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplib…
14610 export_dynamic_flag_spec='$wl-E'
14614 if test yes,no = "$GCC,$with_gnu_ld"; then
14615 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14617 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14619 if test no = "$with_gnu_ld"; then
14624 export_dynamic_flag_spec='$wl-E'
14632 if test yes,no = "$GCC,$with_gnu_ld"; then
14635 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14638 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
14641 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14647 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14650 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14654 # Older versions of the 11.00 compiler do not understand -b yet
14655 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14657 printf %s "checking if $CC understands -b... " >&6; }
14658 if test ${lt_cv_prog_compiler__b+y}
14664 LDFLAGS="$LDFLAGS -b"
14666 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14669 if test -s conftest.err; then
14681 $RM -r conftest*
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
14688 if test yes = "$lt_cv_prog_compiler__b"; then
14689 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
14691 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14697 if test no = "$with_gnu_ld"; then
14709 export_dynamic_flag_spec='$wl-E'
14720 if test yes = "$GCC"; then
14721-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14722 # Try to use the -exported_symbol ld option, if it does not
14723 # work, assume that -exports_file does not work either and
14725 # This should be the same for all languages, so no per-tag cache variable.
14726 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -export…
14727 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14728 if test ${lt_cv_irix_exported_symbol+y}
14733 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14750 if test yes = "$lt_cv_irix_exported_symbol"; then
14751-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14755-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14756-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14759 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14770 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14771 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14776 netbsd* | netbsdelf*-gnu)
14777 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14778 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14780 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14782 hardcode_libdir_flag_spec='-R$libdir'
14788 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14790 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14799 if test -f /usr/libexec/ld.so; then
14803 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14804 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14805 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
14806 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14807 export_dynamic_flag_spec='$wl-E'
14809 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14810 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14818 hardcode_libdir_flag_spec='-L$libdir'
14827 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14828 emximp -o $lib $output_objdir/$libname.def'
14834 if test EXPORTS = "`$SED 1q $export_symbols`"; then
14835 prefix_cmds="$prefix_cmds -e 1d";
14837 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14839 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14840 emximp -o $lib $output_objdir/$libname.def'
14841 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14847 if test yes = "$GCC"; then
14848 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14849-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
14851 allow_undefined_flag=' -expect_unresolved \*'
14852-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
14855 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14859 osf4* | osf5*) # as osf3* with the addition of -msym flag
14860 if test yes = "$GCC"; then
14861 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14862-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
14863 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14865 allow_undefined_flag=' -expect_unresolved \*'
14866-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
14867 …in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%…
14868-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
14870 # Both c and cxx compiler support -rpath directly
14871 hardcode_libdir_flag_spec='-rpath $libdir'
14878 no_undefined_flag=' -z defs'
14879 if test yes = "$GCC"; then
14881 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
14882 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14883 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
14885 case `$CC -V 2>&1` in
14888 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
14889 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14890 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
14894 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14895 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14896 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
14900 hardcode_libdir_flag_spec='-R$libdir'
14903 solaris2.[0-5] | solaris2.[0-5].*) ;;
14906 # but understands '-z linker_flag'. GCC discards it without '$wl',
14909 if test yes = "$GCC"; then
14910 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14912 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
14920 if test sequent = "$host_vendor"; then
14923 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14925 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14927 hardcode_libdir_flag_spec='-L$libdir'
14936 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14942 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14943 reload_cmds='$CC -r -o $output$reload_objs'
14947 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14956 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14958 export_dynamic_flag_spec='-Bexport'
14962 if test -d /usr/nec; then
14963 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14972 no_undefined_flag='$wl-z,text'
14977 if test yes = "$GCC"; then
14978 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14979 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
14981 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14982 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
14987 # Note: We CANNOT use -z defs as we might desire, because we do not
14988 # link with -lc, and that would cause any symbols used from libc to
14990 # ever link correctly. If we're not using GNU ld we use -z text
14991 # though, which does catch some bad symbols but isn't as heavy-handed
14992 # as -z defs.
14993 no_undefined_flag='$wl-z,text'
14994 allow_undefined_flag='$wl-z,nodefs'
14997 hardcode_libdir_flag_spec='$wl-R,$libdir'
15000 export_dynamic_flag_spec='$wl-Bexport'
15003 if test yes = "$GCC"; then
15004 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
15007 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15008 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
15013 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15014 hardcode_libdir_flag_spec='-L$libdir'
15023 if test sni = "$host_vendor"; then
15026 export_dynamic_flag_spec='$wl-Blargedynsym'
15032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
15034 test no = "$ld_shlibs" && can_build_shared=no
15057 # Assume -lc should be added
15060 if test yes,yes = "$GCC,$enable_shared"; then
15063 # FIXME: we may have to deal with multi-command sequences.
15066 # Test whether the compiler implicitly links with -lc since on some
15067 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15068 # to ld, don't add -lc before -lgcc.
15069 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in"…
15070 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
15071 if test ${lt_cv_archive_cmds_need_lc+y}
15078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082 test $ac_status = 0; } 2>conftest.err; then
15089 compiler_flags=-v
15090 linker_flags=-v
15096 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
15097 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15100 test $ac_status = 0; }
15113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15276 if test yes = "$GCC"; then
15282 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15285 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
15289 # otherwise default to the standard path separator (i.e. ":") - it is
15301 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15303 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15310 if test -d "$lt_sys_path$lt_multi_os_dir"; then
15312 elif test -n "$lt_multi_os_dir"; then
15313 test -d "$lt_sys_path" && \
15321 for (lt_i = NF; lt_i > 0; lt_i--) {
15329 lt_count--;
15341 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
15363 # when you set need_version to no, make sure it does not cause -set_version
15379 aix[4-9]*)
15384 if test ia64 = "$host_cpu"; then
15398 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15406 # filename-based versioning of shared library archives on AIX. While
15408 # prevent static linking of such archives. So we do filename-based
15413 # versioned .so libs for executables only if there is the -brtl
15414 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15415 # To allow for filename-based versioning support, we need to create
15425 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15455test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_pr…
15456 …n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_re…
15465test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || tes…
15466 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
15477 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15505 # libtool to hard-code these into programs
15520 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15522 test -d \$dldir || mkdir -p \$dldir~
15525 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15528 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15536 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffi…
15542 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15546 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ve…
15555 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15572 …path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
15578 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15579 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15580 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
15584 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15586 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15588 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15591 # common. (e.g. "Program Files" -> "PROGRA~1")
15597 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15599 test -d \$dldir || mkdir -p \$dldir~
15601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15610 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
15627 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15645 if test -x /usr/bin/objformat; then
15653 version_type=freebsd-$objformat
15655 freebsd-elf*)
15661 freebsd-*)
15675 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15676 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15715 if test 32 = "$HPUX_IA64_MODE"; then
15743 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15749 interix[3-9]*)
15765 if test yes = "$lt_cv_prog_gnu_ld"; then
15781 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15782 libsuff= shlibsuff= libmagic=32-bit;;
15783 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15785 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15786 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15787 *) libsuff= shlibsuff= libmagic=never-match;;
15819 # Don't embed -rpath directories since the linker doesn't support them.
15820 hardcode_libdir_flag_spec='-L$libdir'
15824 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15830 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15835 if test ${lt_cv_shlibpath_overrides_runpath+y}
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
15861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15878 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15879 # even though it is searched at run-time. Try to do the best guess by
15881 if test -f /etc/ld.so.conf; then
15882 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
15886 # We used to test for /lib/ld.so.1 and disable shared libraries on
15889 # most powerpc-linux boxes support dynamic linking these days and
15890 # people can always --disable-shared, the test was removed, and we
15895 netbsdelf*-gnu)
15911 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15913 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15948 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15954 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15966 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15967 v=$($ECHO $release$versuffix | tr -d .-);
15968 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15976 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15978 test -d \$dldir || mkdir -p \$dldir~
15981 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15984 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16023 if test yes = "$with_gnu_ld"; then
16053 if test -d /usr/nec; then
16070 if test yes = "$with_gnu_ld"; then
16084 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16107 test no = "$dynamic_linker" && can_build_shared=no
16110 if test yes = "$GCC"; then
16114 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16118 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16125 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16227 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs…
16230 if test -n "$hardcode_libdir_flag_spec" ||
16231 test -n "$runpath_var" ||
16232 test yes = "$hardcode_automatic"; then
16234 # We can hardcode non-existent directories.
16235 if test no != "$hardcode_direct" &&
16238 # when we should be linking with a yet-to-be-installed one
16239 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16240 test no != "$hardcode_minus_L"; then
16252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16255 if test relink = "$hardcode_action" ||
16256 test yes = "$inherit_rpath"; then
16259 elif test yes = "$shlibpath_overrides_runpath" ||
16260 test no = "$enable_shared"; then
16270 if test yes != "$enable_dlopen"; then
16297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16298 printf %s "checking for dlopen in -ldl... " >&6; }
16299 if test ${ac_cv_lib_dl_dlopen+y}
16304 LIBS="-ldl $LIBS"
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16332 if test "x$ac_cv_lib_dl_dlopen" = xyes
16334 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16347 # because TPF is a cross-compiler, and we know how we open DSOs.
16355 if test "x$ac_cv_func_shl_load" = xyes
16359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
16360 printf %s "checking for shl_load in -ldld... " >&6; }
16361 if test ${ac_cv_lib_dld_shl_load+y}
16366 LIBS="-ldld $LIBS"
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
16394 if test "x$ac_cv_lib_dld_shl_load" = xyes
16396 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
16399 if test "x$ac_cv_func_dlopen" = xyes
16403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16404 printf %s "checking for dlopen in -ldl... " >&6; }
16405 if test ${ac_cv_lib_dl_dlopen+y}
16410 LIBS="-ldl $LIBS"
16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16438 if test "x$ac_cv_lib_dl_dlopen" = xyes
16440 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16443 printf %s "checking for dlopen in -lsvld... " >&6; }
16444 if test ${ac_cv_lib_svld_dlopen+y}
16449 LIBS="-lsvld $LIBS"
16450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16477 if test "x$ac_cv_lib_svld_dlopen" = xyes
16479 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16482 printf %s "checking for dld_link in -ldld... " >&6; }
16483 if test ${ac_cv_lib_dld_dld_link+y}
16488 LIBS="-ldld $LIBS"
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16516 if test "x$ac_cv_lib_dld_dld_link" = xyes
16518 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16539 if test no = "$lt_cv_dlopen"; then
16548 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16558 if test ${lt_cv_dlopen_self+y}
16562 if test yes = "$cross_compiling"; then :
16609 /* When -fvisibility=hidden is used, assume the code has been annotated
16637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16641 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16654 rm -fr conftest*
16658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16661 if test yes = "$lt_cv_dlopen_self"; then
16663 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlo…
16665 if test ${lt_cv_dlopen_self_static+y}
16669 if test yes = "$cross_compiling"; then :
16716 /* When -fvisibility=hidden is used, assume the code has been annotated
16744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16748 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16761 rm -fr conftest*
16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16806 if test -z "$STRIP"; then
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16810 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16811 old_striplib="$STRIP --strip-debug"
16812 striplib="$STRIP --strip-unneeded"
16813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16818 # FIXME - insert some real tests, host_os isn't really good enough
16819 striplib="$STRIP -x"
16820 old_striplib="$STRIP -S"
16821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16825 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
16826 old_striplib="$STRIP --strip-debug"
16827 striplib="$STRIP --strip-unneeded"
16828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16862 test no = "$can_build_shared" && enable_shared=no
16868 test yes = "$enable_shared" && enable_static=no
16869 if test -n "$RANLIB"; then
16875 aix[4-9]*)
16876 if test ia64 != "$host_cpu"; then
16885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16891 test yes = "$enable_shared" || enable_static=yes
16892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ## --------------------- ##
16931 ## --------------------- ##
16960 # Verify if libtool shared libraries should be linked using flag -version-info
16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -vers…
16964 printf %s "checking whether to build shared libraries with -version-info... " >&6; }
16966 if test "x$version_type" = 'xnone'; then
16974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
16978 # Verify if libtool shared libraries should be linked using flag -no-undefined
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-u…
16982 printf %s "checking whether to build shared libraries with -no-undefined... " >&6; }
16984 if test "x$allow_undefined" = 'xno'; then
16986 elif test "x$allow_undefined_flag" = 'xunsupported'; then
16994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
16998 # Verify if libtool shared libraries should be linked using flag -mimpure-text
17001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimp…
17002 printf %s "checking whether to build shared libraries with -mimpure-text... " >&6; }
17006 if test "x$GCC" = 'xyes'; then
17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
17034 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mod…
17038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" …
17040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
17042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" …
17044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
17051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
17053 if test "$xc_lt_build_shared" = 'yes' &&
17054 test "$xc_lt_build_static" = 'no'; then
17059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
17066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
17068 if test "$xc_lt_build_static" = 'yes' &&
17069 test "$xc_lt_build_shared" = 'no'; then
17074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
17080 if test -n "$ac_tool_prefix"; then
17083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17085 if test ${ac_cv_prog_RC+y}
17089 if test -n "$RC"; then
17090 ac_cv_prog_RC="$RC" # Let the user override the test.
17104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17114 if test -n "$RC"; then
17115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
17118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17124 if test -z "$ac_cv_prog_RC"; then
17128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17130 if test ${ac_cv_prog_ac_ct_RC+y}
17134 if test -n "$ac_ct_RC"; then
17135 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
17149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17159 if test -n "$ac_ct_RC"; then
17160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17167 if test "x$ac_ct_RC" = x; then
17172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
17185 # Source file extension for RC test sources.
17188 # Object file extension for compiled RC test sources.
17206 LTCC=${LTCC-"$CC"}
17209 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17215 # save warnings/boilerplate of simple test code
17226 $RM -r conftest*
17234 CC=${RC-"windres"}
17243 if test -n "$compiler"; then
17253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17265 if test "x$xc_lt_shlib_use_version_info" = 'xyes'; then
17273 if test "x$xc_lt_shlib_use_no_undefined" = 'xyes'; then
17281 if test "x$xc_lt_shlib_use_mimpure_text" = 'xyes'; then
17297 # the '-DPIC' CFLAG that libtool provides is not valid given that the
17306 if test "x$xc_lt_build_static_only" = 'xyes'; then
17322 if test "x$xc_lt_build_static_only" = 'xyes'; then
17323 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
17329 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
17336 if test x$REQUIRE_LIB_DEPS = xyes; then
17347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
17348 printf %s "checking if cpp -P is needed... " >&6; }
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 TEST EINVAL TEST
17357 $EGREP "TEST.*TEST" >/dev/null 2>&1
17363 rm -rf conftest*
17365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
17368 if test "x$cpp" = "xyes"; then
17369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
17370 printf %s "checking if cpp -P works... " >&6; }
17372 CPPFLAGS="$CPPFLAGS -P"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 TEST EINVAL TEST
17381 $EGREP "TEST.*TEST" >/dev/null 2>&1
17387 rm -rf conftest*
17389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
17392 if test "x$cpp_p" = "xno"; then
17393 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
17394 printf "%s\n" "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
17395 # without -P
17398 # with -P
17399 CPPPFLAG="-P"
17403 # without -P
17420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
17426 if test -z "$SED"; then
17429 if test -z "$GREP"; then
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
17456 rm -f conftest.err conftest.i conftest.$ac_ext
17457 if test -z "$tmp_exp"; then
17471 if test -z "$SED"; then
17474 if test -z "$GREP"; then
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
17501 rm -f conftest.err conftest.i conftest.$ac_ext
17502 if test -z "$tmp_exp"; then
17512 if test "$curl_cv_have_def___DECC" = "yes" &&
17513 test "$curl_cv_have_def___DECC_VER" = "yes"; then
17514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17517 flags_dbg_yes="-g2"
17518 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
17519 flags_opt_yes="-O1"
17520 flags_opt_off="-O0"
17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
17528 printf %s "checking if compiler is HP-UX C... " >&6; }
17533 if test -z "$SED"; then
17536 if test -z "$GREP"; then
17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
17563 rm -f conftest.err conftest.i conftest.$ac_ext
17564 if test -z "$tmp_exp"; then
17574 if test "$curl_cv_have_def___HP_cc" = "yes"; then
17575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17578 flags_dbg_yes="-g"
17579 flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
17583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
17594 if test -z "$SED"; then
17597 if test -z "$GREP"; then
17602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
17624 rm -f conftest.err conftest.i conftest.$ac_ext
17625 if test -z "$tmp_exp"; then
17635 if test "$curl_cv_have_def___IBMC__" = "yes"; then
17636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17639 flags_dbg_yes="-g"
17640 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
17641 flags_opt_all="$flags_opt_all -qnooptimize"
17642 flags_opt_all="$flags_opt_all -qoptimize=0"
17643 flags_opt_all="$flags_opt_all -qoptimize=1"
17644 flags_opt_all="$flags_opt_all -qoptimize=2"
17645 flags_opt_all="$flags_opt_all -qoptimize=3"
17646 flags_opt_all="$flags_opt_all -qoptimize=4"
17647 flags_opt_all="$flags_opt_all -qoptimize=5"
17648 flags_opt_yes="-O2"
17649 flags_opt_off="-qnooptimize"
17652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
17663 if test -z "$SED"; then
17666 if test -z "$GREP"; then
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
17693 rm -f conftest.err conftest.i conftest.$ac_ext
17694 if test -z "$tmp_exp"; then
17704 if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
17705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Intel C '$compiler_num'" >&5
17716 if test -z "$SED"; then
17719 if test -z "$GREP"; then
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
17746 rm -f conftest.err conftest.i conftest.$ac_ext
17747 if test -z "$tmp_exp"; then
17757 if test "$curl_cv_have_def___unix__" = "yes"; then
17759 flags_dbg_yes="-g"
17760 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
17761 flags_opt_yes="-O2"
17762 flags_opt_off="-O0"
17765 flags_dbg_yes="/Zi /Oy-"
17766 flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
17771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
17782 if test -z "$SED"; then
17785 if test -z "$GREP"; then
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
17812 rm -f conftest.err conftest.i conftest.$ac_ext
17813 if test -z "$tmp_exp"; then
17823 if test "$curl_cv_have_def___clang__" = "yes"; then
17824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
17832 if test -z "$SED"; then
17835 if test -z "$GREP"; then
17840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
17862 rm -f conftest.err conftest.i conftest.$ac_ext
17863 if test -z "$tmp_exp"; then
17873 if test "$curl_cv_have_def___ibmxl__" = "yes" ; then
17874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17884 fullclangver=`$CC -v 2>&1 | grep version`
17890 …clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*…
17891 if test -z "$clangver"; then
17892 clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
17897 clangvhi=`echo $clangver | cut -d . -f1`
17898 clangvlo=`echo $clangver | cut -d . -f2`
17900 if test "$appleclang" = '1' && test "$oldapple" = '0'; then
17901 if test "$compiler_num" -ge '1300'; then compiler_num='1200'
17902 elif test "$compiler_num" -ge '1205'; then compiler_num='1101'
17903 elif test "$compiler_num" -ge '1204'; then compiler_num='1000'
17904 elif test "$compiler_num" -ge '1107'; then compiler_num='900'
17905 elif test "$compiler_num" -ge '1103'; then compiler_num='800'
17906 elif test "$compiler_num" -ge '1003'; then compiler_num='700'
17907 elif test "$compiler_num" -ge '1001'; then compiler_num='600'
17908 elif test "$compiler_num" -ge '904'; then compiler_num='500'
17909 elif test "$compiler_num" -ge '902'; then compiler_num='400'
17910 elif test "$compiler_num" -ge '803'; then compiler_num='309'
17911 elif test "$compiler_num" -ge '703'; then compiler_num='308'
17915 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: clang '$compiler_num' (raw: '$fullclangver' …
17917 flags_dbg_yes="-g"
17918 flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
17919 flags_opt_yes="-O2"
17920 flags_opt_off="-O0"
17922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
17933 if test -z "$SED"; then
17936 if test -z "$GREP"; then
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
17963 rm -f conftest.err conftest.i conftest.$ac_ext
17964 if test -z "$tmp_exp"; then
17974 if test "$curl_cv_have_def___GNUC__" = "yes" &&
17975 test "$compiler_id" = "unknown"; then
17976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking compiler version" >&5
17981 # strip '-suffix' parts, e.g. Ubuntu Windows cross-gcc returns '10-win32'
17982 gccver=`$CC -dumpversion | sed -E 's/-.+$//'`
17983 gccvhi=`echo $gccver | cut -d . -f1`
17984 if echo $gccver | grep -F '.' >/dev/null; then
17985 gccvlo=`echo $gccver | cut -d . -f2`
17990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: gcc '$compiler_num' (raw: '$gccver')" >&5
17992 flags_dbg_yes="-g"
17993 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
17994 flags_opt_yes="-O2"
17995 flags_opt_off="-O0"
17997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18002 mips-sgi-irix*)
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
18010 if test -z "$SED"; then
18013 if test -z "$GREP"; then
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18040 rm -f conftest.err conftest.i conftest.$ac_ext
18041 if test -z "$tmp_exp"; then
18055 if test -z "$SED"; then
18058 if test -z "$GREP"; then
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
18085 rm -f conftest.err conftest.i conftest.$ac_ext
18086 if test -z "$tmp_exp"; then
18100 if test -z "$SED"; then
18103 if test -z "$GREP"; then
18108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125 if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
18130 rm -f conftest.err conftest.i conftest.$ac_ext
18131 if test -z "$tmp_exp"; then
18141 if test "$curl_cv_have_def___GNUC__" = "no" &&
18142 (test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" ||
18143 test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then
18144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18147 flags_dbg_yes="-g"
18148 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18149 flags_opt_yes="-O2"
18150 flags_opt_off="-O0"
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
18163 if test -z "$SED"; then
18166 if test -z "$GREP"; then
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18193 rm -f conftest.err conftest.i conftest.$ac_ext
18194 if test -z "$tmp_exp"; then
18208 if test -z "$SED"; then
18211 if test -z "$GREP"; then
18216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18233 if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
18238 rm -f conftest.err conftest.i conftest.$ac_ext
18239 if test -z "$tmp_exp"; then
18249 if test "$curl_cv_have_def___GNUC__" = "no" &&
18250 test "$curl_cv_have_def___sgi" = "yes" &&
18251 test "$compiler_id" = "unknown"; then
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18255 flags_dbg_yes="-g"
18256 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18257 flags_opt_yes="-O2"
18258 flags_opt_off="-O0"
18260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
18273 if test -z "$SED"; then
18276 if test -z "$GREP"; then
18281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18298 if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
18303 rm -f conftest.err conftest.i conftest.$ac_ext
18304 if test -z "$tmp_exp"; then
18314 if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then
18315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18318 flags_dbg_yes="-g"
18319 flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
18320 flags_opt_yes="-xO2"
18323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
18334 if test -z "$SED"; then
18337 if test -z "$GREP"; then
18342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
18364 rm -f conftest.err conftest.i conftest.$ac_ext
18365 if test -z "$tmp_exp"; then
18375 if test "$curl_cv_have_def___TINYC__" = "yes"; then
18376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18379 flags_dbg_yes="-g"
18384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18389 if test "$compiler_id" = "unknown"; then
18400 *** mailing list: https://lists.haxx.selistinfo/curl-library/
18406 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
18408 if test ${curl_cv_native_windows+y}
18413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
18447 if test "x$curl_cv_native_windows" = xyes; then
18461 if test -z "$_sqz_result"; then
18473 if test "$compiler_id" != "unknown"; then
18484 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
18489 tmp_CFLAGS="$tmp_CFLAGS -std1"
18490 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
18491 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
18492 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
18497 if test "$compiler_num" -ge "295"; then
18498 tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
18504 tmp_CFLAGS="$tmp_CFLAGS -z"
18510 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
18511 tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
18512 tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
18517 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
18518 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-error 140,147,165,266"
18519 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-disable 279,981,1025,1469,2259"
18552 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
18553 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 sed 's/^/cc-fail: /' conftest.err >&6
18590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18591 if test "$tmp_compiler_works" = "yes"; then
18592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 sed 's/^/link-fail: /' conftest.err >&6
18621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18624 if test "x$cross_compiling" != "xyes" &&
18625 test "$tmp_compiler_works" = "yes"; then
18629 if test "$cross_compiling" = yes
18631 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18633 as_fn_error $? "cannot run test program while cross compiling
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 echo "run-fail: test program exited with status $ac_status" >&6
18666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18674 CC="sh ./run-compiler"
18677 if test "$cross_compiling" = yes
18679 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18681 as_fn_error $? "cannot run test program while cross compiling
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18710 echo "run-fail: test program exited with status $ac_status" >&6
18714 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18724 if test "$tmp_compiler_works" = "yes"; then
18726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18728 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
18733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18735 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
18748 if test "$compiler_id" != "unknown"; then
18757 if test "$want_debug" = "yes"; then
18758 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options"…
18763 if test "$flags_prefer_cppflags" = "yes"; then
18776 if test "$compiler_id" != "unknown"; then
18787 if test "$want_optimize" = "assume_no" ||
18788 test "$want_optimize" = "assume_yes"; then
18789 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might…
18796 if test "$word1" = "$word2"; then
18802 if test "$ac_var_match_word" = "yes"; then
18814 if test "$word1" = "$word2"; then
18820 if test "$ac_var_match_word" = "yes"; then
18827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
18829 if test "$honor_optimize_option" = "yes"; then
18830 if test "$want_optimize" = "assume_yes"; then
18833 if test "$want_optimize" = "assume_no"; then
18839 if test "$honor_optimize_option" = "yes"; then
18845 if test "$word1" = "$word2"; then
18849 if test "$ac_var_strip_word" = "no"; then
18861 if test "$word1" = "$word2"; then
18865 if test "$ac_var_strip_word" = "no"; then
18872 if test "$want_optimize" = "yes"; then
18873 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling opti…
18877 if test "$want_optimize" = "no"; then
18878 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling opt…
18882 if test "$flags_prefer_cppflags" = "yes"; then
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 sed 's/^/cc-fail: /' conftest.err >&6
18922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18923 if test "$tmp_compiler_works" = "yes"; then
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 sed 's/^/link-fail: /' conftest.err >&6
18953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18956 if test "x$cross_compiling" != "xyes" &&
18957 test "$tmp_compiler_works" = "yes"; then
18961 if test "$cross_compiling" = yes
18963 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18965 as_fn_error $? "cannot run test program while cross compiling
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 echo "run-fail: test program exited with status $ac_status" >&6
18998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19006 CC="sh ./run-compiler"
19009 if test "$cross_compiling" = yes
19011 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19013 as_fn_error $? "cannot run test program while cross compiling
19016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 echo "run-fail: test program exited with status $ac_status" >&6
19046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19056 if test "$tmp_compiler_works" = "yes"; then
19058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
19065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19067 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
19080 if test "$compiler_id" != "unknown"; then
19091 if test "$want_warnings" = "yes"; then
19092 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
19099 for word2 in -Wno-$warning -W$warning; do
19100 if test "$word1" = "$word2"; then
19106 if test "$ac_var_match_word" = "no"; then
19107 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19115 for warning in pointer-arith write-strings; do
19119 for word2 in -Wno-$warning -W$warning; do
19120 if test "$word1" = "$word2"; then
19126 if test "$ac_var_match_word" = "no"; then
19127 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19139 for word2 in -Wno-$warning -W$warning; do
19140 if test "$word1" = "$word2"; then
19146 if test "$ac_var_match_word" = "no"; then
19147 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19155 for warning in inline nested-externs; do
19159 for word2 in -Wno-$warning -W$warning; do
19160 if test "$word1" = "$word2"; then
19166 if test "$ac_var_match_word" = "no"; then
19167 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19175 for warning in missing-declarations; do
19179 for word2 in -Wno-$warning -W$warning; do
19180 if test "$word1" = "$word2"; then
19186 if test "$ac_var_match_word" = "no"; then
19187 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19195 for warning in missing-prototypes; do
19199 for word2 in -Wno-$warning -W$warning; do
19200 if test "$word1" = "$word2"; then
19206 if test "$ac_var_match_word" = "no"; then
19207 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19213 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
19216 for warning in float-equal; do
19220 for word2 in -Wno-$warning -W$warning; do
19221 if test "$word1" = "$word2"; then
19227 if test "$ac_var_match_word" = "no"; then
19228 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19236 for warning in sign-compare; do
19240 for word2 in -Wno-$warning -W$warning; do
19241 if test "$word1" = "$word2"; then
19247 if test "$ac_var_match_word" = "no"; then
19248 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19254 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
19261 for word2 in -Wno-$warning -W$warning; do
19262 if test "$word1" = "$word2"; then
19268 if test "$ac_var_match_word" = "no"; then
19269 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19275 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
19278 for warning in endif-labels strict-prototypes; do
19282 for word2 in -Wno-$warning -W$warning; do
19283 if test "$word1" = "$word2"; then
19289 if test "$ac_var_match_word" = "no"; then
19290 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19298 for warning in declaration-after-statement; do
19302 for word2 in -Wno-$warning -W$warning; do
19303 if test "$word1" = "$word2"; then
19309 if test "$ac_var_match_word" = "no"; then
19310 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19318 for warning in cast-align; do
19322 for word2 in -Wno-$warning -W$warning; do
19323 if test "$word1" = "$word2"; then
19329 if test "$ac_var_match_word" = "no"; then
19330 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19336 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
19339 for warning in shorten-64-to-32; do
19343 for word2 in -Wno-$warning -W$warning; do
19344 if test "$word1" = "$word2"; then
19350 if test "$ac_var_match_word" = "no"; then
19351 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19358 if test "$compiler_num" -ge "101"; then
19365 for word2 in -Wno-$warning -W$warning; do
19366 if test "$word1" = "$word2"; then
19372 if test "$ac_var_match_word" = "no"; then
19373 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19381 if test "$compiler_num" -ge "207"; then
19388 for word2 in -Wno-$warning -W$warning; do
19389 if test "$word1" = "$word2"; then
19395 if test "$ac_var_match_word" = "no"; then
19396 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19408 for word2 in -Wno-$warning -W$warning; do
19409 if test "$word1" = "$word2"; then
19415 if test "$ac_var_match_word" = "no"; then
19416 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19424 for warning in bad-function-cast; do
19428 for word2 in -Wno-$warning -W$warning; do
19429 if test "$word1" = "$word2"; then
19435 if test "$ac_var_match_word" = "no"; then
19436 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19448 for word2 in -Wno-$warning -W$warning; do
19449 if test "$word1" = "$word2"; then
19455 if test "$ac_var_match_word" = "no"; then
19456 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19464 for warning in div-by-zero format-security; do
19468 for word2 in -Wno-$warning -W$warning; do
19469 if test "$word1" = "$word2"; then
19475 if test "$ac_var_match_word" = "no"; then
19476 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19484 for warning in empty-body; do
19488 for word2 in -Wno-$warning -W$warning; do
19489 if test "$word1" = "$word2"; then
19495 if test "$ac_var_match_word" = "no"; then
19496 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19504 for warning in missing-field-initializers; do
19508 for word2 in -Wno-$warning -W$warning; do
19509 if test "$word1" = "$word2"; then
19515 if test "$ac_var_match_word" = "no"; then
19516 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19524 for warning in missing-noreturn; do
19528 for word2 in -Wno-$warning -W$warning; do
19529 if test "$word1" = "$word2"; then
19535 if test "$ac_var_match_word" = "no"; then
19536 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19544 for warning in old-style-definition; do
19548 for word2 in -Wno-$warning -W$warning; do
19549 if test "$word1" = "$word2"; then
19555 if test "$ac_var_match_word" = "no"; then
19556 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19564 for warning in redundant-decls; do
19568 for word2 in -Wno-$warning -W$warning; do
19569 if test "$word1" = "$word2"; then
19575 if test "$ac_var_match_word" = "no"; then
19576 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19582 …# CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically d…
19585 for warning in type-limits; do
19589 for word2 in -Wno-$warning -W$warning; do
19590 if test "$word1" = "$word2"; then
19596 if test "$ac_var_match_word" = "no"; then
19597 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19603 # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical
19606 for warning in unreachable-code unused-parameter; do
19610 for word2 in -Wno-$warning -W$warning; do
19611 if test "$word1" = "$word2"; then
19617 if test "$ac_var_match_word" = "no"; then
19618 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19626 if test "$compiler_num" -ge "208"; then
19629 for warning in ignored-qualifiers; do
19633 for word2 in -Wno-$warning -W$warning; do
19634 if test "$word1" = "$word2"; then
19640 if test "$ac_var_match_word" = "no"; then
19641 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19653 for word2 in -Wno-$warning -W$warning; do
19654 if test "$word1" = "$word2"; then
19660 if test "$ac_var_match_word" = "no"; then
19661 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19669 if test "$compiler_num" -ge "209"; then
19672 for warning in sign-conversion; do
19676 for word2 in -Wno-$warning -W$warning; do
19677 if test "$word1" = "$word2"; then
19683 if test "$ac_var_match_word" = "no"; then
19684 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19690 tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME
19693 for warning in shift-sign-overflow; do
19697 for word2 in -Wno-$warning -W$warning; do
19698 if test "$word1" = "$word2"; then
19704 if test "$ac_var_match_word" = "no"; then
19705 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19714 if test "$compiler_num" -ge "300"; then
19717 for warning in language-extension-token; do
19721 for word2 in -Wno-$warning -W$warning; do
19722 if test "$word1" = "$word2"; then
19728 if test "$ac_var_match_word" = "no"; then
19729 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19735 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
19738 if test "$compiler_num" -ge "302"; then
19741 for warning in enum-conversion; do
19745 for word2 in -Wno-$warning -W$warning; do
19746 if test "$word1" = "$word2"; then
19752 if test "$ac_var_match_word" = "no"; then
19753 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19761 for warning in sometimes-uninitialized; do
19765 for word2 in -Wno-$warning -W$warning; do
19766 if test "$word1" = "$word2"; then
19772 if test "$ac_var_match_word" = "no"; then
19773 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19785 for warning in missing-variable-declarations; do
19789 for word2 in -Wno-$warning -W$warning; do
19790 if test "$word1" = "$word2"; then
19796 if test "$ac_var_match_word" = "no"; then
19797 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19807 if test "$compiler_num" -ge "304"; then
19810 for warning in header-guard; do
19814 for word2 in -Wno-$warning -W$warning; do
19815 if test "$word1" = "$word2"; then
19821 if test "$ac_var_match_word" = "no"; then
19822 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19830 for warning in unused-const-variable; do
19834 for word2 in -Wno-$warning -W$warning; do
19835 if test "$word1" = "$word2"; then
19841 if test "$ac_var_match_word" = "no"; then
19842 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19850 if test "$compiler_num" -ge "305"; then
19857 for word2 in -Wno-$warning -W$warning; do
19858 if test "$word1" = "$word2"; then
19864 if test "$ac_var_match_word" = "no"; then
19865 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19873 for warning in unreachable-code-break; do
19877 for word2 in -Wno-$warning -W$warning; do
19878 if test "$word1" = "$word2"; then
19884 if test "$ac_var_match_word" = "no"; then
19885 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19893 if test "$compiler_num" -ge "306"; then
19896 for warning in double-promotion; do
19900 for word2 in -Wno-$warning -W$warning; do
19901 if test "$word1" = "$word2"; then
19907 if test "$ac_var_match_word" = "no"; then
19908 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19916 if test "$compiler_num" -ge "309"; then
19923 for word2 in -Wno-$warning -W$warning; do
19924 if test "$word1" = "$word2"; then
19930 if test "$ac_var_match_word" = "no"; then
19931 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19939 if test "$compiler_num" -lt "400"; then
19940 tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
19943 if test "$compiler_num" -ge "700"; then
19946 for warning in assign-enum; do
19950 for word2 in -Wno-$warning -W$warning; do
19951 if test "$word1" = "$word2"; then
19957 if test "$ac_var_match_word" = "no"; then
19958 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19966 for warning in extra-semi-stmt; do
19970 for word2 in -Wno-$warning -W$warning; do
19971 if test "$word1" = "$word2"; then
19977 if test "$ac_var_match_word" = "no"; then
19978 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19985 if test "$compiler_num" -ge "1000"; then
19986 …tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough" # we have silencing markup for clang 10.0 and abo…
19989 tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion"
19994 if test "$want_warnings" = "yes"; then
19995 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
20001 if test "$want_warnings" = "yes"; then
20003 if test "x$cross_compiling" != "xyes" ||
20004 test "$compiler_num" -ge "300"; then
20005 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
20014 for word2 in -Wno-$warning -W$warning; do
20015 if test "$word1" = "$word2"; then
20021 if test "$ac_var_match_word" = "no"; then
20022 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20028 tmp_CFLAGS="$tmp_CFLAGS -W"
20030 if test "$compiler_num" -ge "104"; then
20033 for warning in pointer-arith write-strings; do
20037 for word2 in -Wno-$warning -W$warning; do
20038 if test "$word1" = "$word2"; then
20044 if test "$ac_var_match_word" = "no"; then
20045 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20051 if test "x$cross_compiling" != "xyes" ||
20052 test "$compiler_num" -ge "300"; then
20059 for word2 in -Wno-$warning -W$warning; do
20060 if test "$word1" = "$word2"; then
20066 if test "$ac_var_match_word" = "no"; then
20067 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20076 if test "$compiler_num" -ge "207"; then
20079 for warning in inline nested-externs; do
20083 for word2 in -Wno-$warning -W$warning; do
20084 if test "$word1" = "$word2"; then
20090 if test "$ac_var_match_word" = "no"; then
20091 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20097 if test "x$cross_compiling" != "xyes" ||
20098 test "$compiler_num" -ge "300"; then
20101 for warning in missing-declarations; do
20105 for word2 in -Wno-$warning -W$warning; do
20106 if test "$word1" = "$word2"; then
20112 if test "$ac_var_match_word" = "no"; then
20113 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20121 for warning in missing-prototypes; do
20125 for word2 in -Wno-$warning -W$warning; do
20126 if test "$word1" = "$word2"; then
20132 if test "$ac_var_match_word" = "no"; then
20133 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20142 if test "$compiler_num" -ge "295"; then
20143 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
20146 for warning in bad-function-cast; do
20150 for word2 in -Wno-$warning -W$warning; do
20151 if test "$word1" = "$word2"; then
20157 if test "$ac_var_match_word" = "no"; then
20158 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20166 if test "$compiler_num" -ge "296"; then
20169 for warning in float-equal; do
20173 for word2 in -Wno-$warning -W$warning; do
20174 if test "$word1" = "$word2"; then
20180 if test "$ac_var_match_word" = "no"; then
20181 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20187 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
20190 for warning in sign-compare; do
20194 for word2 in -Wno-$warning -W$warning; do
20195 if test "$word1" = "$word2"; then
20201 if test "$ac_var_match_word" = "no"; then
20202 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20214 for word2 in -Wno-$warning -W$warning; do
20215 if test "$word1" = "$word2"; then
20221 if test "$ac_var_match_word" = "no"; then
20222 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20230 if test "$compiler_num" -ge "297"; then
20231 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
20234 if test "$compiler_num" -ge "300"; then
20238 if test "$compiler_num" -ge "303"; then
20241 for warning in endif-labels strict-prototypes; do
20245 for word2 in -Wno-$warning -W$warning; do
20246 if test "$word1" = "$word2"; then
20252 if test "$ac_var_match_word" = "no"; then
20253 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20261 if test "$compiler_num" -ge "304"; then
20264 for warning in declaration-after-statement; do
20268 for word2 in -Wno-$warning -W$warning; do
20269 if test "$word1" = "$word2"; then
20275 if test "$ac_var_match_word" = "no"; then
20276 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20284 for warning in old-style-definition; do
20288 for word2 in -Wno-$warning -W$warning; do
20289 if test "$word1" = "$word2"; then
20295 if test "$ac_var_match_word" = "no"; then
20296 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20304 if test "$compiler_num" -ge "400"; then
20305 tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
20308 if test "$compiler_num" -ge "401"; then
20315 for word2 in -Wno-$warning -W$warning; do
20316 if test "$word1" = "$word2"; then
20322 if test "$ac_var_match_word" = "no"; then
20323 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20331 for warning in div-by-zero format-security; do
20335 for word2 in -Wno-$warning -W$warning; do
20336 if test "$word1" = "$word2"; then
20342 if test "$ac_var_match_word" = "no"; then
20343 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20351 for warning in missing-field-initializers; do
20355 for word2 in -Wno-$warning -W$warning; do
20356 if test "$word1" = "$word2"; then
20362 if test "$ac_var_match_word" = "no"; then
20363 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20370 *-*-msys*)
20375 for warning in missing-noreturn; do
20379 for word2 in -Wno-$warning -W$warning; do
20380 if test "$word1" = "$word2"; then
20386 if test "$ac_var_match_word" = "no"; then
20387 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20392 # Seen to clash with libtool-generated stub code
20397 for warning in unreachable-code unused-parameter; do
20401 for word2 in -Wno-$warning -W$warning; do
20402 if test "$word1" = "$word2"; then
20408 if test "$ac_var_match_word" = "no"; then
20409 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20422 for word2 in -Wno-$warning -W$warning; do
20423 if test "$word1" = "$word2"; then
20429 if test "$ac_var_match_word" = "no"; then
20430 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20438 for warning in redundant-decls; do
20442 for word2 in -Wno-$warning -W$warning; do
20443 if test "$word1" = "$word2"; then
20449 if test "$ac_var_match_word" = "no"; then
20450 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20456 …# CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [switch-enum]) # Not used because this basically d…
20457 # CURL_ADD_COMPILER_WARNINGS([tmp_CFLAGS], [unused-macros]) # Not practical
20460 if test "$compiler_num" -ge "402"; then
20463 for warning in cast-align; do
20467 for word2 in -Wno-$warning -W$warning; do
20468 if test "$word1" = "$word2"; then
20474 if test "$ac_var_match_word" = "no"; then
20475 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20483 if test "$compiler_num" -ge "403"; then
20490 for word2 in -Wno-$warning -W$warning; do
20491 if test "$word1" = "$word2"; then
20497 if test "$ac_var_match_word" = "no"; then
20498 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20506 for warning in type-limits old-style-declaration; do
20510 for word2 in -Wno-$warning -W$warning; do
20511 if test "$word1" = "$word2"; then
20517 if test "$ac_var_match_word" = "no"; then
20518 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20526 for warning in missing-parameter-type empty-body; do
20530 for word2 in -Wno-$warning -W$warning; do
20531 if test "$word1" = "$word2"; then
20537 if test "$ac_var_match_word" = "no"; then
20538 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20546 for warning in clobbered ignored-qualifiers; do
20550 for word2 in -Wno-$warning -W$warning; do
20551 if test "$word1" = "$word2"; then
20557 if test "$ac_var_match_word" = "no"; then
20558 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20570 for word2 in -Wno-$warning -W$warning; do
20571 if test "$word1" = "$word2"; then
20577 if test "$ac_var_match_word" = "no"; then
20578 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20586 for warning in sign-conversion; do
20590 for word2 in -Wno-$warning -W$warning; do
20591 if test "$word1" = "$word2"; then
20597 if test "$ac_var_match_word" = "no"; then
20598 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20604 tmp_CFLAGS="$tmp_CFLAGS -Wno-error=sign-conversion" # FIXME
20611 for word2 in -Wno-$warning -W$warning; do
20612 if test "$word1" = "$word2"; then
20618 if test "$ac_var_match_word" = "no"; then
20619 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20625 tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
20628 if test "$compiler_num" -ge "405"; then
20629 if test "$curl_cv_native_windows" = "yes"; then
20630 tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
20634 if test "$compiler_num" -ge "406"; then
20637 for warning in double-promotion; do
20641 for word2 in -Wno-$warning -W$warning; do
20642 if test "$word1" = "$word2"; then
20648 if test "$ac_var_match_word" = "no"; then
20649 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20657 if test "$compiler_num" -ge "408"; then
20658 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
20661 if test "$compiler_num" -ge "500"; then
20662 tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
20665 if test "$compiler_num" -ge "600"; then
20668 for warning in shift-negative-value; do
20672 for word2 in -Wno-$warning -W$warning; do
20673 if test "$word1" = "$word2"; then
20679 if test "$ac_var_match_word" = "no"; then
20680 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20686 tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
20689 for warning in null-dereference; do
20693 for word2 in -Wno-$warning -W$warning; do
20694 if test "$word1" = "$word2"; then
20700 if test "$ac_var_match_word" = "no"; then
20701 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20707 tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
20710 for warning in duplicated-cond; do
20714 for word2 in -Wno-$warning -W$warning; do
20715 if test "$word1" = "$word2"; then
20721 if test "$ac_var_match_word" = "no"; then
20722 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20730 for warning in unused-const-variable; do
20734 for word2 in -Wno-$warning -W$warning; do
20735 if test "$word1" = "$word2"; then
20741 if test "$ac_var_match_word" = "no"; then
20742 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20750 if test "$compiler_num" -ge "700"; then
20753 for warning in duplicated-branches; do
20757 for word2 in -Wno-$warning -W$warning; do
20758 if test "$word1" = "$word2"; then
20764 if test "$ac_var_match_word" = "no"; then
20765 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20777 for word2 in -Wno-$warning -W$warning; do
20778 if test "$word1" = "$word2"; then
20784 if test "$ac_var_match_word" = "no"; then
20785 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20793 for warning in alloc-zero; do
20797 for word2 in -Wno-$warning -W$warning; do
20798 if test "$word1" = "$word2"; then
20804 if test "$ac_var_match_word" = "no"; then
20805 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20811 tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
20812 tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
20813 tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough"
20816 if test "$compiler_num" -ge "1000"; then
20819 for warning in arith-conversion; do
20823 for word2 in -Wno-$warning -W$warning; do
20824 if test "$word1" = "$word2"; then
20830 if test "$ac_var_match_word" = "no"; then
20831 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20839 for warning in enum-conversion; do
20843 for word2 in -Wno-$warning -W$warning; do
20844 if test "$word1" = "$word2"; then
20850 if test "$ac_var_match_word" = "no"; then
20851 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20861 if test "$compiler_num" -ge "300"; then
20862 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
20864 if test "x$cross_compiling" = "xyes"; then
20865 if test "$compiler_num" -ge "104"; then
20866 tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
20868 if test "$compiler_num" -ge "207"; then
20869 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
20870 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
20878 if test "$want_warnings" = "yes"; then
20890 if test "$want_warnings" = "yes"; then
20891 if test "$compiler_num" -gt "600"; then
20892 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
20893 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
20894 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
20895 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
20896 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
20897 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
20898 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
20899 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
20900 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
20901 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
20902 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
20905 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
20906 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
20907 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
20917 if test "$want_warnings" = "yes"; then
20918 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20924 if test "$want_warnings" = "yes"; then
20925 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20926 tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
20932 if test "$want_warnings" = "yes"; then
20933 tmp_CFLAGS="$tmp_CFLAGS -v"
20939 if test "$want_warnings" = "yes"; then
20946 for word2 in -Wno-$warning -W$warning; do
20947 if test "$word1" = "$word2"; then
20953 if test "$ac_var_match_word" = "no"; then
20954 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20962 for warning in write-strings; do
20966 for word2 in -Wno-$warning -W$warning; do
20967 if test "$word1" = "$word2"; then
20973 if test "$ac_var_match_word" = "no"; then
20974 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20986 for word2 in -Wno-$warning -W$warning; do
20987 if test "$word1" = "$word2"; then
20993 if test "$ac_var_match_word" = "no"; then
20994 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
21008 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
21009 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options"…
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 sed 's/^/cc-fail: /' conftest.err >&6
21046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21047 if test "$tmp_compiler_works" = "yes"; then
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 sed 's/^/link-fail: /' conftest.err >&6
21077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21080 if test "x$cross_compiling" != "xyes" &&
21081 test "$tmp_compiler_works" = "yes"; then
21085 if test "$cross_compiling" = yes
21087 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21089 as_fn_error $? "cannot run test program while cross compiling
21092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 echo "run-fail: test program exited with status $ac_status" >&6
21122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21130 CC="sh ./run-compiler"
21133 if test "$cross_compiling" = yes
21135 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21137 as_fn_error $? "cannot run test program while cross compiling
21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21166 echo "run-fail: test program exited with status $ac_status" >&6
21170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21180 if test "$tmp_compiler_works" = "yes"; then
21182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21184 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
21189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21191 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
21203 if test "$compiler_id" = "INTEL_UNIX_C"; then
21205 if test "$compiler_num" -ge "1000"; then
21206 CFLAGS="$CFLAGS -shared-intel"
21207 elif test "$compiler_num" -ge "900"; then
21208 CFLAGS="$CFLAGS -i-dynamic"
21214 if test X"$want_werror" = Xyes; then
21215 CURL_CFLAG_EXTRAS="-Werror"
21216 if test "$compiler_id" = "GNU_C"; then
21217 if test "$compiler_num" -ge "500"; then
21218 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
21225 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
21227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21258 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays"…
21260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21264 typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
21279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21292 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mis…
21294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21337 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library interna…
21347 tmp_CFLAGS="-fvisibility=hidden"
21351 if test "$compiler_num" -ge "304"; then
21352 if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
21354 tmp_CFLAGS="-fvisibility=hidden"
21360 if test "$compiler_num" -ge "900"; then
21361 if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
21363 CFLAGS="$CFLAGS -fvisibility=hidden"
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21373 printf("icc fvisibility bug test");
21384 tmp_CFLAGS="-fvisibility=hidden"
21388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21395 if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
21397 tmp_CFLAGS="-xldscope=hidden"
21402 if test "$supports_symbol_hiding" = "yes"; then
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 if test -f conftest.err; then
21438 if test "$?" -eq "0"; then
21447 sed 's/^/cc-src: /' conftest.$ac_ext >&6
21448 sed 's/^/cc-err: /' conftest.err >&6
21452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21455 if test "$supports_symbol_hiding" = "yes"; then
21456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21468 if test "$want_curldebug" = "yes"; then
21469 if test "x$enable_shared" != "xno" &&
21470 test "x$enable_shared" != "xyes"; then
21471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
21475 if test "x$enable_static" != "xno" &&
21476 test "x$enable_static" != "xyes"; then
21477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
21481 if test "$supports_curldebug" != "no"; then
21482 if test "$enable_shared" = "yes" &&
21483 test "x$xc_lt_shlib_use_no_undefined" = 'xyes'; then
21485 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined s…
21491 if test "$want_curldebug" = "yes"; then
21492 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enable…
21494 test "$supports_curldebug" = "no" || supports_curldebug="yes"
21495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
21497 if test "$supports_curldebug" = "no"; then
21498 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." …
21504 if test x$want_curldebug = xyes; then
21514 # cross-compilation of unit tests static library/programs fails when
21517 if test "x$cross_compiling" != "xno" &&
21518 test "x$enable_shared" != "xno"; then
21526 mips-sgi-irix6.5)
21527 if test "$compiler_id" = "GNU_C"; then
21542 if test "x$want_debug" = "xyes" &&
21543 test "x$supports_unittests" = "xyes"; then
21548 if test x$want_unittests = xyes; then
21559 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file AP…
21562 if test "$curl_cv_native_windows" = "yes"; then
21563 if test x"$enable_largefile" != "xno"; then
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21591 if test "$curl_win32_file_api" = "no"; then
21592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
21631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
21640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21646 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto …
21649 if test "$curl_cv_native_windows" = "yes"; then
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for good-to-use Darwin CFLAGS" >&5
21710 printf %s "checking for good-to-use Darwin CFLAGS... " >&6; }
21711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
21714 if test "$tst_cflags" = "yes"; then
21716 CFLAGS="$CFLAGS -Werror=partial-availability"
21717 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availab…
21718 printf %s "checking whether $CC accepts -Werror=partial-availability... " >&6; }
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to link macOS CoreFoundation, CoreSe…
21747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21778 if test "x$build_for_macos" != xno; then
21779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21781 …LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework SystemConfiguration"
21783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21793 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_a…
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21829 if test "$curl_cv_native_windows" = "yes" && test -n "${RC}"; then
21838 if test "$curl_cv_native_windows" = "yes"; then
21839 if test -z "$HAVE_WINDRES_TRUE"; then :
21845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
21847 # Check whether --enable-http was given.
21848 if test ${enable_http+y}
21852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21858 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RT…
21873 curl_h1_msg="no (--enable-http, --with-hyper)"
21875 curl_hsts_msg="no (--enable-hsts)";
21879 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
21891 # Check whether --enable-ftp was given.
21892 if test ${enable_ftp+y}
21896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21904 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
21916 # Check whether --enable-file was given.
21917 if test ${enable_file+y}
21921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21929 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
21941 # Check whether --enable-ldap was given.
21942 if test ${enable_ldap+y}
21946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
21973 # Check whether --enable-ldaps was given.
21974 if test ${enable_ldaps+y}
21978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21986 *) if test "x$CURL_DISABLE_LDAP" = "x1" ; then
21987 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >…
21995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22007 if test "x$CURL_DISABLE_LDAP" = "x1" ; then
22008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22032 # Check whether --with-hyper was given.
22033 if test ${with_hyper+y}
22052 if test X"$want_hyper" != Xno; then
22053 if test "x$disable_http" = "xyes"; then
22054 as_fn_error $? "--with-hyper is not compatible with --disable-http" "$LINENO" 5
22062 if test -n "$PKG_CONFIG"; then
22065 if test -n "$ac_tool_prefix"; then
22066 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22067 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22070 if test ${ac_cv_path_PKGCONFIG+y}
22076 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
22092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22103 if test -n "$PKGCONFIG"; then
22104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
22107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22113 if test -z "$ac_cv_path_PKGCONFIG"; then
22115 # Extract the first word of "pkg-config", so it can be a program name with args.
22116 set dummy pkg-config; ac_word=$2
22117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22119 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
22125 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
22141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
22152 if test -n "$ac_pt_PKGCONFIG"; then
22153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
22156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22160 if test "x$ac_pt_PKGCONFIG" = x; then
22165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
22177 if test "x$PKGCONFIG" != "xno"; then
22178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper options with pkg-config" >&5
22179 printf %s "checking for hyper options with pkg-config... " >&6; }
22181 if test -n "$want_hyper_path"; then
22185 $PKGCONFIG --exists hyper >/dev/null 2>&1 && echo 1`
22187 if test -z "$itexists"; then
22189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
22198 if test "$PKGCONFIG" != "no" ; then
22200 if test -n "$want_hyper_path"; then
22205 $PKGCONFIG --libs-only-l hyper`
22207 if test -n "$want_hyper_path"; then
22211 $PKGCONFIG --cflags-only-I hyper`
22213 if test -n "$want_hyper_path"; then
22218 $PKGCONFIG --libs-only-L hyper`
22220 LIB_HYPER="-lhyper -ldl -lpthread -lm"
22221 if test X"$want_hyper" != Xdefault; then
22222 CPP_HYPER=-I"$want_hyper_path/capi/include"
22223 LD_HYPER="-L$want_hyper_path/target/release -L$want_hyper_path/target/debug"
22226 if test -n "$LIB_HYPER"; then
22227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_HYPER" >&5
22228 printf "%s\n" "$as_me: -l is $LIB_HYPER" >&6;}
22229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_HYPER" >&5
22230 printf "%s\n" "$as_me: -I is $CPP_HYPER" >&6;}
22231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_HYPER" >&5
22232 printf "%s\n" "$as_me: -L is $LD_HYPER" >&6;}
22238 if test "x$cross_compiling" != "xyes"; then
22239 DIR_HYPER=`echo $LD_HYPER | $SED -e 's/^-L//' -e 's/ -L/:/g'`
22242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper_io_new in -lhyper" >&5
22243 printf %s "checking for hyper_io_new in -lhyper... " >&6; }
22244 if test ${ac_cv_lib_hyper_hyper_io_new+y}
22249 LIBS="-lhyper $LIBS"
22250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hyper_hyper_io_new" >&5
22277 if test "x$ac_cv_lib_hyper_hyper_io_new" = xyes
22283 if test "x$ac_cv_header_hyper_h" = xyes
22287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5
22298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_HYPER to CURL_LIBRARY_PATH" >&5
22305 for d in `echo $DIR_HYPER | $SED -e 's/:/ /'`; do
22306 if test -f "$d/libhyper.a"; then
22310 as_fn_error $? "--with-hyper but hyper was not found. See docs/HYPER.md." "$LINENO" 5
22317 if test X"$want_hyper" != Xno; then
22318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disable RTSP support with hyper" >&5
22326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
22328 # Check whether --enable-rtsp was given.
22329 if test ${enable_rtsp+y}
22333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22342 if test x$CURL_DISABLE_HTTP = x1 ; then
22345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22352 if test "x$CURL_DISABLE_HTTP" != "x1"; then
22353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
22367 # Check whether --enable-proxy was given.
22368 if test ${enable_proxy+y}
22372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22381 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
22394 # Check whether --enable-dict was given.
22395 if test ${enable_dict+y}
22399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22407 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
22419 # Check whether --enable-telnet was given.
22420 if test ${enable_telnet+y}
22424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22432 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
22444 # Check whether --enable-tftp was given.
22445 if test ${enable_tftp+y}
22449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22457 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
22470 # Check whether --enable-pop3 was given.
22471 if test ${enable_pop3+y}
22475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22483 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
22497 # Check whether --enable-imap was given.
22498 if test ${enable_imap+y}
22502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22510 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
22524 # Check whether --enable-smb was given.
22525 if test ${enable_smb+y}
22529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22537 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
22550 # Check whether --enable-smtp was given.
22551 if test ${enable_smtp+y}
22555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22563 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
22576 # Check whether --enable-gopher was given.
22577 if test ${enable_gopher+y}
22581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22589 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support mqtt" >&5
22602 # Check whether --enable-mqtt was given.
22603 if test ${enable_mqtt+y}
22607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22615 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
22628 printf %s "checking whether to provide built-in manual... " >&6; }
22629 # Check whether --enable-manual was given.
22630 if test ${enable_manual+y}
22634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22637 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
22653 # Check whether --enable-docs was given.
22654 if test ${enable_docs+y}
22658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22664 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
22680 # Check whether --enable-libcurl_option was given.
22681 if test ${enable_libcurl_option+y}
22685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22692 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
22706 # Check whether --enable-libgcc was given.
22707 if test ${enable_libgcc+y}
22711 LIBS="-lgcc $LIBS"
22712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22715 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22751 LIBS="-lxnet $LIBS"
22754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
22760 if test "x$ac_cv_func_gethostbyname" = xyes
22765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22766 printf %s "checking for gethostbyname in -lnsl... " >&6; }
22767 if test ${ac_cv_lib_nsl_gethostbyname+y}
22772 LIBS="-lnsl $LIBS"
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22800 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
22803 LIBS="-lnsl $LIBS"
22811 if test "$HAVE_GETHOSTBYNAME" != "1"
22813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
22814 printf %s "checking for gethostbyname in -lsocket... " >&6; }
22815 if test ${ac_cv_lib_socket_gethostbyname+y}
22820 LIBS="-lsocket $LIBS"
22821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
22848 if test "x$ac_cv_lib_socket_gethostbyname" = xyes
22851 LIBS="-lsocket $LIBS"
22857 if test "$HAVE_GETHOSTBYNAME" != "1"
22859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
22860 printf %s "checking for gethostbyname in -lwatt... " >&6; }
22861 if test ${ac_cv_lib_watt_gethostbyname+y}
22866 LIBS="-lwatt $LIBS"
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
22894 if test "x$ac_cv_lib_watt_gethostbyname" = xyes
22897 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
22898 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
22899 LIBS="-lwatt $LIBS"
22905 if test "$HAVE_GETHOSTBYNAME" != "1"
22907 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket …
22910 LIBS="-lnsl -lsocket $LIBS"
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22944 if test "$HAVE_GETHOSTBYNAME" != "1"
22946 if test "$curl_cv_native_windows" = "yes"; then
22947 winsock_LIB="-lws2_32"
22948 if test ! -z "$winsock_LIB"; then
22951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
22953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22989 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22995 if test "$HAVE_GETHOSTBYNAME" != "1"
22997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
22999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23033 if test "$HAVE_GETHOSTBYNAME" != "1"
23035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
23037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23071 if test "$HAVE_GETHOSTBYNAME" != "1" -o "${with_amissl+set}" = set
23073 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.lib…
23075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23120 if test "$HAVE_GETHOSTBYNAME" != "1"
23122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
23123 printf %s "checking for gethostbyname in -lnetwork... " >&6; }
23124 if test ${ac_cv_lib_network_gethostbyname+y}
23129 LIBS="-lnetwork $LIBS"
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
23157 if test "x$ac_cv_lib_network_gethostbyname" = xyes
23160 LIBS="-lnetwork $LIBS"
23166 if test "$HAVE_GETHOSTBYNAME" != "1"; then
23181 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
23183 if test ${curl_cv_native_windows+y}
23188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
23222 if test "x$curl_cv_native_windows" = xyes; then
23252 if test "x$ac_cv_header_proto_bsdsocket_h" = xyes
23260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
23264 for tst_lib in '' '-lsocket' ; do
23265 if test "$tst_connect_need_LIBS" = "unknown"; then
23267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23300 case X-"$tst_connect_need_LIBS" in
23301 X-unknown)
23302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
23306 X-)
23307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
23322 if test "x$ac_cv_header_sys_types_h" = xyes
23328 if test "x$ac_cv_header_sys_time_h" = xyes
23334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
23337 if test "x$dontwant_rt" = "xno" ; then
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23380 if test "$curl_func_clock_gettime" = "yes"; then
23382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
23388 for x_xlibs in '' '-lrt' '-lposix4' ; do
23389 if test "$curl_cv_gclk_LIBS" = "unknown"; then
23390 if test -z "$x_xlibs"; then
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23431 case X-"$curl_cv_gclk_LIBS" in
23432 X-unknown)
23433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
23435 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23439 X-)
23440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
23445 if test -z "$curl_cv_save_LIBS"; then
23450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
23456 if test "x$cross_compiling" != "xyes" &&
23457 test "$curl_func_clock_gettime" = "yes"; then
23458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
23463 if test "$cross_compiling" = yes
23465 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23467 as_fn_error $? "cannot run test program while cross compiling
23470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23505 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23519 CC="sh ./run-compiler"
23522 if test "$cross_compiling" = yes
23524 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23526 as_fn_error $? "cannot run test program while cross compiling
23529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23564 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23595 if test "x$ac_cv_header_sys_types_h" = xyes
23601 if test "x$ac_cv_header_sys_time_h" = xyes
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for raw monotonic clock_gettime" >&5
23610 if test "x$dontwant_rt" = "xno" ; then
23611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23662 # Check whether --with-zlib was given.
23663 if test ${with_zlib+y}
23669 if test "$OPT_ZLIB" = "no" ; then
23670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
23673 if test "$OPT_ZLIB" = "yes" ; then
23677 if test -z "$OPT_ZLIB" ; then
23679 if test -n "$PKG_CONFIG"; then
23682 if test -n "$ac_tool_prefix"; then
23683 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23684 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23687 if test ${ac_cv_path_PKGCONFIG+y}
23693 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
23709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23720 if test -n "$PKGCONFIG"; then
23721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23730 if test -z "$ac_cv_path_PKGCONFIG"; then
23732 # Extract the first word of "pkg-config", so it can be a program name with args.
23733 set dummy pkg-config; ac_word=$2
23734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23736 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
23742 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
23758 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23769 if test -n "$ac_pt_PKGCONFIG"; then
23770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23777 if test "x$ac_pt_PKGCONFIG" = x; then
23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
23794 if test "x$PKGCONFIG" != "xno"; then
23795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
23796 printf %s "checking for zlib options with pkg-config... " >&6; }
23798 if test -n ""; then
23802 $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
23804 if test -z "$itexists"; then
23806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
23815 if test "$PKGCONFIG" != "no" ; then
23816 ZLIB_LIBS="`$PKGCONFIG --libs-only-l zlib`"
23817 if test -n "$ZLIB_LIBS"; then
23818 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
23820 ZLIB_LIBS="`$PKGCONFIG --libs zlib`"
23823 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags zlib`"
23828 if test -z "$HAVE_LIBZ"; then
23831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
23832 printf %s "checking for inflateEnd in -lz... " >&6; }
23833 if test ${ac_cv_lib_z_inflateEnd+y}
23838 LIBS="-lz $LIBS"
23839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
23866 if test "x$ac_cv_lib_z_inflateEnd" = xyes
23869 ZLIB_LIBS="-lz"
23878 if test -n "$OPT_ZLIB"; then
23879 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
23880 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
23884 if test "x$ac_cv_header_zlib_h" = xyes
23888 if test "$HAVE_LIBZ" != "1"; then
23889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
23890 printf %s "checking for gzread in -lz... " >&6; }
23891 if test ${ac_cv_lib_z_gzread+y}
23896 LIBS="-lz $LIBS"
23897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
23924 if test "x$ac_cv_lib_z_gzread" = xyes
23928 ZLIB_LIBS="-lz"
23946 if test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" != "1"
23948 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the …
23955 elif test "$HAVE_LIBZ" != "1" && test "$HAVE_ZLIB_H" = "1"
23957 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, …
23963 elif test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" = "1"
23972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
23978 if test x"$AMFIXLIB" = x1; then
23992 # Check whether --with-brotli was given.
23993 if test ${with_brotli+y}
23999 if test X"$OPT_BROTLI" != Xno; then
24007 if test -n "$PKG_CONFIG"; then
24010 if test -n "$ac_tool_prefix"; then
24011 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24012 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24015 if test ${ac_cv_path_PKGCONFIG+y}
24021 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
24037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24048 if test -n "$PKGCONFIG"; then
24049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24058 if test -z "$ac_cv_path_PKGCONFIG"; then
24060 # Extract the first word of "pkg-config", so it can be a program name with args.
24061 set dummy pkg-config; ac_word=$2
24062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24064 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
24070 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
24086 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24097 if test -n "$ac_pt_PKGCONFIG"; then
24098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24105 if test "x$ac_pt_PKGCONFIG" = x; then
24110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24122 if test "x$PKGCONFIG" != "xno"; then
24123 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >…
24124 printf %s "checking for libbrotlidec options with pkg-config... " >&6; }
24126 if test -n ""; then
24130 $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
24132 if test -z "$itexists"; then
24134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24143 if test "$PKGCONFIG" != "no" ; then
24144 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
24145 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
24146 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
24147 version=`$PKGCONFIG --modversion libbrotlidec`
24148 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'`
24159 if test -n "$PREFIX_BROTLI"; then
24160 LIB_BROTLI="-lbrotlidec"
24161 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
24162 CPP_BROTLI=-I${PREFIX_BROTLI}/include
24170 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec"…
24171 printf %s "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
24172 if test ${ac_cv_lib_brotlidec_BrotliDecoderDecompress+y}
24177 LIBS="-lbrotlidec $LIBS"
24178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress"…
24205 if test "x$ac_cv_lib_brotlidec_BrotliDecoderDecompress" = xyes
24209 LIBS="-lbrotlidec $LIBS"
24217 if test "x$ac_cv_header_brotli_decode_h" = xyes
24232 if test X"$OPT_BROTLI" != Xoff &&
24233 test "$HAVE_BROTLI" != "1"; then
24237 if test "$HAVE_BROTLI" = "1"; then
24238 if test -n "$DIR_BROTLI"; then
24240 if test "x$cross_compiling" != "xyes"; then
24243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
24257 # Check whether --with-zstd was given.
24258 if test ${with_zstd+y}
24264 if test X"$OPT_ZSTD" != Xno; then
24272 if test -n "$PKG_CONFIG"; then
24275 if test -n "$ac_tool_prefix"; then
24276 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24277 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24280 if test ${ac_cv_path_PKGCONFIG+y}
24286 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
24302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24313 if test -n "$PKGCONFIG"; then
24314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24323 if test -z "$ac_cv_path_PKGCONFIG"; then
24325 # Extract the first word of "pkg-config", so it can be a program name with args.
24326 set dummy pkg-config; ac_word=$2
24327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24329 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
24335 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
24351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24362 if test -n "$ac_pt_PKGCONFIG"; then
24363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24370 if test "x$ac_pt_PKGCONFIG" = x; then
24375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24387 if test "x$PKGCONFIG" != "xno"; then
24388 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libzstd options with pkg-config" >&5
24389 printf %s "checking for libzstd options with pkg-config... " >&6; }
24391 if test -n ""; then
24395 $PKGCONFIG --exists libzstd >/dev/null 2>&1 && echo 1`
24397 if test -z "$itexists"; then
24399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24408 if test "$PKGCONFIG" != "no" ; then
24409 LIB_ZSTD=`$PKGCONFIG --libs-only-l libzstd`
24410 LD_ZSTD=`$PKGCONFIG --libs-only-L libzstd`
24411 CPP_ZSTD=`$PKGCONFIG --cflags-only-I libzstd`
24412 version=`$PKGCONFIG --modversion libzstd`
24413 DIR_ZSTD=`echo $LD_ZSTD | $SED -e 's/-L//'`
24424 if test -n "$PREFIX_ZSTD"; then
24425 LIB_ZSTD="-lzstd"
24426 LD_ZSTD=-L${PREFIX_ZSTD}/lib$libsuff
24427 CPP_ZSTD=-I${PREFIX_ZSTD}/include
24435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZSTD_createDStream in -lzstd" >&5
24436 printf %s "checking for ZSTD_createDStream in -lzstd... " >&6; }
24437 if test ${ac_cv_lib_zstd_ZSTD_createDStream+y}
24442 LIBS="-lzstd $LIBS"
24443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_createDStream" >&5
24470 if test "x$ac_cv_lib_zstd_ZSTD_createDStream" = xyes
24474 LIBS="-lzstd $LIBS"
24482 if test "x$ac_cv_header_zstd_h" = xyes
24497 if test X"$OPT_ZSTD" != Xoff &&
24498 test "$HAVE_ZSTD" != "1"; then
24502 if test "$HAVE_ZSTD" = "1"; then
24503 if test -n "$DIR_ZSTD"; then
24505 if test "x$cross_compiling" != "xyes"; then
24508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_ZSTD to CURL_LIBRARY_PATH" >&5
24522 # Check whether --with-ldap-lib was given.
24523 if test ${with_ldap_lib+y}
24531 # Check whether --with-lber-lib was given.
24532 if test ${with_lber_lib+y}
24538 if test x$CURL_DISABLE_LDAP != x1 ; then
24541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
24543 if test ${curl_cv_header_lber_h+y}
24548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
24595 if test "$curl_cv_header_lber_h" = "yes"; then
24600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
24659 if test ${curl_cv_header_ldap_h+y}
24664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
24722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
24724 if test ${curl_cv_header_ldap_ssl_h+y}
24729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
24789 if test -z "$LDAPLIBNAME" ; then
24790 if test "$curl_cv_native_windows" = "yes"; then
24796 if test "$LDAPLIBNAME" ; then
24798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
24799 printf %s "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
24800 if eval test \${$as_ac_Lib+y}
24805 LIBS="-l"$LDAPLIBNAME" $LIBS"
24806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24834 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
24840 LIBS="-l"$LDAPLIBNAME" $LIBS"
24844 if test -n "$ldap_askedfor"; then
24847 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LD…
24864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
24875 '-lldap' \
24876 '-lldap -llber' \
24877 '-llber -lldap' \
24878 '-lldapssl -lldapx -lldapsdk' \
24879 '-lldapsdk -lldapx -lldapssl' \
24880 '-lldap -llber -lssl -lcrypto' ; do
24882 if test "$curl_cv_ldap_LIBS" = "unknown"; then
24883 if test -z "$x_nlibs"; then
24888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24943 case X-"$curl_cv_ldap_LIBS" in
24944 X-unknown)
24945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
24948 X-)
24949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
24953 if test -z "$curl_cv_save_LIBS"; then
24958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
24964 case X-"$curl_cv_ldap_LIBS" in
24965 X-unknown)
24966 if test -n "$ldap_askedfor"; then
24969 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDA…
24986 if test x$CURL_DISABLE_LDAP != x1 ; then
24988 if test "$LBERLIBNAME" ; then
24989 if test "$LBERLIBNAME" != "no" ; then
24991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
24992 printf %s "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
24993 if eval test \${$as_ac_Lib+y}
24998 LIBS="-l"$LBERLIBNAME" $LIBS"
24999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
25027 if eval test \"x\$"$as_ac_Lib"\" = x"yes"
25033 LIBS="-l"$LBERLIBNAME" $LIBS"
25037 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LD…
25055 if test x$CURL_DISABLE_LDAP != x1 ; then
25057 if test "x$ac_cv_func_ldap_url_parse" = xyes
25063 if test "x$ac_cv_func_ldap_init_fd" = xyes
25070 if test "$LDAPLIBNAME" = "wldap32"; then
25076 if test "x$ac_cv_func_ldap_init_fd" = "xyes"; then
25089 if test x$CURL_DISABLE_LDAPS != x1 ; then
25094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
25096 # Check whether --enable-ipv6 was given.
25097 if test ${enable_ipv6+y}
25101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25105 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25111 if test "$cross_compiling" = yes
25113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25160 if test "$ipv6" = yes; then
25168 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id me…
25170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
25218 if test "$cross_compiling" = yes
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25258 CC="sh ./run-compiler"
25261 if test "$cross_compiling" = yes
25266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25293 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25317 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made defaul…
25326 # Check whether --with-gssapi-includes was given.
25327 if test ${with_gssapi_includes+y}
25329 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
25336 # Check whether --with-gssapi-libs was given.
25337 if test ${with_gssapi_libs+y}
25339 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
25346 # Check whether --with-gssapi was given.
25347 if test ${with_gssapi+y}
25351 if test x"$GSSAPI_ROOT" != xno; then
25353 if test x"$GSSAPI_ROOT" = xyes; then
25361 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
25364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
25365 printf %s "checking if GSS-API support is requested... " >&6; }
25366 if test x"$want_gss" = xyes; then
25367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25370 if test $GSSAPI_ROOT != "/usr"; then
25372 if test -n "$PKG_CONFIG"; then
25375 if test -n "$ac_tool_prefix"; then
25376 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25377 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25380 if test ${ac_cv_path_PKGCONFIG+y}
25386 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
25402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25413 if test -n "$PKGCONFIG"; then
25414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25423 if test -z "$ac_cv_path_PKGCONFIG"; then
25425 # Extract the first word of "pkg-config", so it can be a program name with args.
25426 set dummy pkg-config; ac_word=$2
25427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25429 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
25435 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
25451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25462 if test -n "$ac_pt_PKGCONFIG"; then
25463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25470 if test "x$ac_pt_PKGCONFIG" = x; then
25475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25487 if test "x$PKGCONFIG" != "xno"; then
25488 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config…
25489 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25491 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25495 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25497 if test -z "$itexists"; then
25499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25509 if test -n "$PKG_CONFIG"; then
25512 if test -n "$ac_tool_prefix"; then
25513 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25514 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25517 if test ${ac_cv_path_PKGCONFIG+y}
25523 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
25539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25550 if test -n "$PKGCONFIG"; then
25551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25560 if test -z "$ac_cv_path_PKGCONFIG"; then
25562 # Extract the first word of "pkg-config", so it can be a program name with args.
25563 set dummy pkg-config; ac_word=$2
25564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25566 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
25572 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
25588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25599 if test -n "$ac_pt_PKGCONFIG"; then
25600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25607 if test "x$ac_pt_PKGCONFIG" = x; then
25612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25624 if test "x$PKGCONFIG" != "xno"; then
25625 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config…
25626 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25628 if test -n ""; then
25632 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25634 if test -z "$itexists"; then
25636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25645 if test -z "$GSSAPI_INCS"; then
25646 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
25647 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
25648 elif test "$PKGCONFIG" != "no" ; then
25649 GSSAPI_INCS=`$PKGCONFIG --cflags mit-krb5-gssapi`
25650 elif test -f "$KRB5CONFIG"; then
25651 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
25652 elif test "$GSSAPI_ROOT" != "yes"; then
25653 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
25660 if test "x$ac_cv_header_gss_h" = xyes
25673 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
25692 if eval test \"x\$"$as_ac_Header"\" = x"yes"
25703 if test "x$not_mit" = "x1"; then
25705 if test "x$ac_cv_header_gssapi_h" = xyes
25711 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header f…
25712 printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
25718 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBAS…
25719 printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
25720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25767 if test x"$want_gss" = xyes; then
25774 if test -n "$gnu_gss"; then
25777 LIBS="-lgss $LIBS"
25778 elif test -z "$GSSAPI_LIB_DIR"; then
25780 *-*-darwin*)
25781 LIBS="-lgssapi_krb5 -lresolv $LIBS"
25784 if test $GSSAPI_ROOT != "/usr"; then
25786 if test -n "$PKG_CONFIG"; then
25789 if test -n "$ac_tool_prefix"; then
25790 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25791 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25794 if test ${ac_cv_path_PKGCONFIG+y}
25800 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
25816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25827 if test -n "$PKGCONFIG"; then
25828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25837 if test -z "$ac_cv_path_PKGCONFIG"; then
25839 # Extract the first word of "pkg-config", so it can be a program name with args.
25840 set dummy pkg-config; ac_word=$2
25841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25843 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
25849 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
25865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25876 if test -n "$ac_pt_PKGCONFIG"; then
25877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25884 if test "x$ac_pt_PKGCONFIG" = x; then
25889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25901 if test "x$PKGCONFIG" != "xno"; then
25902 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config…
25903 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25905 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25909 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25911 if test -z "$itexists"; then
25913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25923 if test -n "$PKG_CONFIG"; then
25926 if test -n "$ac_tool_prefix"; then
25927 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25928 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25931 if test ${ac_cv_path_PKGCONFIG+y}
25937 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
25953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25964 if test -n "$PKGCONFIG"; then
25965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25974 if test -z "$ac_cv_path_PKGCONFIG"; then
25976 # Extract the first word of "pkg-config", so it can be a program name with args.
25977 set dummy pkg-config; ac_word=$2
25978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25980 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
25986 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
26002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26013 if test -n "$ac_pt_PKGCONFIG"; then
26014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26021 if test "x$ac_pt_PKGCONFIG" = x; then
26026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
26038 if test "x$PKGCONFIG" != "xno"; then
26039 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config…
26040 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
26042 if test -n ""; then
26046 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
26048 if test -z "$itexists"; then
26050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26059 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
26060 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
26062 elif test "$PKGCONFIG" != "no" ; then
26063 gss_libs=`$PKGCONFIG --libs mit-krb5-gssapi`
26065 elif test -f "$KRB5CONFIG"; then
26066 gss_libs=`$KRB5CONFIG --libs gssapi`
26070 *-hp-hpux*)
26078 if test "$GSSAPI_ROOT" != "yes"; then
26079 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
26080 LIBS="-l$gss_libname $LIBS"
26082 LIBS="-l$gss_libname $LIBS"
26090 *-hp-hpux*)
26091 LIBS="-lgss $LIBS"
26094 LIBS="-lgssapi $LIBS"
26102 if test x"$want_gss" = xyes; then
26103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can link against GSS-API library" >&5
26104 printf %s "checking if we can link against GSS-API library... " >&6; }
26105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26142 as_fn_error $? "--with-gssapi was specified, but a GSS-API library was not found." "$LINENO" 5
26145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26150 if test x"$want_gss" = "xyes"; then
26154 if test "x$build_libstubgss" = "xyes"; then
26167 # Check whether --with-default-ssl-backend was given.
26168 if test ${with_default_ssl_backend+y}
26186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS" >&5
26188 if test "x$OPT_SCHANNEL" != xno; then
26190 if test "x$OPT_SCHANNEL" != "xno" &&
26191 test "x$curl_cv_native_windows" = "xyes"; then
26192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26200 test schannel != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26202 # --with-schannel implies --enable-sspi
26210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26213 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
26222 if test "x$OPT_SECURETRANSPORT" != xno; then
26223 if test "x$OPT_SECURETRANSPORT" != "xno" &&
26224 …(test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); th…
26225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26233 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26235 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework CoreServices -framework Security"
26237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26240 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiS…
26250 if test "$HAVE_PROTO_BSDSOCKET_H" = "1"; then
26251 if test "x$OPT_AMISSL" != xno; then
26253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26282 test amissl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26285 # Use AmiSSL's built-in ca bundle
26288 LIBS="-lamisslstubs -lamisslauto $LIBS"
26299 if test "x$ac_cv_header_openssl_x509_h" = xyes
26305 if test "x$ac_cv_header_openssl_rsa_h" = xyes
26311 if test "x$ac_cv_header_openssl_crypto_h" = xyes
26317 if test "x$ac_cv_header_openssl_pem_h" = xyes
26323 if test "x$ac_cv_header_openssl_ssl_h" = xyes
26329 if test "x$ac_cv_header_openssl_err_h" = xyes
26338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26343 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26355 if test "x$OPT_OPENSSL" != xno; then
26363 *-*-msys* | *-*-mingw*)
26364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
26367 LIBS="-lgdi32 $LIBS"
26368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26393 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26408 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26409 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26414 if test "$PKGTEST" != "yes"; then
26417 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26418 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26424 if test "$PKGTEST" != "yes"; then
26425 if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
26426 as_fn_error $? "$PREFIX_OPENSSL is a bad --with-openssl prefix!" "$LINENO" 5
26431 if test "$PREFIX_OPENSSL" != "/usr" ; then
26432 SSL_LDFLAGS="-L$LIB_OPENSSL"
26433 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
26438 if test "$PKGTEST" = "yes"; then
26441 if test -n "$PKG_CONFIG"; then
26444 if test -n "$ac_tool_prefix"; then
26445 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26446 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26449 if test ${ac_cv_path_PKGCONFIG+y}
26455 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
26471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26482 if test -n "$PKGCONFIG"; then
26483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26492 if test -z "$ac_cv_path_PKGCONFIG"; then
26494 # Extract the first word of "pkg-config", so it can be a program name with args.
26495 set dummy pkg-config; ac_word=$2
26496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26498 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
26504 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
26520 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26531 if test -n "$ac_pt_PKGCONFIG"; then
26532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26539 if test "x$ac_pt_PKGCONFIG" = x; then
26544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
26556 if test "x$PKGCONFIG" != "xno"; then
26557 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
26558 printf %s "checking for openssl options with pkg-config... " >&6; }
26560 if test -n "$OPENSSL_PCDIR"; then
26564 $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
26566 if test -z "$itexists"; then
26568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26577 if test "$PKGCONFIG" != "no" ; then
26579 if test -n "$OPENSSL_PCDIR"; then
26583 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
26586 if test -n "$OPENSSL_PCDIR"; then
26590 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
26593 if test -n "$OPENSSL_PCDIR"; then
26597 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
26600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
26601 printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
26602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
26603 printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
26604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
26605 printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
26607 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
26616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
26617 printf %s "checking for HMAC_Update in -lcrypto... " >&6; }
26618 if test ${ac_cv_lib_crypto_HMAC_Update+y}
26623 LIBS="-lcrypto $LIBS"
26624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
26651 if test "x$ac_cv_lib_crypto_HMAC_Update" = xyes
26655 LIBS="-lcrypto $LIBS"
26659 if test -n "$LIB_OPENSSL" ; then
26660 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
26662 if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
26663 # only set this if pkg-config wasn't used
26664 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
26666 # Linking previously failed, try extra paths from --with-openssl or
26667 # pkg-config. Use a different function name to avoid reusing the earlier
26669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
26670 printf %s "checking for HMAC_Init_ex in -lcrypto... " >&6; }
26671 if test ${ac_cv_lib_crypto_HMAC_Init_ex+y}
26676 LIBS="-lcrypto $LIBS"
26677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
26704 if test "x$ac_cv_lib_crypto_HMAC_Init_ex" = xyes
26708 LIBS="-lcrypto $LIBS"
26712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
26713 printf %s "checking OpenSSL linking with -ldl... " >&6; }
26714 LIBS="-lcrypto $CLEANLIBS -ldl"
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26741 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
26742 printf %s "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
26743 LIBS="-lcrypto $CLEANLIBS -ldl -lpthread"
26744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26791 if test X"$HAVECRYPTO" = X"yes"; then
26793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26794 printf %s "checking for SSL_connect in -lssl... " >&6; }
26795 if test ${ac_cv_lib_ssl_SSL_connect+y}
26800 LIBS="-lssl $LIBS"
26801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26828 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes
26832 LIBS="-lssl $LIBS"
26837 if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
26838 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
26841 LIBS="-lRSAglue -lrsaref $LIBS"
26842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26843 printf %s "checking for SSL_connect in -lssl... " >&6; }
26844 if test ${ac_cv_lib_ssl_SSL_connect+y}
26849 LIBS="-lssl $LIBS"
26850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26877 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes
26881 LIBS="-lssl $LIBS"
26885 if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
26886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26900 if eval test \"x\$"$as_ac_Header"\" = x"yes"
26906 test openssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26915 if test $ac_cv_header_openssl_x509_h = no; then
26917 if test "x$ac_cv_header_x509_h" = xyes
26923 if test "x$ac_cv_header_rsa_h" = xyes
26929 if test "x$ac_cv_header_crypto_h" = xyes
26935 if test "x$ac_cv_header_pem_h" = xyes
26941 if test "x$ac_cv_header_ssl_h" = xyes
26947 if test "x$ac_cv_header_err_h" = xyes
26954 if test $ac_cv_header_x509_h = yes &&
26955 test $ac_cv_header_crypto_h = yes &&
26956 test $ac_cv_header_ssl_h = yes; then
26963 if test X"$OPENSSL_ENABLED" != X"1"; then
26967 if test X"$OPT_OPENSSL" != Xoff &&
26968 test "$OPENSSL_ENABLED" != "1"; then
26973 if test X"$OPENSSL_ENABLED" = X"1"; then
26975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
26977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for AWS-LC" >&5
27012 printf %s "checking for AWS-LC... " >&6; }
27013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27023 #error not AWS-LC
27034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27036 ssl_msg="AWS-LC"
27041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
27049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= v3" >&5
27085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27128 if test "x$ac_cv_func_SSL_set_quic_use_legacy_codepoint" = xyes
27135 if test "$QUIC_ENABLED" = "yes"; then
27136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL fork speaks QUIC API" >&5
27139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OpenSSL version does not speak QUIC API" >&5
27143 if test "$OPENSSL_ENABLED" = "1"; then
27144 if test -n "$LIB_OPENSSL"; then
27145 if test "x$cross_compiling" != "xyes"; then
27148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
27155 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27158 if test X"$OPT_OPENSSL" != Xno &&
27159 test "$OPENSSL_ENABLED" != "1"; then
27160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPT_OPENSSL: $OPT_OPENSSL" >&5
27162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&5
27164 as_fn_error $? "--with-openssl was given but OpenSSL could not be detected" "$LINENO" 5
27168 if test X"$OPENSSL_ENABLED" = X"1"; then
27170 # Check whether --with-random was given.
27171 if test ${with_random+y}
27176 if test x$cross_compiling != xyes; then
27178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
27180 if eval test \${$as_ac_File+y}
27184 test "$cross_compiling" = yes &&
27186 if test -r ""/dev/urandom""; then
27193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
27195 if eval test \"x\$"$as_ac_File"\" = x"yes"
27201 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cro…
27202 printf "%s\n" "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
27208 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
27216 if test "$OPENSSL_ENABLED" = "1"; then
27217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SRP support in OpenSSL" >&5
27219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27257 if test X"$OPENSSL_ENABLED" = X"1"; then
27258 # Check whether --enable-openssl-auto-load-config was given.
27259 if test ${enable_openssl_auto_load_config+y}
27261 enableval=$enable_openssl_auto_load_config; if test X"$enableval" = X"no"; then
27262 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled"…
27273 if test "$OPENSSL_ENABLED" = "1"; then
27274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QUIC support in OpenSSL" >&5
27276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27314 if test "x$OPT_GNUTLS" != xno; then
27317 if test X"$OPT_GNUTLS" != Xno; then
27325 if test "x$OPT_GNUTLS" = "xyes"; then
27327 if test -n "$PKG_CONFIG"; then
27330 if test -n "$ac_tool_prefix"; then
27331 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27332 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27335 if test ${ac_cv_path_PKGCONFIG+y}
27341 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
27357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27368 if test -n "$PKGCONFIG"; then
27369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27378 if test -z "$ac_cv_path_PKGCONFIG"; then
27380 # Extract the first word of "pkg-config", so it can be a program name with args.
27381 set dummy pkg-config; ac_word=$2
27382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27384 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
27390 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
27406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27417 if test -n "$ac_pt_PKGCONFIG"; then
27418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27425 if test "x$ac_pt_PKGCONFIG" = x; then
27430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
27442 if test "x$PKGCONFIG" != "xno"; then
27443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
27444 printf %s "checking for gnutls options with pkg-config... " >&6; }
27446 if test -n ""; then
27450 $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
27452 if test -z "$itexists"; then
27454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
27463 if test "$PKGCONFIG" != "no" ; then
27464 addlib=`$PKGCONFIG --libs-only-l gnutls`
27465 addld=`$PKGCONFIG --libs-only-L gnutls`
27466 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
27467 version=`$PKGCONFIG --modversion gnutls`
27468 gtlslib=`echo $addld | $SED -e 's/^-L//'`
27470 check=`libgnutls-config --version 2>/dev/null`
27471 if test -n "$check"; then
27472 addlib=`libgnutls-config --libs`
27473 addcflags=`libgnutls-config --cflags`
27474 version=`libgnutls-config --version`
27475 gtlslib=`libgnutls-config --prefix`/lib$libsuff
27479 cfg=$OPT_GNUTLS/bin/libgnutls-config
27480 check=`$cfg --version 2>/dev/null`
27481 if test -n "$check"; then
27482 addlib=`$cfg --libs`
27483 addcflags=`$cfg --cflags`
27484 version=`$cfg --version`
27485 gtlslib=`$cfg --prefix`/lib$libsuff
27487 addlib=-lgnutls
27488 addld=-L$OPT_GNUTLS/lib$libsuff
27489 addcflags=-I$OPT_GNUTLS/include
27495 if test -z "$version"; then
27499 if test -n "$addlib"; then
27507 if test "$addcflags" != "-I/usr/include"; then
27511 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_get_dn2 in -lgnutls" >&5
27512 printf %s "checking for gnutls_x509_crt_get_dn2 in -lgnutls... " >&6; }
27513 if test ${ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2+y}
27518 LIBS="-lgnutls $LIBS"
27519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&5
27546 if test "x$ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" = xyes
27558 test gnutls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
27568 if test "x$USE_GNUTLS" = "xyes"; then
27569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
27572 if test -n "$gtlslib"; then
27573 if test "x$cross_compiling" != "xyes"; then
27576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
27585 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27589 if test "$GNUTLS_ENABLED" = "1"; then
27592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
27593 printf %s "checking for nettle_MD5Init in -lgnutls... " >&6; }
27594 if test ${ac_cv_lib_gnutls_nettle_MD5Init+y}
27599 LIBS="-lgnutls $LIBS"
27600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
27627 if test "x$ac_cv_lib_gnutls_nettle_MD5Init" = xyes
27634 if test "$USE_GNUTLS_NETTLE" = ""; then
27635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
27636 printf %s "checking for nettle_MD5Init in -lnettle... " >&6; }
27637 if test ${ac_cv_lib_nettle_nettle_MD5Init+y}
27642 LIBS="-lnettle $LIBS"
27643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
27670 if test "x$ac_cv_lib_nettle_nettle_MD5Init" = xyes
27676 if test "$USE_GNUTLS_NETTLE" = ""; then
27679 LIBS="-lnettle $LIBS"
27682 if test "$GNUTLS_ENABLED" = "1"; then
27683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
27684 printf %s "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
27685 if test ${ac_cv_lib_gnutls_gnutls_srp_verifier+y}
27690 LIBS="-lgnutls $LIBS"
27691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
27718 if test "x$ac_cv_lib_gnutls_gnutls_srp_verifier" = xyes
27734 if test "x$OPT_MBEDTLS" != xno; then
27739 if test X"$OPT_MBEDTLS" != Xno; then
27741 if test "$OPT_MBEDTLS" = "yes"; then
27745 if test -z "$OPT_MBEDTLS" ; then
27747 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
27748 printf %s "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
27749 if test ${ac_cv_lib_mbedtls_mbedtls_havege_init+y}
27754 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
27782 if test "x$ac_cv_lib_mbedtls_mbedtls_havege_init" = xyes
27793 test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
27804 if test "x$USE_MBEDTLS" != "xyes"; then
27805 addld=-L$OPT_MBEDTLS/lib$libsuff
27806 addcflags=-I$OPT_MBEDTLS/include
27810 if test "$addcflags" != "-I/usr/include"; then
27814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
27815 printf %s "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
27816 if test ${ac_cv_lib_mbedtls_mbedtls_ssl_init+y}
27821 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
27849 if test "x$ac_cv_lib_mbedtls_mbedtls_ssl_init" = xyes
27860 test mbedtls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
27871 if test "x$USE_MBEDTLS" = "xyes"; then
27872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
27876 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27878 if test -n "$mbedtlslib"; then
27879 if test "x$cross_compiling" != "xyes"; then
27882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
27889 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27904 if test "x$OPT_WOLFSSL" != xno; then
27910 if test X"$OPT_WOLFSSL" != Xno; then
27912 if test "$OPT_WOLFSSL" = "yes"; then
27917 if test -n "$PKG_CONFIG"; then
27920 if test -n "$ac_tool_prefix"; then
27921 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27922 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27925 if test ${ac_cv_path_PKGCONFIG+y}
27931 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
27947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27958 if test -n "$PKGCONFIG"; then
27959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27968 if test -z "$ac_cv_path_PKGCONFIG"; then
27970 # Extract the first word of "pkg-config", so it can be a program name with args.
27971 set dummy pkg-config; ac_word=$2
27972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27974 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
27980 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
27996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28007 if test -n "$ac_pt_PKGCONFIG"; then
28008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28015 if test "x$ac_pt_PKGCONFIG" = x; then
28020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
28032 if test "x$PKGCONFIG" != "xno"; then
28033 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfssl options with pkg-config" >&5
28034 printf %s "checking for wolfssl options with pkg-config... " >&6; }
28036 if test -n "$wolfpkg"; then
28040 $PKGCONFIG --exists wolfssl >/dev/null 2>&1 && echo 1`
28042 if test -z "$itexists"; then
28044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Check dir $wolfpkg" >&5
28058 if test "$PKGCONFIG" != "no" ; then
28060 if test -n "$wolfpkg"; then
28065 $PKGCONFIG --libs-only-l wolfssl`
28067 if test -n "$wolfpkg"; then
28072 $PKGCONFIG --libs-only-L wolfssl`
28074 if test -n "$wolfpkg"; then
28079 $PKGCONFIG --cflags-only-I wolfssl`
28081 if test -n "$wolfpkg"; then
28086 $PKGCONFIG --modversion wolfssl`
28087 wolfssllibpath=`echo $addld | $SED -e 's/^-L//'`
28089 addlib=-lwolfssl
28090 if test -n "$OPT_WOLFSSL"; then
28091 addld=-L$OPT_WOLFSSL/lib$libsuff
28092 addcflags=-I$OPT_WOLFSSL/include
28097 if test "x$USE_WOLFSSL" != "xyes"; then
28100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addld to LDFLAGS" >&5
28102 if test "$addcflags" != "-I/usr/include"; then
28104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addcflags to CPPFLAGS" >&5
28110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addlib to LIBS" >&5
28113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -lwolfssl" >&5
28114 printf %s "checking for wolfSSL_Init in -lwolfssl... " >&6; }
28115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28150 test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
28154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28166 if test "x$USE_WOLFSSL" = "xyes"; then
28167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected wolfSSL" >&5
28173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
28177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
28203 if test $r -gt 0; then
28207 if test $r -eq 0; then
28210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
28212 tname=$(echo "ac_cv_sizeof_long long" | tr A-Z a-z | tr " " "_")
28221 LIBS="$addlib -lm $LIBS"
28224 if test "x$ac_cv_func_wolfSSL_get_peer_certificate" = xyes
28230 if test "x$ac_cv_func_wolfSSL_UseALPN" = xyes
28238 if test "x$ac_cv_func_wolfSSL_DES_ecb_encrypt" = xyes
28251 if test "x$ac_cv_func_wolfSSL_BIO_set_shutdown" = xyes
28263 if test -n "$wolfssllibpath"; then
28264 if test "x$cross_compiling" != "xyes"; then
28267 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&5
28272 as_fn_error $? "--with-wolfssl but wolfSSL was not found or doesn't work" "$LINENO" 5
28276 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28282 if test "x$OPT_BEARSSL" != xno; then
28287 if test X"$OPT_BEARSSL" != Xno; then
28289 if test "$OPT_BEARSSL" = "yes"; then
28293 if test -z "$OPT_BEARSSL" ; then
28295 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28296 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28297 if test ${ac_cv_lib_bearssl_br_ssl_client_init_full+y}
28302 LIBS="-lbearssl -lbearssl $LIBS"
28303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28330 if test "x$ac_cv_lib_bearssl_br_ssl_client_init_full" = xyes
28341 test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
28352 if test "x$USE_BEARSSL" != "xyes"; then
28353 addld=-L$OPT_BEARSSL/lib$libsuff
28354 addcflags=-I$OPT_BEARSSL/include
28358 if test "$addcflags" != "-I/usr/include"; then
28362 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28363 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28364 if test ${ac_cv_lib_bearssl_br_ssl_client_init_full+y}
28369 LIBS="-lbearssl -lbearssl $LIBS"
28370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28397 if test "x$ac_cv_lib_bearssl_br_ssl_client_init_full" = xyes
28408 test bearssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
28419 if test "x$USE_BEARSSL" = "xyes"; then
28420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected BearSSL" >&5
28424 LIBS="-lbearssl $LIBS"
28426 if test -n "$bearssllib"; then
28427 if test "x$cross_compiling" != "xyes"; then
28430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $bearssllib to CURL_LIBRARY_PATH" >&5
28437 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28442 if test "x$OPT_RUSTLS" != xno; then
28450 LDFLAGS="$LDFLAGS -framework Security"
28469 if test -f "$RUSTLS_PCDIR/rustls.pc"; then
28470 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" …
28475 if test "$PKGTEST" != "yes"; then
28478 if test -f "$RUSTLS_PCDIR/rustls.pc"; then
28479 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$RUSTLS_PCDIR\"" …
28485 if test "$PKGTEST" != "yes"; then
28487 addld=-L$PREFIX_RUSTLS/lib$libsuff
28488 addcflags=-I$PREFIX_RUSTLS/include
28491 if test "$addcflags" != "-I/usr/include"; then
28495 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5
28496 printf %s "checking for rustls_connection_read in -lrustls... " >&6; }
28497 if test ${ac_cv_lib_rustls_rustls_connection_read+y}
28502 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5
28530 if test "x$ac_cv_lib_rustls_rustls_connection_read" = xyes
28541 test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
28544 as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5
28549 if test "$PREFIX_RUSTLS" != "/usr" ; then
28550 SSL_LDFLAGS="-L$LIB_RUSTLS"
28551 SSL_CPPFLAGS="-I$PREFIX_RUSTLS/include"
28557 if test "$PKGTEST" = "yes"; then
28560 if test -n "$PKG_CONFIG"; then
28563 if test -n "$ac_tool_prefix"; then
28564 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28565 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28568 if test ${ac_cv_path_PKGCONFIG+y}
28574 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
28590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28601 if test -n "$PKGCONFIG"; then
28602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28611 if test -z "$ac_cv_path_PKGCONFIG"; then
28613 # Extract the first word of "pkg-config", so it can be a program name with args.
28614 set dummy pkg-config; ac_word=$2
28615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28617 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
28623 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
28639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28650 if test -n "$ac_pt_PKGCONFIG"; then
28651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28658 if test "x$ac_pt_PKGCONFIG" = x; then
28663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
28675 if test "x$PKGCONFIG" != "xno"; then
28676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls options with pkg-config" >&5
28677 printf %s "checking for rustls options with pkg-config... " >&6; }
28679 if test -n "$RUSTLS_PCDIR"; then
28683 $PKGCONFIG --exists rustls >/dev/null 2>&1 && echo 1`
28685 if test -z "$itexists"; then
28687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28696 if test "$PKGCONFIG" != "no" ; then
28698 if test -n "$RUSTLS_PCDIR"; then
28702 $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null`
28705 if test -n "$RUSTLS_PCDIR"; then
28709 $PKGCONFIG --libs-only-L rustls 2>/dev/null`
28712 if test -n "$RUSTLS_PCDIR"; then
28716 $PKGCONFIG --cflags-only-I rustls 2>/dev/null`
28719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
28720 printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
28721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
28722 printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
28723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
28724 printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
28726 LIB_RUSTLS=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
28737 test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
28739 as_fn_error $? "pkg-config: Could not find rustls" "$LINENO" 5
28743 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28749 if test "x$USE_RUSTLS" = "xyes"; then
28750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5
28754 if test -n "$LIB_RUSTLS"; then
28755 if test "x$cross_compiling" != "xyes"; then
28758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_RUSTLS to CURL_LIBRARY_PATH" >&5
28764 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28766 if test X"$OPT_RUSTLS" != Xno &&
28767 test "$RUSTLS_ENABLED" != "1"; then
28768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPT_RUSTLS: $OPT_RUSTLS" >&5
28770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: RUSTLS_ENABLED: $RUSTLS_ENABLED" >&5
28772 as_fn_error $? "--with-rustls was given but Rustls could not be detected" "$LINENO" 5
28777 if test "x$USE_WIN32_CRYPTO" = "x1" -o "x$USE_SCHANNEL" = "x1"; then
28778 LIBS="-ladvapi32 -lcrypt32 $LIBS"
28781 if test "x$curl_cv_native_windows" = "xyes"; then
28782 LIBS="-lbcrypt $LIBS"
28789 Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-schannel, --with-secure-t…
28795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
28802 as_fn_error $? "--without-ssl has been set together with an explicit option to use an ssl library
28803 …e.g. --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-schannel, --with-secure
28815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
28820 if test -n "$ssl_backends"; then
28824 if test no = "$VALID_DEFAULT_SSL_BACKEND"
28826 if test -n "$SSL_ENABLED"
28832 elif test yes = "$VALID_DEFAULT_SSL_BACKEND"
28840 if test -n "$check_for_ca_bundle"; then
28843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
28847 # Check whether --with-ca-bundle was given.
28848 if test ${with_ca_bundle+y}
28852 if test "x$want_ca" = "xyes"; then
28853 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
28861 # Check whether --with-ca-path was given.
28862 if test ${with_ca_path+y}
28866 if test "x$want_capath" = "xyes"; then
28867 as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
28879 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
28880 "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28883 elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
28886 elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28887 if test "x$OPENSSL_ENABLED" != "x1" -a \
28888 "x$GNUTLS_ENABLED" != "x1" -a \
28889 "x$MBEDTLS_ENABLED" != "x1" -a \
28891 … as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS, mbedTLS or wolfSSL" "$LINENO" 5
28898 if test "x$cross_compiling" != "xyes"; then
28899 if test "x$want_ca" = "xunset"; then
28900 if test "x$prefix" != xNONE; then
28901 cac="${prefix}/share/curl/curl-ca-bundle.crt"
28903 cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
28906 for a in /etc/ssl/certs/ca-certificates.crt \
28907 /etc/pki/tls/certs/ca-bundle.crt \
28908 /usr/share/ssl/certs/ca-bundle.crt \
28909 /usr/local/share/certs/ca-root-nss.crt \
28912 if test -f "$a"; then
28918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: want $want_capath ca $ca" >&5
28920 if test "x$want_capath" = "xunset"; then
28921 if test "x$OPENSSL_ENABLED" = "x1" -o \
28922 "x$GNUTLS_ENABLED" = "x1" -o \
28923 "x$MBEDTLS_ENABLED" = "x1" -o \
28929 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cro…
28930 printf "%s\n" "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
28934 if test "x$ca" = "xno" || test -f "$ca"; then
28938 if test "x$capath" != "xno"; then
28942 if test ! -z "$check_capath"; then
28944 …if test -d "$a" && ls "$a"/[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].0 >/de…
28945 if test "x$capath" = "xno"; then
28954 if test "x$capath" = "xno"; then
28958 if test "x$ca" != "xno"; then
28964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
28967 if test "x$capath" != "xno"; then
28972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
28975 if test "x$ca" = "xno" && test "x$capath" = "xno"; then
28976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28980 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL libr…
28983 # Check whether --with-ca-fallback was given.
28984 if test ${with_ca_fallback+y}
28987 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
28988 as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
28995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
28997 if test "x$with_ca_fallback" = "xyes"; then
28998 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
28999 as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
29011 # Check whether --with-libpsl was given.
29012 if test ${with_libpsl+y}
29018 if test X"$OPT_LIBPSL" != Xno; then
29026 if test -n "$PKG_CONFIG"; then
29029 if test -n "$ac_tool_prefix"; then
29030 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29031 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29034 if test ${ac_cv_path_PKGCONFIG+y}
29040 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
29056 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29067 if test -n "$PKGCONFIG"; then
29068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29077 if test -z "$ac_cv_path_PKGCONFIG"; then
29079 # Extract the first word of "pkg-config", so it can be a program name with args.
29080 set dummy pkg-config; ac_word=$2
29081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29083 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
29089 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
29105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29116 if test -n "$ac_pt_PKGCONFIG"; then
29117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29124 if test "x$ac_pt_PKGCONFIG" = x; then
29129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29141 if test "x$PKGCONFIG" != "xno"; then
29142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libpsl options with pkg-config" >&5
29143 printf %s "checking for libpsl options with pkg-config... " >&6; }
29145 if test -n ""; then
29149 $PKGCONFIG --exists libpsl >/dev/null 2>&1 && echo 1`
29151 if test -z "$itexists"; then
29153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29162 if test "$PKGCONFIG" != "no" ; then
29163 LIB_PSL=`$PKGCONFIG --libs-only-l libpsl`
29164 LD_PSL=`$PKGCONFIG --libs-only-L libpsl`
29165 CPP_PSL=`$PKGCONFIG --cflags-only-I libpsl`
29167 LIB_PSL="-lpsl"
29172 LIB_PSL="-lpsl"
29175 LIB_PSL="-lpsl"
29180 if test -n "$PREFIX_PSL"; then
29181 LD_PSL=-L${PREFIX_PSL}/lib$libsuff
29182 CPP_PSL=-I${PREFIX_PSL}/include
29189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for psl_builtin in -lpsl" >&5
29190 printf %s "checking for psl_builtin in -lpsl... " >&6; }
29191 if test ${ac_cv_lib_psl_psl_builtin+y}
29196 LIBS="-lpsl $LIBS"
29197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_psl_psl_builtin" >&5
29224 if test "x$ac_cv_lib_psl_psl_builtin" = xyes
29230 if test "x$ac_cv_header_libpsl_h" = xyes
29253 if test X"$OPT_LIBPSL" != Xoff &&
29254 test "$LIBPSL_ENABLED" != "1"; then
29258 if test "$curl_psl_msg" = "enabled"; then
29270 # Check whether --with-libgsasl was given.
29271 if test ${with_libgsasl+y}
29278 if test $with_libgsasl != "no"; then
29279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gsasl_init" >&5
29281 if test ${ac_cv_search_gsasl_init+y}
29286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29303 if test -z "$ac_lib"; then
29306 ac_res=-l$ac_lib
29307 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
29313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29315 if test ${ac_cv_search_gsasl_init+y}
29320 if test ${ac_cv_search_gsasl_init+y}
29329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gsasl_init" >&5
29332 if test "$ac_res" != no
29334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
29342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libgsasl was not found" >&5
29349 if test "$curl_gsasl_msg" = "enabled"; then
29359 # Check whether --with-libmetalink was given.
29360 if test ${with_libmetalink+y}
29362 …withval=$with_libmetalink; as_fn_error $? "--with-libmetalink and --without-libmetalink no longer …
29369 # Check whether --with-libssh2 was given.
29370 if test ${with_libssh2+y}
29381 # Check whether --with-libssh was given.
29382 if test ${with_libssh+y}
29392 # Check whether --with-wolfssh was given.
29393 if test ${with_wolfssh+y}
29401 if test X"$OPT_LIBSSH2" != Xno; then
29409 if test -n "$PKG_CONFIG"; then
29412 if test -n "$ac_tool_prefix"; then
29413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29414 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29417 if test ${ac_cv_path_PKGCONFIG+y}
29423 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
29439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29450 if test -n "$PKGCONFIG"; then
29451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29460 if test -z "$ac_cv_path_PKGCONFIG"; then
29462 # Extract the first word of "pkg-config", so it can be a program name with args.
29463 set dummy pkg-config; ac_word=$2
29464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29466 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
29472 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
29488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29499 if test -n "$ac_pt_PKGCONFIG"; then
29500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29507 if test "x$ac_pt_PKGCONFIG" = x; then
29512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29524 if test "x$PKGCONFIG" != "xno"; then
29525 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
29526 printf %s "checking for libssh2 options with pkg-config... " >&6; }
29528 if test -n ""; then
29532 $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
29534 if test -z "$itexists"; then
29536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29545 if test "$PKGCONFIG" != "no" ; then
29546 LIB_SSH2=`$PKGCONFIG --libs-only-l libssh2`
29547 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
29548 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
29549 version=`$PKGCONFIG --modversion libssh2`
29550 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/^-L//'`
29561 if test -n "$PREFIX_SSH2"; then
29562 LIB_SSH2="-lssh2"
29563 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
29564 CPP_SSH2=-I${PREFIX_SSH2}/include
29572 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2_session_block_directions in -ls…
29573 printf %s "checking for libssh2_session_block_directions in -lssh2... " >&6; }
29574 if test ${ac_cv_lib_ssh2_libssh2_session_block_directions+y}
29579 LIBS="-lssh2 $LIBS"
29580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_session_block_directi…
29607 if test "x$ac_cv_lib_ssh2_libssh2_session_block_directions" = xyes
29611 LIBS="-lssh2 $LIBS"
29617 if test "x$ac_cv_header_libssh2_h" = xyes
29630 if test X"$OPT_LIBSSH2" != Xoff &&
29631 test "$LIBSSH2_ENABLED" != "1"; then
29635 if test "$LIBSSH2_ENABLED" = "1"; then
29636 if test -n "$DIR_SSH2"; then
29638 if test "x$cross_compiling" != "xyes"; then
29641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
29650 elif test X"$OPT_LIBSSH" != Xno; then
29658 if test -n "$PKG_CONFIG"; then
29661 if test -n "$ac_tool_prefix"; then
29662 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29663 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29666 if test ${ac_cv_path_PKGCONFIG+y}
29672 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
29688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29699 if test -n "$PKGCONFIG"; then
29700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29709 if test -z "$ac_cv_path_PKGCONFIG"; then
29711 # Extract the first word of "pkg-config", so it can be a program name with args.
29712 set dummy pkg-config; ac_word=$2
29713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29715 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
29721 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
29737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29748 if test -n "$ac_pt_PKGCONFIG"; then
29749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29756 if test "x$ac_pt_PKGCONFIG" = x; then
29761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29773 if test "x$PKGCONFIG" != "xno"; then
29774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
29775 printf %s "checking for libssh options with pkg-config... " >&6; }
29777 if test -n ""; then
29781 $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
29783 if test -z "$itexists"; then
29785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29794 if test "$PKGCONFIG" != "no" ; then
29795 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
29796 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
29797 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
29798 version=`$PKGCONFIG --modversion libssh`
29799 DIR_SSH=`echo $LD_SSH | $SED -e 's/^-L//'`
29810 if test -n "$PREFIX_SSH"; then
29811 LIB_SSH="-lssh"
29812 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
29813 CPP_SSH=-I${PREFIX_SSH}/include
29821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
29822 printf %s "checking for ssh_new in -lssh... " >&6; }
29823 if test ${ac_cv_lib_ssh_ssh_new+y}
29828 LIBS="-lssh $LIBS"
29829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
29856 if test "x$ac_cv_lib_ssh_ssh_new" = xyes
29860 LIBS="-lssh $LIBS"
29866 if test "x$ac_cv_header_libssh_libssh_h" = xyes
29879 if test X"$OPT_LIBSSH" != Xoff &&
29880 test "$LIBSSH_ENABLED" != "1"; then
29884 if test "$LIBSSH_ENABLED" = "1"; then
29885 if test -n "$DIR_SSH"; then
29887 if test "x$cross_compiling" != "xyes"; then
29890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
29899 elif test X"$OPT_WOLFSSH" != Xno; then
29905 if test "$OPT_WOLFSSH" != yes; then
29906 WOLFCONFIG="$OPT_WOLFSSH/bin/wolfssh-config"
29907 LDFLAGS="$LDFLAGS `$WOLFCONFIG --libs`"
29908 CPPFLAGS="$CPPFLAGS `$WOLFCONFIG --cflags`"
29911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSH_Init in -lwolfssh" >&5
29912 printf %s "checking for wolfSSH_Init in -lwolfssh... " >&6; }
29913 if test ${ac_cv_lib_wolfssh_wolfSSH_Init+y}
29918 LIBS="-lwolfssh $LIBS"
29919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssh_wolfSSH_Init" >&5
29946 if test "x$ac_cv_lib_wolfssh_wolfSSH_Init" = xyes
29950 LIBS="-lwolfssh $LIBS"
29958 if test "x$ac_cv_header_wolfssh_ssh_h" = xyes
29978 # Check whether --with-librtmp was given.
29979 if test ${with_librtmp+y}
29985 if test X"$OPT_LIBRTMP" != Xno; then
29993 if test -n "$PKG_CONFIG"; then
29996 if test -n "$ac_tool_prefix"; then
29997 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29998 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30001 if test ${ac_cv_path_PKGCONFIG+y}
30007 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
30023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30034 if test -n "$PKGCONFIG"; then
30035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30044 if test -z "$ac_cv_path_PKGCONFIG"; then
30046 # Extract the first word of "pkg-config", so it can be a program name with args.
30047 set dummy pkg-config; ac_word=$2
30048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30050 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
30056 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
30072 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30083 if test -n "$ac_pt_PKGCONFIG"; then
30084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30091 if test "x$ac_pt_PKGCONFIG" = x; then
30096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30108 if test "x$PKGCONFIG" != "xno"; then
30109 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
30110 printf %s "checking for librtmp options with pkg-config... " >&6; }
30112 if test -n ""; then
30116 $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
30118 if test -z "$itexists"; then
30120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30129 if test "$PKGCONFIG" != "no" ; then
30130 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
30131 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
30132 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
30133 version=`$PKGCONFIG --modversion librtmp`
30134 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/^-L//'`
30136 … as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
30141 LIB_RTMP="-lrtmp"
30144 LIB_RTMP="-lrtmp"
30149 if test -n "$PREFIX_RTMP"; then
30150 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
30151 CPP_RTMP=-I${PREFIX_RTMP}/include
30159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
30160 printf %s "checking for RTMP_Init in -lrtmp... " >&6; }
30161 if test ${ac_cv_lib_rtmp_RTMP_Init+y}
30166 LIBS="-lrtmp $LIBS"
30167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
30194 if test "x$ac_cv_lib_rtmp_RTMP_Init" = xyes
30200 if test "x$ac_cv_header_librtmp_rtmp_h" = xyes
30223 if test X"$OPT_LIBRTMP" != Xoff &&
30224 test "$LIBRTMP_ENABLED" != "1"; then
30232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
30234 # Check whether --enable-versioned-symbols was given.
30235 if test ${enable_versioned_symbols+y}
30238 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
30242 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
30243 if test -z "$GLD"; then
30244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30246 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --ver…
30247 printf "%s\n" "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
30249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30251 if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
30253 elif test "x$OPENSSL_ENABLED" = "x1"; then
30255 elif test "x$GNUTLS_ENABLED" = "x1"; then
30257 elif test "x$WOLFSSL_ENABLED" = "x1"; then
30259 elif test "x$SCHANNEL_ENABLED" = "x1"; then
30261 elif test "x$SECURETRANSPORT_ENABLED" = "x1"; then
30270 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30286 if test "x$versioned_symbols" = 'xyes'; then
30296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Window…
30300 # Check whether --with-winidn was given.
30301 if test ${with_winidn+y}
30309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30326 if test "$want_winidn" = "yes"; then
30331 WINIDN_LIBS="-lnormaliz"
30334 if test "$want_winidn_path" != "default"; then
30335 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
30336 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
30340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30364 CFLAGS=`echo $CFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
30365 CFLAGS=`echo $CFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
30366 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
30367 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
30368 WINIDN_CPPFLAGS="$WINIDN_CPPFLAGS -DWINVER=0x0600"
30371 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
30377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
30379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30412 if test "$tst_links_winidn" = "yes"; then
30418 curl_idn_msg="enabled (Windows-native)"
30420 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
30434 # Check whether --with-libidn2 was given.
30435 if test ${with_libidn2+y}
30440 if test "x$tst_links_winidn" = "xyes"; then
30442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (using winidn instead)" >&5
30448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
30460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30472 if test "$want_idn" = "yes"; then
30478 if test "$want_idn_path" != "default"; then
30481 if test -n "$PKG_CONFIG"; then
30484 if test -n "$ac_tool_prefix"; then
30485 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30486 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30489 if test ${ac_cv_path_PKGCONFIG+y}
30495 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
30511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30522 if test -n "$PKGCONFIG"; then
30523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30532 if test -z "$ac_cv_path_PKGCONFIG"; then
30534 # Extract the first word of "pkg-config", so it can be a program name with args.
30535 set dummy pkg-config; ac_word=$2
30536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30538 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
30544 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
30560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30571 if test -n "$ac_pt_PKGCONFIG"; then
30572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30579 if test "x$ac_pt_PKGCONFIG" = x; then
30584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30596 if test "x$PKGCONFIG" != "xno"; then
30597 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30598 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30600 if test -n "$IDN_PCDIR"; then
30604 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30606 if test -z "$itexists"; then
30608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30616 if test "$PKGCONFIG" != "no"; then
30618 if test -n "$IDN_PCDIR"; then
30622 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30624 if test -n "$IDN_PCDIR"; then
30628 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30630 if test -n "$IDN_PCDIR"; then
30634 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30635 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30637 IDN_LIBS="-lidn2"
30638 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
30639 IDN_CPPFLAGS="-I$want_idn_path/include"
30644 if test -n "$PKG_CONFIG"; then
30647 if test -n "$ac_tool_prefix"; then
30648 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30649 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30652 if test ${ac_cv_path_PKGCONFIG+y}
30658 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
30674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30685 if test -n "$PKGCONFIG"; then
30686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30695 if test -z "$ac_cv_path_PKGCONFIG"; then
30697 # Extract the first word of "pkg-config", so it can be a program name with args.
30698 set dummy pkg-config; ac_word=$2
30699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30701 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
30707 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
30723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30734 if test -n "$ac_pt_PKGCONFIG"; then
30735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30742 if test "x$ac_pt_PKGCONFIG" = x; then
30747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30759 if test "x$PKGCONFIG" != "xno"; then
30760 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30761 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30763 if test -n ""; then
30767 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30769 if test -z "$itexists"; then
30771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30779 if test "$PKGCONFIG" != "no"; then
30780 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30781 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30782 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30783 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30785 IDN_LIBS="-lidn2"
30789 if test "$PKGCONFIG" != "no"; then
30790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
30791 printf "%s\n" "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
30792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30793 printf "%s\n" "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
30794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30795 printf "%s\n" "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
30796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
30797 printf "%s\n" "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
30799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
30801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
30813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
30815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30860 if test "x$ac_cv_header_idn2_h" = xyes
30867 if test "$tst_links_libidn" = "yes"; then
30875 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
30878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
30882 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30893 if test "x$disable_http" = "xyes" -o X"$want_hyper" != Xno; then
30899 # Check whether --with-nghttp2 was given.
30900 if test ${with_nghttp2+y}
30921 if test X"$want_nghttp2" != Xno; then
30927 if test -n "$PKG_CONFIG"; then
30930 if test -n "$ac_tool_prefix"; then
30931 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30932 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30935 if test ${ac_cv_path_PKGCONFIG+y}
30941 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
30957 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30968 if test -n "$PKGCONFIG"; then
30969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30978 if test -z "$ac_cv_path_PKGCONFIG"; then
30980 # Extract the first word of "pkg-config", so it can be a program name with args.
30981 set dummy pkg-config; ac_word=$2
30982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30984 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
30990 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
31006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31017 if test -n "$ac_pt_PKGCONFIG"; then
31018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31025 if test "x$ac_pt_PKGCONFIG" = x; then
31030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31042 if test "x$PKGCONFIG" != "xno"; then
31043 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
31044 printf %s "checking for libnghttp2 options with pkg-config... " >&6; }
31046 if test -n "$want_nghttp2_pkg_config_path"; then
31050 $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
31052 if test -z "$itexists"; then
31054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31063 if test "$PKGCONFIG" != "no" ; then
31065 if test -n "$want_nghttp2_pkg_config_path"; then
31070 $PKGCONFIG --libs-only-l libnghttp2`
31071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
31072 printf "%s\n" "$as_me: -l is $LIB_H2" >&6;}
31075 if test -n "$want_nghttp2_pkg_config_path"; then
31079 $PKGCONFIG --cflags-only-I libnghttp2`
31080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
31081 printf "%s\n" "$as_me: -I is $CPP_H2" >&6;}
31084 if test -n "$want_nghttp2_pkg_config_path"; then
31089 $PKGCONFIG --libs-only-L libnghttp2`
31090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
31091 printf "%s\n" "$as_me: -L is $LD_H2" >&6;}
31093 DIR_H2=`echo $LD_H2 | $SED -e 's/^-L//'`
31094 elif test x"$want_nghttp2_path" != x; then
31095 LIB_H2="-lnghttp2"
31096 LD_H2=-L${want_nghttp2_path}/lib$libsuff
31097 CPP_H2=-I${want_nghttp2_path}/include
31099 elif test X"$want_nghttp2" != Xdefault; then
31100 …as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LIN…
31102 LIB_H2="-lnghttp2"
31111 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp2_session_get_stream_local_window…
31112 printf %s "checking for nghttp2_session_get_stream_local_window_size in -lnghttp2... " >&6; }
31113 if test ${ac_cv_lib_nghttp2_nghttp2_session_get_stream_local_window_size+y}
31118 LIBS="-lnghttp2 $LIBS"
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_session_get_stream…
31146 if test "x$ac_cv_lib_nghttp2_nghttp2_session_get_stream_local_window_size" = xyes
31152 if test "x$ac_cv_header_nghttp2_nghttp2_h" = xyes
31169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_H2 to CURL_LIBRARY_PATH" >&5
31184 if test "x$disable_http" = "xyes"; then
31190 # Check whether --with-ngtcp2 was given.
31191 if test ${with_ngtcp2+y}
31210 curl_tcp2_msg="no (--with-ngtcp2)"
31211 if test X"$want_tcp2" != Xno; then
31213 if test "$QUIC_ENABLED" != "yes"; then
31214 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-ngtcp2 a no-no" "$LI…
31222 if test -n "$PKG_CONFIG"; then
31225 if test -n "$ac_tool_prefix"; then
31226 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31227 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31230 if test ${ac_cv_path_PKGCONFIG+y}
31236 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
31252 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31263 if test -n "$PKGCONFIG"; then
31264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31273 if test -z "$ac_cv_path_PKGCONFIG"; then
31275 # Extract the first word of "pkg-config", so it can be a program name with args.
31276 set dummy pkg-config; ac_word=$2
31277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31279 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
31285 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
31301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31312 if test -n "$ac_pt_PKGCONFIG"; then
31313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31320 if test "x$ac_pt_PKGCONFIG" = x; then
31325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31337 if test "x$PKGCONFIG" != "xno"; then
31338 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options with pkg-config" >&5
31339 printf %s "checking for libngtcp2 options with pkg-config... " >&6; }
31341 if test -n "$want_tcp2_path"; then
31345 $PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
31347 if test -z "$itexists"; then
31349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31358 if test "$PKGCONFIG" != "no" ; then
31360 if test -n "$want_tcp2_path"; then
31365 $PKGCONFIG --libs-only-l libngtcp2`
31366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
31367 printf "%s\n" "$as_me: -l is $LIB_TCP2" >&6;}
31370 if test -n "$want_tcp2_path"; then
31374 $PKGCONFIG --cflags-only-I libngtcp2`
31375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
31376 printf "%s\n" "$as_me: -I is $CPP_TCP2" >&6;}
31379 if test -n "$want_tcp2_path"; then
31384 $PKGCONFIG --libs-only-L libngtcp2`
31385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
31386 printf "%s\n" "$as_me: -L is $LD_TCP2" >&6;}
31392 if test "x$cross_compiling" != "xyes"; then
31393 DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/^-L//'`
31395 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new_versioned in -ln…
31396 printf %s "checking for ngtcp2_conn_client_new_versioned in -lngtcp2... " >&6; }
31397 if test ${ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_versioned+y}
31402 LIBS="-lngtcp2 $LIBS"
31403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_vers…
31430 if test "x$ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_versioned" = xyes
31436 if test "x$ac_cv_header_ngtcp2_ngtcp2_h" = xyes
31447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&5
31463 if test X"$want_tcp2" != Xdefault; then
31464 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2 pkg-config file." "$LINENO" 5
31470 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" != "x1"…
31476 if test -n "$PKG_CONFIG"; then
31479 if test -n "$ac_tool_prefix"; then
31480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31481 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31484 if test ${ac_cv_path_PKGCONFIG+y}
31490 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
31506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31517 if test -n "$PKGCONFIG"; then
31518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31527 if test -z "$ac_cv_path_PKGCONFIG"; then
31529 # Extract the first word of "pkg-config", so it can be a program name with args.
31530 set dummy pkg-config; ac_word=$2
31531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31533 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
31539 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
31555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31566 if test -n "$ac_pt_PKGCONFIG"; then
31567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31574 if test "x$ac_pt_PKGCONFIG" = x; then
31579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31591 if test "x$PKGCONFIG" != "xno"; then
31592 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_quictls options with p…
31593 printf %s "checking for libngtcp2_crypto_quictls options with pkg-config... " >&6; }
31595 if test -n "$want_tcp2_path"; then
31599 $PKGCONFIG --exists libngtcp2_crypto_quictls >/dev/null 2>&1 && echo 1`
31601 if test -z "$itexists"; then
31603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31612 if test "$PKGCONFIG" != "no" ; then
31614 if test -n "$want_tcp2_path"; then
31619 $PKGCONFIG --libs-only-l libngtcp2_crypto_quictls`
31620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&5
31621 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_QUICTLS" >&6;}
31624 if test -n "$want_tcp2_path"; then
31628 $PKGCONFIG --cflags-only-I libngtcp2_crypto_quictls`
31629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&5
31630 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_QUICTLS" >&6;}
31633 if test -n "$want_tcp2_path"; then
31638 $PKGCONFIG --libs-only-L libngtcp2_crypto_quictls`
31639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&5
31640 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_QUICTLS" >&6;}
31646 if test "x$cross_compiling" != "xyes"; then
31647 DIR_NGTCP2_CRYPTO_QUICTLS=`echo $LD_NGTCP2_CRYPTO_QUICTLS | $SED -e 's/^-L//'`
31649 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31650 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_quictls... " >&6; }
31651 if test ${ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb+y}
31656 LIBS="-lngtcp2_crypto_quictls $LIBS"
31657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypt…
31684 if test "x$ac_cv_lib_ngtcp2_crypto_quictls_ngtcp2_crypto_recv_client_initial_cb" = xyes
31690 if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes
31701 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_QUICTLS to CURL_LIBRARY_PAT…
31717 if test X"$want_tcp2" != Xdefault; then
31718 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_quictls pkg-config fi…
31723 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1" -a "x$OPENSSL_IS_BORINGSSL" = "x1";…
31729 if test -n "$PKG_CONFIG"; then
31732 if test -n "$ac_tool_prefix"; then
31733 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31734 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31737 if test ${ac_cv_path_PKGCONFIG+y}
31743 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
31759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31770 if test -n "$PKGCONFIG"; then
31771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31780 if test -z "$ac_cv_path_PKGCONFIG"; then
31782 # Extract the first word of "pkg-config", so it can be a program name with args.
31783 set dummy pkg-config; ac_word=$2
31784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31786 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
31792 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
31808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31819 if test -n "$ac_pt_PKGCONFIG"; then
31820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31827 if test "x$ac_pt_PKGCONFIG" = x; then
31832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31844 if test "x$PKGCONFIG" != "xno"; then
31845 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_boringssl options with…
31846 printf %s "checking for libngtcp2_crypto_boringssl options with pkg-config... " >&6; }
31848 if test -n "$want_tcp2_path"; then
31852 $PKGCONFIG --exists libngtcp2_crypto_boringssl >/dev/null 2>&1 && echo 1`
31854 if test -z "$itexists"; then
31856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31865 if test "$PKGCONFIG" != "no" ; then
31867 if test -n "$want_tcp2_path"; then
31872 $PKGCONFIG --libs-only-l libngtcp2_crypto_boringssl`
31873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&5
31874 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31877 if test -n "$want_tcp2_path"; then
31881 $PKGCONFIG --cflags-only-I libngtcp2_crypto_boringssl`
31882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&5
31883 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31886 if test -n "$want_tcp2_path"; then
31891 $PKGCONFIG --libs-only-L libngtcp2_crypto_boringssl`
31892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&5
31893 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_BORINGSSL" >&6;}
31899 if test "x$cross_compiling" != "xyes"; then
31900 DIR_NGTCP2_CRYPTO_BORINGSSL=`echo $LD_NGTCP2_CRYPTO_BORINGSSL | $SED -e 's/^-L//'`
31902 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31903 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_boringssl... " >&6;…
31904 if test ${ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb+y}
31909 LIBS="-lngtcp2_crypto_boringssl $LIBS"
31910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_cry…
31937 if test "x$ac_cv_lib_ngtcp2_crypto_boringssl_ngtcp2_crypto_recv_client_initial_cb" = xyes
31943 if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes
31954 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_BORINGSSL to CURL_LIBRARY_P…
31970 if test X"$want_tcp2" != Xdefault; then
31971 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_boringssl pkg-config …
31976 if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then
31982 if test -n "$PKG_CONFIG"; then
31985 if test -n "$ac_tool_prefix"; then
31986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31987 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31990 if test ${ac_cv_path_PKGCONFIG+y}
31996 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
32012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32023 if test -n "$PKGCONFIG"; then
32024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32033 if test -z "$ac_cv_path_PKGCONFIG"; then
32035 # Extract the first word of "pkg-config", so it can be a program name with args.
32036 set dummy pkg-config; ac_word=$2
32037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32039 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
32045 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
32061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32072 if test -n "$ac_pt_PKGCONFIG"; then
32073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32080 if test "x$ac_pt_PKGCONFIG" = x; then
32085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32097 if test "x$PKGCONFIG" != "xno"; then
32098 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_gnutls options with pk…
32099 printf %s "checking for libngtcp2_crypto_gnutls options with pkg-config... " >&6; }
32101 if test -n "$want_tcp2_path"; then
32105 $PKGCONFIG --exists libngtcp2_crypto_gnutls >/dev/null 2>&1 && echo 1`
32107 if test -z "$itexists"; then
32109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32118 if test "$PKGCONFIG" != "no" ; then
32120 if test -n "$want_tcp2_path"; then
32125 $PKGCONFIG --libs-only-l libngtcp2_crypto_gnutls`
32126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&5
32127 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&6;}
32130 if test -n "$want_tcp2_path"; then
32134 $PKGCONFIG --cflags-only-I libngtcp2_crypto_gnutls`
32135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&5
32136 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&6;}
32139 if test -n "$want_tcp2_path"; then
32144 $PKGCONFIG --libs-only-L libngtcp2_crypto_gnutls`
32145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&5
32146 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&6;}
32152 if test "x$cross_compiling" != "xyes"; then
32153 DIR_NGTCP2_CRYPTO_GNUTLS=`echo $LD_NGTCP2_CRYPTO_GNUTLS | $SED -e 's/^-L//'`
32155 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
32156 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_gnutls... " >&6; }
32157 if test ${ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_recv_client_initial_cb+y}
32162 LIBS="-lngtcp2_crypto_gnutls $LIBS"
32163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto…
32190 if test "x$ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_recv_client_initial_cb" = xyes
32196 if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes
32207 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH…
32223 if test X"$want_tcp2" != Xdefault; then
32224 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_gnutls pkg-config fil…
32229 if test "x$NGTCP2_ENABLED" = "x1" -a "x$WOLFSSL_ENABLED" = "x1"; then
32235 if test -n "$PKG_CONFIG"; then
32238 if test -n "$ac_tool_prefix"; then
32239 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32240 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32243 if test ${ac_cv_path_PKGCONFIG+y}
32249 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
32265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32276 if test -n "$PKGCONFIG"; then
32277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32286 if test -z "$ac_cv_path_PKGCONFIG"; then
32288 # Extract the first word of "pkg-config", so it can be a program name with args.
32289 set dummy pkg-config; ac_word=$2
32290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32292 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
32298 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
32314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32325 if test -n "$ac_pt_PKGCONFIG"; then
32326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32333 if test "x$ac_pt_PKGCONFIG" = x; then
32338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32350 if test "x$PKGCONFIG" != "xno"; then
32351 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_wolfssl options with p…
32352 printf %s "checking for libngtcp2_crypto_wolfssl options with pkg-config... " >&6; }
32354 if test -n "$want_tcp2_path"; then
32358 $PKGCONFIG --exists libngtcp2_crypto_wolfssl >/dev/null 2>&1 && echo 1`
32360 if test -z "$itexists"; then
32362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32371 if test "$PKGCONFIG" != "no" ; then
32373 if test -n "$want_tcp2_path"; then
32378 $PKGCONFIG --libs-only-l libngtcp2_crypto_wolfssl`
32379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&5
32380 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32383 if test -n "$want_tcp2_path"; then
32387 $PKGCONFIG --cflags-only-I libngtcp2_crypto_wolfssl`
32388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&5
32389 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32392 if test -n "$want_tcp2_path"; then
32397 $PKGCONFIG --libs-only-L libngtcp2_crypto_wolfssl`
32398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&5
32399 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&6;}
32405 if test "x$cross_compiling" != "xyes"; then
32406 DIR_NGTCP2_CRYPTO_WOLFSSL=`echo $LD_NGTCP2_CRYPTO_WOLFSSL | $SED -e 's/^-L//'`
32408 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
32409 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_wolfssl... " >&6; }
32410 if test ${ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypto_recv_client_initial_cb+y}
32415 LIBS="-lngtcp2_crypto_wolfssl $LIBS"
32416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypt…
32443 if test "x$ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypto_recv_client_initial_cb" = xyes
32449 if test "x$ac_cv_header_ngtcp2_ngtcp2_crypto_h" = xyes
32460 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_WOLFSSL to CURL_LIBRARY_PAT…
32476 if test X"$want_tcp2" != Xdefault; then
32477 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_wolfssl pkg-config fi…
32485 if test "x$disable_http" = "xyes" -o "x$OPENSSL_ENABLED" != "x1"; then
32491 # Check whether --with-openssl-quic was given.
32492 if test ${with_openssl_quic+y}
32506 curl_openssl_quic_msg="no (--with-openssl-quic)"
32507 if test "x$want_openssl_quic" = "xyes"; then
32509 if test "$NGTCP2_ENABLED" = 1; then
32510 as_fn_error $? "--with-openssl-quic and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32512 if test "$HAVE_OPENSSL_QUIC" != 1; then
32513 as_fn_error $? "--with-openssl-quic requires quic support in OpenSSL" "$LINENO" 5
32525 if test "x$USE_NGTCP2" != "x1" -a "x$USE_OPENSSL_QUIC" != "x1"; then
32532 # Check whether --with-nghttp3 was given.
32533 if test ${with_nghttp3+y}
32552 curl_http3_msg="no (--with-nghttp3)"
32553 if test X"$want_nghttp3" != Xno; then
32560 if test -n "$PKG_CONFIG"; then
32563 if test -n "$ac_tool_prefix"; then
32564 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32565 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32568 if test ${ac_cv_path_PKGCONFIG+y}
32574 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
32590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32601 if test -n "$PKGCONFIG"; then
32602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32611 if test -z "$ac_cv_path_PKGCONFIG"; then
32613 # Extract the first word of "pkg-config", so it can be a program name with args.
32614 set dummy pkg-config; ac_word=$2
32615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32617 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
32623 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
32639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32650 if test -n "$ac_pt_PKGCONFIG"; then
32651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32658 if test "x$ac_pt_PKGCONFIG" = x; then
32663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32675 if test "x$PKGCONFIG" != "xno"; then
32676 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options with pkg-config" >&5
32677 printf %s "checking for libnghttp3 options with pkg-config... " >&6; }
32679 if test -n "$want_nghttp3_path"; then
32683 $PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
32685 if test -z "$itexists"; then
32687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32696 if test "$PKGCONFIG" != "no" ; then
32698 if test -n "$want_nghttp3_path"; then
32703 $PKGCONFIG --libs-only-l libnghttp3`
32704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
32705 printf "%s\n" "$as_me: -l is $LIB_NGHTTP3" >&6;}
32708 if test -n "$want_nghttp3_path"; then
32712 $PKGCONFIG --cflags-only-I libnghttp3`
32713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
32714 printf "%s\n" "$as_me: -I is $CPP_NGHTTP3" >&6;}
32717 if test -n "$want_nghttp3_path"; then
32722 $PKGCONFIG --libs-only-L libnghttp3`
32723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
32724 printf "%s\n" "$as_me: -L is $LD_NGHTTP3" >&6;}
32730 if test "x$cross_compiling" != "xyes"; then
32731 DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/^-L//'`
32733 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_new_versioned in -l…
32734 printf %s "checking for nghttp3_conn_client_new_versioned in -lnghttp3... " >&6; }
32735 if test ${ac_cv_lib_nghttp3_nghttp3_conn_client_new_versioned+y}
32740 LIBS="-lnghttp3 $LIBS"
32741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn_client_new_ve…
32768 if test "x$ac_cv_lib_nghttp3_nghttp3_conn_client_new_versioned" = xyes
32774 if test "x$ac_cv_header_nghttp3_nghttp3_h" = xyes
32784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5
32800 if test X"$want_nghttp3" != Xdefault; then
32801 …as_fn_error $? "--with-nghttp3 was specified but could not find nghttp3 pkg-config file." "$LINENO…
32808 if test "x$NGTCP2_ENABLED" = "x1" -a "x$USE_NGHTTP3" = "x1"; then
32814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32820 if test "x$USE_OPENSSL_QUIC" = "x1" -a "x$USE_NGHTTP3" = "x1"; then
32827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32835 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
32841 # Check whether --with-quiche was given.
32842 if test ${with_quiche+y}
32861 if test X"$want_quiche" != Xno; then
32863 if test "$QUIC_ENABLED" != "yes"; then
32864 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-quiche a no-no" "$LI…
32867 if test "$NGHTTP3_ENABLED" = 1; then
32868 as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32876 if test -n "$PKG_CONFIG"; then
32879 if test -n "$ac_tool_prefix"; then
32880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32884 if test ${ac_cv_path_PKGCONFIG+y}
32890 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
32906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32917 if test -n "$PKGCONFIG"; then
32918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32927 if test -z "$ac_cv_path_PKGCONFIG"; then
32929 # Extract the first word of "pkg-config", so it can be a program name with args.
32930 set dummy pkg-config; ac_word=$2
32931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32933 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
32939 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
32955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32966 if test -n "$ac_pt_PKGCONFIG"; then
32967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32974 if test "x$ac_pt_PKGCONFIG" = x; then
32979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32991 if test "x$PKGCONFIG" != "xno"; then
32992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche options with pkg-config" >&5
32993 printf %s "checking for quiche options with pkg-config... " >&6; }
32995 if test -n "$want_quiche_path"; then
32999 $PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
33001 if test -z "$itexists"; then
33003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
33012 if test "$PKGCONFIG" != "no" ; then
33014 if test -n "$want_quiche_path"; then
33019 $PKGCONFIG --libs-only-l quiche`
33020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
33021 printf "%s\n" "$as_me: -l is $LIB_QUICHE" >&6;}
33024 if test -n "$want_quiche_path"; then
33028 $PKGCONFIG --cflags-only-I quiche`
33029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
33030 printf "%s\n" "$as_me: -I is $CPP_QUICHE" >&6;}
33033 if test -n "$want_quiche_path"; then
33038 $PKGCONFIG --libs-only-L quiche`
33039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
33040 printf "%s\n" "$as_me: -L is $LD_QUICHE" >&6;}
33046 if test "x$cross_compiling" != "xyes"; then
33047 DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/^-L//'`
33049 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche_conn_send_ack_eliciting in -lqui…
33050 printf %s "checking for quiche_conn_send_ack_eliciting in -lquiche... " >&6; }
33051 if test ${ac_cv_lib_quiche_quiche_conn_send_ack_eliciting+y}
33056 LIBS="-lquiche $LIBS"
33057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
33082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_conn_send_ack_elicit…
33084 if test "x$ac_cv_lib_quiche_quiche_conn_send_ack_eliciting" = xyes
33095 if test "x$ac_cv_header_quiche_h" = xyes
33099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
33109 if test "x$ac_cv_func_quiche_conn_set_qlog_fd" = xyes
33117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&5
33129 if test X"$want_quiche" != Xdefault; then
33130 …as_fn_error $? "--with-quiche was specified but could not find quiche pkg-config file." "$LINENO" 5
33138 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
33144 # Check whether --with-msh3 was given.
33145 if test ${with_msh3+y}
33164 if test X"$want_msh3" != Xno; then
33166 if test "$curl_cv_native_windows" != "yes"; then
33167 if test "$QUIC_ENABLED" != "yes"; then
33168 …as_fn_error $? "the detected TLS library does not support QUIC, making --with-msh3 a no-no" "$LINE…
33170 if test "$OPENSSL_ENABLED" != "1"; then
33175 if test "$NGHTTP3_ENABLED" = 1; then
33176 as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
33178 if test "$QUICHE_ENABLED" = 1; then
33179 as_fn_error $? "--with-msh3 and --with-quiche are mutually exclusive" "$LINENO" 5
33186 if test -n "$want_msh3_path"; then
33187 LD_MSH3="-L$want_msh3_path/lib"
33188 CPP_MSH3="-I$want_msh3_path/include"
33193 LIBS="-lmsh3 $LIBS"
33195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MsH3ApiOpen in -lmsh3" >&5
33196 printf %s "checking for MsH3ApiOpen in -lmsh3... " >&6; }
33197 if test ${ac_cv_lib_msh3_MsH3ApiOpen+y}
33202 LIBS="-lmsh3 $LIBS"
33203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
33228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msh3_MsH3ApiOpen" >&5
33230 if test "x$ac_cv_lib_msh3_MsH3ApiOpen" = xyes
33236 if test "x$ac_cv_header_msh3_h" = xyes
33248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_MSH3 to CURL_LIBRARY_PATH" >&5
33269 # Check whether --with-zsh-functions-dir was given.
33270 if test ${with_zsh_functions_dir+y}
33279 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
33287 if test x"$ZSH_FUNCTIONS_DIR" != x; then
33299 # Check whether --with-fish-functions-dir was given.
33300 if test ${with_fish_functions_dir+y}
33310 if test -n "$PKG_CONFIG"; then
33313 if test -n "$ac_tool_prefix"; then
33314 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33315 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33318 if test ${ac_cv_path_PKGCONFIG+y}
33324 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
33340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33351 if test -n "$PKGCONFIG"; then
33352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
33355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33361 if test -z "$ac_cv_path_PKGCONFIG"; then
33363 # Extract the first word of "pkg-config", so it can be a program name with args.
33364 set dummy pkg-config; ac_word=$2
33365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33367 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
33373 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
33389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
33400 if test -n "$ac_pt_PKGCONFIG"; then
33401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
33404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33408 if test "x$ac_pt_PKGCONFIG" = x; then
33413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
33425 if test "x$PKGCONFIG" != "xno"; then
33426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fish options with pkg-config" >&5
33427 printf %s "checking for fish options with pkg-config... " >&6; }
33429 if test -n ""; then
33433 $PKGCONFIG --exists fish >/dev/null 2>&1 && echo 1`
33435 if test -z "$itexists"; then
33437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
33440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
33445 if test "$PKGCONFIG" != "no" ; then
33446 FISH_FUNCTIONS_DIR="$($PKGCONFIG --variable completionsdir fish)"
33457 if test x"$FISH_FUNCTIONS_DIR" != x; then
33493 if test "x$ac_cv_header_sys_types_h" = xyes
33525 if test "x$ac_cv_header_sys_time_h" = xyes
33557 if test "x$ac_cv_header_sys_select_h" = xyes
33589 if test "x$ac_cv_header_sys_socket_h" = xyes
33621 if test "x$ac_cv_header_sys_ioctl_h" = xyes
33653 if test "x$ac_cv_header_unistd_h" = xyes
33685 if test "x$ac_cv_header_stdlib_h" = xyes
33717 if test "x$ac_cv_header_arpa_inet_h" = xyes
33749 if test "x$ac_cv_header_net_if_h" = xyes
33781 if test "x$ac_cv_header_netinet_in_h" = xyes
33813 if test "x$ac_cv_header_netinet_in6_h" = xyes
33845 if test "x$ac_cv_header_sys_un_h" = xyes
33877 if test "x$ac_cv_header_linux_tcp_h" = xyes
33909 if test "x$ac_cv_header_netinet_tcp_h" = xyes
33941 if test "x$ac_cv_header_netinet_udp_h" = xyes
33973 if test "x$ac_cv_header_netdb_h" = xyes
34005 if test "x$ac_cv_header_sys_sockio_h" = xyes
34037 if test "x$ac_cv_header_sys_stat_h" = xyes
34069 if test "x$ac_cv_header_sys_param_h" = xyes
34101 if test "x$ac_cv_header_termios_h" = xyes
34133 if test "x$ac_cv_header_termio_h" = xyes
34165 if test "x$ac_cv_header_fcntl_h" = xyes
34197 if test "x$ac_cv_header_io_h" = xyes
34229 if test "x$ac_cv_header_pwd_h" = xyes
34261 if test "x$ac_cv_header_utime_h" = xyes
34293 if test "x$ac_cv_header_sys_utime_h" = xyes
34325 if test "x$ac_cv_header_sys_poll_h" = xyes
34357 if test "x$ac_cv_header_poll_h" = xyes
34389 if test "x$ac_cv_header_socket_h" = xyes
34421 if test "x$ac_cv_header_sys_resource_h" = xyes
34453 if test "x$ac_cv_header_libgen_h" = xyes
34485 if test "x$ac_cv_header_locale_h" = xyes
34517 if test "x$ac_cv_header_stdbool_h" = xyes
34549 if test "x$ac_cv_header_sys_filio_h" = xyes
34581 if test "x$ac_cv_header_sys_wait_h" = xyes
34613 if test "x$ac_cv_header_setjmp_h" = xyes
34621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
34622 printf %s "checking for an ANSI C-conforming const... " >&6; }
34623 if test ${ac_cv_c_const+y}
34627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34645 an arm of an if-expression whose if-part is not a constant
34648 pcpcc = &g + (g ? g-g : 0);
34661 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
34666 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
34672 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
34674 struct s *b = &bx; b->j = 5;
34676 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
34693 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
34697 if test $ac_cv_c_const = no; then
34704 if test "x$ac_cv_type_size_t" = xyes
34716 if test "x$ac_cv_header_sys_types_h" = xyes
34722 if test "x$ac_cv_header_sys_time_h" = xyes
34728 if test "x$ac_cv_header_sys_socket_h" = xyes
34734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
34736 if test ${curl_cv_struct_timeval+y}
34741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
34800 if test "x$cross_compiling" != xyes; then
34802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
34803 printf %s "checking run-time libs availability... " >&6; }
34807 if test "$cross_compiling" = yes
34809 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34811 as_fn_error $? "cannot run test program while cross compiling
34814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34830 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34841 CC="sh ./run-compiler"
34844 if test "$cross_compiling" = yes
34846 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34848 as_fn_error $? "cannot run test program while cross compiling
34851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34867 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
34889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34915 if test $r -gt 0; then
34919 if test $r -eq 0; then
34922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34924 tname=$(echo "ac_cv_sizeof_size_t" | tr A-Z a-z | tr " " "_")
34934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34964 if test $r -gt 0; then
34968 if test $r -eq 0; then
34971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34973 tname=$(echo "ac_cv_sizeof_long" | tr A-Z a-z | tr " " "_")
34983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
34987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35013 if test $r -gt 0; then
35017 if test $r -eq 0; then
35020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35022 tname=$(echo "ac_cv_sizeof_int" | tr A-Z a-z | tr " " "_")
35032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
35036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35062 if test $r -gt 0; then
35066 if test $r -eq 0; then
35069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35071 tname=$(echo "ac_cv_sizeof_time_t" | tr A-Z a-z | tr " " "_")
35081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
35085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35111 if test $r -gt 0; then
35115 if test $r -eq 0; then
35118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35120 tname=$(echo "ac_cv_sizeof_off_t" | tr A-Z a-z | tr " " "_")
35130 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
35133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
35137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35164 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35165 if test $r -gt 0; then
35169 if test $r -eq 0; then
35172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35174 tname=$(echo "ac_cv_sizeof_curl_off_t" | tr A-Z a-z | tr " " "_")
35184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_socket_t" >&5
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35216 if test $r -gt 0; then
35220 if test $r -eq 0; then
35223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
35225 tname=$(echo "ac_cv_sizeof_curl_socket_t" | tr A-Z a-z | tr " " "_")
35236 if test "x$ac_cv_type_long_long" = xyes
35246 if test ${ac_cv_sizeof_curl_off_t} -lt 8; then
35252 if test "x$ac_cv_type_ssize_t" = xyes
35272 if test "x$ac_cv_type_bool" = xyes
35289 if test "x$ac_cv_type_sa_family_t" = xyes
35309 if test "x$ac_cv_type_ADDRESS_FAMILY" = xyes
35334 if test "x$ac_cv_type_suseconds_t" = xyes
35344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
35349 if test "$cross_compiling" = yes
35351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35361 time_t t = -1;
35368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35379 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35387 CC="sh ./run-compiler"
35390 if test "$cross_compiling" = yes
35392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35402 time_t t = -1;
35409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35454 if test "x$ac_cv_type_in_addr_t" = xyes
35459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
35461 if test ${curl_cv_in_addr_t_equiv+y}
35468 if test "$curl_cv_in_addr_t_equiv" = "unknown"; then
35469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
35557 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
35568 if test "x$ac_cv_header_sys_select_h" = xyes
35574 if test "x$ac_cv_header_sys_socket_h" = xyes
35581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for select" >&5
35583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35640 if test "$curl_cv_select" = "yes"; then
35650 if test "x$ac_cv_header_sys_types_h" = xyes
35656 if test "x$ac_cv_header_sys_socket_h" = xyes
35663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
35665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35712 if test "$curl_cv_recv" = "yes"; then
35723 if test "x$ac_cv_header_sys_types_h" = xyes
35729 if test "x$ac_cv_header_sys_socket_h" = xyes
35736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for send" >&5
35738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35785 if test "$curl_cv_send" = "yes"; then
35796 if test "x$ac_cv_header_sys_types_h" = xyes
35802 if test "x$ac_cv_header_sys_socket_h" = xyes
35808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
35810 if test ${curl_cv_msg_nosignal+y}
35815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
35880 if test "x$ac_cv_header_sys_types_h" = xyes
35887 if test "x$ac_cv_header_unistd_h" = xyes
35901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
35903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35947 if test "$tst_links_alarm" = "yes"; then
35948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
35950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35971 rm -rf conftest*
35975 if test "$tst_proto_alarm" = "yes"; then
35976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
35978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36012 if test "$tst_compi_alarm" = "yes"; then
36013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
36015 if test "x$curl_disallow_alarm" != "xyes"; then
36016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
36028 if test "$tst_links_alarm" = "yes" &&
36029 test "$tst_proto_alarm" = "yes" &&
36030 test "$tst_compi_alarm" = "yes" &&
36031 test "$tst_allow_alarm" = "yes"; then
36032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36057 if test "x$ac_cv_header_sys_types_h" = xyes
36064 if test "x$ac_cv_header_strings_h" = xyes
36083 if test "x$ac_cv_header_sys_types_h" = xyes
36090 if test "x$ac_cv_header_libgen_h" = xyes
36104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36150 if test "$tst_links_basename" = "yes"; then
36151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
36153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36176 rm -rf conftest*
36180 if test "$tst_proto_basename" = "yes"; then
36181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36219 if test "$tst_compi_basename" = "yes"; then
36220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
36222 if test "x$curl_disallow_basename" != "xyes"; then
36223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
36235 if test "$tst_links_basename" = "yes" &&
36236 test "$tst_proto_basename" = "yes" &&
36237 test "$tst_compi_basename" = "yes" &&
36238 test "$tst_allow_basename" = "yes"; then
36239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36263 if test "x$ac_cv_header_sys_types_h" = xyes
36270 if test "x$ac_cv_header_socket_h" = xyes
36284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36321 if test "$tst_links_closesocket" = "yes"; then
36322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
36324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36346 rm -rf conftest*
36350 if test "$tst_proto_closesocket" = "yes"; then
36351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36385 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36388 if test "$tst_compi_closesocket" = "yes"; then
36389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
36391 if test "x$curl_disallow_closesocket" != "xyes"; then
36392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
36404 if test "$tst_links_closesocket" = "yes" &&
36405 test "$tst_proto_closesocket" = "yes" &&
36406 test "$tst_compi_closesocket" = "yes" &&
36407 test "$tst_allow_closesocket" = "yes"; then
36408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36432 if test "x$ac_cv_header_sys_types_h" = xyes
36439 if test "x$ac_cv_header_sys_socket_h" = xyes
36453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
36455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36490 if test "$tst_links_closesocket_camel" = "yes"; then
36491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
36493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36515 rm -rf conftest*
36519 if test "$tst_proto_closesocket_camel" = "yes"; then
36520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
36522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36557 if test "$tst_compi_closesocket_camel" = "yes"; then
36558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
36560 if test "x$curl_disallow_closesocket_camel" != "xyes"; then
36561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
36573 if test "$tst_links_closesocket_camel" = "yes" &&
36574 test "$tst_proto_closesocket_camel" = "yes" &&
36575 test "$tst_compi_closesocket_camel" = "yes" &&
36576 test "$tst_allow_closesocket_camel" = "yes"; then
36577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36604 if test "x$ac_cv_header_sys_types_h" = xyes
36611 if test "x$ac_cv_header_unistd_h" = xyes
36618 if test "x$ac_cv_header_fcntl_h" = xyes
36632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
36634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36678 if test "$tst_links_fcntl" = "yes"; then
36679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
36681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36702 rm -rf conftest*
36706 if test "$tst_proto_fcntl" = "yes"; then
36707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36743 if test "$tst_compi_fcntl" = "yes"; then
36744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
36746 if test "x$curl_disallow_fcntl" != "xyes"; then
36747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
36759 if test "$tst_links_fcntl" = "yes" &&
36760 test "$tst_proto_fcntl" = "yes" &&
36761 test "$tst_compi_fcntl" = "yes" &&
36762 test "$tst_allow_fcntl" = "yes"; then
36763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36780 if test "$curl_cv_func_fcntl" = "yes"; then
36781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
36783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36818 if test "$tst_compi_fcntl_o_nonblock" = "yes"; then
36819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
36821 if test "x$curl_disallow_fcntl_o_nonblock" != "xyes"; then
36822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
36834 if test "$tst_compi_fcntl_o_nonblock" = "yes" &&
36835 test "$tst_allow_fcntl_o_nonblock" = "yes"; then
36836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36866 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
36868 if test ${curl_cv_native_windows+y}
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
36907 if test "x$curl_cv_native_windows" = xyes; then
36929 if test "x$ac_cv_header_sys_types_h" = xyes
36936 if test "x$ac_cv_header_netdb_h" = xyes
36950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
36952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36987 if test "$tst_links_freeaddrinfo" = "yes"; then
36988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
36990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37013 rm -rf conftest*
37017 if test "$tst_proto_freeaddrinfo" = "yes"; then
37018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
37020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37055 if test "$tst_compi_freeaddrinfo" = "yes"; then
37056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
37058 if test "x$curl_disallow_freeaddrinfo" != "xyes"; then
37059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
37071 if test "$tst_links_freeaddrinfo" = "yes" &&
37072 test "$tst_proto_freeaddrinfo" = "yes" &&
37073 test "$tst_compi_freeaddrinfo" = "yes" &&
37074 test "$tst_allow_freeaddrinfo" = "yes"; then
37075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37099 if test "x$ac_cv_header_sys_types_h" = xyes
37106 if test "x$ac_cv_header_sys_xattr_h" = xyes
37121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
37123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37167 if test "$tst_links_fsetxattr" = "yes"; then
37168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
37170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37191 rm -rf conftest*
37195 if test "$tst_proto_fsetxattr" = "yes"; then
37196 if test "$tst_nargs_fsetxattr" = "unknown"; then
37197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
37199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37233 if test "$tst_nargs_fsetxattr" = "unknown"; then
37234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
37236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
37272 if test "$tst_compi_fsetxattr" = "yes"; then
37273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37281 if test "$tst_compi_fsetxattr" = "yes"; then
37282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
37284 if test "x$curl_disallow_fsetxattr" != "xyes"; then
37285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
37297 if test "$tst_links_fsetxattr" = "yes" &&
37298 test "$tst_proto_fsetxattr" = "yes" &&
37299 test "$tst_compi_fsetxattr" = "yes" &&
37300 test "$tst_allow_fsetxattr" = "yes"; then
37301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37307 if test "$tst_nargs_fsetxattr" -eq "5"; then
37311 elif test "$tst_nargs_fsetxattr" -eq "6"; then
37319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
37333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37377 if test "$tst_links_ftruncate" = "yes"; then
37378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
37380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37401 rm -rf conftest*
37405 if test "$tst_proto_ftruncate" = "yes"; then
37406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
37408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37442 if test "$tst_compi_ftruncate" = "yes"; then
37443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
37445 if test "x$curl_disallow_ftruncate" != "xyes"; then
37446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
37458 if test "$tst_links_ftruncate" = "yes" &&
37459 test "$tst_proto_ftruncate" = "yes" &&
37460 test "$tst_compi_ftruncate" = "yes" &&
37461 test "$tst_allow_ftruncate" = "yes"; then
37462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37484 if test "x$ac_cv_header_sys_types_h" = xyes
37500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
37502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37538 if test "$tst_links_getaddrinfo" = "yes"; then
37539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
37541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37564 rm -rf conftest*
37568 if test "$tst_proto_getaddrinfo" = "yes"; then
37569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
37571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37604 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37607 if test "x$cross_compiling" != "xyes" &&
37608 test "$tst_compi_getaddrinfo" = "yes"; then
37609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
37614 if test "$cross_compiling" = yes
37616 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37618 as_fn_error $? "cannot run test program while cross compiling
37621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37671 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37679 CC="sh ./run-compiler"
37682 if test "$cross_compiling" = yes
37684 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37686 as_fn_error $? "cannot run test program while cross compiling
37689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37750 if test "$tst_compi_getaddrinfo" = "yes" &&
37751 test "$tst_works_getaddrinfo" != "no"; then
37752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
37754 if test "x$curl_disallow_getaddrinfo" != "xyes"; then
37755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
37767 if test "$tst_links_getaddrinfo" = "yes" &&
37768 test "$tst_proto_getaddrinfo" = "yes" &&
37769 test "$tst_compi_getaddrinfo" = "yes" &&
37770 test "$tst_allow_getaddrinfo" = "yes" &&
37771 test "$tst_works_getaddrinfo" != "no"; then
37772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37785 if test "$curl_cv_func_getaddrinfo" = "yes"; then
37786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
37829 if test "$tst_tsafe_getaddrinfo" = "unknown" &&
37830 test "$curl_cv_native_windows" = "yes"; then
37833 if test "$tst_tsafe_getaddrinfo" = "unknown"; then
37836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37865 if test "$tst_symbol_defined" = "yes"; then
37873 if test "$curl_cv_have_def_h_errno" = "yes"; then
37878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37940 if test "$tst_h_errno_macro" = "no" &&
37941 test "$tst_h_errno_modifiable_lvalue" = "no" &&
37942 test "$tst_h_errno_sbs_issue_7" = "no"; then
37948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
37950 if test "$tst_tsafe_getaddrinfo" = "yes"; then
37967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
37969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38002 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38005 if test "$tst_links_gethostbyname" = "yes"; then
38006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
38008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38031 rm -rf conftest*
38035 if test "$tst_proto_gethostbyname" = "yes"; then
38036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38074 if test "$tst_compi_gethostbyname" = "yes"; then
38075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
38077 if test "x$curl_disallow_gethostbyname" != "xyes"; then
38078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
38090 if test "$tst_links_gethostbyname" = "yes" &&
38091 test "$tst_proto_gethostbyname" = "yes" &&
38092 test "$tst_compi_gethostbyname" = "yes" &&
38093 test "$tst_allow_gethostbyname" = "yes"; then
38094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
38116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38160 if test "$tst_links_gethostbyname_r" = "yes"; then
38161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
38163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38184 rm -rf conftest*
38188 if test "$tst_proto_gethostbyname_r" = "yes"; then
38189 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
38190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
38192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38227 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
38228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
38230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38263 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38265 if test "$tst_nargs_gethostbyname_r" = "unknown"; then
38266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
38268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
38305 if test "$tst_compi_gethostbyname_r" = "yes"; then
38306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38314 if test "$tst_compi_gethostbyname_r" = "yes"; then
38315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
38317 if test "x$curl_disallow_gethostbyname_r" != "xyes"; then
38318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
38330 if test "$tst_links_gethostbyname_r" = "yes" &&
38331 test "$tst_proto_gethostbyname_r" = "yes" &&
38332 test "$tst_compi_gethostbyname_r" = "yes" &&
38333 test "$tst_allow_gethostbyname_r" = "yes"; then
38334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38340 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
38344 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
38348 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
38356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
38380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38416 if test "$tst_links_gethostname" = "yes"; then
38417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
38419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38442 rm -rf conftest*
38446 if test "$tst_proto_gethostname" = "yes"; then
38447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
38449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38485 if test "$tst_compi_gethostname" = "yes"; then
38486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
38491 if test "$tst_gethostname_type_arg2" = "unknown"; then
38492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38519 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
38525 if test "$tst_gethostname_type_arg2" != "unknown"; then
38532 if test "$tst_compi_gethostname" = "yes"; then
38533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
38535 if test "x$curl_disallow_gethostname" != "xyes"; then
38536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
38548 if test "$tst_links_gethostname" = "yes" &&
38549 test "$tst_proto_gethostname" = "yes" &&
38550 test "$tst_compi_gethostname" = "yes" &&
38551 test "$tst_allow_gethostname" = "yes"; then
38552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername can be linked" >&5
38573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38609 if test "$tst_links_getpeername" = "yes"; then
38610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is prototyped" >&5
38612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38635 rm -rf conftest*
38639 if test "$tst_proto_getpeername" = "yes"; then
38640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is compilable" >&5
38642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38678 if test "$tst_compi_getpeername" = "yes"; then
38679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername usage allowed" >&5
38681 if test "x$curl_disallow_getpeername" != "xyes"; then
38682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername might be used" >&5
38694 if test "$tst_links_getpeername" = "yes" &&
38695 test "$tst_proto_getpeername" = "yes" &&
38696 test "$tst_compi_getpeername" = "yes" &&
38697 test "$tst_allow_getpeername" = "yes"; then
38698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname can be linked" >&5
38719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38755 if test "$tst_links_getsockname" = "yes"; then
38756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is prototyped" >&5
38758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38781 rm -rf conftest*
38785 if test "$tst_proto_getsockname" = "yes"; then
38786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is compilable" >&5
38788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38821 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38824 if test "$tst_compi_getsockname" = "yes"; then
38825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname usage allowed" >&5
38827 if test "x$curl_disallow_getsockname" != "xyes"; then
38828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname might be used" >&5
38840 if test "$tst_links_getsockname" = "yes" &&
38841 test "$tst_proto_getsockname" = "yes" &&
38842 test "$tst_compi_getsockname" = "yes" &&
38843 test "$tst_allow_getsockname" = "yes"; then
38844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38865 if test "x$ac_cv_header_net_if_h" = xyes
38879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex can be linked" >&5
38881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38917 if test "$tst_links_if_nametoindex" = "yes"; then
38918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is prototyped" >&5
38920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38942 rm -rf conftest*
38946 if test "$tst_proto_if_nametoindex" = "yes"; then
38947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is compilable" >&5
38949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38984 if test "$tst_compi_if_nametoindex" = "yes"; then
38985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex usage allowed" >&5
38987 if test "x$curl_disallow_if_nametoindex" != "xyes"; then
38988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex might be used" >&5
39000 if test "$tst_links_if_nametoindex" = "yes" &&
39001 test "$tst_proto_if_nametoindex" = "yes" &&
39002 test "$tst_compi_if_nametoindex" = "yes" &&
39003 test "$tst_allow_if_nametoindex" = "yes"; then
39004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39034 if test "x$ac_cv_header_sys_types_h" = xyes
39041 if test "x$ac_cv_header_sys_socket_h" = xyes
39048 if test "x$ac_cv_header_netinet_in_h" = xyes
39055 if test "x$ac_cv_header_ifaddrs_h" = xyes
39070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
39072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39116 if test "$tst_links_getifaddrs" = "yes"; then
39117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
39119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39140 rm -rf conftest*
39144 if test "$tst_proto_getifaddrs" = "yes"; then
39145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
39147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39181 if test "x$cross_compiling" != "xyes" &&
39182 test "$tst_compi_getifaddrs" = "yes"; then
39183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
39188 if test "$cross_compiling" = yes
39190 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39192 as_fn_error $? "cannot run test program while cross compiling
39195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39239 CC="sh ./run-compiler"
39242 if test "$cross_compiling" = yes
39244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39246 as_fn_error $? "cannot run test program while cross compiling
39249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39296 if test "$tst_compi_getifaddrs" = "yes" &&
39297 test "$tst_works_getifaddrs" != "no"; then
39298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
39300 if test "x$curl_disallow_getifaddrs" != "xyes"; then
39301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
39313 if test "$tst_links_getifaddrs" = "yes" &&
39314 test "$tst_proto_getifaddrs" = "yes" &&
39315 test "$tst_compi_getifaddrs" = "yes" &&
39316 test "$tst_allow_getifaddrs" = "yes" &&
39317 test "$tst_works_getifaddrs" != "no"; then
39318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39343 if test "x$ac_cv_header_sys_types_h" = xyes
39350 if test "x$ac_cv_header_sys_time_h" = xyes
39365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
39367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39411 if test "$tst_links_gmtime_r" = "yes"; then
39412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
39414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39435 rm -rf conftest*
39439 if test "$tst_proto_gmtime_r" = "yes"; then
39440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
39442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39476 if test "x$cross_compiling" != "xyes" &&
39477 test "$tst_compi_gmtime_r" = "yes"; then
39478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
39483 if test "$cross_compiling" = yes
39485 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39487 as_fn_error $? "cannot run test program while cross compiling
39490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39534 CC="sh ./run-compiler"
39537 if test "$cross_compiling" = yes
39539 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39541 as_fn_error $? "cannot run test program while cross compiling
39544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39591 if test "$tst_compi_gmtime_r" = "yes" &&
39592 test "$tst_works_gmtime_r" != "no"; then
39593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
39595 if test "x$curl_disallow_gmtime_r" != "xyes"; then
39596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
39608 if test "$tst_links_gmtime_r" = "yes" &&
39609 test "$tst_proto_gmtime_r" = "yes" &&
39610 test "$tst_compi_gmtime_r" = "yes" &&
39611 test "$tst_allow_gmtime_r" = "yes" &&
39612 test "$tst_works_gmtime_r" != "no"; then
39613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39647 if test "x$ac_cv_header_sys_types_h" = xyes
39654 if test "x$ac_cv_header_sys_socket_h" = xyes
39661 if test "x$ac_cv_header_netinet_in_h" = xyes
39668 if test "x$ac_cv_header_arpa_inet_h" = xyes
39683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
39685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39729 if test "$tst_links_inet_ntop" = "yes"; then
39730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
39732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39753 rm -rf conftest*
39757 if test "$tst_proto_inet_ntop" = "yes"; then
39758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
39760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39794 if test "x$cross_compiling" != "xyes" &&
39795 test "$tst_compi_inet_ntop" = "yes"; then
39796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
39801 if test "$cross_compiling" = yes
39803 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39805 as_fn_error $? "cannot run test program while cross compiling
39808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* - */
39832 /* - */
39842 /* - */
39856 /* - */
39866 /* - */
39876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39894 CC="sh ./run-compiler"
39897 if test "$cross_compiling" = yes
39899 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39901 as_fn_error $? "cannot run test program while cross compiling
39904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39921 /* - */
39928 /* - */
39938 /* - */
39952 /* - */
39962 /* - */
39972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39993 if test "$tst_compi_inet_ntop" = "yes" &&
39994 test "$tst_works_inet_ntop" != "no"; then
39995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
39997 if test "x$curl_disallow_inet_ntop" != "xyes"; then
39998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
40010 if test "$tst_links_inet_ntop" = "yes" &&
40011 test "$tst_proto_inet_ntop" = "yes" &&
40012 test "$tst_compi_inet_ntop" = "yes" &&
40013 test "$tst_allow_inet_ntop" = "yes" &&
40014 test "$tst_works_inet_ntop" != "no"; then
40015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
40037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40081 if test "$tst_links_inet_pton" = "yes"; then
40082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
40084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40105 rm -rf conftest*
40109 if test "$tst_proto_inet_pton" = "yes"; then
40110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
40112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40146 if test "x$cross_compiling" != "xyes" &&
40147 test "$tst_compi_inet_pton" = "yes"; then
40148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
40153 if test "$cross_compiling" = yes
40155 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40157 as_fn_error $? "cannot run test program while cross compiling
40160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40175 /* - */
40179 /* - */
40186 /* - */
40190 /* - */
40203 /* - */
40211 /* - */
40221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40239 CC="sh ./run-compiler"
40242 if test "$cross_compiling" = yes
40244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40246 as_fn_error $? "cannot run test program while cross compiling
40249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40264 /* - */
40268 /* - */
40275 /* - */
40279 /* - */
40292 /* - */
40300 /* - */
40310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40320 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40331 if test "$tst_compi_inet_pton" = "yes" &&
40332 test "$tst_works_inet_pton" != "no"; then
40333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
40335 if test "x$curl_disallow_inet_pton" != "xyes"; then
40336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
40348 if test "$tst_links_inet_pton" = "yes" &&
40349 test "$tst_proto_inet_pton" = "yes" &&
40350 test "$tst_compi_inet_pton" = "yes" &&
40351 test "$tst_allow_inet_pton" = "yes" &&
40352 test "$tst_works_inet_pton" != "no"; then
40353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40386 if test "x$ac_cv_header_sys_types_h" = xyes
40393 if test "x$ac_cv_header_unistd_h" = xyes
40400 if test "x$ac_cv_header_sys_socket_h" = xyes
40407 if test "x$ac_cv_header_sys_ioctl_h" = xyes
40414 if test "x$ac_cv_header_stropts_h" = xyes
40428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5
40430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40474 if test "$tst_links_ioctl" = "yes"; then
40475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5
40477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40498 rm -rf conftest*
40502 if test "$tst_proto_ioctl" = "yes"; then
40503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5
40505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40539 if test "$tst_compi_ioctl" = "yes"; then
40540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5
40542 if test "x$curl_disallow_ioctl" != "xyes"; then
40543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5
40555 if test "$tst_links_ioctl" = "yes" &&
40556 test "$tst_proto_ioctl" = "yes" &&
40557 test "$tst_compi_ioctl" = "yes" &&
40558 test "$tst_allow_ioctl" = "yes"; then
40559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40570 if test "$curl_cv_func_ioctl" = "yes"; then
40571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5
40573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40605 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40608 if test "$tst_compi_ioctl_fionbio" = "yes"; then
40609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5
40611 if test "x$curl_disallow_ioctl_fionbio" != "xyes"; then
40612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5
40624 if test "$tst_compi_ioctl_fionbio" = "yes" &&
40625 test "$tst_allow_ioctl_fionbio" = "yes"; then
40626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40643 if test "$curl_cv_func_ioctl" = "yes"; then
40644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5
40646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40682 if test "$tst_compi_ioctl_siocgifaddr" = "yes"; then
40683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5
40685 if test "x$curl_disallow_ioctl_siocgifaddr" != "xyes"; then
40686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5
40698 if test "$tst_compi_ioctl_siocgifaddr" = "yes" &&
40699 test "$tst_allow_ioctl_siocgifaddr" = "yes"; then
40700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
40727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40761 if test "$tst_links_ioctlsocket" = "yes"; then
40762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40785 rm -rf conftest*
40789 if test "$tst_proto_ioctlsocket" = "yes"; then
40790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
40792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40826 if test "$tst_compi_ioctlsocket" = "yes"; then
40827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
40829 if test "x$curl_disallow_ioctlsocket" != "xyes"; then
40830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
40842 if test "$tst_links_ioctlsocket" = "yes" &&
40843 test "$tst_proto_ioctlsocket" = "yes" &&
40844 test "$tst_compi_ioctlsocket" = "yes" &&
40845 test "$tst_allow_ioctlsocket" = "yes"; then
40846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40857 if test "$curl_cv_func_ioctlsocket" = "yes"; then
40858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
40860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40895 if test "$tst_compi_ioctlsocket_fionbio" = "yes"; then
40896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
40898 if test "x$curl_disallow_ioctlsocket_fionbio" != "xyes"; then
40899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
40911 if test "$tst_compi_ioctlsocket_fionbio" = "yes" &&
40912 test "$tst_allow_ioctlsocket_fionbio" = "yes"; then
40913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
40940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40973 if test "$tst_links_ioctlsocket_camel" = "yes"; then
40974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
40976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40997 rm -rf conftest*
41001 if test "$tst_proto_ioctlsocket_camel" = "yes"; then
41002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
41004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41038 if test "$tst_compi_ioctlsocket_camel" = "yes"; then
41039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
41041 if test "x$curl_disallow_ioctlsocket_camel" != "xyes"; then
41042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
41054 if test "$tst_links_ioctlsocket_camel" = "yes" &&
41055 test "$tst_proto_ioctlsocket_camel" = "yes" &&
41056 test "$tst_compi_ioctlsocket_camel" = "yes" &&
41057 test "$tst_allow_ioctlsocket_camel" = "yes"; then
41058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41069 if test "$curl_cv_func_ioctlsocket_camel" = "yes"; then
41070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
41072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41107 if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes"; then
41108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
41110 if test "x$curl_disallow_ioctlsocket_camel_fionbio" != "xyes"; then
41111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
41123 if test "$tst_compi_ioctlsocket_camel_fionbio" = "yes" &&
41124 test "$tst_allow_ioctlsocket_camel_fionbio" = "yes"; then
41125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
41153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41197 if test "$tst_links_memrchr" = "no"; then
41198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
41200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41235 if test "$tst_links_memrchr" = "yes"; then
41236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
41238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41259 rm -rf conftest*
41263 if test "$tst_proto_memrchr" = "yes" ||
41264 test "$tst_macro_memrchr" = "yes"; then
41265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41301 if test "$tst_compi_memrchr" = "yes"; then
41302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
41304 if test "x$curl_disallow_memrchr" != "xyes"; then
41305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
41317 if (test "$tst_proto_memrchr" = "yes" ||
41318 test "$tst_macro_memrchr" = "yes") &&
41319 test "$tst_compi_memrchr" = "yes" &&
41320 test "$tst_allow_memrchr" = "yes"; then
41321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41348 if test "x$ac_cv_header_sys_types_h" = xyes
41355 if test "x$ac_cv_header_poll_h" = xyes
41362 if test "x$ac_cv_header_sys_poll_h" = xyes
41384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
41386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41420 if test "$tst_links_poll" = "yes"; then
41421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
41423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41444 rm -rf conftest*
41448 if test "$tst_proto_poll" = "yes"; then
41449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
41451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41485 if test "x$cross_compiling" != "xyes" &&
41486 test "$tst_compi_poll" = "yes"; then
41487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
41492 if test "$cross_compiling" = yes
41494 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41496 as_fn_error $? "cannot run test program while cross compiling
41499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41523 us = (after.tv_sec - before.tv_sec) * 1000000 +
41524 (after.tv_usec - before.tv_usec);
41537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41555 CC="sh ./run-compiler"
41558 if test "$cross_compiling" = yes
41560 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41562 as_fn_error $? "cannot run test program while cross compiling
41565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41589 us = (after.tv_sec - before.tv_sec) * 1000000 +
41590 (after.tv_usec - before.tv_usec);
41603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41624 if test "$tst_compi_poll" = "yes" &&
41625 test "$tst_works_poll" != "no"; then
41626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
41628 if test "x$curl_disallow_poll" != "xyes"; then
41629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
41641 if test "$tst_links_poll" = "yes" &&
41642 test "$tst_proto_poll" = "yes" &&
41643 test "$tst_compi_poll" = "yes" &&
41644 test "$tst_allow_poll" = "yes" &&
41645 test "$tst_works_poll" != "no"; then
41646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41668 if test "x$ac_cv_header_sys_types_h" = xyes
41682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
41684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41728 if test "$tst_links_sigaction" = "yes"; then
41729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
41731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41752 rm -rf conftest*
41756 if test "$tst_proto_sigaction" = "yes"; then
41757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
41759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41793 if test "$tst_compi_sigaction" = "yes"; then
41794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
41796 if test "x$curl_disallow_sigaction" != "xyes"; then
41797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
41809 if test "$tst_links_sigaction" = "yes" &&
41810 test "$tst_proto_sigaction" = "yes" &&
41811 test "$tst_compi_sigaction" = "yes" &&
41812 test "$tst_allow_sigaction" = "yes"; then
41813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
41834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41878 if test "$tst_links_siginterrupt" = "yes"; then
41879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41902 rm -rf conftest*
41906 if test "$tst_proto_siginterrupt" = "yes"; then
41907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
41909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41943 if test "$tst_compi_siginterrupt" = "yes"; then
41944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
41946 if test "x$curl_disallow_siginterrupt" != "xyes"; then
41947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
41959 if test "$tst_links_siginterrupt" = "yes" &&
41960 test "$tst_proto_siginterrupt" = "yes" &&
41961 test "$tst_compi_siginterrupt" = "yes" &&
41962 test "$tst_allow_siginterrupt" = "yes"; then
41963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
41984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42028 if test "$tst_links_signal" = "yes"; then
42029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
42031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42052 rm -rf conftest*
42056 if test "$tst_proto_signal" = "yes"; then
42057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
42059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42093 if test "$tst_compi_signal" = "yes"; then
42094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
42096 if test "x$curl_disallow_signal" != "xyes"; then
42097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
42109 if test "$tst_links_signal" = "yes" &&
42110 test "$tst_proto_signal" = "yes" &&
42111 test "$tst_compi_signal" = "yes" &&
42112 test "$tst_allow_signal" = "yes"; then
42113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42135 if test "x$ac_cv_header_sys_types_h" = xyes
42150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
42152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42196 if test "$tst_links_sigsetjmp" = "no"; then
42197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
42199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42235 if test "$tst_links_sigsetjmp" = "yes"; then
42236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
42238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42259 rm -rf conftest*
42263 if test "$tst_proto_sigsetjmp" = "yes" ||
42264 test "$tst_macro_sigsetjmp" = "yes"; then
42265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
42267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42299 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42302 if test "$tst_compi_sigsetjmp" = "yes"; then
42303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
42305 if test "x$curl_disallow_sigsetjmp" != "xyes"; then
42306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
42318 if (test "$tst_proto_sigsetjmp" = "yes" ||
42319 test "$tst_macro_sigsetjmp" = "yes") &&
42320 test "$tst_compi_sigsetjmp" = "yes" &&
42321 test "$tst_allow_sigsetjmp" = "yes"; then
42322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
42343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42380 if test "$tst_links_socket" = "yes"; then
42381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
42383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42407 rm -rf conftest*
42411 if test "$tst_proto_socket" = "yes"; then
42412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
42414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42451 if test "$tst_compi_socket" = "yes"; then
42452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
42454 if test "x$curl_disallow_socket" != "xyes"; then
42455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
42467 if test "$tst_links_socket" = "yes" &&
42468 test "$tst_proto_socket" = "yes" &&
42469 test "$tst_compi_socket" = "yes" &&
42470 test "$tst_allow_socket" = "yes"; then
42471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
42492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42536 if test "$tst_links_socketpair" = "yes"; then
42537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
42539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42561 rm -rf conftest*
42565 if test "$tst_proto_socketpair" = "yes"; then
42566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
42568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42604 if test "$tst_compi_socketpair" = "yes"; then
42605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
42607 if test "x$curl_disallow_socketpair" != "xyes"; then
42608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
42620 if test "$tst_links_socketpair" = "yes" &&
42621 test "$tst_proto_socketpair" = "yes" &&
42622 test "$tst_compi_socketpair" = "yes" &&
42623 test "$tst_allow_socketpair" = "yes"; then
42624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42689 if test "$tst_links_strcasecmp" = "yes"; then
42690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
42692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42713 rm -rf conftest*
42717 if test "$tst_proto_strcasecmp" = "yes"; then
42718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
42720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42754 if test "$tst_compi_strcasecmp" = "yes"; then
42755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
42757 if test "x$curl_disallow_strcasecmp" != "xyes"; then
42758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
42770 if test "$tst_links_strcasecmp" = "yes" &&
42771 test "$tst_proto_strcasecmp" = "yes" &&
42772 test "$tst_compi_strcasecmp" = "yes" &&
42773 test "$tst_allow_strcasecmp" = "yes"; then
42774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42839 if test "$tst_links_strcmpi" = "yes"; then
42840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42863 rm -rf conftest*
42867 if test "$tst_proto_strcmpi" = "yes"; then
42868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42904 if test "$tst_compi_strcmpi" = "yes"; then
42905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
42907 if test "x$curl_disallow_strcmpi" != "xyes"; then
42908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
42920 if test "$tst_links_strcmpi" = "yes" &&
42921 test "$tst_proto_strcmpi" = "yes" &&
42922 test "$tst_compi_strcmpi" = "yes" &&
42923 test "$tst_allow_strcmpi" = "yes"; then
42924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
42945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42989 if test "$tst_links_strdup" = "yes"; then
42990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
42992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43013 rm -rf conftest*
43017 if test "$tst_proto_strdup" = "yes"; then
43018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
43020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43051 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43054 if test "$tst_compi_strdup" = "yes"; then
43055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
43057 if test "x$curl_disallow_strdup" != "xyes"; then
43058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
43070 if test "$tst_links_strdup" = "yes" &&
43071 test "$tst_proto_strdup" = "yes" &&
43072 test "$tst_compi_strdup" = "yes" &&
43073 test "$tst_allow_strdup" = "yes"; then
43074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
43101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43145 if test "$tst_links_strerror_r" = "yes"; then
43146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
43148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43169 rm -rf conftest*
43173 if test "$tst_proto_strerror_r" = "yes"; then
43174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
43176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43210 if test "$tst_compi_strerror_r" = "yes"; then
43211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
43215 if test "$tst_glibc_strerror_r_type_arg3" = "unknown"; then
43216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43257 if test "x$cross_compiling" != "xyes" &&
43258 test "$tst_glibc_strerror_r" = "yes"; then
43259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
43264 if test "$cross_compiling" = yes
43266 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43268 as_fn_error $? "cannot run test program while cross compiling
43271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43318 CC="sh ./run-compiler"
43321 if test "$cross_compiling" = yes
43323 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43325 as_fn_error $? "cannot run test program while cross compiling
43328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43378 if test "$tst_compi_strerror_r" = "yes" &&
43379 test "$tst_works_glibc_strerror_r" != "yes"; then
43380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
43384 if test "$tst_posix_strerror_r_type_arg3" = "unknown"; then
43385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43426 if test "x$cross_compiling" != "xyes" &&
43427 test "$tst_posix_strerror_r" = "yes"; then
43428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
43433 if test "$cross_compiling" = yes
43435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43437 as_fn_error $? "cannot run test program while cross compiling
43440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43487 CC="sh ./run-compiler"
43490 if test "$cross_compiling" = yes
43492 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43494 as_fn_error $? "cannot run test program while cross compiling
43497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43547 if test "$tst_works_glibc_strerror_r" = "yes"; then
43550 if test "$tst_works_posix_strerror_r" = "yes"; then
43553 if test "$tst_glibc_strerror_r" = "yes" &&
43554 test "$tst_works_glibc_strerror_r" != "no" &&
43555 test "$tst_posix_strerror_r" != "yes"; then
43558 if test "$tst_posix_strerror_r" = "yes" &&
43559 test "$tst_works_posix_strerror_r" != "no" &&
43560 test "$tst_glibc_strerror_r" != "yes"; then
43563 if test "$tst_allow_strerror_r" = "check"; then
43564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
43566 if test "x$curl_disallow_strerror_r" != "xyes"; then
43567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
43579 if test "$tst_links_strerror_r" = "yes" &&
43580 test "$tst_proto_strerror_r" = "yes" &&
43581 test "$tst_compi_strerror_r" = "yes" &&
43582 test "$tst_allow_strerror_r" = "yes"; then
43583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43585 if test "$tst_glibc_strerror_r" = "yes"; then
43593 if test "$tst_posix_strerror_r" = "yes"; then
43603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43608 if test "$tst_compi_strerror_r" = "yes" &&
43609 test "$tst_allow_strerror_r" = "unknown"; then
43610 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit l…
43622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
43624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43668 if test "$tst_links_stricmp" = "yes"; then
43669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
43671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43692 rm -rf conftest*
43696 if test "$tst_proto_stricmp" = "yes"; then
43697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
43699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43733 if test "$tst_compi_stricmp" = "yes"; then
43734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
43736 if test "x$curl_disallow_stricmp" != "xyes"; then
43737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
43749 if test "$tst_links_stricmp" = "yes" &&
43750 test "$tst_proto_stricmp" = "yes" &&
43751 test "$tst_compi_stricmp" = "yes" &&
43752 test "$tst_allow_stricmp" = "yes"; then
43753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
43774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43818 if test "$tst_links_strtok_r" = "yes"; then
43819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
43821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43842 rm -rf conftest*
43846 if test "$tst_proto_strtok_r" = "yes"; then
43847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
43849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43883 if test "$tst_compi_strtok_r" = "yes"; then
43884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
43886 if test "x$curl_disallow_strtok_r" != "xyes"; then
43887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
43899 if test "$tst_links_strtok_r" = "yes" &&
43900 test "$tst_proto_strtok_r" = "yes" &&
43901 test "$tst_compi_strtok_r" = "yes" &&
43902 test "$tst_allow_strtok_r" = "yes"; then
43903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
43924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43968 if test "$tst_links_strtoll" = "yes"; then
43969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
43971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43992 rm -rf conftest*
43996 if test "$tst_proto_strtoll" = "yes"; then
43997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
43999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
44033 if test "$tst_compi_strtoll" = "yes"; then
44034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
44036 if test "x$curl_disallow_strtoll" != "xyes"; then
44037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
44049 if test "$tst_links_strtoll" = "yes" &&
44050 test "$tst_proto_strtoll" = "yes" &&
44051 test "$tst_compi_strtoll" = "yes" &&
44052 test "$tst_allow_strtoll" = "yes"; then
44053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
44075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecla…
44077 if test ${ac_cv_c_undeclared_builtin_options+y}
44083 for ac_arg in '' -fno-builtin; do
44085 # This test program should *not* compile successfully.
44086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44100 # This test program should compile successfully.
44102 # freestanding implementations, so test against a dummy
44103 # declaration. Include always-available headers on the
44105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44124 if test x"$ac_arg" = x
44132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
44134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
44139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
44143 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44156 if test "x$ac_cv_have_decl_getpwuid_r" = xyes
44163 if test $ac_have_decl = 1
44178 if eval test \"x\$"$as_ac_var"\" = x"yes"
44189 if test "x$skipcheck" != "xyes"; then
44190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
44192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44215 …E_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
44221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
44225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44235 if test "x$ac_cv_have_decl_fseeko" = xyes
44246 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode"…
44247 printf %s "checking how to set a socket into non-blocking mode... " >&6; }
44248 if test "x$curl_cv_func_fcntl_o_nonblock" = "xyes"; then
44250 elif test "x$curl_cv_func_ioctl_fionbio" = "xyes"; then
44252 elif test "x$curl_cv_func_ioctlsocket_fionbio" = "xyes"; then
44254 elif test "x$curl_cv_func_ioctlsocket_camel_fionbio" = "xyes"; then
44256 elif test "x$curl_cv_func_setsockopt_so_nonblock" = "xyes"; then
44259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
44261 if test "$tst_method" = "unknown"; then
44262 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method…
44263 printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
44267 if test "x$BUILD_DOCS" != "x0" -o "x$USE_MANUAL" != "x0"; then
44270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44272 if test ${ac_cv_path_PERL+y}
44278 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
44294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44305 if test -n "$PERL"; then
44306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
44309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44316 if test -z "$PERL"; then
44321 if test x"$BUILD_DOCS" = x1; then
44331 if test "$USE_MANUAL" = "1"; then
44338 if test x"$USE_MANUAL" = x1; then
44349 if test "$want_ares" = "yes"; then
44354 if test -n "$want_ares_path"; then
44357 if test -n "$PKG_CONFIG"; then
44360 if test -n "$ac_tool_prefix"; then
44361 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44362 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44365 if test ${ac_cv_path_PKGCONFIG+y}
44371 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
44387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44398 if test -n "$PKGCONFIG"; then
44399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44408 if test -z "$ac_cv_path_PKGCONFIG"; then
44410 # Extract the first word of "pkg-config", so it can be a program name with args.
44411 set dummy pkg-config; ac_word=$2
44412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44414 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
44420 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
44436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44447 if test -n "$ac_pt_PKGCONFIG"; then
44448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44455 if test "x$ac_pt_PKGCONFIG" = x; then
44460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44472 if test "x$PKGCONFIG" != "xno"; then
44473 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44474 printf %s "checking for libcares options with pkg-config... " >&6; }
44476 if test -n "$ARES_PCDIR"; then
44480 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44482 if test -z "$itexists"; then
44484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44492 if test "$PKGCONFIG" != "no" ; then
44494 if test -n "$ARES_PCDIR"; then
44499 $PKGCONFIG --libs-only-l libcares`
44501 if test -n "$ARES_PCDIR"; then
44506 $PKGCONFIG --libs-only-L libcares`
44508 if test -n "$ARES_PCDIR"; then
44513 $PKGCONFIG --cflags-only-I libcares`
44514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
44515 printf "%s\n" "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
44516 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
44517 printf "%s\n" "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44518 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44519 printf "%s\n" "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44521 ares_CPPFLAGS="-I$want_ares_path/include"
44522 ares_LDFLAGS="-L$want_ares_path/lib"
44523 ares_LIBS="-lcares"
44527 if test -n "$PKG_CONFIG"; then
44530 if test -n "$ac_tool_prefix"; then
44531 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44532 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44535 if test ${ac_cv_path_PKGCONFIG+y}
44541 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
44557 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44568 if test -n "$PKGCONFIG"; then
44569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44578 if test -z "$ac_cv_path_PKGCONFIG"; then
44580 # Extract the first word of "pkg-config", so it can be a program name with args.
44581 set dummy pkg-config; ac_word=$2
44582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44584 if test ${ac_cv_path_ac_pt_PKGCONFIG+y}
44590 ac_cv_path_ac_pt_PKGCONFIG="$ac_pt_PKGCONFIG" # Let the user override the test with a path.
44606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44617 if test -n "$ac_pt_PKGCONFIG"; then
44618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44625 if test "x$ac_pt_PKGCONFIG" = x; then
44630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44642 if test "x$PKGCONFIG" != "xno"; then
44643 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44644 printf %s "checking for libcares options with pkg-config... " >&6; }
44646 if test -n ""; then
44650 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44652 if test -z "$itexists"; then
44654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44662 if test "$PKGCONFIG" != "no" ; then
44663 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
44664 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
44665 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
44666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
44667 printf "%s\n" "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
44668 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
44669 printf "%s\n" "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44670 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44671 printf "%s\n" "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44675 ares_LIBS="-lcares"
44684 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
44685 printf %s "checking that c-ares is good and recent enough... " >&6; }
44686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44691 /* set of dummy functions in case c-ares was built with debug */
44714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44721 as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
44729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44732 if test "$want_ares" = "yes"; then
44741 curl_res_msg="c-ares"
44746 if test "x$curl_cv_native_windows" != "xyes" &&
44747 test "x$enable_shared" = "xyes"; then
44752 if test x$build_libhostname = xyes; then
44761 if test "x$want_ares" != xyes; then
44763 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
44766 # Check whether --enable-threaded_resolver was given.
44767 if test ${enable_threaded_resolver+y}
44780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
44785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded re…
44787 # Check whether --enable-pthreads was given.
44788 if test ${enable_pthreads+y}
44791 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44795 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
44810 if test "$want_pthreads" != "no"; then
44811 if test "$want_pthreads" = "yes" && test "$dontwant_rt" = "yes"; then
44812 as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
44814 if test "$dontwant_rt" != "no"; then
44815 if test "$want_pthreads" = "yes"; then
44816 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is di…
44817 printf "%s\n" "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
44823 if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
44827 if test "$want_pthreads" != "no"; then
44829 if test "x$ac_cv_header_pthread_h" = xyes
44839 if test "x$ac_cv_func_pthread_create" = xyes
44847 *-hp-hpux*)
44854 if test "$USE_THREADS_POSIX" != "1"
44856 # assign PTHREAD for pkg-config use
44857 PTHREAD=" -pthread"
44860 *-ibm-aix*)
44861 COMPILER_VERSION=`"$CC" -qversion 2>/dev/null`
44862 if test x"$COMPILER_VERSION" = "x"; then
44863 CFLAGS="$CFLAGS -pthread"
44865 CFLAGS="$CFLAGS -qthreaded"
44868 powerpc-*amigaos*)
44869 PTHREAD=" -lpthread"
44872 CFLAGS="$CFLAGS -pthread"
44875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
44876 printf %s "checking for pthread_create in -lpthread... " >&6; }
44877 if test ${ac_cv_lib_pthread_pthread_create+y}
44882 LIBS="-lpthread $LIBS"
44883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
44910 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
44919 if test "x$USE_THREADS_POSIX" = "x1"
44931 if test "$want_thres" = "yes" && test "x$USE_THREADS_POSIX" != "x1"; then
44932 if test "$want_pthreads" = "yes"; then
44933 as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
44935 if test "$curl_cv_native_windows" = "yes"; then
44947 if test "x$ac_cv_header_dirent_h" = xyes
44953 if test "x$ac_cv_func_opendir" = xyes
44966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking convert -I options to -isystem" >&5
44967 printf %s "checking convert -I options to -isystem... " >&6; }
44968 if test "$compiler_id" = "GNU_C" ||
44969 test "$compiler_id" = "CLANG"; then
44970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44976 -I*)
44981 if test "$tmp_has_include" = "yes"; then
44982 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44983 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44991 -I*)
44996 if test "$tmp_has_include" = "yes"; then
44997 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44998 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
45003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
45010 # Check whether --enable-verbose was given.
45011 if test ${enable_verbose+y}
45015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45022 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows nati…
45035 # Check whether --enable-sspi was given.
45036 if test ${enable_sspi+y}
45040 if test "$curl_cv_native_windows" = "yes"; then
45041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45052 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on na…
45053 printf "%s\n" "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&…
45057 if test "x$SCHANNEL_ENABLED" = "x1"; then
45058 # --with-schannel implies --enable-sspi
45059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45068 if test "x$SCHANNEL_ENABLED" = "x1"; then
45069 # --with-schannel implies --enable-sspi
45070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable basic authentication metho…
45082 # Check whether --enable-basic-auth was given.
45083 if test ${enable_basic_auth+y}
45087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45094 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable bearer authentication meth…
45107 # Check whether --enable-bearer-auth was given.
45108 if test ${enable_bearer_auth+y}
45112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45119 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable digest authentication meth…
45132 # Check whether --enable-digest-auth was given.
45133 if test ${enable_digest_auth+y}
45137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45144 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable kerberos authentication me…
45157 # Check whether --enable-kerberos-auth was given.
45158 if test ${enable_kerberos_auth+y}
45162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45169 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable negotiate authentication m…
45182 # Check whether --enable-negotiate-auth was given.
45183 if test ${enable_negotiate_auth+y}
45187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45194 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable aws sig methods" >&5
45207 printf %s "checking whether to enable aws sig methods... " >&6; }
45208 # Check whether --enable-aws was given.
45209 if test ${enable_aws+y}
45213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45220 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support NTLM" >&5
45233 # Check whether --enable-ntlm was given.
45234 if test ${enable_ntlm+y}
45238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45245 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
45257 printf %s "checking whether to enable TLS-SRP authentication... " >&6; }
45258 # Check whether --enable-tls-srp was given.
45259 if test ${enable_tls_srp+y}
45263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45267 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45280 if test "$want_tls_srp" = "yes" && ( test "x$HAVE_GNUTLS_SRP" = "x1" || test "x$HAVE_OPENSSL_SRP" =…
45288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
45290 # Check whether --enable-unix-sockets was given.
45291 if test ${enable_unix_sockets+y}
45294 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45298 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
45312 if test "x$want_unix_sockets" != "xno"; then
45313 if test "x$curl_cv_native_windows" = "xyes"; then
45324 if test "x$ac_cv_member_struct_sockaddr_un_sun_path" = xyes
45336 if test "x$want_unix_sockets" = "xyes"; then
45337 as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
45345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support cookies" >&5
45347 # Check whether --enable-cookies was given.
45348 if test ${enable_cookies+y}
45352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45358 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support socketpair" >&5
45371 # Check whether --enable-socketpair was given.
45372 if test ${enable_socketpair+y}
45376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45382 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HTTP authentication" >&5
45395 # Check whether --enable-http-auth was given.
45396 if test ${enable_http_auth+y}
45400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45406 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DoH" >&5
45419 # Check whether --enable-doh was given.
45420 if test ${enable_doh+y}
45424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45430 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the MIME API" >&5
45443 # Check whether --enable-mime was given.
45444 if test ${enable_mime+y}
45448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45454 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support binding connections local…
45467 # Check whether --enable-bindlocal was given.
45468 if test ${enable_bindlocal+y}
45472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45478 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the form API" >&5
45491 # Check whether --enable-form-api was given.
45492 if test ${enable_form_api+y}
45495 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45501 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45503 test "$enable_mime" = no &&
45509 if test "$enable_mime" = no; then
45511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support date parsing" >&5
45526 # Check whether --enable-dateparse was given.
45527 if test ${enable_dateparse+y}
45531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45537 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support netrc parsing" >&5
45550 # Check whether --enable-netrc was given.
45551 if test ${enable_netrc+y}
45555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45561 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support progress-meter" >&5
45573 printf %s "checking whether to support progress-meter... " >&6; }
45574 # Check whether --enable-progress-meter was given.
45575 if test ${enable_progress_meter+y}
45579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45585 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DNS shuffling" >&5
45598 # Check whether --enable-dnsshuffle was given.
45599 if test ${enable_dnsshuffle+y}
45603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45609 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support curl_easy_option*" >&5
45622 # Check whether --enable-get-easy-options was given.
45623 if test ${enable_get_easy_options+y}
45627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45633 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
45645 printf %s "checking whether to support alt-svc... " >&6; }
45646 # Check whether --enable-alt-svc was given.
45647 if test ${enable_alt_svc+y}
45651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45659 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support headers-api" >&5
45671 printf %s "checking whether to support headers-api... " >&6; }
45672 # Check whether --enable-headers-api was given.
45673 if test ${enable_headers_api+y}
45676 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45678 curl_headers_msg="no (--enable-headers-api)"
45684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45695 if test -n "$SSL_ENABLED"; then
45696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HSTS" >&5
45698 # Check whether --enable-hsts was given.
45699 if test ${enable_hsts+y}
45703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45707 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hsts" >&5
45718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: disables HSTS due to lack of SSL" >&5
45723 if test "x$hsts" != "xyes"; then
45724 curl_hsts_msg="no (--enable-hsts)";
45731 if test "x$want_httpsrr" != "xno"; then
45732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: HTTPSRR support is available" >&5
45740 if test "x$want_ech" != "xno"; then
45741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ECH support is available" >&5
45747 if test "x$OPENSSL_ENABLED" = "x1"; then
45752 if test "x$ac_cv_func_SSL_ech_set1_echconfig" = xyes
45761 if test "x$OPENSSL_ENABLED" = "x1"; then
45766 if test "x$ac_cv_func_SSL_set1_ech_config_list" = xyes
45775 if test "x$WOLFSSL_ENABLED" = "x1"; then
45780 if test "x$ac_cv_func_wolfSSL_CTX_GenerateEchConfig" = xyes
45790 if test "x$ECH_ENABLED" = "x1"; then
45797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ECH_SUPPORT" >&5
45801 as_fn_error $? "--enable-ech ignored: No ECH support found" "$LINENO" 5
45805 if test "x$OPENSSL_ENABLED" = "x1"; then
45807 if test "x$ac_cv_func_SSL_set0_wbio" = xyes
45815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support WebSockets" >&5
45817 # Check whether --enable-websockets was given.
45818 if test ${enable_websockets+y}
45822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45826 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
45827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45834 if test "x$SSL_ENABLED" = "x1"; then
45839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45841 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Websockets disabled due to lack of >32 bit …
45847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45855 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols …
45859 if test "$want_symbol_hiding" = "yes" &&
45860 test "$supports_symbol_hiding" = "yes"; then
45866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45872 if test x$doing_symbol_hiding = xyes; then
45892 if test x$cross_compiling = xyes; then
45907 if test "x$enable_shared" = "xno"; then
45917 if test "x$OPENSSL_ENABLED" = "x1"; then
45919 elif test -n "$SSL_ENABLED"; then
45922 if test "x$IPV6_ENABLED" = "x1"; then
45925 if test "x$USE_UNIX_SOCKETS" = "x1"; then
45928 if test "x$HAVE_LIBZ" = "x1"; then
45931 if test "x$HAVE_BROTLI" = "x1"; then
45934 if test "x$HAVE_ZSTD" = "x1"; then
45937 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
45938 -o "x$USE_THREADS_WIN32" = "x1"; then
45941 if test "x$IDN_ENABLED" = "x1"; then
45944 if test "x$USE_WINDOWS_SSPI" = "x1"; then
45948 if test "x$HAVE_GSSAPI" = "x1"; then
45949 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
45952 if test "x$curl_psl_msg" = "xenabled"; then
45956 if test "x$curl_gsasl_msg" = "xenabled"; then
45960 if test "x$enable_altsvc" = "xyes"; then
45961 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
45963 if test "x$hsts" = "xyes"; then
45967 if test "x$CURL_DISABLE_NEGOTIATE_AUTH" != "x1" -a \
45968 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45972 if test "x$CURL_DISABLE_KERBEROS_AUTH" != "x1" -a \
45973 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45979 if test "x$CURL_DISABLE_NTLM" != "x1"; then
45980 if test "x$OPENSSL_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
45981 -o "x$GNUTLS_ENABLED" = "x1" \
45982 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
45983 -o "x$USE_WIN32_CRYPTO" = "x1" \
45984 -o "x$WOLFSSL_NTLM" = "x1"; then
45988 if test "x$use_curl_ntlm_core" = "xyes" \
45989 -o "x$USE_WINDOWS_SSPI" = "x1"; then
45994 if test "x$USE_TLS_SRP" = "x1"; then
45995 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
45998 if test "x$USE_NGHTTP2" = "x1"; then
46002 if test "x$USE_NGTCP2_H3" = "x1" -o "x$USE_QUICHE" = "x1" \
46003 -o "x$USE_OPENSSL_H3" = "x1" -o "x$USE_MSH3" = "x1"; then
46004 if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
46010 if test "x$CURL_WITH_MULTI_SSL" = "x1"; then
46014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if this build supports HTTPS-proxy" >&5
46015 printf %s "checking if this build supports HTTPS-proxy... " >&6; }
46016 if test "x$CURL_DISABLE_HTTP" != "x1"; then
46017 if test "x$https_proxy" != "xno"; then
46018 if test "x$OPENSSL_ENABLED" = "x1" \
46019 -o "x$GNUTLS_ENABLED" = "x1" \
46020 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
46021 -o "x$RUSTLS_ENABLED" = "x1" \
46022 -o "x$BEARSSL_ENABLED" = "x1" \
46023 -o "x$SCHANNEL_ENABLED" = "x1" \
46024 -o "x$GNUTLS_ENABLED" = "x1" \
46025 -o "x$MBEDTLS_ENABLED" = "x1"; then
46026 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
46027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46029 elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then
46030 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
46031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
46034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
46038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
46042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
46046 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
46047 if test ${ac_cv_sizeof_off_t} -gt 4 -o \
46053 if test "$tst_atomic" = "yes"; then
46055 elif test "x$USE_THREADS_POSIX" = "x1" -a \
46059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
46089 if test "x$CURL_DISABLE_HTTP" != "x1"; then
46091 if test "x$SSL_ENABLED" = "x1"; then
46095 if test "x$CURL_DISABLE_FTP" != "x1"; then
46097 if test "x$SSL_ENABLED" = "x1"; then
46101 if test "x$CURL_DISABLE_FILE" != "x1"; then
46104 if test "x$CURL_DISABLE_TELNET" != "x1"; then
46107 if test "x$CURL_DISABLE_LDAP" != "x1"; then
46109 if test "x$CURL_DISABLE_LDAPS" != "x1"; then
46110 if (test "x$USE_OPENLDAP" = "x1" && test "x$SSL_ENABLED" = "x1") ||
46111 (test "x$USE_OPENLDAP" != "x1" && test "x$HAVE_LDAP_SSL" = "x1"); then
46116 if test "x$CURL_DISABLE_DICT" != "x1"; then
46119 if test "x$CURL_DISABLE_TFTP" != "x1"; then
46122 if test "x$CURL_DISABLE_GOPHER" != "x1"; then
46124 if test "x$SSL_ENABLED" = "x1"; then
46128 if test "x$CURL_DISABLE_MQTT" != "x1"; then
46131 if test "x$CURL_DISABLE_POP3" != "x1"; then
46133 if test "x$SSL_ENABLED" = "x1"; then
46137 if test "x$CURL_DISABLE_IMAP" != "x1"; then
46139 if test "x$SSL_ENABLED" = "x1"; then
46143 if test "x$CURL_DISABLE_SMB" != "x1" \
46144 -a "x$use_curl_ntlm_core" = "xyes"; then
46146 if test "x$SSL_ENABLED" = "x1"; then
46150 if test "x$CURL_DISABLE_SMTP" != "x1"; then
46152 if test "x$SSL_ENABLED" = "x1"; then
46156 if test "x$USE_LIBSSH2" = "x1"; then
46160 if test "x$USE_LIBSSH" = "x1"; then
46164 if test "x$USE_WOLFSSH" = "x1"; then
46167 if test "x$CURL_DISABLE_RTSP" != "x1"; then
46170 if test "x$USE_LIBRTMP" = "x1"; then
46197 -l* | --library=*)
46205 if test $xc_bad_var_libs = yes; then
46206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
46208 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
46209 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
46216 -D*)
46219 -U*)
46222 -I*)
46225 -l* | --library=*)
46230 if test $xc_bad_var_ldflags = yes; then
46231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
46236 -D*)
46237 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
46240 -U*)
46241 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for…
46244 -I*)
46245 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
46248 -l* | --library=*)
46249 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46260 -rpath*)
46263 -L* | --library-path=*)
46266 -l* | --library=*)
46271 if test $xc_bad_var_cppflags = yes; then
46272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
46277 -rpath*)
46278 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
46281 -L* | --library-path=*)
46282 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for…
46285 -l* | --library=*)
46286 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46297 -D*)
46300 -U*)
46303 -I*)
46306 -rpath*)
46309 -L* | --library-path=*)
46312 -l* | --library=*)
46317 if test $xc_bad_var_cflags = yes; then
46318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
46323 -D*)
46324 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
46327 -U*)
46328 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for…
46331 -I*)
46332 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
46335 -rpath*)
46336 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
46339 -L* | --library-path=*)
46340 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for…
46343 -l* | --library=*)
46344 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
46351 if test $xc_bad_var_libs = yes ||
46352 test $xc_bad_var_cflags = yes ||
46353 test $xc_bad_var_ldflags = yes ||
46354 test $xc_bad_var_cppflags = yes; then
46355 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
46363 if test "x$want_curldebug_assumed" = "xyes" &&
46364 test "x$want_curldebug" = "xyes" && test "x$USE_ARES" = "x1"; then
46365 ac_configure_args="$ac_configure_args --enable-curldebug"
46368-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile l…
46373 # scripts and configure runs, see configure's option --config-cache.
46378 # the --recheck option to rerun configure.
46392 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46397 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
46411 # `set' does not quote correctly, so add quotes: double-quote
46413 sed -n \
46419 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46428 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
46433 if test -w "$cache_file"; then
46434 if test "x$cache_file" != "x/dev/null"; then
46435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
46437 if test ! -f "$cache_file" || test -h "$cache_file"; then
46442 mv -f confcache "$cache_file"$$ &&
46443 mv -f "$cache_file"$$ "$cache_file" ;; #(
46445 mv -f confcache "$cache_file" ;;
46450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
46454 rm -f confcache
46456 test "x$prefix" = xNONE && prefix=$ac_default_prefix
46458 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46460 DEFS=-DHAVE_CONFIG_H
46465 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
46483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configur…
46485 if test -n "$am_sleep_pid"; then
46489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
46491 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
46495 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46499 if test -n "$EXEEXT"; then
46507 if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FA…
46511 if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FA…
46515 if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FA…
46519 if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; t…
46523 if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
46527 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46531 if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
46535 if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
46539 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
46543 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46547 if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
46551 if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
46555 if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
46559 if test -z "${USE_GSASL_TRUE}" && test -z "${USE_GSASL_FALSE}"; then
46563 if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_…
46567 if test -z "${USE_ZSH_COMPLETION_TRUE}" && test -z "${USE_ZSH_COMPLETION_FALSE}"; then
46571 if test -z "${USE_FISH_COMPLETION_TRUE}" && test -z "${USE_FISH_COMPLETION_FALSE}"; then
46575 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
46579 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
46583 if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
46587 if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
46591 if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
46595 if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
46604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
46618 SHELL=\${CONFIG_SHELL-$SHELL}
46622 ## -------------------- ##
46624 ## -------------------- ##
46629 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
46633 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
46635 alias -g '${1+"$@"}'='"$@"'
46638 case `(set -o) 2>/dev/null` in #(
46640 set -o posix ;; #(
46654 # Quoting is to prevent editors from complaining about space-tab.
46664 # Ensure predictable behavior from utilities with locale-dependent output.
46671 # to be unset--not just set to an empty or harmless value--now, to
46672 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
46676 do eval test \${$as_var+y} \
46700 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
46708 if test "x$as_myself" = x; then
46711 if test ! -f "$as_myself"; then
46719 # ----------------------------------------
46725 as_status=$1; test $as_status -eq 0 && as_status=1
46726 if test "$4"; then
46727 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
46728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
46737 # -----------------------
46745 # -----------------
46746 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
46755 # ---------------
46764 # ----------------------
46769 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
46783 # ------------------
46787 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
46796 as_val=`expr "$@" || test $? -eq 1`
46802 test "X`expr 00001 : '.*\(...\)'`" = X001; then
46808 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
46814 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46820 as_me=`$as_basename -- "$0" ||
46851 case `echo -n x` in #(((((
46852 -n*)
46860 ECHO_N='-n';;
46863 # For backward compatibility with old third-party macros, we provide
46869 rm -f conf$$ conf$$.exe conf$$.file
46870 if test -d conf$$.dir; then
46871 rm -f conf$$.dir/conf$$.file
46873 rm -f conf$$.dir
46877 if ln -s conf$$.file conf$$ 2>/dev/null; then
46878 as_ln_s='ln -s'
46880 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
46881 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
46882 # In both cases, we have to default to `cp -pR'.
46883 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
46884 as_ln_s='cp -pR'
46888 as_ln_s='cp -pR'
46891 as_ln_s='cp -pR'
46893 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
46898 # -------------
46904 -*) as_dir=./$as_dir;;
46906 test -d "$as_dir" || eval $as_mkdir_p || {
46914 as_dir=`$as_dirname -- "$as_dir" ||
46937 test -d "$as_dir" && break
46939 test -z "$as_dirs" || eval "mkdir $as_dirs"
46940 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
46944 if mkdir -p . 2>/dev/null; then
46945 as_mkdir_p='mkdir -p "$as_dir"'
46947 test -d ./-p && rmdir ./-p
46953 # -----------------------
46954 # Test if FILE is an executable regular file.
46957 test -f "$1" && test -x "$1"
46959 as_test_x='test -x'
46970 ## ----------------------------------- ##
46972 ## ----------------------------------- ##
46974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
46981 This file was extended by curl $as_me -, which was
46990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
47020 -h, --help print this help, then exit
47021 -V, --version print version number and configuration settings, then exit
47022 --config print configuration, then exit
47023 -q, --quiet, --silent
47025 -d, --debug don't remove temporary files
47026 --recheck update $as_me by reconfiguring in the same conditions
47027 --file=FILE[:TEMPLATE]
47029 --header=FILE[:TEMPLATE]
47049 curl config.status -
47062 test -n "\$AWK" || AWK=awk
47068 while test $# != 0
47071 --*=?*)
47076 --*=)
47090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
47094 --config | --confi | --conf | --con | --co | --c )
47096 --debug | --debu | --deb | --de | --d | -d )
47098 --file | --fil | --fi | --f )
47106 --header | --heade | --head | --hea )
47113 --he | --h)
47114 # Conflict between --help and --header
47116 Try \`$0 --help' for more information.";;
47117 --help | --hel | -h )
47119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47120 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47124 -*) as_fn_error $? "unrecognized option: \`$1'
47125 Try \`$0 --help' for more information." ;;
47138 ac_configure_extra_args="$ac_configure_extra_args --silent"
47144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47166 # INIT-COMMANDS
47168 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
47171 # The HP-UX ksh and POSIX shell print the target directory to stdout
47470 # Double-quote double-evaled strings.
47504 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
47516 if test -n "\${ZSH_VERSION+set}"; then
47547 "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
47567 "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
47580 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
47581 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
47582 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
47596 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
47603 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
47604 test -d "$tmp"
47607 tmp=./conf$$-$RANDOM
47615 if test -n "$CONFIG_FILES"; then
47622 if test "x$ac_cr" = x; then
47626 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
47642 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
47648 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
47649 if test $ac_delim_n = $ac_delim_num; then
47657 rm -f conf$$subs.sh
47662 sed -n '
47705 rm -f conf$$subs.awk
47748 if test "x$srcdir" = x.; then
47768 fi # test -n "$CONFIG_FILES"
47773 if test -n "$CONFIG_HEADERS"; then
47779 # here-document in config.status, that substitutes the proper values into
47786 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
47787 if test -z "$ac_tt"; then
47801 sed -n '
47856 prefix = substr(line, 1, index(line, defundef) - 1)
47876 fi # test -n "$CONFIG_HEADERS"
47889 :[FH]-) ac_tag=-:-;;
47907 -) ac_f="$ac_tmp/stdin";;
47909 # (if the path is not absolute). The absolute path cannot be DOS-style,
47911 test -f "$ac_f" ||
47914 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
47928 if test x"$ac_file" != x-; then
47930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
47942 *:-:* | *:-) cat >"$ac_tmp/stdin" \
47948 ac_dir=`$as_dirname -- "$ac_file" ||
48038 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
48041 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
48042 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
48064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
48079 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
48082 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
48083 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
48084 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
48085 "$ac_tmp/out"`; test -z "$ac_out"; } &&
48086 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
48091 rm -f "$ac_tmp/stdin"
48093 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
48094 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
48102 if test x"$ac_file" != x-; then
48105 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
48109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
48112 rm -f "$ac_file"
48118 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
48119 || as_fn_error $? "could not create -" "$LINENO" 5
48132 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
48154 s/.*/./; q'`/stamp-h$_am_stamp_count
48157 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
48164 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
48165 # Older Autoconf quotes --file arguments for eval, but not when files
48166 # are listed without --file. Let's play safe and only enable the eval
48184 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
48186 # dependency-tracking related rules and includes.
48189 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
48191 am_dirpart=`$as_dirname -- "$am_mf" ||
48214 am_filepart=`$as_basename -- "$am_mf" ||
48233 && sed -e '/# am--include-marker/d' "$am_filepart" \
48234 | $MAKE -f - am--depfiles" >&5
48236 && sed -e '/# am--include-marker/d' "$am_filepart" \
48237 | $MAKE -f - am--depfiles) >&5 2>&5
48242 if test $am_rc -ne 0; then
48243 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48247 re-running the configure script with MAKE=\"gmake\" (or whatever is
48248 necessary). You can also try re-running configure with the
48249 '--disable-dependency-tracking' option to at least be able to build
48257 rm -f conftest-deps.mk
48264 if test -n "${ZSH_VERSION+set}"; then
48277 # Provide generalized library-building support services.
48361 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
48362 Xsed="\$SED -e 1s/^X//"
48373 # A BSD- or MS-compatible name lister.
48428 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
48436 # Commands used to install an old-style archive.
48498 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
48501 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
48532 # Is shlibpath searched before the hard-coded library search path?
48539 # The last name is the one that the linker finds with -lNAME
48564 # Compile-time system search path for libraries.
48567 # Detected run-time system search path for libraries.
48594 # Commands used to build an old-style archive.
48615 # Does compiler simultaneously support -c and -o options?
48618 # Whether or not to add -lc for building shared libraries.
48633 # Create an old-style archive from a shared archive.
48636 # Create a temporary old-style archive to link instead of a shared archive.
48661 # Whether we need a single "-rpath" flag with a separated argument.
48674 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48727 # -----------------------------------
48752 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
48753 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
48762 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
48769 \-*) ;;
48773 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
48787 if test set != "${COLLECT_NAMES+set}"; then
48801 # if finds mixed CR/LF and LF-only lines. Since sed operates in
48805 || (rm -f "$cfgfile"; exit 1)
48807 mv -f "$cfgfile" "$ofile" ||
48808 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
48823 # Commands used to build an old-style archive.
48844 # Does compiler simultaneously support -c and -o options?
48847 # Whether or not to add -lc for building shared libraries.
48862 # Create an old-style archive from a shared archive.
48865 # Create a temporary old-style archive to link instead of a shared archive.
48890 # Whether we need a single "-rpath" flag with a separated argument.
48903 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48960 test $ac_write_fail = 0 ||
48972 if test "$no_create" != yes; then
48975 test "$silent" = yes &&
48976 ac_config_status_args="$ac_config_status_args --quiet"
48984 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
48985 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…
48992 if test -z "$tmp_cpp"; then
49022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
49038 GSS-API: ${curl_gss_msg}
49040 TLS-SRP: ${curl_tls_srp_msg}
49047 Built-in manual: ${curl_manual_msg}
49048 --libcurl option: ${curl_libcurl_msg}
49060 Alt-svc: ${curl_altsvc_msg}
49087 GSS-API: ${curl_gss_msg}
49089 TLS-SRP: ${curl_tls_srp_msg}
49096 Built-in manual: ${curl_manual_msg}
49097 --libcurl option: ${curl_libcurl_msg}
49109 Alt-svc: ${curl_altsvc_msg}
49121 non13=`echo "$TLSCHOICE" | grep -Ei 'bearssl|secure-transport|mbedtls'`;
49122 if test -n "$non13"; then
49128 if test -n "$experimental"; then