• Home
  • Raw
  • Download

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

2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for curl -.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
17 # terms of the curl license; see COPYING for more details
19 ## -------------------------------- ##
21 ## -------------------------------- ##
66 # Try built-in echo, and fail.
77 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
93 (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
126 | sed -e 's:unknown:success:' 2>/dev/null`
160 | tr -d "0123456789$xc_tab" 2>/dev/null`
177 | wc -w 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null`
194 | wc -l 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null
210 # Auto-detect and set 'PATH_SEPARATOR', unless it is already non-empty set.
216 for xc_tst_dir in $PATH; do
226 for xc_tst_dir in $PATH; do
233 if test $xc_tst_dirs_sem -eq $xc_tst_dirs_col; then
235 # chose one over the other, and consider auto-detection not possible.
236 if test -z "$PATH_SEPARATOR"; then
243 # Separator with the greater directory count is the auto-detected one.
244 if test $xc_tst_dirs_sem -gt $xc_tst_dirs_col; then
249 if test -z "$PATH_SEPARATOR"; then
250 # Simply use the auto-detected one when not already set.
253 echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2
261 ## -------------------- ##
263 ## -------------------- ##
266 DUALCASE=1; export DUALCASE # for MKS sh
272 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
274 alias -g '${1+"$@"}'='"$@"'
277 case `(set -o) 2>/dev/null` in #(
279 set -o posix ;; #(
293 # Quoting is to prevent editors from complaining about space-tab.
303 # Ensure predictable behavior from utilities with locale-dependent output.
310 # to be unset--not just set to an empty or harmless value--now, to
311 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
314 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
326 # Find who we are. Look in the path if we contain no directory separator.
331 for as_dir in $PATH
339 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
350 if test ! -f "$as_myself"; then
357 # into an infinite loop, continuously re-executing ourselves.
359 _as_can_reexec=no; export _as_can_reexec;
361 # neutralization value for shells without unset; and this also
363 # Preserve -v and -x to the replacement shell.
367 case $- in # ((((
368 *v*x* | *x*v* ) as_opts=-vx ;;
369 *v* ) as_opts=-v ;;
370 *x* ) as_opts=-x ;;
376 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
387 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
389 alias -g '\${1+\"\$@\"}'='\"\$@\"'
392 case \`(set -o) 2>/dev/null\` in #(
394 set -o posix ;; #(
420 test -x / || exit 1"
427 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
433 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
438 as_have_required=no
446 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
457 for as_base in sh bash ksh sh5; do
460 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
461 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
464 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
478 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
479 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
490 # neutralization value for shells without unset; and this also
492 # Preserve -v and -x to the replacement shell.
496 case $- in # ((((
497 *v*x* | *x*v* ) as_opts=-vx ;;
498 *v* ) as_opts=-v ;;
499 *x* ) as_opts=-x ;;
505 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
517 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and a suitable curl
527 SHELL=${CONFIG_SHELL-/bin/sh}
533 ## --------------------- ##
535 ## --------------------- ##
537 # ---------------
547 # -----------------------
555 # -----------------
556 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
564 # ---------
573 # -------------
579 -*) as_dir=./$as_dir;;
581 test -d "$as_dir" || eval $as_mkdir_p || {
589 as_dir=`$as_dirname -- "$as_dir" ||
612 test -d "$as_dir" && break
614 test -z "$as_dirs" || eval "mkdir $as_dirs"
615 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
621 # -----------------------
625 test -f "$1" && test -x "$1"
628 # ----------------------
647 # ------------------
660 as_val=`expr "$@" || test $? -eq 1`
665 # ---------
674 # ----------------------------------------
680 as_status=$1; test $as_status -eq 0 && as_status=1
682 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
696 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
702 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
708 as_me=`$as_basename -- "$0" ||
739 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
740 sed -n '
745 s/[$]LINENO.*/&-/
753 s/-\n.*//
758 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
761 _as_can_reexec=no; export _as_can_reexec
772 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
773 # for compatibility with existing Makefiles.
775 case `echo -n x` in #(((((
776 -n*)
784 ECHO_N='-n';;
787 # For backward compatibility with old third-party macros, we provide
794 rm -f conf$$ conf$$.exe conf$$.file
795 if test -d conf$$.dir; then
796 rm -f conf$$.dir/conf$$.file
798 rm -f conf$$.dir
802 if ln -s conf$$.file conf$$ 2>/dev/null; then
803 as_ln_s='ln -s'
805 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
806 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
807 # In both cases, we have to default to `cp -pR'.
808 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
809 as_ln_s='cp -pR'
813 as_ln_s='cp -pR'
816 as_ln_s='cp -pR'
818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
821 if mkdir -p . 2>/dev/null; then
822 as_mkdir_p='mkdir -p "$as_dir"'
824 test -d ./-p && rmdir ./-p
828 as_test_x='test -x'
831 # Sed expression to map a string onto a valid CPP name.
837 SHELL=${CONFIG_SHELL-/bin/sh}
840 test -n "$DJDIR" || exec 7<&0 </dev/null
846 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
855 cross_compiling=no
863 PACKAGE_VERSION='-'
864 PACKAGE_STRING='curl -'
869 # Factoring default headers for most tests.
1099 CPP
1290 CPP
1345 for ac_option
1348 if test -n "$ac_prev"; then
1361 --)
1364 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1366 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1369 -build | --build | --buil | --bui | --bu)
1371 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1374 -cache-file | --cache-file | --cache-fil | --cache-fi \
1375 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1377 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1378 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1381 --config-cache | -C)
1382 cache_file=config.cache ;;
1384 -datadir | --datadir | --datadi | --datad)
1386 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1389 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1390 | --dataroo | --dataro | --datar)
1392 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1393 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1396 -disable-* | --disable-*)
1397 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1399 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1402 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1407 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1410 eval enable_$ac_useropt=no ;;
1412 -docdir | --docdir | --docdi | --doc | --do)
1414 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1417 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1419 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1422 -enable-* | --enable-*)
1423 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1425 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1428 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1433 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1438 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1439 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1440 | --exec | --exe | --ex)
1442 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1443 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1444 | --exec=* | --exe=* | --ex=*)
1447 -gas | --gas | --ga | --g)
1448 # Obsolete; use --with-gas.
1451 -help | --help | --hel | --he | -h)
1453 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1455 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1458 -host | --host | --hos | --ho)
1460 -host=* | --host=* | --hos=* | --ho=*)
1463 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1465 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1466 | --ht=*)
1469 -includedir | --includedir | --includedi | --included | --include \
1470 | --includ | --inclu | --incl | --inc)
1472 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1473 | --includ=* | --inclu=* | --incl=* | --inc=*)
1476 -infodir | --infodir | --infodi | --infod | --info | --inf)
1478 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1481 -libdir | --libdir | --libdi | --libd)
1483 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1486 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1487 | --libexe | --libex | --libe)
1489 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1490 | --libexe=* | --libex=* | --libe=*)
1493 -localedir | --localedir | --localedi | --localed | --locale)
1495 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1498 -localstatedir | --localstatedir | --localstatedi | --localstated \
1499 | --localstate | --localstat | --localsta | --localst | --locals)
1501 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1502 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1505 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1507 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1510 -nfp | --nfp | --nf)
1511 # Obsolete; use --without-fp.
1512 with_fp=no ;;
1514 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1515 | --no-cr | --no-c | -n)
1518 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1519 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1522 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1523 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1524 | --oldin | --oldi | --old | --ol | --o)
1526 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1527 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1528 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1531 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1533 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1536 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1537 | --program-pre | --program-pr | --program-p)
1539 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1540 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1543 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1544 | --program-suf | --program-su | --program-s)
1546 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1547 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1550 -program-transform-name | --program-transform-name \
1551 | --program-transform-nam | --program-transform-na \
1552 | --program-transform-n | --program-transform- \
1553 | --program-transform | --program-transfor \
1554 | --program-transfo | --program-transf \
1555 | --program-trans | --program-tran \
1556 | --progr-tra | --program-tr | --program-t)
1558 -program-transform-name=* | --program-transform-name=* \
1559 | --program-transform-nam=* | --program-transform-na=* \
1560 | --program-transform-n=* | --program-transform-=* \
1561 | --program-transform=* | --program-transfor=* \
1562 | --program-transfo=* | --program-transf=* \
1563 | --program-trans=* | --program-tran=* \
1564 | --progr-tra=* | --program-tr=* | --program-t=*)
1567 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1569 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1572 -psdir | --psdir | --psdi | --psd | --ps)
1574 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1578 | -silent | --silent | --silen | --sile | --sil)
1581 -runstatedir | --runstatedir | --runstatedi | --runstated \
1582 | --runstate | --runstat | --runsta | --runst | --runs \
1583 | --run | --ru | --r)
1585 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1586 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1587 | --run=* | --ru=* | --r=*)
1590 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1592 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1593 | --sbi=* | --sb=*)
1596 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1597 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1598 | --sharedst | --shareds | --shared | --share | --shar \
1599 | --sha | --sh)
1601 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1602 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1603 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1604 | --sha=* | --sh=*)
1607 -site | --site | --sit)
1609 -site=* | --site=* | --sit=*)
1612 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1614 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1617 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1618 | --syscon | --sysco | --sysc | --sys | --sy)
1620 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1621 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1624 -target | --target | --targe | --targ | --tar | --ta | --t)
1626 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1629 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1632 -version | --version | --versio | --versi | --vers | -V)
1635 -with-* | --with-*)
1636 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1638 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1641 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1646 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1651 -without-* | --without-*)
1652 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1654 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1657 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1662 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1665 eval with_$ac_useropt=no ;;
1667 --x)
1668 # Obsolete; use --with-x.
1671 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1672 | --x-incl | --x-inc | --x-in | --x-i)
1674 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1675 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1678 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1679 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1681 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1682 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1685 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1686 Try \`$0 --help' for more information"
1693 '' | [0-9]* | *[!_$as_cr_alnum]* )
1701 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1702 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1710 if test -n "$ac_prev"; then
1711 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1715 if test -n "$ac_unrecognized_opts"; then
1717 no) ;;
1723 # Check all directory arguments for consistency.
1724 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1741 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1745 # used to hold the argument of --host etc.
1761 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1766 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1767 ac_ls_di=`ls -di .` &&
1768 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1775 if test -z "$srcdir"; then
1778 ac_confdir=`$as_dirname -- "$as_myself" ||
1802 if test ! -r "$srcdir/$ac_unique_file"; then
1806 ac_srcdir_defaulted=no
1808 if test ! -r "$srcdir/$ac_unique_file"; then
1814 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1822 # mess up M-x gdb in Emacs.
1826 for ac_var in $ac_precious_vars; do
1834 # Report the --help message.
1840 \`configure' configures curl - to adapt to many kinds of systems.
1845 VAR=VALUE. See below for descriptions of some of the useful variables.
1847 Defaults for the options are specified in brackets.
1850 -h, --help display this help and exit
1851 --help=short display options specific to this package
1852 --help=recursive display the short help of all the included packages
1853 -V, --version display version information and exit
1854 -q, --quiet, --silent do not print \`checking ...' messages
1855 --cache-file=FILE cache test results in FILE [disabled]
1856 -C, --config-cache alias for \`--cache-file=config.cache'
1857 -n, --no-create do not create output files
1858 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1861 --prefix=PREFIX install architecture-independent files in PREFIX
1863 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1868 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1869 for instance \`--prefix=\$HOME'.
1871 For better control, use the options below.
1874 --bindir=DIR user executables [EPREFIX/bin]
1875 --sbindir=DIR system admin executables [EPREFIX/sbin]
1876 --libexecdir=DIR program executables [EPREFIX/libexec]
1877 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1878 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1879 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1880 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1881 --libdir=DIR object code libraries [EPREFIX/lib]
1882 --includedir=DIR C header files [PREFIX/include]
1883 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1884 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1885 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1886 --infodir=DIR info documentation [DATAROOTDIR/info]
1887 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1888 --mandir=DIR man documentation [DATAROOTDIR/man]
1889 --docdir=DIR documentation root [DATAROOTDIR/doc/curl]
1890 --htmldir=DIR html documentation [DOCDIR]
1891 --dvidir=DIR dvi documentation [DOCDIR]
1892 --pdfdir=DIR pdf documentation [DOCDIR]
1893 --psdir=DIR ps documentation [DOCDIR]
1899 --program-prefix=PREFIX prepend PREFIX to installed program names
1900 --program-suffix=SUFFIX append SUFFIX to installed program names
1901 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1904 --build=BUILD configure for building on BUILD [guessed]
1905 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1909 if test -n "$ac_init_help"; then
1911 short | recursive ) echo "Configuration of curl -:";;
1916 --disable-option-checking ignore unrecognized --enable/--with options
1917 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1918 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1919 --enable-maintainer-mode
1922 --enable-silent-rules less verbose build output (undo: "make V=1")
1923 --disable-silent-rules verbose build output (undo: "make V=0")
1924 --enable-debug Enable debug build options
1925 --disable-debug Disable debug build options
1926 --enable-optimize Enable compiler optimizations
1927 --disable-optimize Disable compiler optimizations
1928 --enable-warnings Enable strict compiler warnings
1929 --disable-warnings Disable strict compiler warnings
1930 --enable-werror Enable compiler warnings as errors
1931 --disable-werror Disable compiler warnings as errors
1932 --enable-curldebug Enable curl debug memory tracking
1933 --disable-curldebug Disable curl debug memory tracking
1934 --enable-symbol-hiding Enable hiding of library internal symbols
1935 --disable-symbol-hiding Disable hiding of library internal symbols
1936 --enable-ares[=PATH] Enable c-ares for DNS lookups
1937 --disable-ares Disable c-ares for DNS lookups
1938 --disable-rt disable dependency on -lrt
1939 --enable-ech Enable ECH support
1940 --disable-ech Disable ECH support
1941 --enable-code-coverage Provide code coverage
1942 --enable-dependency-tracking
1944 --disable-dependency-tracking
1945 speeds up one-time build
1946 --disable-largefile omit support for large files
1947 --enable-shared[=PKGS] build shared libraries [default=yes]
1948 --enable-static[=PKGS] build static libraries [default=yes]
1949 --enable-fast-install[=PKGS]
1950 optimize for fast installation [default=yes]
1951 --disable-libtool-lock avoid locking (might break parallel builds)
1952 --enable-http Enable HTTP support
1953 --disable-http Disable HTTP support
1954 --enable-ftp Enable FTP support
1955 --disable-ftp Disable FTP support
1956 --enable-file Enable FILE support
1957 --disable-file Disable FILE support
1958 --enable-ldap Enable LDAP support
1959 --disable-ldap Disable LDAP support
1960 --enable-ldaps Enable LDAPS support
1961 --disable-ldaps Disable LDAPS support
1962 --enable-rtsp Enable RTSP support
1963 --disable-rtsp Disable RTSP support
1964 --enable-proxy Enable proxy support
1965 --disable-proxy Disable proxy support
1966 --enable-dict Enable DICT support
1967 --disable-dict Disable DICT support
1968 --enable-telnet Enable TELNET support
1969 --disable-telnet Disable TELNET support
1970 --enable-tftp Enable TFTP support
1971 --disable-tftp Disable TFTP support
1972 --enable-pop3 Enable POP3 support
1973 --disable-pop3 Disable POP3 support
1974 --enable-imap Enable IMAP support
1975 --disable-imap Disable IMAP support
1976 --enable-smb Enable SMB/CIFS support
1977 --disable-smb Disable SMB/CIFS support
1978 --enable-smtp Enable SMTP support
1979 --disable-smtp Disable SMTP support
1980 --enable-gopher Enable Gopher support
1981 --disable-gopher Disable Gopher support
1982 --enable-mqtt Enable MQTT support
1983 --disable-mqtt Disable MQTT support
1984 --enable-manual Enable built-in manual
1985 --disable-manual Disable built-in manual
1986 --enable-libcurl-option Enable --libcurl C code generation support
1987 --disable-libcurl-option
1988 Disable --libcurl C code generation support
1989 --enable-libgcc use libgcc when linking
1990 --enable-ipv6 Enable IPv6 (with IPv4) support
1991 --disable-ipv6 Disable IPv6 support
1992 --enable-openssl-auto-load-config
1994 --disable-openssl-auto-load-config
1996 --enable-versioned-symbols
1998 --disable-versioned-symbols
2000 --enable-threaded-resolver
2002 --disable-threaded-resolver
2004 --enable-pthreads Enable POSIX threads (default for threaded resolver)
2005 --disable-pthreads Disable POSIX threads
2006 --enable-verbose Enable verbose strings
2007 --disable-verbose Disable verbose strings
2008 --enable-sspi Enable SSPI
2009 --disable-sspi Disable SSPI
2010 --enable-crypto-auth Enable cryptographic authentication
2011 --disable-crypto-auth Disable cryptographic authentication
2012 --enable-ntlm Enable NTLM support
2013 --disable-ntlm Disable NTLM support
2014 --enable-ntlm-wb[=FILE] Enable NTLM delegation to winbind's ntlm_auth
2017 --disable-ntlm-wb Disable NTLM delegation to winbind's ntlm_auth
2019 --enable-tls-srp Enable TLS-SRP authentication
2020 --disable-tls-srp Disable TLS-SRP authentication
2021 --enable-unix-sockets Enable Unix domain sockets
2022 --disable-unix-sockets Disable Unix domain sockets
2023 --enable-cookies Enable cookies support
2024 --disable-cookies Disable cookies support
2025 --enable-socketpair Enable socketpair support
2026 --disable-socketpair Disable socketpair support
2027 --enable-http-auth Enable HTTP authentication support
2028 --disable-http-auth Disable HTTP authentication support
2029 --enable-doh Enable DoH support
2030 --disable-doh Disable DoH support
2031 --enable-mime Enable mime API support
2032 --disable-mime Disable mime API support
2033 --enable-dateparse Enable date parsing
2034 --disable-dateparse Disable date parsing
2035 --enable-netrc Enable netrc parsing
2036 --disable-netrc Disable netrc parsing
2037 --enable-progress-meter Enable progress-meter
2038 --disable-progress-meter
2039 Disable progress-meter
2040 --enable-dnsshuffle Enable DNS shuffling
2041 --disable-dnsshuffle Disable DNS shuffling
2042 --enable-get-easy-options
2044 --disable-get-easy-options
2046 --enable-alt-svc Enable alt-svc support
2047 --disable-alt-svc Disable alt-svc support
2048 --enable-headers-api Enable headers-api support
2049 --disable-headers-api Disable headers-api support
2050 --enable-hsts Enable HSTS support
2051 --disable-hsts Disable HSTS support
2052 --enable-websockets Enable WebSockets support
2053 --disable-websockets Disable WebSockets support
2056 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2057 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2058 --with-schannel enable Windows native SSL/TLS
2059 --with-secure-transport enable Apple OS native SSL/TLS
2060 --with-amissl enable Amiga native SSL/TLS (AmiSSL)
2061 --with-ssl=PATH old version of --with-openssl
2062 --without-ssl build without any TLS library
2063 --with-openssl=PATH Where to look for OpenSSL, PATH points to the SSL
2067 --with-gnutls=PATH where to look for GnuTLS, PATH points to the
2069 --with-mbedtls=PATH where to look for mbedTLS, PATH points to the
2071 --with-wolfssl=PATH where to look for WolfSSL, PATH points to the
2073 --with-bearssl=PATH where to look for BearSSL, PATH points to the
2075 --with-rustls=PATH where to look for rustls, PATH points to the
2077 --with-nss-deprecated confirm you realize NSS is going away
2078 --with-nss=PATH where to look for NSS, PATH points to the
2080 --with-test-nghttpx=PATH
2081 where to find nghttpx for testing
2082 --with-test-caddy=PATH where to find caddy for testing
2083 --with-test-httpd=PATH where to find httpd/apache2 for testing
2085 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2087 --with-aix-soname=aix|svr4|both
2090 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2091 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2093 --with-mingw1-deprecated
2094 confirm you realize support for mingw v1 is dying
2095 --with-hyper=PATH Enable hyper usage
2096 --without-hyper Disable hyper usage
2097 --with-zlib=PATH search for zlib in PATH
2098 --without-zlib disable use of zlib
2099 --with-brotli=PATH Where to look for brotli, PATH points to the BROTLI
2102 --without-brotli disable BROTLI
2103 --with-zstd=PATH Where to look for libzstd, PATH points to the
2107 --without-zstd disable libzstd
2108 --with-ldap-lib=libname Specify name of ldap lib file
2109 --with-lber-lib=libname Specify name of lber lib file
2110 --with-gssapi-includes=DIR
2111 Specify location of GSS-API headers
2112 --with-gssapi-libs=DIR Specify location of GSS-API libs
2113 --with-gssapi=DIR Where to look for GSS-API
2114 --with-default-ssl-backend=NAME
2116 --without-default-ssl-backend
2118 --with-egd-socket=FILE Entropy Gathering Daemon socket pathname
2119 --with-random=FILE read randomness from FILE (default=/dev/urandom)
2120 --with-ca-bundle=FILE Path to a file containing CA certificates (example:
2121 /etc/ca-bundle.crt)
2122 --without-ca-bundle Don't use a default CA bundle
2123 --with-ca-path=DIRECTORY
2128 c_rehash for details. (example: /etc/certificates)
2129 --without-ca-path Don't use a default CA path
2130 --with-ca-fallback Use the built in CA store of the SSL library
2131 --without-ca-fallback Don't use the built in CA store of the SSL library
2132 --without-libpsl disable support for libpsl cookie checking
2133 --without-libgsasl disable libgsasl support for SCRAM
2134 --with-libssh2=PATH Where to look for libssh2, PATH points to the
2138 --with-libssh2 enable libssh2
2139 --with-libssh=PATH Where to look for libssh, PATH points to the libssh
2142 --with-libssh enable libssh
2143 --with-wolfssh=PATH Where to look for wolfssh, PATH points to the
2147 --with-wolfssh enable wolfssh
2148 --with-librtmp=PATH Where to look for librtmp, PATH points to the
2152 --without-librtmp disable LIBRTMP
2153 --with-winidn=PATH enable Windows native IDN
2154 --without-winidn disable Windows native IDN
2155 --with-libidn2=PATH Enable libidn2 usage
2156 --without-libidn2 Disable libidn2 usage
2157 --with-nghttp2=PATH Enable nghttp2 usage
2158 --without-nghttp2 Disable nghttp2 usage
2159 --with-ngtcp2=PATH Enable ngtcp2 usage
2160 --without-ngtcp2 Disable ngtcp2 usage
2161 --with-nghttp3=PATH Enable nghttp3 usage
2162 --without-nghttp3 Disable nghttp3 usage
2163 --with-quiche=PATH Enable quiche usage
2164 --without-quiche Disable quiche usage
2165 --with-msh3=PATH Enable msh3 usage
2166 --without-msh3 Disable msh3 usage
2167 --with-zsh-functions-dir=PATH
2169 --without-zsh-functions-dir
2171 --with-fish-functions-dir=PATH
2173 --without-fish-functions-dir
2179 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2181 LIBS libraries to pass to the linker, e.g. -l<library>
2182 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2184 CPP C preprocessor
2186 User-defined run-time library search path.
2197 # If there are subdirs, report their specific --help.
2198 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2199 test -d "$ac_dir" ||
2200 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2208 # A ".." for each directory in $ac_dir_suffix.
2217 # for backward compatibility:
2237 # Check for configure.gnu first; this name is used for a wrapper for
2238 # Metaconfig's "Configure" on case-insensitive file systems.
2239 if test -f "$ac_srcdir/configure.gnu"; then
2241 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2242 elif test -f "$ac_srcdir/configure"; then
2244 $SHELL "$ac_srcdir/configure" --help=recursive
2246 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2252 test -n "$ac_init_help" && exit $ac_status
2255 curl configure -
2264 terms of the curl license; see COPYING for more details
2269 ## ------------------------ ##
2271 ## ------------------------ ##
2274 # --------------------------
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 rm -f conftest.$ac_objext conftest.beam
2285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2289 if test -s conftest.err; then
2290 grep -v '^ *+' conftest.err >conftest.er1
2292 mv -f conftest.er1 conftest.err
2294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2296 test -z "$ac_c_werror_flag" ||
2297 test ! -s conftest.err
2298 } && test -s conftest.$ac_objext
2313 # ----------------------
2317 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2327 if test -s conftest.err; then
2328 grep -v '^ *+' conftest.err >conftest.er1
2330 mv -f conftest.er1 conftest.err
2332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2334 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2335 test ! -s conftest.err
2351 # -------------------------------------------------------
2356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2358 printf %s "checking for $2... " >&6; }
2363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 eval "$3=no"
2374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2384 # -----------------------
2388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2389 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 if test -s conftest.err; then
2400 grep -v '^ *+' conftest.err >conftest.er1
2402 mv -f conftest.er1 conftest.err
2404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2406 test -z "$ac_c_werror_flag" ||
2407 test ! -s conftest.err
2408 } && test -s conftest$ac_exeext && {
2410 test -x conftest$ac_exeext
2424 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2431 # ----------------------------------
2435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2437 printf %s "checking for $2... " >&6; }
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2471 eval "$3=no"
2473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 # ----------------------
2489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2527 # -------------------------------------------------------
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534 printf %s "checking for $2... " >&6; }
2539 eval "$3=no"
2540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2581 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
2582 # ------------------------------------------------------------------
2584 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
2587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2595 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2619 eval "$3=no"
2621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2633 # ----------------------------------------------------
2638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2640 printf %s "checking for $2.$3... " >&6; }
2645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2677 eval "$4=no"
2679 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2690 for ac_arg
2709 cat >config.log <<_ACEOF
2713 It was created by curl $as_me -, which was
2719 exec 5>>config.log
2722 ## --------- ##
2724 ## --------- ##
2726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2733 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2736 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2746 for as_dir in $PATH
2763 ## ----------- ##
2765 ## ----------- ##
2771 # Strip out --no-create and --no-recursion so they do not pile up.
2772 # Strip out --silent because we don't want to record it for future runs.
2773 # Also quote any args containing shell meta-characters.
2774 # Make two passes to allow for proper duplicate-argument suppression.
2779 for ac_pass in 1 2
2781 for ac_arg
2784 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2785 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2786 | -silent | --silent | --silen | --sile | --sil)
2799 *=* | --config-cache | -C | -disable-* | --disable-* \
2800 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2801 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2802 | -with-* | --with-* | -without-* | --without-* | --x)
2807 -* ) ac_must_keep_next=true ;;
2819 # config.log. We remove comments because anyway the quotes in there
2826 # Save into config.log some information that might help in debugging.
2830 printf "%s\n" "## ---------------- ##
2832 ## ---------------- ##"
2836 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2841 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
2854 sed -n \
2859 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2866 printf "%s\n" "## ----------------- ##
2868 ## ----------------- ##"
2870 for ac_var in $ac_subst_vars
2880 if test -n "$ac_subst_files"; then
2881 printf "%s\n" "## ------------------- ##
2883 ## ------------------- ##"
2885 for ac_var in $ac_subst_files
2896 if test -s confdefs.h; then
2897 printf "%s\n" "## ----------- ##
2899 ## ----------- ##"
2908 rm -f core *.core core.conftest.* &&
2909 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2912 for ac_signal in 1 2 13 15; do
2918 rm -f -r conftest* confdefs.h
2939 if test -n "$CONFIG_SITE"; then
2942 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2944 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2947 for ac_site_file in $ac_site_files
2955 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2960 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 See \`config.log' for more details" "$LINENO" 5; }
2967 if test -r "$cache_file"; then
2970 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2984 # Test code for whether the C compiler supports C89 (global declarations)
3015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3018 as an "x". The following induces an error, until -std is added to get
3019 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3021 that is true only with -std. */
3022 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3027 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3035 # Test code for whether the C compiler supports C89 (body of main).
3040 # Test code for whether the C compiler supports C99 (global declarations)
3081 static long long int bignum = -9223372036854775807LL;
3101 // See if C++-style comments work.
3103 // Also check for declarations in for loops.
3104 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3146 # Test code for whether the C compiler supports C99 (body of main).
3164 ia->datasize = 10;
3165 for (int i = 0; i < ia->datasize; ++i)
3166 ia->data[i] = i * 1.234;
3179 dynamic_array[ni.number - 1] = 543;
3183 || dynamic_array[ni.number - 1] != 543);
3186 # Test code for whether the C compiler supports C11 (global declarations)
3206 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3209 int _Noreturn does_not_return (void) { for (;;) continue; }
3220 // Check UTF-8 literals.
3229 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3240 # Test code for whether the C compiler supports C11 (body of main).
3250 # Test code for whether the C compiler supports C11 (complete).
3266 # Test code for whether the C compiler supports C99 (complete).
3280 # Test code for whether the C compiler supports C89 (complete).
3303 ac_aux_files="ltmain.sh config.guess config.sub missing compile install-sh"
3305 # Locations in which to look for auxiliary files.
3308 # Search for a directory containing all of the required auxiliary files,
3309 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3318 for as_dir in $ac_aux_dir_candidates
3328 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3331 for ac_aux in $ac_aux_files
3333 # As a special case, if "install-sh" is required, that requirement
3334 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3335 # and $ac_install_sh is set appropriately for whichever one is found.
3336 if test x"$ac_aux" = x"install-sh"
3338 if test -f "${as_dir}install-sh"; then
3339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3340 ac_install_sh="${as_dir}install-sh -c"
3341 elif test -f "${as_dir}install.sh"; then
3342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3343 ac_install_sh="${as_dir}install.sh -c"
3344 elif test -f "${as_dir}shtool"; then
3345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3346 ac_install_sh="${as_dir}shtool install -c"
3348 ac_aux_dir_found=no
3350 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3356 if test -f "${as_dir}${ac_aux}"; then
3357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3359 ac_aux_dir_found=no
3389 if test -f "${ac_aux_dir}config.guess"; then
3390 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
3392 if test -f "${ac_aux_dir}config.sub"; then
3393 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
3395 if test -f "$ac_aux_dir/configure"; then
3402 for ac_var in $ac_precious_vars; do
3409 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the p…
3413 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >…
3423 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run…
3427 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' s…
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3437 # Pass precious variables to config.status.
3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the…
3454 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
3457 ## -------------------- ##
3459 ## -------------------- ##
3462 ac_cpp='$CPP $CPPFLAGS'
3463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 # using curl-override.m4
3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portio…
3484 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3485 # Check whether --enable-maintainer-mode was given.
3490 USE_MAINTAINER_MODE=no
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3506 # Check whether --enable-silent-rules was given.
3514 no) AM_DEFAULT_VERBOSITY=1;;
3517 am_make=${MAKE-make}
3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" …
3530 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3533 am_cv_make_support_nested_variables=no
3536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3549 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
3552 # Check whether --enable-debug was given.
3559 no)
3560 want_debug="no"
3563 want_debug="no"
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
3576 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
3579 # Check whether --enable-optimize was given.
3586 no)
3587 want_optimize="no"
3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 printf "%s\n" "no" >&6; }
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
3595 printf "%s\n" "(assumed) no" >&6; }
3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3610 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings"…
3613 # Check whether --enable-warnings was given.
3620 no)
3621 want_warnings="no"
3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
3634 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as erro…
3637 # Check whether --enable-werror was given.
3644 no)
3645 want_werror="no"
3648 want_werror="no"
3654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
3658 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory trackin…
3661 # Check whether --enable-curldebug was given.
3668 no)
3669 want_curldebug="no"
3670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 printf "%s\n" "no" >&6; }
3675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 printf "%s\n" "no" >&6; }
3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library interna…
3701 # Check whether --enable-symbol-hiding was given.
3708 no)
3709 want_symbol_hiding="no"
3710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 printf "%s\n" "no" >&6; }
3715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3726 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >…
3727 printf %s "checking whether to enable c-ares for DNS lookups... " >&6; }
3729 # Check whether --enable-ares was given.
3736 no)
3737 want_ares="no"
3740 want_ares="no"
3744 if test -n "$enableval" && test "$enableval" != "yes"; then
3749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
3753 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
3754 printf %s "checking whether to disable dependency on -lrt... " >&6; }
3756 # Check whether --enable-rt was given.
3763 no)
3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3769 dontwant_rt="no"
3770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
3771 printf "%s\n" "(assumed no)" >&6; }
3774 dontwant_rt="no"
3775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 printf "%s\n" "no" >&6; }
3781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable ECH support" >&5
3784 # Check whether --enable-ech was given.
3791 no)
3792 want_ech="no"
3793 curl_ech_msg="no (--enable-ech)"
3794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3795 printf "%s\n" "no" >&6; }
3798 want_ech="no"
3799 curl_ech_msg="no (--enable-ech)"
3800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 printf "%s\n" "no" >&6; }
3805 curl_ech_msg="enabled (--disable-ech)"
3807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3817 if test -z "$xc_configure_preamble_result"; then
3825 if test -z "$xc_PATH_SEPARATOR"; then
3828 if test -z "$PATH_SEPARATOR"; then
3829 as_fn_error $? "PATH_SEPARATOR not set (internal or config.site problem)" "$LINENO" 5
3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
3832 printf %s "checking for path separator... " >&6; }
3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
3837 printf %s "checking for initial path separator... " >&6; }
3838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
3840 as_fn_error $? "path separator mismatch (internal or config.site problem)" "$LINENO" 5
3850 if test -z "$SED"; then
3853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3854 printf %s "checking for $ac_word... " >&6; }
3866 for as_dir in $as_dummy
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3884 test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
3889 if test -n "$SED"; then
3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3894 printf "%s\n" "no" >&6; }
3898 if test -z "$SED" || test "$SED" = "not_found"; then
3904 if test -z "$GREP"; then
3907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3908 printf %s "checking for $ac_word... " >&6; }
3920 for as_dir in $as_dummy
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3938 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
3943 if test -n "$GREP"; then
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 printf "%s\n" "no" >&6; }
3952 if test -z "$GREP" || test "$GREP" = "not_found"; then
3958 if test -z "$EGREP"; then
3959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that grep -E works" >&5
3960 printf %s "checking that grep -E works... " >&6; }
3961 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
3962 EGREP="$GREP -E"
3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 printf "%s\n" "no" >&6; }
3970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3971 printf %s "checking for $ac_word... " >&6; }
3983 for as_dir in $as_dummy
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4001 test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
4006 if test -n "$EGREP"; then
4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
4010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 printf "%s\n" "no" >&6; }
4017 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
4018 …as_fn_error $? "grep -E is not working and egrep is not found in PATH. Cannot continue." "$LINENO"…
4022 if test -z "$AR"; then
4023 if test -n "$ac_tool_prefix"; then
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 printf %s "checking for $ac_word... " >&6; }
4039 for as_dir in $as_dummy
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4061 if test -n "$AR"; then
4062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066 printf "%s\n" "no" >&6; }
4071 if test -z "$ac_cv_path_AR"; then
4075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 printf %s "checking for $ac_word... " >&6; }
4088 for as_dir in $as_dummy
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4110 if test -n "$ac_pt_AR"; then
4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 printf "%s\n" "no" >&6; }
4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4133 if test -z "$AR" || test "$AR" = "not_found"; then
4141 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
4151 xc_bad_var_libs=no
4152 for xc_word in $LIBS; do
4154 -l* | --library=*)
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
4165 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
4166 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
4170 xc_bad_var_ldflags=no
4171 for xc_word in $LDFLAGS; do
4173 -D*)
4176 -U*)
4179 -I*)
4182 -l* | --library=*)
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
4191 for xc_word in $LDFLAGS; do
4193 -D*)
4194 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4195 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
4197 -U*)
4198 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
4199 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
4201 -I*)
4202 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4203 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
4205 -l* | --library=*)
4206 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4207 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4214 xc_bad_var_cppflags=no
4215 for xc_word in $CPPFLAGS; do
4217 -rpath*)
4220 -L* | --library-path=*)
4223 -l* | --library=*)
4229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
4232 for xc_word in $CPPFLAGS; do
4234 -rpath*)
4235 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4236 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
4238 -L* | --library-path=*)
4239 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
4240 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
4242 -l* | --library=*)
4243 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4244 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4251 xc_bad_var_cflags=no
4252 for xc_word in $CFLAGS; do
4254 -D*)
4257 -U*)
4260 -I*)
4263 -rpath*)
4266 -L* | --library-path=*)
4269 -l* | --library=*)
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
4278 for xc_word in $CFLAGS; do
4280 -D*)
4281 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
4282 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
4284 -U*)
4285 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
4286 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
4288 -I*)
4289 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
4290 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
4292 -rpath*)
4293 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
4294 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
4296 -L* | --library-path=*)
4297 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
4298 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
4300 -l* | --library=*)
4301 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
4302 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
4312 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
4326 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4333 printf %s "checking for a BSD-compatible install... " >&6; }
4334 if test -z "$INSTALL"; then
4340 for as_dir in $PATH
4348 # Account for fact that we put trailing slashes in our PATH walk.
4355 # OSF1 and SCO ODT 3.0 have their own names for install.
4358 for ac_prog in ginstall scoinst install; do
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4367 # program-specific install script used by HP pwplus--don't use.
4370 rm -rf conftest.one conftest.two conftest.dir
4374 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
4375 test -s conftest.one && test -s conftest.two &&
4376 test -s conftest.dir/conftest.one &&
4377 test -s conftest.dir/conftest.two
4379 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
4392 rm -rf conftest.one conftest.two conftest.dir
4399 # value for INSTALL within a source directory, because that will
4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4408 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4410 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4412 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4414 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4430 ac_cpp='$CPP $CPPFLAGS'
4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4434 if test -n "$ac_tool_prefix"; then
4437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 printf %s "checking for $ac_word... " >&6; }
4443 if test -n "$CC"; then
4447 for as_dir in $PATH
4455 for ac_exec_ext in '' $ac_executable_extensions; do
4458 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4468 if test -n "$CC"; then
4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 printf "%s\n" "no" >&6; }
4478 if test -z "$ac_cv_prog_CC"; then
4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 printf %s "checking for $ac_word... " >&6; }
4488 if test -n "$ac_ct_CC"; then
4492 for as_dir in $PATH
4500 for ac_exec_ext in '' $ac_executable_extensions; do
4503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4513 if test -n "$ac_ct_CC"; then
4514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 printf "%s\n" "no" >&6; }
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4536 if test -z "$CC"; then
4537 if test -n "$ac_tool_prefix"; then
4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 printf %s "checking for $ac_word... " >&6; }
4546 if test -n "$CC"; then
4550 for as_dir in $PATH
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4571 if test -n "$CC"; then
4572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 printf "%s\n" "no" >&6; }
4582 if test -z "$CC"; then
4585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 printf %s "checking for $ac_word... " >&6; }
4591 if test -n "$CC"; then
4594 ac_prog_rejected=no
4596 for as_dir in $PATH
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4633 if test -n "$CC"; then
4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 printf "%s\n" "no" >&6; }
4643 if test -z "$CC"; then
4644 if test -n "$ac_tool_prefix"; then
4645 for ac_prog in cl.exe
4649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4650 printf %s "checking for $ac_word... " >&6; }
4655 if test -n "$CC"; then
4659 for as_dir in $PATH
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4680 if test -n "$CC"; then
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 printf "%s\n" "no" >&6; }
4689 test -n "$CC" && break
4692 if test -z "$CC"; then
4694 for ac_prog in cl.exe
4698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 printf %s "checking for $ac_word... " >&6; }
4704 if test -n "$ac_ct_CC"; then
4708 for as_dir in $PATH
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4729 if test -n "$ac_ct_CC"; then
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734 printf "%s\n" "no" >&6; }
4738 test -n "$ac_ct_CC" && break
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4755 if test -z "$CC"; then
4756 if test -n "$ac_tool_prefix"; then
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 printf %s "checking for $ac_word... " >&6; }
4765 if test -n "$CC"; then
4769 for as_dir in $PATH
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4790 if test -n "$CC"; then
4791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 printf "%s\n" "no" >&6; }
4800 if test -z "$ac_cv_prog_CC"; then
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 printf %s "checking for $ac_word... " >&6; }
4810 if test -n "$ac_ct_CC"; then
4814 for as_dir in $PATH
4822 for ac_exec_ext in '' $ac_executable_extensions; do
4825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4835 if test -n "$ac_ct_CC"; then
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 printf "%s\n" "no" >&6; }
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
4861 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4863 as_fn_error $? "no acceptable C compiler found in \$PATH
4864 See \`config.log' for more details" "$LINENO" 5; }
4867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4870 for ac_option in --version -v -V -qversion -version; do
4876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4880 if test -s conftest.err; then
4886 rm -f conftest.er1 conftest.err
4887 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4903 # Try to create an executable without -o first, disregard a.out.
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4908 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4914 for ac_file in $ac_files
4921 rm -f $ac_rmfiles
4928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4938 # so that the user can short-circuit this test for compilers unknown to
4940 for ac_file in $ac_files ''
4942 test -f "$ac_file" || continue
4951 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
4955 # We set ac_cv_exeext here because the later test for it is not
4956 # safe: cross compilers may not add the suffix if given an `-o'
4965 test "$ac_cv_exeext" = no && ac_cv_exeext=
4970 if test -z "$ac_file"
4972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973 printf "%s\n" "no" >&6; }
4977 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4980 See \`config.log' for more details" "$LINENO" 5; }
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4986 printf %s "checking for C compiler default output file name... " >&6; }
4987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4991 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4994 printf %s "checking for suffix of executables... " >&6; }
5000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5004 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5008 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5011 for ac_file in conftest.exe conftest conftest.*; do
5012 test -f "$ac_file" || continue
5021 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5024 See \`config.log' for more details" "$LINENO" 5; }
5026 rm -f conftest conftest$ac_cv_exeext
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5030 rm -f conftest.$ac_ext
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5060 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5071 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5073 cross_compiling=no
5078 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5081 If you meant to cross compile, use \`--host'.
5082 See \`config.log' for more details" "$LINENO" 5; }
5086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5089 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5092 printf %s "checking for suffix of object files... " >&6; }
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 rm -f conftest.o conftest.obj
5113 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5120 for ac_file in conftest.o conftest.obj conftest.*; do
5121 test -f "$ac_file" || continue;
5132 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5135 See \`config.log' for more details" "$LINENO" 5; }
5137 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 ac_compiler_gnu=no
5168 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5184 printf %s "checking whether $CC accepts -g... " >&6; }
5191 ac_cv_prog_cc_g=no
5192 CFLAGS="-g"
5193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 CFLAGS="-g"
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5251 CFLAGS="-g -O2"
5253 CFLAGS="-g"
5257 CFLAGS="-O2"
5262 ac_prog_cc_stdc=no
5265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5266 printf %s "checking for $CC option to enable C11 features... " >&6; }
5271 ac_cv_prog_cc_c11=no
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 for ac_arg in '' -std=gnu11
5284 rm -f core conftest.err conftest.$ac_objext conftest.beam
5287 rm -f conftest.$ac_ext
5293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5312 printf %s "checking for $CC option to enable C99 features... " >&6; }
5317 ac_cv_prog_cc_c99=no
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5330 rm -f core conftest.err conftest.$ac_objext conftest.beam
5333 rm -f conftest.$ac_ext
5339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5358 printf %s "checking for $CC option to enable C89 features... " >&6; }
5363 ac_cv_prog_cc_c89=no
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS_…
5376 rm -f core conftest.err conftest.$ac_objext conftest.beam
5379 rm -f conftest.$ac_ext
5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5403 ac_cpp='$CPP $CPPFLAGS'
5404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5410 ac_cpp='$CPP $CPPFLAGS'
5411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" …
5415 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 # compilers refuse to overwrite an existing .o file with -o,
5435 for am_i in 1 2; do
5436 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5437 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5441 && test -f conftest2.$ac_objext; then
5444 am_cv_prog_cc_c_o=no
5448 rm -f core conftest*
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5457 # A longer-term fix would be to have automake use am__CC in this case,
5462 ac_cpp='$CPP $CPPFLAGS'
5463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5470 ac_cpp='$CPP $CPPFLAGS'
5471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5476 # On Suns, sometimes $CPP names a directory.
5477 if test -n "$CPP" && test -d "$CPP"; then
5478 CPP=
5480 if test -z "$CPP"; then
5486 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
5489 for ac_c_preproc_warn_flag in '' yes
5492 # with a fresh cross-compiler works.
5493 # On the NeXT, cc -E runs the code through the compiler's parser,
5494 # not just through cpp. "Syntax error" is here to catch this case.
5495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 rm -f conftest.err conftest.i conftest.$ac_ext
5511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 rm -f conftest.err conftest.i conftest.$ac_ext
5528 rm -f conftest.i conftest.err conftest.$ac_ext
5535 ac_cv_prog_CPP=$CPP
5538 CPP=$ac_cv_prog_CPP
5540 ac_cv_prog_CPP=$CPP
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5543 printf "%s\n" "$CPP" >&6; }
5545 for ac_c_preproc_warn_flag in '' yes
5548 # with a fresh cross-compiler works.
5549 # On the NeXT, cc -E runs the code through the compiler's parser,
5550 # not just through cpp. "Syntax error" is here to catch this case.
5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5563 rm -f conftest.err conftest.i conftest.$ac_ext
5567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5580 rm -f conftest.err conftest.i conftest.$ac_ext
5584 rm -f conftest.i conftest.err conftest.$ac_ext
5589 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5591 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5592 See \`config.log' for more details" "$LINENO" 5; }
5596 ac_cpp='$CPP $CPPFLAGS'
5597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5614 for ac_item in $ac_header_c_list
5643 for ac_header in stdatomic.h
5650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _Atomic is available" >&5
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5662 i = 4; // Force an atomic-write operation.
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 printf "%s\n" "no" >&6; }
5683 tst_atomic="no"
5686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5695 printf %s "checking for a sed that does not truncate output... " >&6; }
5701 for ac_i in 1 2 3 4 5 6 7; do
5706 if test -z "$SED"; then
5708 # Loop through the user's path and test for each of PROGNAME-LIST
5710 for as_dir in $PATH
5718 for ac_prog in sed gsed
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5723 # Check for GNU ac_path_SED and select it if it is found.
5724 # Check for GNU $ac_path_SED
5725 case `"$ac_path_SED" --version 2>&1` in
5737 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5740 if test $ac_count -gt ${ac_path_SED_max-0}; then
5741 # Best one so far, save it but keep looking for a better one
5746 test $ac_count -gt 10 && break
5748 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5756 if test -z "$ac_cv_path_SED"; then
5757 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5767 rm -f conftest.sed
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
5773 printf %s "checking for code coverage support... " >&6; }
5774 coverage="no"
5777 # Check whether --enable-code-coverage was given.
5786 coverage="no"
5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
5794 if test -n "$ac_tool_prefix"; then
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 printf %s "checking for $ac_word... " >&6; }
5803 if test -n "$GCOV"; then
5807 for as_dir in $PATH
5815 for ac_exec_ext in '' $ac_executable_extensions; do
5818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5828 if test -n "$GCOV"; then
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
5832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 printf "%s\n" "no" >&6; }
5838 if test -z "$ac_cv_prog_GCOV"; then
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 printf %s "checking for $ac_word... " >&6; }
5848 if test -n "$ac_ct_GCOV"; then
5852 for as_dir in $PATH
5860 for ac_exec_ext in '' $ac_executable_extensions; do
5863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5873 if test -n "$ac_ct_GCOV"; then
5874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
5877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878 printf "%s\n" "no" >&6; }
5886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
5896 if test -z "$GCOV"; then
5897 as_fn_error $? "needs gcov for code coverage" "$LINENO" 5
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5902 printf %s "checking for $ac_word... " >&6; }
5907 if test -n "$LCOV"; then
5911 for as_dir in $PATH
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5922 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5932 if test -n "$LCOV"; then
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 printf "%s\n" "no" >&6; }
5941 if test -z "$LCOV"; then
5942 as_fn_error $? "needs lcov for code coverage" "$LINENO" 5
5945 CPPFLAGS="$CPPFLAGS -DNDEBUG"
5946 CFLAGS="$CFLAGS -O0 -g -fprofile-arcs -ftest-coverage"
5947 LIBS="$LIBS -lgcov"
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5969 # arguments. Must try -L first in case configure is actually a
5974 am_has_slept=no
5975 for am_try in 1 2; do
5977 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5979 # -L didn't work.
5980 set X `ls -t "$srcdir/configure" conftest.file`
5986 # if, for instance, CONFIG_SHELL is bash and it inherits a
5989 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
5992 if test "$2" = conftest.file || test $am_try -eq 2; then
6008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6010 # If we didn't sleep, we still need to ensure time stamps of config.status and
6013 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
6018 rm -f conftest.file
6035 if eval "$MISSING --is-lightweight"; then
6039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
6046 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
6048 install_sh="\${SHELL} $am_aux_dir/install-sh"
6053 # run "make install-strip". However 'strip' might not be the right
6054 # tool to use in cross-compilation environments, therefore Automake
6056 if test "$cross_compiling" != no; then
6057 if test -n "$ac_tool_prefix"; then
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061 printf %s "checking for $ac_word... " >&6; }
6066 if test -n "$STRIP"; then
6070 for as_dir in $PATH
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6091 if test -n "$STRIP"; then
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 printf "%s\n" "no" >&6; }
6101 if test -z "$ac_cv_prog_STRIP"; then
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 printf %s "checking for $ac_word... " >&6; }
6111 if test -n "$ac_ct_STRIP"; then
6115 for as_dir in $PATH
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6136 if test -n "$ac_ct_STRIP"; then
6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 printf "%s\n" "no" >&6; }
6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
6160 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
6164 printf %s "checking for a race-free mkdir -p... " >&6; }
6165 if test -z "$MKDIR_P"; then
6171 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
6179 for ac_prog in mkdir gmkdir; do
6180 for ac_exec_ext in '' $ac_executable_extensions; do
6182 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
6196 test -d ./--version && rmdir ./--version
6198 MKDIR_P="$ac_cv_path_mkdir -p"
6201 # value for MKDIR_P within a source directory, because that will
6204 MKDIR_P="$ac_install_sh -d"
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
6210 for ac_prog in gawk mawk nawk awk
6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6215 printf %s "checking for $ac_word... " >&6; }
6220 if test -n "$AWK"; then
6224 for as_dir in $PATH
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6245 if test -n "$AWK"; then
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 printf "%s\n" "no" >&6; }
6254 test -n "$AWK" && break
6257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6258 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6259 set x ${MAKE-make}
6260 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6271 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6275 eval ac_cv_prog_make_${ac_make}_set=no;;
6277 rm -f conftest.make
6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6285 printf "%s\n" "no" >&6; }
6286 SET_MAKE="MAKE=${MAKE-make}"
6289 rm -rf .tst 2>/dev/null
6291 if test -d .tst; then
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include di…
6303 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
6315 _am_result=no
6316 for s in GNU BSD; do
6317 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
6318 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
6338 rm -f confinc.* confmf.*
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
6342 # Check whether --enable-dependency-tracking was given.
6362 ## --------------------------------------- ##
6364 ## --------------------------------------- ##
6367 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
6368 # is not polluted with repeated "-I."
6369 am__isrc=' -I$(srcdir)'
6371 if test -f $srcdir/config.status; then
6377 if test -z "$CYGPATH_W"; then
6378 if (cygpath --version) >/dev/null 2>/dev/null; then
6379 CYGPATH_W='cygpath -w'
6388 VERSION='-'
6398 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
6401 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
6404 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
6407 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
6410 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
6412 # For better backward compatibility. To be removed once Automake 1.9.x
6413 # dies out for good. For more background, see:
6414 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
6415 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
6418 # We need awk for the "check" target (and possibly the TAP driver). The
6420 # Always define AMTAR for backward compatibility. Yes, it's still used
6421 # in the wild :-( We should find a proper way to deprecate it ...
6422 AMTAR='$${TAR-tar}'
6428 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
6436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6442 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6444 # making bogus files that we don't know about and never remove. For
6445 # instance it was reported that on HP-UX the gcc test will end up
6446 # making a dummy file named 'D' -- because '-MD' means "put the output
6448 rm -rf conftest.dir
6455 # it helps to detect inapplicable dependency modes. For instance
6456 # both Tru64's cc and ICC support -MD to output dependencies as a
6464 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6468 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6471 for depmode in $am_compiler_list; do
6476 # We need to recreate these files for each test, as the compiler may
6480 for i in 1 2 3 4 5 6; do
6488 # We check with '-c' and '-o' for the sake of the "dashmstdout"
6490 # handle '-M -o', and we need to detect this. Also, some Intel
6492 am__obj=sub/conftest.${OBJEXT-o}
6493 am__minus_obj="-o $am__obj"
6500 # After this tag, mechanisms are not by side-effect, so they'll
6509 # This compiler won't grok '-c -o', but also, the minuso test has
6512 am__obj=conftest.${OBJEXT-o}
6520 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6525 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6527 # or remarks (even with -Werror). So we grep stderr for any message
6529 # When given -MP, icc 7.0 and 7.1 complain thusly:
6530 # icc: Command line warning: ignoring option '-M'; no argument required
6532 # icc: Command line remark: option '-MP' not supported
6542 rm -rf conftest.dir
6548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6563 # Variables for tags utilities; see am/tags.am
6564 if test -z "$CTAGS"; then
6568 if test -z "$ETAGS"; then
6572 if test -z "$CSCOPE"; then
6578 # POSIX will say in a future version that running "rm -f" with no argument
6586 if rm -f && rm -fr && rm -rf; then : OK; else
6591 on the command line, even when the '-f' option is present. This is contrary
6595 Please tell bug-automake@gnu.org about your system, including the value
6613 to "yes", and re-run configure.
6620 ## ------------------------------------- ##
6622 ## ------------------------------------- ##
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
6632 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
6636 PKGADD_NAME="curl - a client that groks URLs"
6642 …curl_ssl_msg="no (--with-{openssl,gnutls,nss,mbedtls,wolfssl,schannel,secure-transport,amissl…
6643 curl_ssh_msg="no (--with-{libssh,libssh2})"
6644 curl_zlib_msg="no (--with-zlib)"
6645 curl_brotli_msg="no (--with-brotli)"
6646 curl_zstd_msg="no (--with-zstd)"
6647 curl_gss_msg="no (--with-gssapi)"
6648 curl_gsasl_msg="no (--with-gsasl)"
6649 curl_tls_srp_msg="no (--enable-tls-srp)"
6650 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
6651 curl_ipv6_msg="no (--enable-ipv6)"
6652 curl_unix_sockets_msg="no (--enable-unix-sockets)"
6653 curl_idn_msg="no (--with-{libidn2,winidn})"
6654 curl_manual_msg="no (--enable-manual)"
6655 curl_libcurl_msg="enabled (--disable-libcurl-option)"
6656 curl_verbose_msg="enabled (--disable-verbose)"
6657 curl_sspi_msg="no (--enable-sspi)"
6658 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
6659 curl_ldaps_msg="no (--enable-ldaps)"
6660 curl_rtsp_msg="no (--enable-rtsp)"
6661 curl_rtmp_msg="no (--with-librtmp)"
6662 curl_psl_msg="no (--with-libpsl)"
6663 curl_altsvc_msg="enabled (--disable-alt-svc)"
6664 curl_headers_msg="enabled (--disable-headers-api)"
6665 curl_hsts_msg="enabled (--disable-hsts)"
6666 curl_ws_msg="no (--enable-websockets)"
6669 curl_h2_msg="no (--with-nghttp2, --with-hyper)"
6670 curl_h3_msg="no (--with-ngtcp2, --with-quiche --with-msh3)"
6678 OPT_SCHANNEL=no
6680 # Check whether --with-schannel was given.
6688 OPT_SECURETRANSPORT=no
6690 # Check whether --with-secure-transport was given.
6695 TLSCHOICE="${TLSCHOICE:+$TLSCHOICE, }Secure-Transport"
6700 OPT_AMISSL=no
6702 # Check whether --with-amissl was given.
6712 OPT_OPENSSL=no
6713 ca="no"
6715 # Check whether --with-ssl was given.
6731 # Check whether --with-openssl was given.
6743 OPT_GNUTLS=no
6745 # Check whether --with-gnutls was given.
6757 OPT_MBEDTLS=no
6759 # Check whether --with-mbedtls was given.
6771 OPT_WOLFSSL=no
6773 # Check whether --with-wolfssl was given.
6785 OPT_BEARSSL=no
6787 # Check whether --with-bearssl was given.
6799 OPT_RUSTLS=no
6801 # Check whether --with-rustls was given.
6814 OPT_NSS_AWARE=no
6816 # Check whether --with-nss-deprecated was given.
6826 OPT_NSS=no
6828 # Check whether --with-nss was given.
6835 …as_fn_error $? "NSS use must be confirmed using --with-nss-deprecated. NSS support will be dropped…
6846 # Check whether --with-test-nghttpx was given.
6860 # Check whether --with-test-caddy was given.
6873 # Check whether --with-test-httpd was given.
6882 if test -x "/usr/sbin/apache2" -a -x "/usr/sbin/apache2ctl"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6889 printf %s "checking for $ac_word... " >&6; }
6900 for as_dir in $PATH
6908 for ac_exec_ext in '' $ac_executable_extensions; do
6911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6922 if test -n "$APXS"; then
6923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 printf "%s\n" "no" >&6; }
6932 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apache2-dev not installed, httpd tests disabled" >&5
6933 printf "%s\n" "$as_me: apache2-dev not installed, httpd tests disabled" >&6;}
6938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 printf %s "checking for $ac_word... " >&6; }
6950 for as_dir in $PATH
6958 for ac_exec_ext in '' $ac_executable_extensions; do
6961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6972 if test -n "$HTTPD"; then
6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
6976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 printf "%s\n" "no" >&6; }
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985 printf %s "checking for $ac_word... " >&6; }
6996 for as_dir in $PATH
7004 for ac_exec_ext in '' $ac_executable_extensions; do
7007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7018 if test -n "$HTTPD"; then
7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD" >&5
7022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 printf "%s\n" "no" >&6; }
7030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 printf %s "checking for $ac_word... " >&6; }
7042 for as_dir in $PATH
7050 for ac_exec_ext in '' $ac_executable_extensions; do
7053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7064 if test -n "$APACHECTL"; then
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APACHECTL" >&5
7068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 printf "%s\n" "no" >&6; }
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7076 printf %s "checking for $ac_word... " >&6; }
7087 for as_dir in $PATH
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7109 if test -n "$APXS"; then
7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114 printf "%s\n" "no" >&6; }
7118 if test "x$HTTPD" = "x" -o "x$APACHECTL" = "x"; then
7119 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd/apache2 not in PATH, httpd tests disabled" >&5
7123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not in PATH, httpd tests disabled" >&5
7131 if test ! -x "${HTTPD}"; then
7132 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: httpd not found as ${HTTPD}, httpd tests disabled" >…
7134 elif test ! -x "${APACHECTL}"; then
7135 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: apachectl not found as ${APACHECTL}, httpd tests dis…
7137 elif test ! -x "${APXS}"; then
7138 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: apxs not found as ${APXS}, httpd tests disabled" >&5
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using HTTPD=$HTTPD for tests" >&5
7142 printf "%s\n" "$as_me: using HTTPD=$HTTPD for tests" >&6;}
7149 if test "x$TEST_NGHTTPX" != "x" -a "x$TEST_NGHTTPX" != "xnghttpx"; then
7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 printf %s "checking for $ac_word... " >&6; }
7167 for as_dir in $as_dummy
7175 for ac_exec_ext in '' $ac_executable_extensions; do
7178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7189 if test -n "$HTTPD_NGHTTPX"; then
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTTPD_NGHTTPX" >&5
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 printf "%s\n" "no" >&6; }
7206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207 printf %s "checking for $ac_word... " >&6; }
7218 for as_dir in $PATH
7226 for ac_exec_ext in '' $ac_executable_extensions; do
7229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7240 if test -n "$CADDY"; then
7241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CADDY" >&5
7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 printf "%s\n" "no" >&6; }
7252 if test -z "$TLSCHOICE"; then
7254 as_fn_error $? "select TLS backend(s) or disable TLS with --without-ssl.
7258 --with-amissl
7259 --with-bearssl
7260 --with-gnutls
7261 --with-mbedtls
7262 --with-nss
7263 --with-openssl (also works for BoringSSL and libressl)
7264 --with-rustls
7265 --with-schannel
7266 --with-secure-transport
7267 --with-wolfssl
7273 # Check whether --with-darwinssl was given.
7276 withval=$with_darwinssl; as_fn_error $? "--with-darwin-ssl no longer works!" "$LINENO" 5
7283 # Make sure we can run config.sub.
7284 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
7285 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7295 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
7298 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
7299 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
7302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7305 *-*-*) ;;
7309 ac_save_IFS=$IFS; IFS='-'
7319 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7331 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
7332 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
7336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7339 *-*-*) ;;
7343 ac_save_IFS=$IFS; IFS='-'
7353 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7366 printf %s "checking for grep that handles long lines and -e... " >&6; }
7371 if test -z "$GREP"; then
7373 # Loop through the user's path and test for each of PROGNAME-LIST
7375 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7383 for ac_prog in grep ggrep
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7388 # Check for GNU ac_path_GREP and select it if it is found.
7389 # Check for GNU $ac_path_GREP
7390 case `"$ac_path_GREP" --version 2>&1` in
7402 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
7405 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7406 # Best one so far, save it but keep looking for a better one
7411 test $ac_count -gt 10 && break
7413 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7421 if test -z "$ac_cv_path_GREP"; then
7422 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7435 printf %s "checking for egrep... " >&6; }
7440 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7441 then ac_cv_path_EGREP="$GREP -E"
7443 if test -z "$EGREP"; then
7445 # Loop through the user's path and test for each of PROGNAME-LIST
7447 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7455 for ac_prog in egrep
7457 for ac_exec_ext in '' $ac_executable_extensions; do
7460 # Check for GNU ac_path_EGREP and select it if it is found.
7461 # Check for GNU $ac_path_EGREP
7462 case `"$ac_path_EGREP" --version 2>&1` in
7477 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7478 # Best one so far, save it but keep looking for a better one
7483 test $ac_count -gt 10 && break
7485 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7493 if test -z "$ac_cv_path_EGREP"; then
7494 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7509 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
7511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 printf "%s\n" "no" >&6; }
7534 rm -rf conftest*
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
7542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7571 printf "%s\n" "no" >&6; }
7572 tmp_thread_safe_initially_defined="no"
7575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7577 if test "$tmp_thread_safe_initially_defined" = "no"; then
7578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
7583 tmp_need_thread_safe="no"
7589 tmp_need_thread_safe="no"
7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 printf "%s\n" "no" >&6; }
7602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
7616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 printf "%s\n" "no" >&6; }
7626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
7628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 printf "%s\n" "no" >&6; }
7658 tmp_reentrant_initially_defined="no"
7661 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7663 if test "$tmp_reentrant_initially_defined" = "no"; then
7664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
7672 tmp_need_reentrant="no"
7676 if test "$tmp_need_reentrant" = "no"; then
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 tmp_errno="no"
7705 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7769 if test "$tmp_need_reentrant" = "no"; then
7771 if test "$tmp_need_reentrant" = "no"; then
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 tmp_gmtime_r="no"
7810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7844 rm -rf conftest*
7848 rm -rf conftest*
7853 if test "$tmp_need_reentrant" = "no"; then
7855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 tmp_localtime_r="no"
7892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7926 rm -rf conftest*
7930 rm -rf conftest*
7935 if test "$tmp_need_reentrant" = "no"; then
7937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7971 tmp_strerror_r="no"
7974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8008 rm -rf conftest*
8012 rm -rf conftest*
8017 if test "$tmp_need_reentrant" = "no"; then
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8053 tmp_strtok_r="no"
8056 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8090 rm -rf conftest*
8094 rm -rf conftest*
8099 if test "$tmp_need_reentrant" = "no"; then
8101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 tmp_gethostbyname_r="no"
8138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8172 rm -rf conftest*
8176 rm -rf conftest*
8181 if test "$tmp_need_reentrant" = "no"; then
8183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 tmp_getprotobyname_r="no"
8220 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8254 rm -rf conftest*
8258 rm -rf conftest*
8266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8270 printf "%s\n" "no" >&6; }
8274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
8288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 printf "%s\n" "no" >&6; }
8297 # Check whether --enable-largefile was given.
8303 if test "$enable_largefile" != no; then
8305 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for l…
8306 printf %s "checking for special C compiler options needed for large files... " >&6; }
8311 ac_cv_sys_largefile_CC=no
8316 # so use the C compiler's -n32 option if that helps.
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8320 /* Check that off_t can represent 2**63 - 1 correctly.
8324 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8327 ? 1 : -1];
8339 rm -f core conftest.err conftest.$ac_objext conftest.beam
8340 CC="$CC -n32"
8343 ac_cv_sys_largefile_CC=' -n32'; break
8345 rm -f core conftest.err conftest.$ac_objext conftest.beam
8349 rm -f conftest.$ac_ext
8352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8354 if test "$ac_cv_sys_largefile_CC" != no; then
8358 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for larg…
8359 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* Check that off_t can represent 2**63 - 1 correctly.
8372 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8375 ? 1 : -1];
8385 ac_cv_sys_file_offset_bits=no; break
8387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8392 /* Check that off_t can represent 2**63 - 1 correctly.
8396 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8399 ? 1 : -1];
8411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8419 no | unknown) ;;
8424 rm -rf conftest*
8426 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large fil…
8427 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* Check that off_t can represent 2**63 - 1 correctly.
8440 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8443 ? 1 : -1];
8453 ac_cv_sys_large_files=no; break
8455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* Check that off_t can represent 2**63 - 1 correctly.
8464 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
8467 ? 1 : -1];
8479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8487 no | unknown) ;;
8492 rm -rf conftest*
8499 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace …
8524 # double-quoted strings.
8544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
8547 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
8548 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
8549 ECHO='print -r --'
8564 # Invoke $ECHO with all args, space-separated.
8571 printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
8573 print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
8574 printf "%s\n" "print -r" >&6; } ;;
8575 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
8592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
8593 printf %s "checking for a sed that does not truncate output... " >&6; }
8599 for ac_i in 1 2 3 4 5 6 7; do
8604 if test -z "$SED"; then
8606 # Loop through the user's path and test for each of PROGNAME-LIST
8608 for as_dir in $PATH
8616 for ac_prog in sed gsed
8618 for ac_exec_ext in '' $ac_executable_extensions; do
8621 # Check for GNU ac_path_SED and select it if it is found.
8622 # Check for GNU $ac_path_SED
8623 case `"$ac_path_SED" --version 2>&1` in
8635 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
8638 if test $ac_count -gt ${ac_path_SED_max-0}; then
8639 # Best one so far, save it but keep looking for a better one
8644 test $ac_count -gt 10 && break
8646 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8654 if test -z "$ac_cv_path_SED"; then
8655 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
8662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
8665 rm -f conftest.sed
8667 test -z "$SED" && SED=sed
8668 Xsed="$SED -e 1s/^X//"
8680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
8681 printf %s "checking for fgrep... " >&6; }
8686 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8687 then ac_cv_path_FGREP="$GREP -F"
8689 if test -z "$FGREP"; then
8691 # Loop through the user's path and test for each of PROGNAME-LIST
8693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8701 for ac_prog in fgrep
8703 for ac_exec_ext in '' $ac_executable_extensions; do
8706 # Check for GNU ac_path_FGREP and select it if it is found.
8707 # Check for GNU $ac_path_FGREP
8708 case `"$ac_path_FGREP" --version 2>&1` in
8723 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8724 # Best one so far, save it but keep looking for a better one
8729 test $ac_count -gt 10 && break
8731 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8739 if test -z "$ac_cv_path_FGREP"; then
8740 …as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
8748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
8753 test -z "$GREP" && GREP=grep
8773 # Check whether --with-gnu-ld was given.
8776 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
8778 with_gnu_ld=no
8783 # Check if gcc -print-prog-name=ld gives a path.
8784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
8785 printf %s "checking for ld used by $CC... " >&6; }
8787 *-*-mingw*)
8789 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8791 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8802 test -z "$LD" && LD=$ac_prog
8809 # If it is relative, then search for the first ld in PATH.
8814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
8815 printf %s "checking for GNU ld... " >&6; }
8817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
8818 printf %s "checking for non-GNU ld... " >&6; }
8824 if test -z "$LD"; then
8826 for ac_dir in $PATH; do
8828 test -z "$ac_dir" && ac_dir=.
8829 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8831 # Check to see if the program is GNU ld. I'd rather use --version,
8832 # but apparently some variants of GNU ld only accept -v.
8833 # Break only if it was the GNU/non-GNU ld that we prefer.
8834 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8836 test no != "$with_gnu_ld" && break
8851 if test -n "$LD"; then
8852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
8855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8856 printf "%s\n" "no" >&6; }
8858 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
8859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
8865 # I'd rather use --version here, but apparently some GNU lds only accept -v.
8866 case `$LD -v 2>&1 </dev/null` in
8871 lt_cv_prog_gnu_ld=no
8875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
8887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" …
8888 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8893 if test -n "$NM"; then
8898 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8901 for lt_tmp_nm in $lt_nm_to_check; do
8903 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8905 test -z "$ac_dir" && ac_dir=.
8907 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
8908 # Check to see if the nm accepts a BSD-compat flag.
8909 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
8917 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
8919 lt_cv_path_NM="$tmp_nm -B"
8923 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
8925 lt_cv_path_NM="$tmp_nm -p"
8939 : ${lt_cv_path_NM=no}
8942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
8944 if test no != "$lt_cv_path_NM"; then
8947 # Didn't find any BSD compatible name lister, look for dumpbin.
8948 if test -n "$DUMPBIN"; then :
8951 if test -n "$ac_tool_prefix"; then
8952 for ac_prog in dumpbin "link -dump"
8956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8957 printf %s "checking for $ac_word... " >&6; }
8962 if test -n "$DUMPBIN"; then
8966 for as_dir in $PATH
8974 for ac_exec_ext in '' $ac_executable_extensions; do
8977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
8987 if test -n "$DUMPBIN"; then
8988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
8991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8992 printf "%s\n" "no" >&6; }
8996 test -n "$DUMPBIN" && break
8999 if test -z "$DUMPBIN"; then
9001 for ac_prog in dumpbin "link -dump"
9005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9006 printf %s "checking for $ac_word... " >&6; }
9011 if test -n "$ac_ct_DUMPBIN"; then
9015 for as_dir in $PATH
9023 for ac_exec_ext in '' $ac_executable_extensions; do
9026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9036 if test -n "$ac_ct_DUMPBIN"; then
9037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
9040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041 printf "%s\n" "no" >&6; }
9045 test -n "$ac_ct_DUMPBIN" && break
9053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9061 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
9063 DUMPBIN="$DUMPBIN -symbols -headers"
9075 test -z "$NM" && NM=nm
9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
9101 rm -f conftest*
9103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
9107 printf %s "checking whether ln -s works... " >&6; }
9109 if test "$LN_S" = "ln -s"; then
9110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
9114 printf "%s\n" "no, using $LN_S" >&6; }
9118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments…
9138 # no limit to the length of command line arguments.
9139 # Libtool will interpret -1 as no limit whatsoever
9140 lt_cv_sys_max_cmd_len=-1;
9144 # On Win9x/ME, this test blows up -- it succeeds, but takes
9146 # Worse, since 9x/ME are not pre-emptively multitasking,
9167 if test -x /sbin/sysctl; then
9168 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
9169 elif test -x /usr/sbin/sysctl; then
9170 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
9172 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
9196 if test -x /sbin/sysconfig; then
9197 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
9198 *1*) lt_cv_sys_max_cmd_len=-1 ;;
9207 if test -n "$kargmax"; then
9215 if test -n "$lt_cv_sys_max_cmd_len" && \
9222 for i in 1 2 3 4 5 6 7 8; do
9225 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
9226 # If test is not a shell built-in, we'll probably end up computing a
9249 if test -n "$lt_cv_sys_max_cmd_len"; then
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
9263 : ${CP="cp -f"}
9264 : ${MV="mv -f"}
9265 : ${RM="rm -f"}
9298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host fo…
9305 *-*-mingw* )
9307 *-*-mingw* ) # actually msys
9310 *-*-cygwin* )
9318 *-*-cygwin* )
9320 *-*-mingw* ) # actually msys
9323 *-*-cygwin* )
9339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchai…
9355 *-*-mingw* )
9357 *-*-mingw* ) # actually msys
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9375 printf %s "checking for $LD option to reload object files... " >&6; }
9380 lt_cv_ld_reload_flag='-r'
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
9389 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9398 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
9400 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9413 if test -n "$ac_tool_prefix"; then
9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9417 printf %s "checking for $ac_word... " >&6; }
9422 if test -n "$FILECMD"; then
9426 for as_dir in $PATH
9434 for ac_exec_ext in '' $ac_executable_extensions; do
9437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9447 if test -n "$FILECMD"; then
9448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
9451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9452 printf "%s\n" "no" >&6; }
9457 if test -z "$ac_cv_prog_FILECMD"; then
9461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9462 printf %s "checking for $ac_word... " >&6; }
9467 if test -n "$ac_ct_FILECMD"; then
9471 for as_dir in $PATH
9479 for ac_exec_ext in '' $ac_executable_extensions; do
9482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9492 if test -n "$ac_ct_FILECMD"; then
9493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
9496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9497 printf "%s\n" "no" >&6; }
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9521 if test -n "$ac_tool_prefix"; then
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9525 printf %s "checking for $ac_word... " >&6; }
9530 if test -n "$OBJDUMP"; then
9534 for as_dir in $PATH
9542 for ac_exec_ext in '' $ac_executable_extensions; do
9545 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9555 if test -n "$OBJDUMP"; then
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
9559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9560 printf "%s\n" "no" >&6; }
9565 if test -z "$ac_cv_prog_OBJDUMP"; then
9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9570 printf %s "checking for $ac_word... " >&6; }
9575 if test -n "$ac_ct_OBJDUMP"; then
9579 for as_dir in $PATH
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9600 if test -n "$ac_ct_OBJDUMP"; then
9601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
9604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9605 printf "%s\n" "no" >&6; }
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9623 test -z "$OBJDUMP" && OBJDUMP=objdump
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
9641 # 'none' -- dependencies not supported.
9642 # 'unknown' -- same as none, but documents that we really don't know.
9643 # 'pass_all' -- all dependencies passed with no checks.
9644 # 'test_compile' -- check by making test program.
9645 # 'file_magic [[regex]]' -- check by looking for files in library path
9651 aix[4-9]*)
9660 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
9661 lt_cv_file_magic_cmd='$FILECMD -L'
9674 # unless we find 'file', for example because we are cross-compiling.
9680 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
9681 lt_cv_file_magic_cmd='$OBJDUMP -f'
9687 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
9688 lt_cv_file_magic_cmd='$OBJDUMP -f'
9696 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9701 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
9719 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
9723 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
9727 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
9733 interix[3-9]*)
9740 *-32|*"-32 ") libmagic=32-bit;;
9741 *-n32|*"-n32 ") libmagic=N32;;
9742 *-64|*"-64 ") libmagic=64-bit;;
9743 *) libmagic=never-match;;
9749 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9753 netbsd* | netbsdelf*-gnu)
9754 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
9755 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9762 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
9772 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9773 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
9775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
9798 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-
9806 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
9810 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
9831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9835 want_nocaseglob=no
9842 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
9850 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9873 if test -n "$ac_tool_prefix"; then
9876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9877 printf %s "checking for $ac_word... " >&6; }
9882 if test -n "$DLLTOOL"; then
9886 for as_dir in $PATH
9894 for ac_exec_ext in '' $ac_executable_extensions; do
9897 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9907 if test -n "$DLLTOOL"; then
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9912 printf "%s\n" "no" >&6; }
9917 if test -z "$ac_cv_prog_DLLTOOL"; then
9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9922 printf %s "checking for $ac_word... " >&6; }
9927 if test -n "$ac_ct_DLLTOOL"; then
9931 for as_dir in $PATH
9939 for ac_exec_ext in '' $ac_executable_extensions; do
9942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9952 if test -n "$ac_ct_DLLTOOL"; then
9953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9957 printf "%s\n" "no" >&6; }
9965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
9975 test -z "$DLLTOOL" && DLLTOOL=dlltool
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries"…
9995 case `$DLLTOOL --help 2>&1` in
9996 *--identify-strict*)
10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
10014 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
10022 if test -n "$ac_tool_prefix"; then
10023 for ac_prog in ar
10027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10028 printf %s "checking for $ac_word... " >&6; }
10033 if test -n "$AR"; then
10037 for as_dir in $PATH
10045 for ac_exec_ext in '' $ac_executable_extensions; do
10048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10058 if test -n "$AR"; then
10059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
10062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10063 printf "%s\n" "no" >&6; }
10067 test -n "$AR" && break
10070 if test -z "$AR"; then
10072 for ac_prog in ar
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10077 printf %s "checking for $ac_word... " >&6; }
10082 if test -n "$ac_ct_AR"; then
10086 for as_dir in $PATH
10094 for ac_exec_ext in '' $ac_executable_extensions; do
10097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10107 if test -n "$ac_ct_AR"; then
10108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
10111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10112 printf "%s\n" "no" >&6; }
10116 test -n "$ac_ct_AR" && break
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10142 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
10145 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
10153 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
10161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
10162 printf %s "checking for archiver @FILE support... " >&6; }
10167 lt_cv_ar_at_file=no
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10187 if test 0 -eq "$ac_status"; then
10189 rm -f conftest.$ac_objext libconftest.a
10190 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
10193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10195 if test 0 -ne "$ac_status"; then
10199 rm -f conftest.* libconftest.a
10202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
10208 if test no = "$lt_cv_ar_at_file"; then
10220 if test -n "$ac_tool_prefix"; then
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10224 printf %s "checking for $ac_word... " >&6; }
10229 if test -n "$STRIP"; then
10233 for as_dir in $PATH
10241 for ac_exec_ext in '' $ac_executable_extensions; do
10244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10254 if test -n "$STRIP"; then
10255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
10258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10259 printf "%s\n" "no" >&6; }
10264 if test -z "$ac_cv_prog_STRIP"; then
10268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10269 printf %s "checking for $ac_word... " >&6; }
10274 if test -n "$ac_ct_STRIP"; then
10278 for as_dir in $PATH
10286 for ac_exec_ext in '' $ac_executable_extensions; do
10289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10299 if test -n "$ac_ct_STRIP"; then
10300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10304 printf "%s\n" "no" >&6; }
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10322 test -z "$STRIP" && STRIP=:
10329 if test -n "$ac_tool_prefix"; then
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10333 printf %s "checking for $ac_word... " >&6; }
10338 if test -n "$RANLIB"; then
10342 for as_dir in $PATH
10350 for ac_exec_ext in '' $ac_executable_extensions; do
10353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10363 if test -n "$RANLIB"; then
10364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
10367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10368 printf "%s\n" "no" >&6; }
10373 if test -z "$ac_cv_prog_RANLIB"; then
10377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10378 printf %s "checking for $ac_word... " >&6; }
10383 if test -n "$ac_ct_RANLIB"; then
10387 for as_dir in $PATH
10395 for ac_exec_ext in '' $ac_executable_extensions; do
10398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10408 if test -n "$ac_ct_RANLIB"; then
10409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10413 printf "%s\n" "no" >&6; }
10421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
10431 test -z "$RANLIB" && RANLIB=:
10438 # Determine commands to create old-style static archives.
10443 if test -n "$RANLIB"; then
10446 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
10459 lock_old_archive_extraction=no ;;
10500 # If no C compiler was specified, use CC.
10501 LTCC=${LTCC-"$CC"}
10503 # If no C compiler flags were specified, use CFLAGS.
10504 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10510 # Check for command to grab the raw symbol name followed by C symbol from nm.
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler o…
10525 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10527 # Define system-specific variables.
10564 case `$NM -V 2>&1` in
10571 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
10573 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
10574 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
10576 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
10577 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
10589 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
10591 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
10592 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
10595 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
10597 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10598 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
10602 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
10604 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
10605 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
10606 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
10617 for ac_symprfx in "" "_"; do
10624 # Fake it for dumpbin and say T for any non-static function,
10625 # D for any global variable and I for any imported variable.
10630 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
10644 …lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympa…
10649 pipe_works=no
10651 rm -f conftest*
10665 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10673 …if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$n…
10676 mv -f "$nlist"T "$nlist"
10678 rm -f "$nlist"T
10688 relocations are performed -- see ld's documentation on pseudo-relocs. */
10703 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
10716 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
10738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10742 test $ac_status = 0; } && test -s conftest$ac_exeext; then
10760 rm -rf conftest* conftst*
10772 if test -z "$lt_cv_sys_global_symbol_pipe"; then
10775 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
10776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
10786 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
10826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
10827 printf %s "checking for sysroot... " >&6; }
10829 # Check whether --with-sysroot was given.
10834 with_sysroot=no
10842 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
10846 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
10848 no|'')
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
10858 printf "%s\n" "${lt_sysroot:-no}" >&6; }
10864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
10865 printf %s "checking for a working dd... " >&6; }
10873 if test -z "$lt_DD"; then
10875 # Loop through the user's path and test for each of PROGNAME-LIST
10877 for as_dir in $PATH
10885 for ac_prog in dd
10887 for ac_exec_ext in '' $ac_executable_extensions; do
10891 cmp -s conftest.i conftest.out \
10899 if test -z "$ac_cv_path_lt_DD"; then
10906 rm -f conftest.i conftest2.i conftest.out
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
10912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
10922 cmp -s conftest.i conftest.out \
10925 rm -f conftest.i conftest2.i conftest.out
10926 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
10928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
10937 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
10940 for cc_temp in $*""; do
10944 \-*) ;;
10948 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10951 # Check whether --enable-libtool-lock was given.
10957 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
10959 # Some flags need to be propagated to the compiler or linker for good
10962 ia64-*-hpux*)
10966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10972 *ELF-32*)
10975 *ELF-64*)
10980 rm -rf conftest*
10982 *-*-irix6*)
10986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10993 *32-bit*)
10994 LD="${LD-ld} -melf32bsmip"
10997 LD="${LD-ld} -melf32bmipn32"
10999 *64-bit*)
11000 LD="${LD-ld} -melf64bmip"
11005 *32-bit*)
11006 LD="${LD-ld} -32"
11009 LD="${LD-ld} -n32"
11011 *64-bit*)
11012 LD="${LD-ld} -64"
11017 rm -rf conftest*
11020 mips64*-*linux*)
11024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11031 *32-bit*)
11034 *64-bit*)
11051 LD="${LD-ld} -m $emul"
11053 rm -rf conftest*
11056 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
11057 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
11061 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
11062 # vice versa); the common cases where no linker options are needed do
11065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11071 *32-bit*)
11073 x86_64-*kfreebsd*-gnu)
11074 LD="${LD-ld} -m elf_i386_fbsd"
11076 x86_64-*linux*)
11078 *x86-64*)
11079 LD="${LD-ld} -m elf32_x86_64"
11082 LD="${LD-ld} -m elf_i386"
11086 powerpc64le-*linux*)
11087 LD="${LD-ld} -m elf32lppclinux"
11089 powerpc64-*linux*)
11090 LD="${LD-ld} -m elf32ppclinux"
11092 s390x-*linux*)
11093 LD="${LD-ld} -m elf_s390"
11095 sparc64-*linux*)
11096 LD="${LD-ld} -m elf32_sparc"
11100 *64-bit*)
11102 x86_64-*kfreebsd*-gnu)
11103 LD="${LD-ld} -m elf_x86_64_fbsd"
11105 x86_64-*linux*)
11106 LD="${LD-ld} -m elf_x86_64"
11108 powerpcle-*linux*)
11109 LD="${LD-ld} -m elf64lppc"
11111 powerpc-*linux*)
11112 LD="${LD-ld} -m elf64ppc"
11114 s390*-*linux*|s390*-*tpf*)
11115 LD="${LD-ld} -m elf64_s390"
11117 sparc*-*linux*)
11118 LD="${LD-ld} -m elf64_sparc"
11124 rm -rf conftest*
11127 *-*-sco3.2v5*)
11128 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
11130 CFLAGS="$CFLAGS -belf"
11131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11132 printf %s "checking whether the C compiler needs -belf... " >&6; }
11138 ac_cpp='$CPP $CPPFLAGS'
11139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 lt_cv_cc_needs_belf=no
11159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11162 ac_cpp='$CPP $CPPFLAGS'
11163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
11171 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
11175 *-*solaris*)
11179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11185 *64-bit*)
11189 i?86-*-solaris*|x86_64-*-solaris*)
11190 LD="${LD-ld} -m elf_x86_64"
11192 sparc*-*-solaris*)
11193 LD="${LD-ld} -m elf64_sparc"
11197 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
11198 LD=${LD-ld}_sol2
11202 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
11203 LD="${LD-ld} -64"
11210 rm -rf conftest*
11216 if test -n "$ac_tool_prefix"; then
11219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11220 printf %s "checking for $ac_word... " >&6; }
11225 if test -n "$MANIFEST_TOOL"; then
11229 for as_dir in $PATH
11237 for ac_exec_ext in '' $ac_executable_extensions; do
11240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11250 if test -n "$MANIFEST_TOOL"; then
11251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11255 printf "%s\n" "no" >&6; }
11260 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11265 printf %s "checking for $ac_word... " >&6; }
11270 if test -n "$ac_ct_MANIFEST_TOOL"; then
11274 for as_dir in $PATH
11282 for ac_exec_ext in '' $ac_executable_extensions; do
11285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11295 if test -n "$ac_ct_MANIFEST_TOOL"; then
11296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11300 printf "%s\n" "no" >&6; }
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11318 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11325 lt_cv_path_mainfest_tool=no
11326 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11327 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11332 rm -f conftest*
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11347 if test -n "$ac_tool_prefix"; then
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11351 printf %s "checking for $ac_word... " >&6; }
11356 if test -n "$DSYMUTIL"; then
11360 for as_dir in $PATH
11368 for ac_exec_ext in '' $ac_executable_extensions; do
11371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11381 if test -n "$DSYMUTIL"; then
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
11385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11386 printf "%s\n" "no" >&6; }
11391 if test -z "$ac_cv_prog_DSYMUTIL"; then
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11396 printf %s "checking for $ac_word... " >&6; }
11401 if test -n "$ac_ct_DSYMUTIL"; then
11405 for as_dir in $PATH
11413 for ac_exec_ext in '' $ac_executable_extensions; do
11416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11426 if test -n "$ac_ct_DSYMUTIL"; then
11427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
11430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11431 printf "%s\n" "no" >&6; }
11439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11449 if test -n "$ac_tool_prefix"; then
11452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11453 printf %s "checking for $ac_word... " >&6; }
11458 if test -n "$NMEDIT"; then
11462 for as_dir in $PATH
11470 for ac_exec_ext in '' $ac_executable_extensions; do
11473 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11483 if test -n "$NMEDIT"; then
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11488 printf "%s\n" "no" >&6; }
11493 if test -z "$ac_cv_prog_NMEDIT"; then
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11498 printf %s "checking for $ac_word... " >&6; }
11503 if test -n "$ac_ct_NMEDIT"; then
11507 for as_dir in $PATH
11515 for ac_exec_ext in '' $ac_executable_extensions; do
11518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11528 if test -n "$ac_ct_NMEDIT"; then
11529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
11532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 printf "%s\n" "no" >&6; }
11541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11551 if test -n "$ac_tool_prefix"; then
11554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11555 printf %s "checking for $ac_word... " >&6; }
11560 if test -n "$LIPO"; then
11564 for as_dir in $PATH
11572 for ac_exec_ext in '' $ac_executable_extensions; do
11575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11585 if test -n "$LIPO"; then
11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 printf "%s\n" "no" >&6; }
11595 if test -z "$ac_cv_prog_LIPO"; then
11599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11600 printf %s "checking for $ac_word... " >&6; }
11605 if test -n "$ac_ct_LIPO"; then
11609 for as_dir in $PATH
11617 for ac_exec_ext in '' $ac_executable_extensions; do
11620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11630 if test -n "$ac_ct_LIPO"; then
11631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635 printf "%s\n" "no" >&6; }
11643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11653 if test -n "$ac_tool_prefix"; then
11656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11657 printf %s "checking for $ac_word... " >&6; }
11662 if test -n "$OTOOL"; then
11666 for as_dir in $PATH
11674 for ac_exec_ext in '' $ac_executable_extensions; do
11677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11687 if test -n "$OTOOL"; then
11688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11692 printf "%s\n" "no" >&6; }
11697 if test -z "$ac_cv_prog_OTOOL"; then
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11702 printf %s "checking for $ac_word... " >&6; }
11707 if test -n "$ac_ct_OTOOL"; then
11711 for as_dir in $PATH
11719 for ac_exec_ext in '' $ac_executable_extensions; do
11722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11732 if test -n "$ac_ct_OTOOL"; then
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 printf "%s\n" "no" >&6; }
11745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11755 if test -n "$ac_tool_prefix"; then
11758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11759 printf %s "checking for $ac_word... " >&6; }
11764 if test -n "$OTOOL64"; then
11768 for as_dir in $PATH
11776 for ac_exec_ext in '' $ac_executable_extensions; do
11779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11789 if test -n "$OTOOL64"; then
11790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
11793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 printf "%s\n" "no" >&6; }
11799 if test -z "$ac_cv_prog_OTOOL64"; then
11803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11804 printf %s "checking for $ac_word... " >&6; }
11809 if test -n "$ac_ct_OTOOL64"; then
11813 for as_dir in $PATH
11821 for ac_exec_ext in '' $ac_executable_extensions; do
11824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11834 if test -n "$ac_ct_OTOOL64"; then
11835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
11838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11839 printf "%s\n" "no" >&6; }
11847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
11884 printf %s "checking for -single_module linker flag... " >&6; }
11889 lt_cv_apple_cc_single_mod=no
11890 if test -z "$LT_MULTI_MODULE"; then
11891 # By default we will add the -single_module flag. You can override
11893 # non-empty at configure time, or by adding -multi_module to the
11895 rm -rf libconftest.dylib*
11897 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11898 -dynamiclib -Wl,-single_module conftest.c" >&5
11899 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11900 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
11902 # If there is a non-empty error log, and "single_module"
11904 if test -s conftest.err && $GREP single_module conftest.err; then
11908 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
11913 rm -rf libconftest.dylib*
11914 rm -f conftest.*
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
11920 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
11921 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
11926 lt_cv_ld_exported_symbols_list=no
11929 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 lt_cv_ld_exported_symbols_list=no
11946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
11955 printf %s "checking for -force_load linker flag... " >&6; }
11960 lt_cv_ld_force_load=no
11964 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
11965 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11973 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
11974 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
11976 if test -s conftest.err && $GREP force_load conftest.err; then
11978 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
11983 rm -f conftest.err libconftest.a conftest conftest.c
11984 rm -rf conftest.dSYM
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
11991 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
11993 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11996 10.[012],*|,*powerpc*-darwin[5-8]*)
11997 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
11999 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
12007 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
12009 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
12011 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
12020 # -----------------------------------
12045 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
12046 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
12062 # ------------------------------------ #
12064 # ------------------------------------ #
12069 # require separate configuration and build runs for each flavor.
12080 xc_lt_want_enable_shared='no'
12085 xc_lt_want_enable_static='no'
12095 # and build runs for shared and static is to enable shared libraries
12096 # and disable static ones. On these systems option '--disable-shared'
12104 xc_lt_want_enable_static='no'
12119 # Default behavior is to build PIC objects for shared libraries and
12120 # non-PIC objects for static libraries.
12131 xc_lt_want_with_pic='no'
12140 # of non-PIC compiled objects will fail with following linker error
12142 # is to build PIC objects even for static libraries. This behavior may
12143 # be overridden using 'configure --disable-shared --without-pic'.
12166 ## ----------------------- ##
12168 ## ----------------------- ##
12177 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
12178 if test -n "$ac_tool_prefix"; then
12181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12182 printf %s "checking for $ac_word... " >&6; }
12187 if test -n "$AS"; then
12191 for as_dir in $PATH
12199 for ac_exec_ext in '' $ac_executable_extensions; do
12202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12212 if test -n "$AS"; then
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
12216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217 printf "%s\n" "no" >&6; }
12222 if test -z "$ac_cv_prog_AS"; then
12226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12227 printf %s "checking for $ac_word... " >&6; }
12232 if test -n "$ac_ct_AS"; then
12236 for as_dir in $PATH
12244 for ac_exec_ext in '' $ac_executable_extensions; do
12247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12257 if test -n "$ac_ct_AS"; then
12258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12262 printf "%s\n" "no" >&6; }
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12280 if test -n "$ac_tool_prefix"; then
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12284 printf %s "checking for $ac_word... " >&6; }
12289 if test -n "$DLLTOOL"; then
12293 for as_dir in $PATH
12301 for ac_exec_ext in '' $ac_executable_extensions; do
12304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12314 if test -n "$DLLTOOL"; then
12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12319 printf "%s\n" "no" >&6; }
12324 if test -z "$ac_cv_prog_DLLTOOL"; then
12328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12329 printf %s "checking for $ac_word... " >&6; }
12334 if test -n "$ac_ct_DLLTOOL"; then
12338 for as_dir in $PATH
12346 for ac_exec_ext in '' $ac_executable_extensions; do
12349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12359 if test -n "$ac_ct_DLLTOOL"; then
12360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
12363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12364 printf "%s\n" "no" >&6; }
12372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12382 if test -n "$ac_tool_prefix"; then
12385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12386 printf %s "checking for $ac_word... " >&6; }
12391 if test -n "$OBJDUMP"; then
12395 for as_dir in $PATH
12403 for ac_exec_ext in '' $ac_executable_extensions; do
12406 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12416 if test -n "$OBJDUMP"; then
12417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
12420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 printf "%s\n" "no" >&6; }
12426 if test -z "$ac_cv_prog_OBJDUMP"; then
12430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12431 printf %s "checking for $ac_word... " >&6; }
12436 if test -n "$ac_ct_OBJDUMP"; then
12440 for as_dir in $PATH
12448 for ac_exec_ext in '' $ac_executable_extensions; do
12451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12461 if test -n "$ac_ct_OBJDUMP"; then
12462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
12465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 printf "%s\n" "no" >&6; }
12474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
12487 test -z "$AS" && AS=as
12493 test -z "$DLLTOOL" && DLLTOOL=dlltool
12499 test -z "$OBJDUMP" && OBJDUMP=objdump
12507 enable_dlopen=no
12511 # Check whether --enable-shared was given.
12514 enableval=$enable_shared; p=${PACKAGE-default}
12517 no) enable_shared=no ;;
12519 enable_shared=no
12522 for pkg in $enableval; do
12543 # Check whether --enable-static was given.
12546 enableval=$enable_static; p=${PACKAGE-default}
12549 no) enable_static=no ;;
12551 enable_static=no
12554 for pkg in $enableval; do
12576 # Check whether --with-pic was given.
12579 withval=$with_pic; lt_p=${PACKAGE-default}
12581 yes|no) pic_mode=$withval ;;
12586 for lt_pkg in $withval; do
12606 # Check whether --enable-fast-install was given.
12609 enableval=$enable_fast_install; p=${PACKAGE-default}
12612 no) enable_fast_install=no ;;
12614 enable_fast_install=no
12617 for pkg in $enableval; do
12639 power*-*-aix[5-9]*,yes)
12640 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning …
12643 # Check whether --with-aix-soname was given.
12650 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
12665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
12668 # For the AIX way of multilib, we name the shared archive member
12670 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
12671 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
12673 if test 64 = "${OBJECT_MODE-32}"; then
12729 test -z "$LN_S" && LN_S="ln -s"
12744 if test -n "${ZSH_VERSION+set}"; then
12748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12749 printf %s "checking for objdir... " >&6; }
12754 rm -f .libs 2>/dev/null
12756 if test -d .libs; then
12759 # MS-DOS does not allow filenames that begin with a dot.
12764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
12779 # AIX sometimes has problems with the GCC collect2 program. For some
12793 # All known linkers require a '.a' archive for static linking (except MSVC and
12802 # Set sane defaults for various variables
12803 test -z "$CC" && CC=cc
12804 test -z "$LTCC" && LTCC=$CC
12805 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
12806 test -z "$LD" && LD=ld
12807 test -z "$ac_objext" && ac_objext=o
12813 # Only perform the check for file, if the check method requires it
12814 test -z "$MAGIC_CMD" && MAGIC_CMD=file
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12819 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
12832 for ac_dir in $ac_dummy; do
12834 test -z "$ac_dir" && ac_dir=.
12835 if test -f "$ac_dir/${ac_tool_prefix}file"; then
12837 if test -n "$file_magic_test_file"; then
12855 *** bug-libtool@gnu.org
12871 if test -n "$MAGIC_CMD"; then
12872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12876 printf "%s\n" "no" >&6; }
12883 if test -z "$lt_cv_path_MAGIC_CMD"; then
12884 if test -n "$ac_tool_prefix"; then
12885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12886 printf %s "checking for file... " >&6; }
12899 for ac_dir in $ac_dummy; do
12901 test -z "$ac_dir" && ac_dir=.
12902 if test -f "$ac_dir/file"; then
12904 if test -n "$file_magic_test_file"; then
12922 *** bug-libtool@gnu.org
12938 if test -n "$MAGIC_CMD"; then
12939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943 printf "%s\n" "no" >&6; }
12956 # Use C for the default configuration in the libtool script
12960 ac_cpp='$CPP $CPPFLAGS'
12961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12966 # Source file extension for C test sources.
12969 # Object file extension for compiled C test sources.
12985 # If no C compiler was specified, use CC.
12986 LTCC=${LTCC-"$CC"}
12988 # If no C compiler flags were specified, use CFLAGS.
12989 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13009 $RM -r conftest*
13013 ## There is no encapsulation within the following macros, do not change
13016 if test -n "$compiler"; then
13023 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13025 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13028 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-except…
13029 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13034 lt_cv_prog_compiler_rtti_exceptions=no
13037 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
13044 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13045 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13046 -e 's:$: $lt_compiler_flag:'`
13052 if (exit $ac_status) && test -s "$ac_outfile"; then
13054 # So say no if there are warnings other than the usual output.
13057 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13068 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13086 lt_prog_compiler_wl='-Wl,'
13087 lt_prog_compiler_static='-static'
13094 lt_prog_compiler_static='-Bstatic'
13096 lt_prog_compiler_pic='-fPIC'
13103 lt_prog_compiler_pic='-fPIC'
13107 # adding the '-m68020' flag to GCC prevents building anything better,
13108 # like '-m68040'.
13109 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13115 # PIC is the default for these OSes.
13120 # built for inclusion in a dll (and should export symbols for example).
13121 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13122 # (--disable-auto-import) libraries
13123 lt_prog_compiler_pic='-DDLL_EXPORT'
13126 lt_prog_compiler_static='$wl-static'
13134 lt_prog_compiler_pic='-fno-common'
13138 # PIC is the default for Haiku.
13139 # The "-static" flag exists, but is broken.
13144 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13145 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13152 lt_prog_compiler_pic='-fPIC'
13157 interix[3-9]*)
13158 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13165 lt_prog_compiler_can_build_shared=no
13166 enable_shared=no
13170 # QNX uses GNU C++, but need to define -shared option too, otherwise
13172 lt_prog_compiler_pic='-fPIC -shared'
13176 if test -d /usr/nec; then
13177 lt_prog_compiler_pic=-Kconform_pic
13182 lt_prog_compiler_pic='-fPIC'
13188 lt_prog_compiler_wl='-Xlinker '
13189 if test -n "$lt_prog_compiler_pic"; then
13190 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13195 # PORTME Check for flag to pass linker flags through the system compiler.
13198 lt_prog_compiler_wl='-Wl,'
13201 lt_prog_compiler_static='-Bstatic'
13203 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13210 lt_prog_compiler_pic='-fno-common'
13214 lt_prog_compiler_wl='-Wl,-Wl,,'
13215 lt_prog_compiler_pic='-PIC'
13216 lt_prog_compiler_static='-Bstatic'
13223 # built for inclusion in a dll (and should export symbols for example).
13224 lt_prog_compiler_pic='-DDLL_EXPORT'
13227 lt_prog_compiler_static='$wl-static'
13233 lt_prog_compiler_wl='-Wl,'
13234 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13235 # not for PA HP-UX.
13245 lt_prog_compiler_static='$wl-a ${wl}archive'
13249 lt_prog_compiler_wl='-Wl,'
13250 # PIC (with -KPIC) is the default.
13251 lt_prog_compiler_static='-non_shared'
13254 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13256 # old Intel for x86_64, which still supported -KPIC.
13258 lt_prog_compiler_wl='-Wl,'
13259 lt_prog_compiler_pic='-KPIC'
13260 lt_prog_compiler_static='-static'
13262 # flang / f18. f95 an alias for gfortran or flang on Debian
13264 lt_prog_compiler_wl='-Wl,'
13265 lt_prog_compiler_pic='-fPIC'
13266 lt_prog_compiler_static='-static'
13269 # ICC 10 doesn't accept -KPIC any more.
13271 lt_prog_compiler_wl='-Wl,'
13272 lt_prog_compiler_pic='-fPIC'
13273 lt_prog_compiler_static='-static'
13277 lt_prog_compiler_wl='-Wl,'
13278 lt_prog_compiler_pic='--shared'
13279 lt_prog_compiler_static='--static'
13283 lt_prog_compiler_wl='-Wl,-Wl,,'
13284 lt_prog_compiler_pic='-PIC'
13285 lt_prog_compiler_static='-Bstatic'
13289 lt_prog_compiler_wl='-Wl,'
13290 lt_prog_compiler_pic='-fPIC'
13291 lt_prog_compiler_static='-static'
13296 lt_prog_compiler_wl='-Wl,'
13297 lt_prog_compiler_pic='-fpic'
13298 lt_prog_compiler_static='-Bstatic'
13301 lt_prog_compiler_wl='-Wl,'
13303 lt_prog_compiler_static='-non_shared'
13307 lt_prog_compiler_wl='-Wl,'
13308 lt_prog_compiler_pic='-qpic'
13309 lt_prog_compiler_static='-qstaticlink'
13312 case `$CC -V 2>&1 | $SED 5q` in
13313 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
13315 lt_prog_compiler_pic='-KPIC'
13316 lt_prog_compiler_static='-Bstatic'
13320 lt_prog_compiler_pic='-KPIC'
13321 lt_prog_compiler_static='-Bstatic'
13322 lt_prog_compiler_wl='-Qoption ld '
13326 lt_prog_compiler_pic='-KPIC'
13327 lt_prog_compiler_static='-Bstatic'
13328 lt_prog_compiler_wl='-Wl,'
13331 lt_prog_compiler_wl='-Wl,'
13332 lt_prog_compiler_pic='-fPIC'
13333 lt_prog_compiler_static='-static'
13336 lt_prog_compiler_wl='-Wl,'
13337 lt_prog_compiler_pic='-fpic'
13338 lt_prog_compiler_static='-Bstatic'
13346 lt_prog_compiler_pic='-KPIC'
13347 lt_prog_compiler_static='-Bstatic'
13351 # QNX uses GNU C++, but need to define -shared option too, otherwise
13353 lt_prog_compiler_pic='-fPIC -shared'
13357 lt_prog_compiler_wl='-Wl,'
13359 lt_prog_compiler_static='-non_shared'
13363 lt_prog_compiler_static='-non_shared'
13367 lt_prog_compiler_pic='-KPIC'
13368 lt_prog_compiler_static='-Bstatic'
13371 lt_prog_compiler_wl='-Qoption ld ';;
13373 lt_prog_compiler_wl='-Wl,';;
13378 lt_prog_compiler_wl='-Qoption ld '
13379 lt_prog_compiler_pic='-PIC'
13380 lt_prog_compiler_static='-Bstatic'
13384 lt_prog_compiler_wl='-Wl,'
13385 lt_prog_compiler_pic='-KPIC'
13386 lt_prog_compiler_static='-Bstatic'
13390 if test -d /usr/nec; then
13391 lt_prog_compiler_pic='-Kconform_pic'
13392 lt_prog_compiler_static='-Bstatic'
13397 lt_prog_compiler_wl='-Wl,'
13398 lt_prog_compiler_pic='-KPIC'
13399 lt_prog_compiler_static='-Bstatic'
13403 lt_prog_compiler_wl='-Wl,'
13404 lt_prog_compiler_can_build_shared=no
13408 lt_prog_compiler_pic='-pic'
13409 lt_prog_compiler_static='-Bstatic'
13413 lt_prog_compiler_can_build_shared=no
13419 # For platforms that do not support PIC, -DPIC is meaningless:
13424 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13429 printf %s "checking for $compiler option to produce PIC... " >&6; }
13436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13443 if test -n "$lt_prog_compiler_pic"; then
13444 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic…
13450 lt_cv_prog_compiler_pic_works=no
13453 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
13460 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13461 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13462 -e 's:$: $lt_compiler_flag:'`
13468 if (exit $ac_status) && test -s "$ac_outfile"; then
13470 # So say no if there are warnings other than the usual output.
13473 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
13490 lt_prog_compiler_can_build_shared=no
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag…
13515 lt_cv_prog_compiler_static_works=no
13519 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13521 # So say no if there are warnings
13522 if test -s conftest.err; then
13523 # Append any errors to the config.log.
13534 $RM -r conftest*
13538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
13553 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13554 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13559 lt_cv_prog_compiler_c_o=no
13560 $RM -r conftest 2>/dev/null
13566 lt_compiler_flag="-o out/conftest2.$ac_objext"
13572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13574 -e 's:$: $lt_compiler_flag:'`
13580 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13583 # So say no if there are warnings
13586 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13592 # SGI C++ compiler will create directory out/ii_files/ for
13594 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13597 $RM -r conftest
13601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13609 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext…
13610 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13615 lt_cv_prog_compiler_c_o=no
13616 $RM -r conftest 2>/dev/null
13622 lt_compiler_flag="-o out/conftest2.$ac_objext"
13628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13630 -e 's:$: $lt_compiler_flag:'`
13636 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13639 # So say no if there are warnings
13642 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13648 # SGI C++ compiler will create directory out/ii_files/ for
13650 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13653 $RM -r conftest
13657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
13664 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
13666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13670 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13672 ln conftest.a conftest.b 2>&5 || hard_links=no
13673 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13676 if test no = "$hard_links"; then
13677 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j…
13678 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
13682 need_locks=no
13690 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports…
13695 always_export_symbols=no
13698 compiler_needs_object=no
13699 enable_shared_with_static_runtimes=no
13702 hardcode_automatic=no
13703 hardcode_direct=no
13704 hardcode_direct_absolute=no
13707 hardcode_minus_L=no
13709 inherit_rpath=no
13717 # include_expsyms should be a list of space-separated symbols to be *always*
13739 with_gnu_ld=no
13747 with_gnu_ld=no
13749 linux* | k*bsd*-gnu | gnu*)
13750 link_all_deplibs=no
13757 # that we're better off using the native interface for both.
13758 lt_use_gnu_ld_interface=no
13766 case `$LD -v 2>&1` in
13768 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13769 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13785 # Set some defaults for GNU ld with shared library support. These
13789 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13790 export_dynamic_flag_spec='$wl--export-dynamic'
13791 # ancient GNU ld didn't support --whole-archive et. al.
13792 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13793 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
13797 supports_anon_versioning=no
13798 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
13800 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13809 aix[3-9]*)
13812 ld_shlibs=no
13818 *** really care for shared libraries, you may want to install binutils
13819 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13830 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13834 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
13835 hardcode_libdir_flag_spec='-L$libdir'
13842 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13845 # support --undefined. This deserves some investigation. FIXME
13846 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13848 ld_shlibs=no
13854 # as there is no search path for DLLs.
13855 hardcode_libdir_flag_spec='-L$libdir'
13856 export_dynamic_flag_spec='$wl--export-all-symbols'
13858 always_export_symbols=no
13860 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
13861 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
13863 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13864 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
13865 # If the export-symbols file already is a .def file, use it as
13867 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
13873 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
13875 ld_shlibs=no
13880 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13885 hardcode_libdir_flag_spec='-L$libdir'
13894 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13895 emximp -o $lib $output_objdir/$libname.def'
13902 prefix_cmds="$prefix_cmds -e 1d";
13904 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13906 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13907 emximp -o $lib $output_objdir/$libname.def'
13908 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13913 interix[3-9]*)
13914 hardcode_direct=no
13915 hardcode_shlibpath_var=no
13916 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13917 export_dynamic_flag_spec='$wl-E'
13922 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13924 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
13925-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
13928 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13929 tmp_diet=no
13930 if test linux-dietlibc = "$host_os"; then
13932 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
13935 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13936 && test no = "$tmp_diet"
13939 tmp_sharedflag='-shared'
13942--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
13947--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
13948 tmp_addflag=' $pic_flag -Mnomain' ;;
13950 tmp_addflag=' -i_dynamic' ;;
13952 tmp_addflag=' -i_dynamic -nofor_main' ;;
13954 tmp_addflag=' -nofor_main' ;;
13957 tmp_sharedflag='--shared' ;;
13959 tmp_sharedflag='-Wl,-shared' ;;
13961 tmp_sharedflag='-qmkshrobj'
13964--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
13968 case `$CC -V 2>&1 | $SED 5q` in
13970--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
13972 tmp_sharedflag='-G' ;;
13974 tmp_sharedflag='-G' ;;
13976 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
13980 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13982 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
13987 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13988 export_dynamic_flag_spec='-rdynamic'
13992 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13993 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13994 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13997 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13999 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
14004 ld_shlibs=no
14008 netbsd* | netbsdelf*-gnu)
14009 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14010 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14013 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14014 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14019 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14020 ld_shlibs=no
14031 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14032 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14033 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14035 ld_shlibs=no
14040 case `$LD -v 2>&1` in
14041 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14042 ld_shlibs=no
14055 # For security reasons, it is highly recommended that you always
14056 # use absolute paths for naming shared libraries, and exclude the
14059 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14060 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14061 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14062 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
14064 ld_shlibs=no
14071 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14074 hardcode_shlibpath_var=no
14078 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14079 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
14080 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
14082 ld_shlibs=no
14087 if test no = "$ld_shlibs"; then
14099 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
14101 # are no directories specified by -L.
14103 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14110 aix[4-9]*)
14114 aix_use_runtimelinking=no
14115 exp_sym_flag='-Bexport'
14118 # If we're using GNU nm, then we don't want the "-C" option.
14119 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14120 # Without the "-l" option, or with the "-B" option, AIX nm treats
14124 # it in the Import File for the 'aix-soname' feature, so we have
14125 # to replace the "-B" option with "-P" for AIX nm.
14126 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14127-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
14129-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
14131 aix_use_runtimelinking=no
14134 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14135 # have runtime linking enabled, and use it for executables.
14136 # For shared libraries, we enable/disable runtime linking
14137 # depending on the kind of the shared library created -
14139 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14140 # "aix,yes" lib.so shared, rtl:yes, for executables
14142 # "both,no" lib.so.V(shr.o) shared, rtl:yes
14143 # lib.a(lib.so.V) shared, rtl:no, for executables
14144 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14145 # lib.a(lib.so.V) shared, rtl:no
14146 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14148 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14149 for ld_flag in $LDFLAGS; do
14150 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14155 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14156 # With aix-soname=svr4, we create the lib.so.V shared archives only,
14160 LDFLAGS="$LDFLAGS -Wl,-brtl"
14165 exp_sym_flag='-bexport'
14166 no_entry_flag='-bnoentry'
14171 # or program results in "error TOC overflow" add -mminimal-toc to
14172 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14173 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14180 file_list_spec='$wl-f,'
14182 aix,*) ;; # traditional, no import file
14185 hardcode_direct=no
14186 hardcode_direct_absolute=no
14193 # below for broken collect2 doesn't work under 4.3+
14194 collect2name=`$CC -print-prog-name=collect2`
14195 if test -f "$collect2name" &&
14207 hardcode_libdir_flag_spec='-L$libdir'
14212 shared_flag='-shared'
14214 shared_flag="$shared_flag "'$wl-G'
14216 # Need to ensure runtime linking is disabled for the traditional
14218 # /with/ Import File - we do not want to mix them.
14219 shared_flag_aix='-shared'
14220 shared_flag_svr4='-shared $wl-G'
14224 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14225 # chokes on -Wl,-G. The following line is correct:
14226 shared_flag='-G'
14229 shared_flag='$wl-G'
14231 shared_flag='$wl-bM:SRE'
14233 shared_flag_aix='$wl-bM:SRE'
14234 shared_flag_svr4='$wl-G'
14238 export_dynamic_flag_spec='$wl-bexpall'
14239 # It seems that -bexpall does not export symbols beginning with
14243 # Warning - without using the other runtime loading flags (-brtl),
14244 # -berok will link without error, but may produce a broken library.
14245 allow_undefined_flag='-berok'
14255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14276 # Check for a 64-bit object if we didn't find anything.
14277 if test -z "$lt_cv_aix_libpath_"; then
14278 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14283 if test -z "$lt_cv_aix_libpath_"; then
14292 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14293 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
14296 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
14297 allow_undefined_flag="-z nodefs"
14298 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
14309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14329 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14330 # Check for a 64-bit object if we didn't find anything.
14331 if test -z "$lt_cv_aix_libpath_"; then
14332 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14337 if test -z "$lt_cv_aix_libpath_"; then
14346 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
14347 # Warning - without using the other run time loading flags,
14348 # -berok will link without error, but may produce a broken library.
14349 no_undefined_flag=' $wl-bernotok'
14350 allow_undefined_flag=' $wl-berok'
14352 # We only use this code for GNU lds that support --whole-archive.
14353 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
14359 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14360 # -brtl affects multiple linker settings, -berok does not and is overridden later
14361 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
14364 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
14367-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
14369 # used by -dlpreopen to get the symbols
14372 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
14381 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14385 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14386 hardcode_libdir_flag_spec='-L$libdir'
14393 export_dynamic_flag_spec=-rdynamic
14400 # no search path for DLLs.
14413 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
14414 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
14418 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14420 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
14426 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
14438 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14439 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
14452 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
14456 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14465 archive_cmds_need_lc=no
14466 hardcode_direct=no
14470 …whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\…
14483 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
14484 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
14485 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
14486 …e_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
14489 ld_shlibs=no
14495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14496 hardcode_libdir_flag_spec='-L$libdir'
14497 hardcode_shlibpath_var=no
14505 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14506 hardcode_libdir_flag_spec='-R$libdir'
14508 hardcode_shlibpath_var=no
14513 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14516 hardcode_shlibpath_var=no
14519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14521 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14522 hardcode_libdir_flag_spec='-R$libdir'
14524 hardcode_shlibpath_var=no
14529 …archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output…
14531 …archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libo…
14540 export_dynamic_flag_spec='$wl-E'
14544 if test yes,no = "$GCC,$with_gnu_ld"; then
14545 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14547 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14549 if test no = "$with_gnu_ld"; then
14554 export_dynamic_flag_spec='$wl-E'
14562 if test yes,no = "$GCC,$with_gnu_ld"; then
14565 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14568 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
14571 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
14577 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
14580 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14584 # Older versions of the 11.00 compiler do not understand -b yet
14585 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14587 printf %s "checking if $CC understands -b... " >&6; }
14592 lt_cv_prog_compiler__b=no
14594 LDFLAGS="$LDFLAGS -b"
14596 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14598 # So say no if there are warnings
14599 if test -s conftest.err; then
14600 # Append any errors to the config.log.
14611 $RM -r conftest*
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
14619 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
14621 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14627 if test no = "$with_gnu_ld"; then
14633 hardcode_direct=no
14634 hardcode_shlibpath_var=no
14639 export_dynamic_flag_spec='$wl-E'
14651-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14652 # Try to use the -exported_symbol ld option, if it does not
14653 # work, assume that -exports_file does not work either and
14655 # This should be the same for all languages, so no per-tag cache variable.
14656 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -export…
14657 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14663 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14672 lt_cv_irix_exported_symbol=no
14674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14681-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
14683 link_all_deplibs=no
14685-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14686-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "
14688 archive_cmds_need_lc='no'
14689 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14700 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14701 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14706 netbsd* | netbsdelf*-gnu)
14707 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14708 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14710 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14712 hardcode_libdir_flag_spec='-R$libdir'
14714 hardcode_shlibpath_var=no
14718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14720 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14722 hardcode_shlibpath_var=no
14729 if test -f /usr/libexec/ld.so; then
14731 hardcode_shlibpath_var=no
14733 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14734 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14735 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
14736 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14737 export_dynamic_flag_spec='$wl-E'
14739 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14740 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14743 ld_shlibs=no
14748 hardcode_libdir_flag_spec='-L$libdir'
14757 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14758 emximp -o $lib $output_objdir/$libname.def'
14765 prefix_cmds="$prefix_cmds -e 1d";
14767 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14769 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
14770 emximp -o $lib $output_objdir/$libname.def'
14771 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14778 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14779-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
14781 allow_undefined_flag=' -expect_unresolved \*'
14782-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
14784 archive_cmds_need_lc='no'
14785 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14789 osf4* | osf5*) # as osf3* with the addition of -msym flag
14791 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
14792-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
14793 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14795 allow_undefined_flag=' -expect_unresolved \*'
14796-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
14797 …rchive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >>…
14798-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
14800 # Both c and cxx compiler support -rpath directly
14801 hardcode_libdir_flag_spec='-rpath $libdir'
14803 archive_cmds_need_lc='no'
14808 no_undefined_flag=' -z defs'
14811 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
14812 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14813 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
14815 case `$CC -V 2>&1` in
14818 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
14819 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14820 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
14824 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14825 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
14826 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
14830 hardcode_libdir_flag_spec='-R$libdir'
14831 hardcode_shlibpath_var=no
14833 solaris2.[0-5] | solaris2.[0-5].*) ;;
14836 # but understands '-z linker_flag'. GCC discards it without '$wl',
14840 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
14842 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
14853 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14855 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14857 hardcode_libdir_flag_spec='-L$libdir'
14860 hardcode_shlibpath_var=no
14866 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14872 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14873 reload_cmds='$CC -r -o $output$reload_objs'
14874 hardcode_direct=no
14877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14878 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
14882 hardcode_shlibpath_var=no
14886 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14887 hardcode_shlibpath_var=no
14888 export_dynamic_flag_spec='-Bexport'
14892 if test -d /usr/nec; then
14893 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14894 hardcode_shlibpath_var=no
14902 no_undefined_flag='$wl-z,text'
14903 archive_cmds_need_lc=no
14904 hardcode_shlibpath_var=no
14908 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14909 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
14911 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14912 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
14917 # Note: We CANNOT use -z defs as we might desire, because we do not
14918 # link with -lc, and that would cause any symbols used from libc to
14919 # always be unresolved, which means just about no library would
14920 # ever link correctly. If we're not using GNU ld we use -z text
14921 # though, which does catch some bad symbols but isn't as heavy-handed
14922 # as -z defs.
14923 no_undefined_flag='$wl-z,text'
14924 allow_undefined_flag='$wl-z,nodefs'
14925 archive_cmds_need_lc=no
14926 hardcode_shlibpath_var=no
14927 hardcode_libdir_flag_spec='$wl-R,$libdir'
14930 export_dynamic_flag_spec='$wl-Bexport'
14934 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14935 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
14937 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14938 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
14943 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14944 hardcode_libdir_flag_spec='-L$libdir'
14945 hardcode_shlibpath_var=no
14949 ld_shlibs=no
14956 export_dynamic_flag_spec='$wl-Blargedynsym'
14962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
14964 test no = "$ld_shlibs" && can_build_shared=no
14987 # Assume -lc should be added
14993 # FIXME: we may have to deal with multi-command sequences.
14996 # Test whether the compiler implicitly links with -lc since on some
14997 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14998 # to ld, don't add -lc before -lgcc.
14999 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in"…
15000 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
15008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15011 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15019 compiler_flags=-v
15020 linker_flags=-v
15026 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
15027 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15032 lt_cv_archive_cmds_need_lc=no
15043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15212 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15215 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
15219 # otherwise default to the standard path separator (i.e. ":") - it is
15220 # assumed that no part of a normal pathname contains ";" but that should
15231 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15233 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15239 for lt_sys_path in $lt_search_path_spec; do
15240 if test -d "$lt_sys_path$lt_multi_os_dir"; then
15242 elif test -n "$lt_multi_os_dir"; then
15243 test -d "$lt_sys_path" && \
15251 for (lt_i = NF; lt_i > 0; lt_i--) {
15259 lt_count--;
15268 # for these hosts.
15271 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
15291 hardcode_into_libs=no
15293 # when you set need_version to no, make sure it does not cause -set_version
15305 # AIX 3 has no versioning support, so we append a major version to the name.
15309 aix[4-9]*)
15311 need_lib_prefix=no
15312 need_version=no
15320 # for dependence libraries. The import file would start with
15328 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
15331 can_build_shared=no
15336 # filename-based versioning of shared library archives on AIX. While
15337 # this would work for both with and without runtime linking, it will
15338 # prevent static linking of such archives. So we do filename-based
15343 # versioned .so libs for executables only if there is the -brtl
15344 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
15345 # To allow for filename-based versioning support, we need to create
15355 # but for link time we create the symlink libNAME.so -> libNAME.so.V
15358 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
15368 aix,no) # traditional AIX only
15370 # We preserve .a as extension for shared libraries through AIX4.2
15385-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
15386 …postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~…
15390 *,no) # both, prefer aix
15395-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
15396 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
15407 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15413 …finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $…
15426 need_version=no
15435 # libtool to hard-code these into programs
15441 need_version=no
15442 need_lib_prefix=no
15450 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15452 test -d \$dldir || mkdir -p \$dldir~
15455 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15458 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15466 …soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffi…
15472 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15476 …library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ve…
15485 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
15493 for lt_path in $LIB
15497 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15502 …path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
15506 # but this time dos style (no spaces!) so that the unix form looks
15508 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15509 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15510 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
15514 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15516 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15518 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15521 # common. (e.g. "Program Files" -> "PROGRA~1")
15527 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
15529 test -d \$dldir || mkdir -p \$dldir~
15531 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15540 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
15551 need_lib_prefix=no
15552 need_version=no
15565 need_lib_prefix=no
15566 need_version=no
15575 if test -x /usr/bin/objformat; then
15583 version_type=freebsd-$objformat
15585 freebsd-elf*)
15588 need_version=no
15589 need_lib_prefix=no
15591 freebsd-*)
15605 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15606 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15607 shlibpath_overrides_runpath=no
15619 need_lib_prefix=no
15620 need_version=no
15625 shlibpath_overrides_runpath=no
15626 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15634 need_lib_prefix=no
15635 need_version=no
15668 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15673 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15679 interix[3-9]*)
15681 need_lib_prefix=no
15682 need_version=no
15687 shlibpath_overrides_runpath=no
15701 need_lib_prefix=no
15702 need_version=no
15711 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15712 libsuff= shlibsuff= libmagic=32-bit;;
15713 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15715 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15716 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15717 *) libsuff= shlibsuff= libmagic=never-match;;
15722 shlibpath_overrides_runpath=no
15728 # No shared lib support for Linux oldld, aout, or coff.
15730 dynamic_linker=no
15735 need_lib_prefix=no
15736 need_version=no
15743 # This implies no fast_install, which is unacceptable.
15744 # Some rework will be needed to allow for fast_install
15749 # Don't embed -rpath directories since the linker doesn't support them.
15750 hardcode_libdir_flag_spec='-L$libdir'
15754 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15756 need_lib_prefix=no
15757 need_version=no
15760 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15762 shlibpath_overrides_runpath=no
15769 lt_cv_shlibpath_overrides_runpath=no
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15786 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
15791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15800 # This implies no fast_install, which is unacceptable.
15801 # Some rework will be needed to allow for fast_install
15806 # searched for libraries, however this is still not possible. Aside from not
15808 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
15809 # even though it is searched at run-time. Try to do the best guess by
15811 if test -f /etc/ld.so.conf; then
15812 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
15816 # We used to test for /lib/ld.so.1 and disable shared libraries on
15819 # most powerpc-linux boxes support dynamic linking these days and
15820 # people can always --disable-shared, the test was removed, and we
15825 netbsdelf*-gnu)
15827 need_lib_prefix=no
15828 need_version=no
15832 shlibpath_overrides_runpath=no
15839 need_lib_prefix=no
15840 need_version=no
15841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15843 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15864 need_lib_prefix=no
15865 need_version=no
15869 shlibpath_overrides_runpath=no
15877 need_lib_prefix=no
15878 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15879 need_version=no
15884 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15893 need_version=no
15894 need_lib_prefix=no
15896 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
15897 v=$($ECHO $release$versuffix | tr -d .-);
15898 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
15906 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
15908 test -d \$dldir || mkdir -p \$dldir~
15911 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15914 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
15921 need_lib_prefix=no
15922 need_version=no
15931 dynamic_linker=no
15936 need_lib_prefix=no
15937 need_version=no
15954 need_lib_prefix=no
15966 shlibpath_overrides_runpath=no
15967 need_lib_prefix=no
15971 need_lib_prefix=no
15974 need_lib_prefix=no
15975 need_version=no
15976 shlibpath_overrides_runpath=no
15983 if test -d /usr/nec; then
15993 need_lib_prefix=no
15994 need_version=no
16014 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16016 need_lib_prefix=no
16017 need_version=no
16020 shlibpath_overrides_runpath=no
16032 dynamic_linker=no
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16037 test no = "$dynamic_linker" && can_build_shared=no
16052 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16055 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16157 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs…
16160 if test -n "$hardcode_libdir_flag_spec" ||
16161 test -n "$runpath_var" ||
16164 # We can hardcode non-existent directories.
16165 if test no != "$hardcode_direct" &&
16168 # when we should be linking with a yet-to-be-installed one
16169 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16170 test no != "$hardcode_minus_L"; then
16182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16188 enable_fast_install=no
16190 test no = "$enable_shared"; then
16205 lt_cv_dlopen=no
16227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16228 printf %s "checking for dlopen in -ldl... " >&6; }
16234 LIBS="-ldl $LIBS"
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16254 ac_cv_lib_dl_dlopen=no
16256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16264 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16276 # Don't try to run any link tests for TPF. We know it's impossible
16277 # because TPF is a cross-compiler, and we know how we open DSOs.
16280 lt_cv_dlopen_self=no
16289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
16290 printf %s "checking for shl_load in -ldld... " >&6; }
16296 LIBS="-ldld $LIBS"
16297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16316 ac_cv_lib_dld_shl_load=no
16318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
16326 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
16333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16334 printf %s "checking for dlopen in -ldl... " >&6; }
16340 LIBS="-ldl $LIBS"
16341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16360 ac_cv_lib_dl_dlopen=no
16362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16370 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
16372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16373 printf %s "checking for dlopen in -lsvld... " >&6; }
16379 LIBS="-lsvld $LIBS"
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 ac_cv_lib_svld_dlopen=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16409 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
16411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16412 printf %s "checking for dld_link in -ldld... " >&6; }
16418 LIBS="-ldld $LIBS"
16419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16438 ac_cv_lib_dld_dld_link=no
16440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16448 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
16469 if test no = "$lt_cv_dlopen"; then
16470 enable_dlopen=no
16478 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
16486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16539 /* When -fvisibility=hidden is used, assume the code has been annotated
16540 correspondingly for the symbols needed. */
16567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16571 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16577 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
16581 lt_cv_dlopen_self=no
16584 rm -fr conftest*
16588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
16593 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlo…
16646 /* When -fvisibility=hidden is used, assume the code has been annotated
16647 correspondingly for the symbols needed. */
16674 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
16677 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16678 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
16684 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
16688 lt_cv_dlopen_self_static=no
16691 rm -fr conftest*
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
16706 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
16711 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
16734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
16736 if test -z "$STRIP"; then
16737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16738 printf "%s\n" "no" >&6; }
16740 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
16741 old_striplib="$STRIP --strip-debug"
16742 striplib="$STRIP --strip-unneeded"
16743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16748 # FIXME - insert some real tests, host_os isn't really good enough
16749 striplib="$STRIP -x"
16750 old_striplib="$STRIP -S"
16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16755 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
16756 old_striplib="$STRIP --strip-debug"
16757 striplib="$STRIP --strip-unneeded"
16758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16762 printf "%s\n" "no" >&6; }
16766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16767 printf "%s\n" "no" >&6; }
16785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16792 test no = "$can_build_shared" && enable_shared=no
16798 test yes = "$enable_shared" && enable_static=no
16799 if test -n "$RANLIB"; then
16805 aix[4-9]*)
16810 yes,*) enable_static=no ;; # shared object in lib.a archive as well
16815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16830 ac_cpp='$CPP $CPPFLAGS'
16831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859 ## --------------------- ##
16861 ## --------------------- ##
16890 # Verify if libtool shared libraries should be linked using flag -version-info
16893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -vers…
16894 printf %s "checking whether to build shared libraries with -version-info... " >&6; }
16897 xc_lt_shlib_use_version_info='no'
16904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
16908 # Verify if libtool shared libraries should be linked using flag -no-undefined
16911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-u…
16912 printf %s "checking whether to build shared libraries with -no-undefined... " >&6; }
16913 xc_lt_shlib_use_no_undefined='no'
16924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
16928 # Verify if libtool shared libraries should be linked using flag -mimpure-text
16931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimp…
16932 printf %s "checking whether to build shared libraries with -mimpure-text... " >&6; }
16933 xc_lt_shlib_use_mimpure_text='no'
16941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
16951 xc_lt_build_static_with_pic='no'
16958 xc_lt_build_shared_with_pic='no'
16959 xc_lt_build_static_with_pic='no'
16964 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mod…
16968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" …
16970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
16972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" …
16974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
16981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
16984 test "$xc_lt_build_static" = 'no'; then
16987 xc_lt_build_shared_only='no'
16989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
16999 test "$xc_lt_build_shared" = 'no'; then
17002 xc_lt_build_static_only='no'
17004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
17010 if test -n "$ac_tool_prefix"; then
17013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17014 printf %s "checking for $ac_word... " >&6; }
17019 if test -n "$RC"; then
17023 for as_dir in $PATH
17031 for ac_exec_ext in '' $ac_executable_extensions; do
17034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17044 if test -n "$RC"; then
17045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
17048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17049 printf "%s\n" "no" >&6; }
17054 if test -z "$ac_cv_prog_RC"; then
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17059 printf %s "checking for $ac_word... " >&6; }
17064 if test -n "$ac_ct_RC"; then
17068 for as_dir in $PATH
17076 for ac_exec_ext in '' $ac_executable_extensions; do
17079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
17089 if test -n "$ac_ct_RC"; then
17090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
17093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17094 printf "%s\n" "no" >&6; }
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
17115 # Source file extension for RC test sources.
17118 # Object file extension for compiled RC test sources.
17128 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17135 # If no C compiler was specified, use CC.
17136 LTCC=${LTCC-"$CC"}
17138 # If no C compiler flags were specified, use CFLAGS.
17139 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17156 $RM -r conftest*
17164 CC=${RC-"windres"}
17173 if test -n "$compiler"; then
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17222 # specifying separate CPPFLAGS or CFLAGS when compiling objects for
17224 # build using separate configure runs for shared and static libraries
17226 # to compile objects for each kind of library. Notice that relying on
17227 # the '-DPIC' CFLAG that libtool provides is not valid given that the
17228 # user might for example choose to build static libraries with PIC.
17253 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
17259 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
17261 REQUIRE_LIB_DEPS=no
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17276 printf %s "checking for inline... " >&6; }
17281 ac_cv_c_inline=no
17282 for ac_kw in inline __inline__ __inline; do
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17297 test "$ac_cv_c_inline" != no && break
17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17308 no) ac_val=;;
17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
17323 printf %s "checking if cpp -P is needed... " >&6; }
17324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 cpp=no
17336 cpp=yes
17338 rm -rf conftest*
17340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
17341 printf "%s\n" "$cpp" >&6; }
17343 if test "x$cpp" = "xyes"; then
17344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
17345 printf %s "checking if cpp -P works... " >&6; }
17347 CPPFLAGS="$CPPFLAGS -P"
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 cpp_p=no
17362 rm -rf conftest*
17364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
17368 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
17369 printf "%s\n" "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
17370 # without -P
17373 # with -P
17374 CPPPFLAG="-P"
17378 # without -P
17392 flags_prefer_cppflags="no"
17395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
17401 if test -z "$SED"; then
17404 if test -z "$GREP"; then
17409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
17431 rm -f conftest.err conftest.i conftest.$ac_ext
17432 if test -z "$tmp_exp"; then
17433 curl_cv_have_def___DECC=no
17446 if test -z "$SED"; then
17449 if test -z "$GREP"; then
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17471 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
17476 rm -f conftest.err conftest.i conftest.$ac_ext
17477 if test -z "$tmp_exp"; then
17478 curl_cv_have_def___DECC_VER=no
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17492 flags_dbg_yes="-g2"
17493 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
17494 flags_opt_yes="-O1"
17495 flags_opt_off="-O0"
17497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17498 printf "%s\n" "no" >&6; }
17502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
17503 printf %s "checking if compiler is HP-UX C... " >&6; }
17508 if test -z "$SED"; then
17511 if test -z "$GREP"; then
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17533 if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
17538 rm -f conftest.err conftest.i conftest.$ac_ext
17539 if test -z "$tmp_exp"; then
17540 curl_cv_have_def___HP_cc=no
17550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17553 flags_dbg_yes="-g"
17554 flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
17558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17559 printf "%s\n" "no" >&6; }
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
17569 if test -z "$SED"; then
17572 if test -z "$GREP"; then
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
17599 rm -f conftest.err conftest.i conftest.$ac_ext
17600 if test -z "$tmp_exp"; then
17601 curl_cv_have_def___IBMC__=no
17611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17614 flags_dbg_yes="-g"
17615 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
17616 flags_opt_all="$flags_opt_all -qnooptimize"
17617 flags_opt_all="$flags_opt_all -qoptimize=0"
17618 flags_opt_all="$flags_opt_all -qoptimize=1"
17619 flags_opt_all="$flags_opt_all -qoptimize=2"
17620 flags_opt_all="$flags_opt_all -qoptimize=3"
17621 flags_opt_all="$flags_opt_all -qoptimize=4"
17622 flags_opt_all="$flags_opt_all -qoptimize=5"
17623 flags_opt_yes="-O2"
17624 flags_opt_off="-qnooptimize"
17627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17628 printf "%s\n" "no" >&6; }
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
17638 if test -z "$SED"; then
17641 if test -z "$GREP"; then
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17663 if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
17668 rm -f conftest.err conftest.i conftest.$ac_ext
17669 if test -z "$tmp_exp"; then
17670 curl_cv_have_def___INTEL_COMPILER=no
17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17687 if test -z "$SED"; then
17690 if test -z "$GREP"; then
17695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
17717 rm -f conftest.err conftest.i conftest.$ac_ext
17718 if test -z "$tmp_exp"; then
17719 curl_cv_have_def___unix__=no
17730 flags_dbg_yes="-g"
17731 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
17732 flags_opt_yes="-O2"
17733 flags_opt_off="-O0"
17736 flags_dbg_yes="/Zi /Oy-"
17737 flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
17742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743 printf "%s\n" "no" >&6; }
17747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
17753 if test -z "$SED"; then
17756 if test -z "$GREP"; then
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17778 if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
17783 rm -f conftest.err conftest.i conftest.$ac_ext
17784 if test -z "$tmp_exp"; then
17785 curl_cv_have_def___clang__=no
17795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
17803 if test -z "$SED"; then
17806 if test -z "$GREP"; then
17811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
17833 rm -f conftest.err conftest.i conftest.$ac_ext
17834 if test -z "$tmp_exp"; then
17835 curl_cv_have_def___ibmxl__=no
17845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17850 printf "%s\n" "no" >&6; }
17853 fullclangver=`$CC -v 2>&1 | grep version`
17854 …clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*…
17855 if test -z "$clangver"; then
17859 clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
17862 clangvhi=`echo $clangver | cut -d . -f1`
17863 clangvlo=`echo $clangver | cut -d . -f2`
17865 flags_dbg_yes="-g"
17866 flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
17867 flags_opt_yes="-O2"
17868 flags_opt_off="-O0"
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17871 printf "%s\n" "no" >&6; }
17875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
17881 if test -z "$SED"; then
17884 if test -z "$GREP"; then
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
17911 rm -f conftest.err conftest.i conftest.$ac_ext
17912 if test -z "$tmp_exp"; then
17913 curl_cv_have_def___GNUC__=no
17924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17927 gccver=`$CC -dumpversion`
17928 gccvhi=`echo $gccver | cut -d . -f1`
17929 gccvlo=`echo $gccver | cut -d . -f2`
17931 flags_dbg_yes="-g"
17932 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
17933 flags_opt_yes="-O2"
17934 flags_opt_off="-O0"
17939 if test -z "$SED"; then
17942 if test -z "$GREP"; then
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then
17969 rm -f conftest.err conftest.i conftest.$ac_ext
17970 if test -z "$tmp_exp"; then
17971 curl_cv_have_def__WIN32=no
17981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17982 printf "%s\n" "no" >&6; }
17986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5
17992 if test -z "$SED"; then
17995 if test -z "$GREP"; then
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then
18022 rm -f conftest.err conftest.i conftest.$ac_ext
18023 if test -z "$tmp_exp"; then
18024 curl_cv_have_def___LCC__=no
18034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18037 flags_dbg_yes="-g"
18042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18043 printf "%s\n" "no" >&6; }
18047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
18053 if test -z "$SED"; then
18056 if test -z "$GREP"; then
18061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18083 rm -f conftest.err conftest.i conftest.$ac_ext
18084 if test -z "$tmp_exp"; then
18085 curl_cv_have_def___GNUC__=no
18098 if test -z "$SED"; then
18101 if test -z "$GREP"; then
18106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
18128 rm -f conftest.err conftest.i conftest.$ac_ext
18129 if test -z "$tmp_exp"; then
18130 curl_cv_have_def__COMPILER_VERSION=no
18143 if test -z "$SED"; then
18146 if test -z "$GREP"; then
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
18173 rm -f conftest.err conftest.i conftest.$ac_ext
18174 if test -z "$tmp_exp"; then
18175 curl_cv_have_def__SGI_COMPILER_VERSION=no
18184 if test "$curl_cv_have_def___GNUC__" = "no" &&
18187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18190 flags_dbg_yes="-g"
18191 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18192 flags_opt_yes="-O2"
18193 flags_opt_off="-O0"
18195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18196 printf "%s\n" "no" >&6; }
18200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
18206 if test -z "$SED"; then
18209 if test -z "$GREP"; then
18214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18231 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
18236 rm -f conftest.err conftest.i conftest.$ac_ext
18237 if test -z "$tmp_exp"; then
18238 curl_cv_have_def___GNUC__=no
18251 if test -z "$SED"; then
18254 if test -z "$GREP"; then
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18276 if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
18281 rm -f conftest.err conftest.i conftest.$ac_ext
18282 if test -z "$tmp_exp"; then
18283 curl_cv_have_def___sgi=no
18292 if test "$curl_cv_have_def___GNUC__" = "no" &&
18295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18298 flags_dbg_yes="-g"
18299 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
18300 flags_opt_yes="-O2"
18301 flags_opt_off="-O0"
18303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18304 printf "%s\n" "no" >&6; }
18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
18314 if test -z "$SED"; then
18317 if test -z "$GREP"; then
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18339 if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
18344 rm -f conftest.err conftest.i conftest.$ac_ext
18345 if test -z "$tmp_exp"; then
18346 curl_cv_have_def___SUNPRO_C=no
18356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18359 flags_dbg_yes="-g"
18360 flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
18361 flags_opt_yes="-xO2"
18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18365 printf "%s\n" "no" >&6; }
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
18375 if test -z "$SED"; then
18378 if test -z "$GREP"; then
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
18405 rm -f conftest.err conftest.i conftest.$ac_ext
18406 if test -z "$tmp_exp"; then
18407 curl_cv_have_def___TINYC__=no
18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18420 flags_dbg_yes="-g"
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18426 printf "%s\n" "no" >&6; }
18437 *** Whatever settings are present in CFLAGS will be used for this run.
18441 *** mailing list: https://lists.haxx.selistinfo/curl-library/
18450 for _sqz_token in $_sqz_input; do
18451 if test -z "$_sqz_result"; then
18474 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
18475 tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion"
18480 tmp_CFLAGS="$tmp_CFLAGS -std1"
18481 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
18482 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
18483 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
18488 if test "$compiler_num" -ge "295"; then
18489 tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
18495 tmp_CFLAGS="$tmp_CFLAGS -z"
18501 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
18502 tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
18503 tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
18508 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
18509 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-error 140,147,165,266"
18510 … tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-disable 279,981,1025,1469,2259"
18520 tmp_CFLAGS="$tmp_CFLAGS -n"
18548 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
18549 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 tmp_compiler_works="no"
18582 sed 's/^/cc-fail: /' conftest.err >&6
18586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 tmp_compiler_works="no"
18613 sed 's/^/link-fail: /' conftest.err >&6
18617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18627 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18630 See \`config.log' for more details" "$LINENO" 5; }
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 tmp_compiler_works="no"
18658 echo "run-fail: test program exited with status $ac_status" >&6
18662 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18673 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18676 See \`config.log' for more details" "$LINENO" 5; }
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 tmp_compiler_works="no"
18704 echo "run-fail: test program exited with status $ac_status" >&6
18708 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18721 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
18726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
18727 printf "%s\n" "no" >&6; }
18728 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
18751 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options"…
18782 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might…
18786 ac_var_match_word="no"
18787 for word1 in $tmp_CFLAGS; do
18788 for word2 in $flags_opt_all; do
18797 honor_optimize_option="no"
18804 ac_var_match_word="no"
18805 for word1 in $tmp_CPPFLAGS; do
18806 for word2 in $flags_opt_all; do
18815 honor_optimize_option="no"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
18827 want_optimize="no"
18835 for word1 in $tmp_CFLAGS; do
18836 ac_var_strip_word="no"
18837 for word2 in $flags_opt_all; do
18842 if test "$ac_var_strip_word" = "no"; then
18851 for word1 in $tmp_CPPFLAGS; do
18852 ac_var_strip_word="no"
18853 for word2 in $flags_opt_all; do
18858 if test "$ac_var_strip_word" = "no"; then
18866 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling opti…
18870 if test "$want_optimize" = "no"; then
18871 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling opt…
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 tmp_compiler_works="no"
18911 sed 's/^/cc-fail: /' conftest.err >&6
18915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 tmp_compiler_works="no"
18942 sed 's/^/link-fail: /' conftest.err >&6
18946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18956 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18959 See \`config.log' for more details" "$LINENO" 5; }
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 tmp_compiler_works="no"
18987 echo "run-fail: test program exited with status $ac_status" >&6
18991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19002 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19005 See \`config.log' for more details" "$LINENO" 5; }
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 tmp_compiler_works="no"
19033 echo "run-fail: test program exited with status $ac_status" >&6
19037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
19055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
19056 printf "%s\n" "no" >&6; }
19057 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
19082 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
19085 for warning in all extra; do
19087 ac_var_match_word="no"
19088 for word1 in $CFLAGS; do
19089 for word2 in -Wno-$warning -W$warning; do
19096 if test "$ac_var_match_word" = "no"; then
19097 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19105 for warning in pointer-arith write-strings; do
19107 ac_var_match_word="no"
19108 for word1 in $CFLAGS; do
19109 for word2 in -Wno-$warning -W$warning; do
19116 if test "$ac_var_match_word" = "no"; then
19117 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19125 for warning in shadow; do
19127 ac_var_match_word="no"
19128 for word1 in $CFLAGS; do
19129 for word2 in -Wno-$warning -W$warning; do
19136 if test "$ac_var_match_word" = "no"; then
19137 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19145 for warning in inline nested-externs; do
19147 ac_var_match_word="no"
19148 for word1 in $CFLAGS; do
19149 for word2 in -Wno-$warning -W$warning; do
19156 if test "$ac_var_match_word" = "no"; then
19157 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19165 for warning in missing-declarations; do
19167 ac_var_match_word="no"
19168 for word1 in $CFLAGS; do
19169 for word2 in -Wno-$warning -W$warning; do
19176 if test "$ac_var_match_word" = "no"; then
19177 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19185 for warning in missing-prototypes; do
19187 ac_var_match_word="no"
19188 for word1 in $CFLAGS; do
19189 for word2 in -Wno-$warning -W$warning; do
19196 if test "$ac_var_match_word" = "no"; then
19197 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19203 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
19206 for warning in float-equal; do
19208 ac_var_match_word="no"
19209 for word1 in $CFLAGS; do
19210 for word2 in -Wno-$warning -W$warning; do
19217 if test "$ac_var_match_word" = "no"; then
19218 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19226 for warning in no-multichar sign-compare; do
19228 ac_var_match_word="no"
19229 for word1 in $CFLAGS; do
19230 for word2 in -Wno-$warning -W$warning; do
19237 if test "$ac_var_match_word" = "no"; then
19238 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19246 for warning in undef; do
19248 ac_var_match_word="no"
19249 for word1 in $CFLAGS; do
19250 for word2 in -Wno-$warning -W$warning; do
19257 if test "$ac_var_match_word" = "no"; then
19258 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19264 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
19267 for warning in endif-labels strict-prototypes; do
19269 ac_var_match_word="no"
19270 for word1 in $CFLAGS; do
19271 for word2 in -Wno-$warning -W$warning; do
19278 if test "$ac_var_match_word" = "no"; then
19279 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19287 for warning in declaration-after-statement; do
19289 ac_var_match_word="no"
19290 for word1 in $CFLAGS; do
19291 for word2 in -Wno-$warning -W$warning; do
19298 if test "$ac_var_match_word" = "no"; then
19299 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19307 for warning in cast-align; do
19309 ac_var_match_word="no"
19310 for word1 in $CFLAGS; do
19311 for word2 in -Wno-$warning -W$warning; do
19318 if test "$ac_var_match_word" = "no"; then
19319 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19325 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
19328 for warning in shorten-64-to-32; do
19330 ac_var_match_word="no"
19331 for word1 in $CFLAGS; do
19332 for word2 in -Wno-$warning -W$warning; do
19339 if test "$ac_var_match_word" = "no"; then
19340 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19347 if test "$compiler_num" -ge "101"; then
19350 for warning in unused; do
19352 ac_var_match_word="no"
19353 for word1 in $CFLAGS; do
19354 for word2 in -Wno-$warning -W$warning; do
19361 if test "$ac_var_match_word" = "no"; then
19362 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19370 if test "$compiler_num" -ge "208"; then
19373 for warning in vla; do
19375 ac_var_match_word="no"
19376 for word1 in $CFLAGS; do
19377 for word2 in -Wno-$warning -W$warning; do
19384 if test "$ac_var_match_word" = "no"; then
19385 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19393 if test "$compiler_num" -ge "209"; then
19396 for warning in shift-sign-overflow; do
19398 ac_var_match_word="no"
19399 for word1 in $CFLAGS; do
19400 for word2 in -Wno-$warning -W$warning; do
19407 if test "$ac_var_match_word" = "no"; then
19408 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19416 if test "$compiler_num" -ge "302"; then
19423 for warning in missing-variable-declarations; do
19425 ac_var_match_word="no"
19426 for word1 in $CFLAGS; do
19427 for word2 in -Wno-$warning -W$warning; do
19434 if test "$ac_var_match_word" = "no"; then
19435 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19445 if test "$compiler_num" -ge "306"; then
19448 for warning in double-promotion; do
19450 ac_var_match_word="no"
19451 for word1 in $CFLAGS; do
19452 for word2 in -Wno-$warning -W$warning; do
19459 if test "$ac_var_match_word" = "no"; then
19460 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19468 if test "$compiler_num" -ge "309"; then
19471 for warning in comma; do
19473 ac_var_match_word="no"
19474 for word1 in $CFLAGS; do
19475 for word2 in -Wno-$warning -W$warning; do
19482 if test "$ac_var_match_word" = "no"; then
19483 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19491 if test "$compiler_num" -lt "400"; then
19492 tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
19495 if test "$compiler_num" -ge "700"; then
19498 for warning in assign-enum; do
19500 ac_var_match_word="no"
19501 for word1 in $CFLAGS; do
19502 for word2 in -Wno-$warning -W$warning; do
19509 if test "$ac_var_match_word" = "no"; then
19510 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19518 for warning in extra-semi-stmt; do
19520 ac_var_match_word="no"
19521 for word1 in $CFLAGS; do
19522 for word2 in -Wno-$warning -W$warning; do
19529 if test "$ac_var_match_word" = "no"; then
19530 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19543 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
19550 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
19553 test "$compiler_num" -ge "300"; then
19554 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
19559 for warning in all; do
19561 ac_var_match_word="no"
19562 for word1 in $CFLAGS; do
19563 for word2 in -Wno-$warning -W$warning; do
19570 if test "$ac_var_match_word" = "no"; then
19571 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19577 tmp_CFLAGS="$tmp_CFLAGS -W"
19579 if test "$compiler_num" -ge "104"; then
19582 for warning in pointer-arith write-strings; do
19584 ac_var_match_word="no"
19585 for word1 in $CFLAGS; do
19586 for word2 in -Wno-$warning -W$warning; do
19593 if test "$ac_var_match_word" = "no"; then
19594 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19601 test "$compiler_num" -ge "300"; then
19604 for warning in unused shadow; do
19606 ac_var_match_word="no"
19607 for word1 in $CFLAGS; do
19608 for word2 in -Wno-$warning -W$warning; do
19615 if test "$ac_var_match_word" = "no"; then
19616 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19625 if test "$compiler_num" -ge "207"; then
19628 for warning in inline nested-externs; do
19630 ac_var_match_word="no"
19631 for word1 in $CFLAGS; do
19632 for word2 in -Wno-$warning -W$warning; do
19639 if test "$ac_var_match_word" = "no"; then
19640 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19647 test "$compiler_num" -ge "300"; then
19650 for warning in missing-declarations; do
19652 ac_var_match_word="no"
19653 for word1 in $CFLAGS; do
19654 for word2 in -Wno-$warning -W$warning; do
19661 if test "$ac_var_match_word" = "no"; then
19662 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19670 for warning in missing-prototypes; do
19672 ac_var_match_word="no"
19673 for word1 in $CFLAGS; do
19674 for word2 in -Wno-$warning -W$warning; do
19681 if test "$ac_var_match_word" = "no"; then
19682 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19691 if test "$compiler_num" -ge "295"; then
19692 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
19695 for warning in bad-function-cast; do
19697 ac_var_match_word="no"
19698 for word1 in $CFLAGS; do
19699 for word2 in -Wno-$warning -W$warning; do
19706 if test "$ac_var_match_word" = "no"; then
19707 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19715 if test "$compiler_num" -ge "296"; then
19718 for warning in float-equal; do
19720 ac_var_match_word="no"
19721 for word1 in $CFLAGS; do
19722 for word2 in -Wno-$warning -W$warning; do
19729 if test "$ac_var_match_word" = "no"; then
19730 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19736 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
19739 for warning in sign-compare; do
19741 ac_var_match_word="no"
19742 for word1 in $CFLAGS; do
19743 for word2 in -Wno-$warning -W$warning; do
19750 if test "$ac_var_match_word" = "no"; then
19751 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19759 for warning in undef; do
19761 ac_var_match_word="no"
19762 for word1 in $CFLAGS; do
19763 for word2 in -Wno-$warning -W$warning; do
19770 if test "$ac_var_match_word" = "no"; then
19771 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19779 if test "$compiler_num" -ge "297"; then
19780 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
19783 if test "$compiler_num" -ge "300"; then
19787 if test "$compiler_num" -ge "303"; then
19790 for warning in endif-labels strict-prototypes; do
19792 ac_var_match_word="no"
19793 for word1 in $CFLAGS; do
19794 for word2 in -Wno-$warning -W$warning; do
19801 if test "$ac_var_match_word" = "no"; then
19802 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19810 if test "$compiler_num" -ge "304"; then
19813 for warning in declaration-after-statement; do
19815 ac_var_match_word="no"
19816 for word1 in $CFLAGS; do
19817 for word2 in -Wno-$warning -W$warning; do
19824 if test "$ac_var_match_word" = "no"; then
19825 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19833 for warning in old-style-definition; do
19835 ac_var_match_word="no"
19836 for word1 in $CFLAGS; do
19837 for word2 in -Wno-$warning -W$warning; do
19844 if test "$ac_var_match_word" = "no"; then
19845 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19853 if test "$compiler_num" -ge "400"; then
19854 tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
19857 if test "$compiler_num" -ge "402"; then
19860 for warning in cast-align; do
19862 ac_var_match_word="no"
19863 for word1 in $CFLAGS; do
19864 for word2 in -Wno-$warning -W$warning; do
19871 if test "$ac_var_match_word" = "no"; then
19872 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19880 if test "$compiler_num" -ge "403"; then
19883 for warning in type-limits old-style-declaration; do
19885 ac_var_match_word="no"
19886 for word1 in $CFLAGS; do
19887 for word2 in -Wno-$warning -W$warning; do
19894 if test "$ac_var_match_word" = "no"; then
19895 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19903 for warning in missing-parameter-type empty-body; do
19905 ac_var_match_word="no"
19906 for word1 in $CFLAGS; do
19907 for word2 in -Wno-$warning -W$warning; do
19914 if test "$ac_var_match_word" = "no"; then
19915 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19923 for warning in clobbered ignored-qualifiers; do
19925 ac_var_match_word="no"
19926 for word1 in $CFLAGS; do
19927 for word2 in -Wno-$warning -W$warning; do
19934 if test "$ac_var_match_word" = "no"; then
19935 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19943 for warning in conversion; do
19945 ac_var_match_word="no"
19946 for word1 in $CFLAGS; do
19947 for word2 in -Wno-$warning -W$warning; do
19954 if test "$ac_var_match_word" = "no"; then
19955 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19961 tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion"
19964 for warning in vla; do
19966 ac_var_match_word="no"
19967 for word1 in $CFLAGS; do
19968 for word2 in -Wno-$warning -W$warning; do
19975 if test "$ac_var_match_word" = "no"; then
19976 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
19982 tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
19985 if test "$compiler_num" -ge "405"; then
19987 tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
19991 if test "$compiler_num" -ge "406"; then
19994 for warning in double-promotion; do
19996 ac_var_match_word="no"
19997 for word1 in $CFLAGS; do
19998 for word2 in -Wno-$warning -W$warning; do
20005 if test "$ac_var_match_word" = "no"; then
20006 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20014 if test "$compiler_num" -ge "408"; then
20015 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
20018 if test "$compiler_num" -ge "500"; then
20019 tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
20022 if test "$compiler_num" -ge "600"; then
20025 for warning in shift-negative-value; do
20027 ac_var_match_word="no"
20028 for word1 in $CFLAGS; do
20029 for word2 in -Wno-$warning -W$warning; do
20036 if test "$ac_var_match_word" = "no"; then
20037 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20043 tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
20046 for warning in null-dereference; do
20048 ac_var_match_word="no"
20049 for word1 in $CFLAGS; do
20050 for word2 in -Wno-$warning -W$warning; do
20057 if test "$ac_var_match_word" = "no"; then
20058 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20064 tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
20067 for warning in duplicated-cond; do
20069 ac_var_match_word="no"
20070 for word1 in $CFLAGS; do
20071 for word2 in -Wno-$warning -W$warning; do
20078 if test "$ac_var_match_word" = "no"; then
20079 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20087 for warning in unused-const-variable; do
20089 ac_var_match_word="no"
20090 for word1 in $CFLAGS; do
20091 for word2 in -Wno-$warning -W$warning; do
20098 if test "$ac_var_match_word" = "no"; then
20099 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20107 if test "$compiler_num" -ge "700"; then
20110 for warning in duplicated-branches; do
20112 ac_var_match_word="no"
20113 for word1 in $CFLAGS; do
20114 for word2 in -Wno-$warning -W$warning; do
20121 if test "$ac_var_match_word" = "no"; then
20122 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20130 for warning in restrict; do
20132 ac_var_match_word="no"
20133 for word1 in $CFLAGS; do
20134 for word2 in -Wno-$warning -W$warning; do
20141 if test "$ac_var_match_word" = "no"; then
20142 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20150 for warning in alloc-zero; do
20152 ac_var_match_word="no"
20153 for word1 in $CFLAGS; do
20154 for word2 in -Wno-$warning -W$warning; do
20161 if test "$ac_var_match_word" = "no"; then
20162 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20168 tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
20169 tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
20170 if test "$compiler_num" -lt "1200"; then
20171 tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
20175 if test "$compiler_num" -ge "1000"; then
20178 for warning in arith-conversion; do
20180 ac_var_match_word="no"
20181 for word1 in $CFLAGS; do
20182 for word2 in -Wno-$warning -W$warning; do
20189 if test "$ac_var_match_word" = "no"; then
20190 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20198 for warning in enum-conversion; do
20200 ac_var_match_word="no"
20201 for word1 in $CFLAGS; do
20202 for word2 in -Wno-$warning -W$warning; do
20209 if test "$ac_var_match_word" = "no"; then
20210 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20220 if test "$compiler_num" -ge "300"; then
20221 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
20224 if test "$compiler_num" -ge "104"; then
20225 tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
20227 if test "$compiler_num" -ge "207"; then
20228 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
20229 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
20250 if test "$compiler_num" -gt "600"; then
20251 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
20252 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
20253 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
20254 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
20255 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
20256 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
20257 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
20258 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
20259 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
20260 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
20261 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
20264 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
20265 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
20266 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
20284 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20291 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
20292 tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
20299 tmp_CFLAGS="$tmp_CFLAGS -v"
20308 for warning in all; do
20310 ac_var_match_word="no"
20311 for word1 in $CFLAGS; do
20312 for word2 in -Wno-$warning -W$warning; do
20319 if test "$ac_var_match_word" = "no"; then
20320 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20328 for warning in write-strings; do
20330 ac_var_match_word="no"
20331 for word1 in $CFLAGS; do
20332 for word2 in -Wno-$warning -W$warning; do
20339 if test "$ac_var_match_word" = "no"; then
20340 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20348 for warning in unsupported; do
20350 ac_var_match_word="no"
20351 for word1 in $CFLAGS; do
20352 for word2 in -Wno-$warning -W$warning; do
20359 if test "$ac_var_match_word" = "no"; then
20360 ac_var_added_warnings="$ac_var_added_warnings -W$warning"
20374 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
20375 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options"…
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20406 tmp_compiler_works="no"
20408 sed 's/^/cc-fail: /' conftest.err >&6
20412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 tmp_compiler_works="no"
20439 sed 's/^/link-fail: /' conftest.err >&6
20443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20453 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20456 See \`config.log' for more details" "$LINENO" 5; }
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20482 tmp_compiler_works="no"
20484 echo "run-fail: test program exited with status $ac_status" >&6
20488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20499 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20502 See \`config.log' for more details" "$LINENO" 5; }
20504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20528 tmp_compiler_works="no"
20530 echo "run-fail: test program exited with status $ac_status" >&6
20534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20547 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >…
20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20553 printf "%s\n" "no" >&6; }
20554 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp…
20568 if test "$compiler_num" -ge "1000"; then
20569 CFLAGS="$CFLAGS -shared-intel"
20570 elif test "$compiler_num" -ge "900"; then
20571 CFLAGS="$CFLAGS -i-dynamic"
20578 CURL_CFLAG_EXTRAS="-Werror"
20580 if test "$compiler_num" -ge "500"; then
20581 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
20588 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
20590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20609 printf "%s\n" "no" >&6; }
20614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20621 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays"…
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20627 typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
20642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20643 printf "%s\n" "no" >&6; }
20648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20655 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mis…
20657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20688 printf "%s\n" "no" >&6; }
20693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20700 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library interna…
20702 supports_symbol_hiding="no"
20710 tmp_CFLAGS="-fvisibility=hidden"
20714 if test "$compiler_num" -ge "304"; then
20715 if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
20717 tmp_CFLAGS="-fvisibility=hidden"
20723 if test "$compiler_num" -ge "900"; then
20724 if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
20726 CFLAGS="$CFLAGS -fvisibility=hidden"
20727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20747 tmp_CFLAGS="-fvisibility=hidden"
20751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20758 if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
20760 tmp_CFLAGS="-xldscope=hidden"
20769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 if test -f conftest.err; then
20801 if test "$?" -eq "0"; then
20802 supports_symbol_hiding="no"
20808 supports_symbol_hiding="no"
20810 sed 's/^/cc-src: /' conftest.$ac_ext >&6
20811 sed 's/^/cc-err: /' conftest.err >&6
20815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20825 printf "%s\n" "no" >&6; }
20834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
20836 supports_curldebug="no"
20840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
20842 supports_curldebug="no"
20844 if test "$supports_curldebug" != "no"; then
20847 supports_curldebug="no"
20848 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined s…
20855 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enable…
20857 test "$supports_curldebug" = "no" || supports_curldebug="yes"
20858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
20860 if test "$supports_curldebug" = "no"; then
20861 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." …
20863 want_curldebug="no"
20877 # cross-compilation of unit tests static library/programs fails when
20882 supports_unittests=no
20889 mips-sgi-irix6.5)
20891 supports_unittests=no
20897 # due to unittests library being built with no symbols or members. Libtool ?
20901 supports_unittests=no
20909 want_unittests=no
20920 # For original MinGW (ie not MinGW-w64) define the Windows minimum supported OS
20925 *-*-mingw32*)
20926 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if MinGW minimum supported OS should be set…
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20951 CPPFLAGS="$CPPFLAGS -DWINVER=0x501"
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
20958 printf "%s\n" "no" >&6; }
20961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20965 # Detect original MinGW (not MinGW-w64)
20966 curl_mingw_original=no
20968 *-*-mingw32*)
20969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking using original MinGW (not MinGW-w64)" >&5
20970 printf %s "checking using original MinGW (not MinGW-w64)... " >&6; }
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21000 printf "%s\n" "no" >&6; }
21003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21009 # Check whether --with-mingw1-deprecated was given.
21019 if test -n "$curl_mingw_die"; then
21020 …as_fn_error $? "support for mingw v1 is going away, enable temporarily with --with-mingw1-deprecat…
21026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
21027 printf %s "checking for windows.h... " >&6; }
21033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21064 curl_cv_header_windows_h="no"
21067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
21081 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows on…
21088 if test "$curl_cv_header_windows_h" = "no"; then
21089 curl_cv_native_windows="no"
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21118 curl_cv_native_windows="no"
21121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
21136 case X-"$curl_cv_native_windows" in
21137 X-yes)
21139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
21140 printf %s "checking for winsock2.h... " >&6; }
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 curl_cv_header_winsock2_h="no"
21181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
21195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
21196 printf %s "checking for ws2tcpip.h... " >&6; }
21202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21235 curl_cv_header_ws2tcpip_h="no"
21238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
21252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wincrypt.h" >&5
21253 printf %s "checking for wincrypt.h... " >&6; }
21259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21287 curl_cv_header_wincrypt_h="no"
21290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_wincrypt_h" >&5
21304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winldap.h" >&5
21305 printf %s "checking for winldap.h... " >&6; }
21311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 curl_cv_header_winldap_h="no"
21349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winldap_h" >&5
21364 curl_cv_header_winsock2_h="no"
21365 curl_cv_header_ws2tcpip_h="no"
21366 curl_cv_header_wincrypt_h="no"
21367 curl_cv_header_winldap_h="no"
21371 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file AP…
21373 curl_win32_file_api="no"
21376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21405 if test "$curl_win32_file_api" = "no"; then
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
21445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
21454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21455 printf "%s\n" "no" >&6; }
21460 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 crypto …
21462 curl_win32_crypto_api="no"
21464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21509 printf "%s\n" "no" >&6; }
21516 tst_cflags="no"
21523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for good-to-use Darwin CFLAGS" >&5
21524 printf %s "checking for good-to-use Darwin CFLAGS... " >&6; }
21525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
21530 CFLAGS="$CFLAGS -Werror=partial-availability"
21531 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availab…
21532 printf %s "checking whether $CC accepts -Werror=partial-availability... " >&6; }
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21549 printf "%s\n" "no" >&6; }
21552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to link macOS CoreFoundation and Sys…
21561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21588 build_for_macos="no"
21591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21595 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework SystemConfiguration"
21597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21598 printf "%s\n" "no" >&6; }
21602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21603 printf "%s\n" "no" >&6; }
21607 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_a…
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21637 printf "%s\n" "no" >&6; }
21640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21643 if test "$curl_cv_native_windows" = "yes" && test -n "${RC}"; then
21653 if test -z "$HAVE_WINDRES_TRUE"; then :
21659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
21661 # Check whether --enable-http was given.
21665 no)
21666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21667 printf "%s\n" "no" >&6; }
21672 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RT…
21687 curl_h1_msg="no (--enable-http, --with-hyper)"
21688 curl_altsvc_msg="no";
21689 curl_hsts_msg="no (--enable-hsts)";
21690 enable_altsvc="no"
21691 hsts="no"
21693 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
21705 # Check whether --enable-ftp was given.
21709 no)
21710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21711 printf "%s\n" "no" >&6; }
21718 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
21730 # Check whether --enable-file was given.
21734 no)
21735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21736 printf "%s\n" "no" >&6; }
21743 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
21755 # Check whether --enable-ldap was given.
21759 no)
21760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21761 printf "%s\n" "no" >&6; }
21770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
21787 # Check whether --enable-ldaps was given.
21791 no)
21792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21793 printf "%s\n" "no" >&6; }
21801 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >…
21809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21823 printf "%s\n" "no" >&6; }
21830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21843 OPT_HYPER="no"
21846 # Check whether --with-hyper was given.
21853 no)
21854 want_hyper="no"
21868 as_fn_error $? "--with-hyper is not compatible with --disable-http" "$LINENO" 5
21876 if test -n "$PKG_CONFIG"; then
21879 if test -n "$ac_tool_prefix"; then
21880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21881 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21883 printf %s "checking for $ac_word... " >&6; }
21895 for as_dir in $as_dummy
21903 for ac_exec_ext in '' $ac_executable_extensions; do
21906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21917 if test -n "$PKGCONFIG"; then
21918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
21921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21922 printf "%s\n" "no" >&6; }
21927 if test -z "$ac_cv_path_PKGCONFIG"; then
21929 # Extract the first word of "pkg-config", so it can be a program name with args.
21930 set dummy pkg-config; ac_word=$2
21931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21932 printf %s "checking for $ac_word... " >&6; }
21944 for as_dir in $as_dummy
21952 for ac_exec_ext in '' $ac_executable_extensions; do
21955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21966 if test -n "$ac_pt_PKGCONFIG"; then
21967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
21970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
21971 printf "%s\n" "no" >&6; }
21975 PKGCONFIG="no"
21979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
21992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper options with pkg-config" >&5
21993 printf %s "checking for hyper options with pkg-config... " >&6; }
21995 if test -n "$want_hyper_path"; then
21999 $PKGCONFIG --exists hyper >/dev/null 2>&1 && echo 1`
22001 if test -z "$itexists"; then
22002 PKGCONFIG="no"
22003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22004 printf "%s\n" "no" >&6; }
22006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
22012 if test "$PKGCONFIG" != "no" ; then
22014 if test -n "$want_hyper_path"; then
22019 $PKGCONFIG --libs-only-l hyper`
22021 if test -n "$want_hyper_path"; then
22025 $PKGCONFIG --cflags-only-I hyper`
22027 if test -n "$want_hyper_path"; then
22032 $PKGCONFIG --libs-only-L hyper`
22034 LIB_HYPER="-lhyper -ldl -lpthread -lm"
22036 CPP_HYPER=-I"$want_hyper_path/capi/include"
22037 LD_HYPER="-L$want_hyper_path/target/release -L$want_hyper_path/target/debug"
22040 if test -n "$LIB_HYPER"; then
22041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_HYPER" >&5
22042 printf "%s\n" "$as_me: -l is $LIB_HYPER" >&6;}
22043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_HYPER" >&5
22044 printf "%s\n" "$as_me: -I is $CPP_HYPER" >&6;}
22045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_HYPER" >&5
22046 printf "%s\n" "$as_me: -L is $LD_HYPER" >&6;}
22053 DIR_HYPER=`echo $LD_HYPER | $SED -e 's/^-L//' -e 's/ -L/:/g'`
22056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for hyper_io_new in -lhyper" >&5
22057 printf %s "checking for hyper_io_new in -lhyper... " >&6; }
22063 LIBS="-lhyper $LIBS"
22064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22083 ac_cv_lib_hyper_hyper_io_new=no
22085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hyper_hyper_io_new" >&5
22094 for ac_header in hyper.h
22101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Hyper support is experimental" >&5
22113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_HYPER to CURL_LIBRARY_PATH" >&5
22120 for d in `echo $DIR_HYPER | $SED -e 's/:/ /'`; do
22121 if test -f "$d/libhyper.a"; then
22125 as_fn_error $? "--with-hyper but hyper was not found. See docs/HYPER.md." "$LINENO" 5
22133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disable RTSP support with hyper" >&5
22143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
22145 # Check whether --enable-rtsp was given.
22149 no)
22150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22151 printf "%s\n" "no" >&6; }
22162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22175 printf "%s\n" "no" >&6; }
22182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
22184 # Check whether --enable-proxy was given.
22188 no)
22189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22190 printf "%s\n" "no" >&6; }
22196 https_proxy="no"
22198 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
22211 # Check whether --enable-dict was given.
22215 no)
22216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217 printf "%s\n" "no" >&6; }
22224 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
22236 # Check whether --enable-telnet was given.
22240 no)
22241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22242 printf "%s\n" "no" >&6; }
22249 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
22261 # Check whether --enable-tftp was given.
22265 no)
22266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22267 printf "%s\n" "no" >&6; }
22274 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
22287 # Check whether --enable-pop3 was given.
22291 no)
22292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22293 printf "%s\n" "no" >&6; }
22300 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
22314 # Check whether --enable-imap was given.
22318 no)
22319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22320 printf "%s\n" "no" >&6; }
22327 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
22341 # Check whether --enable-smb was given.
22345 no)
22346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22347 printf "%s\n" "no" >&6; }
22354 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
22367 # Check whether --enable-smtp was given.
22371 no)
22372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22373 printf "%s\n" "no" >&6; }
22380 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
22393 # Check whether --enable-gopher was given.
22397 no)
22398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22399 printf "%s\n" "no" >&6; }
22406 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support mqtt" >&5
22419 # Check whether --enable-mqtt was given.
22423 no)
22424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22425 printf "%s\n" "no" >&6; }
22432 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22438 printf "%s\n" "no" >&6; }
22444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
22445 printf %s "checking whether to provide built-in manual... " >&6; }
22446 # Check whether --enable-manual was given.
22450 no)
22451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22452 printf "%s\n" "no" >&6; }
22454 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
22469 # Check whether --enable-libcurl_option was given.
22473 no)
22474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22475 printf "%s\n" "no" >&6; }
22479 curl_libcurl_msg="no"
22481 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
22495 # Check whether --enable-libgcc was given.
22500 LIBS="-lgcc $LIBS"
22501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22504 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22505 printf "%s\n" "no" >&6; }
22509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22510 printf "%s\n" "no" >&6; }
22516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
22518 tst_lib_xnet_required="no"
22519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22540 LIBS="-lxnet $LIBS"
22543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
22544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
22554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22555 printf %s "checking for gethostbyname in -lnsl... " >&6; }
22561 LIBS="-lnsl $LIBS"
22562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22581 ac_cv_lib_nsl_gethostbyname=no
22583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22592 LIBS="-lnsl $LIBS"
22602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
22603 printf %s "checking for gethostbyname in -lsocket... " >&6; }
22609 LIBS="-lsocket $LIBS"
22610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22629 ac_cv_lib_socket_gethostbyname=no
22631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
22640 LIBS="-lsocket $LIBS"
22648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
22649 printf %s "checking for gethostbyname in -lwatt... " >&6; }
22655 LIBS="-lwatt $LIBS"
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22675 ac_cv_lib_watt_gethostbyname=no
22677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
22686 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
22687 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
22688 LIBS="-lwatt $LIBS"
22696 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket …
22697 printf %s "checking for gethostbyname with both nsl and socket libs... " >&6; }
22699 LIBS="-lnsl -lsocket $LIBS"
22700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22725 printf "%s\n" "no" >&6; }
22729 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22737 winsock_LIB="-lws2_32"
22739 if test ! -z "$winsock_LIB"; then
22742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
22743 printf %s "checking for gethostbyname in $winsock_LIB... " >&6; }
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22778 printf "%s\n" "no" >&6; }
22783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
22792 printf %s "checking for gethostbyname for Minix 3... " >&6; }
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22820 printf "%s\n" "no" >&6; }
22823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
22830 printf %s "checking for gethostbyname for eCos... " >&6; }
22831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22858 printf "%s\n" "no" >&6; }
22861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22865 if test "$HAVE_GETHOSTBYNAME" != "1" -o "${with_amissl+set}" = set
22867 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.lib…
22868 printf %s "checking for gethostbyname for AmigaOS bsdsocket.library... " >&6; }
22869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
22907 printf "%s\n" "no" >&6; }
22910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
22917 printf %s "checking for gethostbyname in -lnetwork... " >&6; }
22923 LIBS="-lnetwork $LIBS"
22924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22943 ac_cv_lib_network_gethostbyname=no
22945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
22949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
22954 LIBS="-lnetwork $LIBS"
22961 as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
22978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
22979 printf %s "checking for windows.h... " >&6; }
22985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 curl_cv_header_windows_h="no"
23019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
23033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
23034 printf %s "checking for winsock2.h... " >&6; }
23040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 curl_cv_header_winsock2_h="no"
23075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
23117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
23118 printf %s "checking for connect in libraries... " >&6; }
23121 for tst_lib in '' '-lsocket' ; do
23124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23157 case X-"$tst_connect_need_LIBS" in
23158 X-unknown)
23159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
23163 X-)
23164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
23191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
23192 printf %s "checking for monotonic clock_gettime... " >&6; }
23195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23228 printf "%s\n" "no" >&6; }
23229 curl_func_clock_gettime="no"
23232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
23239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
23240 printf %s "checking for clock_gettime in libraries... " >&6; }
23245 for x_xlibs in '' '-lrt' '-lposix4' ; do
23247 if test -z "$x_xlibs"; then
23252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23288 case X-"$curl_cv_gclk_LIBS" in
23289 X-unknown)
23290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
23292 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23294 curl_func_clock_gettime="no"
23296 X-)
23297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
23298 printf "%s\n" "no additional lib required" >&6; }
23302 if test -z "$curl_cv_save_LIBS"; then
23307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
23315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
23322 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23325 See \`config.log' for more details" "$LINENO" 5; }
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23363 printf "%s\n" "no" >&6; }
23364 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23366 curl_func_clock_gettime="no"
23370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23381 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23384 See \`config.log' for more details" "$LINENO" 5; }
23386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23422 printf "%s\n" "no" >&6; }
23423 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be de…
23425 curl_func_clock_gettime="no"
23429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23460 # Check whether --with-zlib was given.
23467 if test "$OPT_ZLIB" = "no" ; then
23468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
23475 if test -z "$OPT_ZLIB" ; then
23477 if test -n "$PKG_CONFIG"; then
23480 if test -n "$ac_tool_prefix"; then
23481 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23482 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23484 printf %s "checking for $ac_word... " >&6; }
23496 for as_dir in $as_dummy
23504 for ac_exec_ext in '' $ac_executable_extensions; do
23507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23518 if test -n "$PKGCONFIG"; then
23519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23523 printf "%s\n" "no" >&6; }
23528 if test -z "$ac_cv_path_PKGCONFIG"; then
23530 # Extract the first word of "pkg-config", so it can be a program name with args.
23531 set dummy pkg-config; ac_word=$2
23532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23533 printf %s "checking for $ac_word... " >&6; }
23545 for as_dir in $as_dummy
23553 for ac_exec_ext in '' $ac_executable_extensions; do
23556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23567 if test -n "$ac_pt_PKGCONFIG"; then
23568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23572 printf "%s\n" "no" >&6; }
23576 PKGCONFIG="no"
23580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
23593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
23594 printf %s "checking for zlib options with pkg-config... " >&6; }
23596 if test -n ""; then
23600 $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
23602 if test -z "$itexists"; then
23603 PKGCONFIG="no"
23604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23605 printf "%s\n" "no" >&6; }
23607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
23613 if test "$PKGCONFIG" != "no" ; then
23614 LIBS="`$PKGCONFIG --libs-only-l zlib` $LIBS"
23615 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
23616 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags-only-I zlib`"
23621 if test -z "$HAVE_LIBZ"; then
23624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
23625 printf %s "checking for inflateEnd in -lz... " >&6; }
23631 LIBS="-lz $LIBS"
23632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23651 ac_cv_lib_z_inflateEnd=no
23653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
23662 LIBS="-lz $LIBS"
23670 if test -n "$OPT_ZLIB"; then
23671 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
23672 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
23681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
23682 printf %s "checking for gzread in -lz... " >&6; }
23688 LIBS="-lz $LIBS"
23689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708 ac_cv_lib_z_gzread=no
23710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
23720 LIBS="-lz $LIBS"
23739 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the …
23747 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, …
23759 ZLIB_LIBS="-lz"
23760 LIBS="-lz $clean_LIBS"
23763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
23783 # Check whether --with-brotli was given.
23798 if test -n "$PKG_CONFIG"; then
23801 if test -n "$ac_tool_prefix"; then
23802 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23803 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23805 printf %s "checking for $ac_word... " >&6; }
23817 for as_dir in $as_dummy
23825 for ac_exec_ext in '' $ac_executable_extensions; do
23828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23839 if test -n "$PKGCONFIG"; then
23840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23844 printf "%s\n" "no" >&6; }
23849 if test -z "$ac_cv_path_PKGCONFIG"; then
23851 # Extract the first word of "pkg-config", so it can be a program name with args.
23852 set dummy pkg-config; ac_word=$2
23853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23854 printf %s "checking for $ac_word... " >&6; }
23866 for as_dir in $as_dummy
23874 for ac_exec_ext in '' $ac_executable_extensions; do
23877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
23888 if test -n "$ac_pt_PKGCONFIG"; then
23889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23893 printf "%s\n" "no" >&6; }
23897 PKGCONFIG="no"
23901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
23914 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >…
23915 printf %s "checking for libbrotlidec options with pkg-config... " >&6; }
23917 if test -n ""; then
23921 $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
23923 if test -z "$itexists"; then
23924 PKGCONFIG="no"
23925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
23926 printf "%s\n" "no" >&6; }
23928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
23934 if test "$PKGCONFIG" != "no" ; then
23935 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
23936 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
23937 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
23938 version=`$PKGCONFIG --modversion libbrotlidec`
23939 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'`
23950 if test -n "$PREFIX_BROTLI"; then
23951 LIB_BROTLI="-lbrotlidec"
23952 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
23953 CPP_BROTLI=-I${PREFIX_BROTLI}/include
23961 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec"…
23962 printf %s "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
23968 LIBS="-lbrotlidec $LIBS"
23969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23988 ac_cv_lib_brotlidec_BrotliDecoderDecompress=no
23990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
23994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress"…
24000 LIBS="-lbrotlidec $LIBS"
24005 for ac_header in brotli/decode.h
24029 if test -n "$DIR_BROTLI"; then
24034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
24048 # Check whether --with-zstd was given.
24063 if test -n "$PKG_CONFIG"; then
24066 if test -n "$ac_tool_prefix"; then
24067 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24068 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24070 printf %s "checking for $ac_word... " >&6; }
24082 for as_dir in $as_dummy
24090 for ac_exec_ext in '' $ac_executable_extensions; do
24093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24104 if test -n "$PKGCONFIG"; then
24105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
24108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24109 printf "%s\n" "no" >&6; }
24114 if test -z "$ac_cv_path_PKGCONFIG"; then
24116 # Extract the first word of "pkg-config", so it can be a program name with args.
24117 set dummy pkg-config; ac_word=$2
24118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24119 printf %s "checking for $ac_word... " >&6; }
24131 for as_dir in $as_dummy
24139 for ac_exec_ext in '' $ac_executable_extensions; do
24142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
24153 if test -n "$ac_pt_PKGCONFIG"; then
24154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
24157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24158 printf "%s\n" "no" >&6; }
24162 PKGCONFIG="no"
24166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
24179 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libzstd options with pkg-config" >&5
24180 printf %s "checking for libzstd options with pkg-config... " >&6; }
24182 if test -n ""; then
24186 $PKGCONFIG --exists libzstd >/dev/null 2>&1 && echo 1`
24188 if test -z "$itexists"; then
24189 PKGCONFIG="no"
24190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24191 printf "%s\n" "no" >&6; }
24193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
24199 if test "$PKGCONFIG" != "no" ; then
24200 LIB_ZSTD=`$PKGCONFIG --libs-only-l libzstd`
24201 LD_ZSTD=`$PKGCONFIG --libs-only-L libzstd`
24202 CPP_ZSTD=`$PKGCONFIG --cflags-only-I libzstd`
24203 version=`$PKGCONFIG --modversion libzstd`
24204 DIR_ZSTD=`echo $LD_ZSTD | $SED -e 's/-L//'`
24215 if test -n "$PREFIX_ZSTD"; then
24216 LIB_ZSTD="-lzstd"
24217 LD_ZSTD=-L${PREFIX_ZSTD}/lib$libsuff
24218 CPP_ZSTD=-I${PREFIX_ZSTD}/include
24226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ZSTD_createDStream in -lzstd" >&5
24227 printf %s "checking for ZSTD_createDStream in -lzstd... " >&6; }
24233 LIBS="-lzstd $LIBS"
24234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24253 ac_cv_lib_zstd_ZSTD_createDStream=no
24255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_createDStream" >&5
24265 LIBS="-lzstd $LIBS"
24270 for ac_header in zstd.h
24294 if test -n "$DIR_ZSTD"; then
24299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_ZSTD to CURL_LIBRARY_PATH" >&5
24313 # Check whether --with-ldap-lib was given.
24322 # Check whether --with-lber-lib was given.
24332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
24333 printf %s "checking for lber.h... " >&6; }
24339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24378 curl_cv_header_lber_h="no"
24381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24429 curl_cv_need_header_lber_h="no"
24436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
24449 printf %s "checking for ldap.h... " >&6; }
24455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24496 curl_cv_header_ldap_h="no"
24499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
24513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
24514 printf %s "checking for ldap_ssl.h... " >&6; }
24520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24563 curl_cv_header_ldap_ssl_h="no"
24566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
24580 if test -z "$LDAPLIBNAME" ; then
24583 LBERLIBNAME="no"
24589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
24590 printf %s "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
24596 LIBS="-l"$LDAPLIBNAME" $LIBS"
24597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24616 eval "$as_ac_Lib=no"
24618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24631 LIBS="-l"$LDAPLIBNAME" $LIBS"
24635 if test -n "$ldap_askedfor"; then
24638 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LD…
24655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
24656 printf %s "checking for LDAP libraries... " >&6; }
24665 for x_nlibs in '' "$u_libs" \
24666 '-lldap' \
24667 '-lldap -llber' \
24668 '-llber -lldap' \
24669 '-lldapssl -lldapx -lldapsdk' \
24670 '-lldapsdk -lldapx -lldapssl' \
24671 '-lldap -llber -lssl -lcrypto' ; do
24674 if test -z "$x_nlibs"; then
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24734 case X-"$curl_cv_ldap_LIBS" in
24735 X-unknown)
24736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
24739 X-)
24740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
24741 printf "%s\n" "no additional lib required" >&6; }
24744 if test -z "$curl_cv_save_LIBS"; then
24749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
24755 case X-"$curl_cv_ldap_LIBS" in
24756 X-unknown)
24757 if test -n "$ldap_askedfor"; then
24760 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDA…
24761 printf "%s\n" "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;}
24780 if test "$LBERLIBNAME" != "no" ; then
24782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
24783 printf %s "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
24789 LIBS="-l"$LBERLIBNAME" $LIBS"
24790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24809 eval "$as_ac_Lib=no"
24811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
24816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
24824 LIBS="-l"$LBERLIBNAME" $LIBS"
24828 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LD…
24877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
24879 # Check whether --enable-ipv6 was given.
24883 no)
24884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24885 printf "%s\n" "no" >&6; }
24886 ipv6=no
24888 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24916 #include <stdlib.h> /* for exit() */
24931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24936 printf "%s\n" "no" >&6; }
24937 ipv6=no
24939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24954 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id me…
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
24992 printf "%s\n" "no" >&6; }
24995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
24999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25025 curl_cv_writable_argv=no
25028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25058 curl_cv_writable_argv=no
25061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25077 no)
25078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25079 printf "%s\n" "no" >&6; }
25082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25083 printf "%s\n" "no" >&6; }
25084 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made defaul…
25093 # Check whether --with-gssapi-includes was given.
25096 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
25103 # Check whether --with-gssapi-libs was given.
25106 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
25113 # Check whether --with-gssapi was given.
25128 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
25131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
25132 printf %s "checking if GSS-API support is requested... " >&6; }
25134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25139 if test -n "$PKG_CONFIG"; then
25142 if test -n "$ac_tool_prefix"; then
25143 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25144 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25146 printf %s "checking for $ac_word... " >&6; }
25158 for as_dir in $as_dummy
25166 for ac_exec_ext in '' $ac_executable_extensions; do
25169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25180 if test -n "$PKGCONFIG"; then
25181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25185 printf "%s\n" "no" >&6; }
25190 if test -z "$ac_cv_path_PKGCONFIG"; then
25192 # Extract the first word of "pkg-config", so it can be a program name with args.
25193 set dummy pkg-config; ac_word=$2
25194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25195 printf %s "checking for $ac_word... " >&6; }
25207 for as_dir in $as_dummy
25215 for ac_exec_ext in '' $ac_executable_extensions; do
25218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25229 if test -n "$ac_pt_PKGCONFIG"; then
25230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25234 printf "%s\n" "no" >&6; }
25238 PKGCONFIG="no"
25242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25255 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25256 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25258 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25262 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25264 if test -z "$itexists"; then
25265 PKGCONFIG="no"
25266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25267 printf "%s\n" "no" >&6; }
25269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25276 if test -n "$PKG_CONFIG"; then
25279 if test -n "$ac_tool_prefix"; then
25280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25283 printf %s "checking for $ac_word... " >&6; }
25295 for as_dir in $as_dummy
25303 for ac_exec_ext in '' $ac_executable_extensions; do
25306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25317 if test -n "$PKGCONFIG"; then
25318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25322 printf "%s\n" "no" >&6; }
25327 if test -z "$ac_cv_path_PKGCONFIG"; then
25329 # Extract the first word of "pkg-config", so it can be a program name with args.
25330 set dummy pkg-config; ac_word=$2
25331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25332 printf %s "checking for $ac_word... " >&6; }
25344 for as_dir in $as_dummy
25352 for ac_exec_ext in '' $ac_executable_extensions; do
25355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25366 if test -n "$ac_pt_PKGCONFIG"; then
25367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25371 printf "%s\n" "no" >&6; }
25375 PKGCONFIG="no"
25379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25392 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25393 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25395 if test -n ""; then
25399 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25401 if test -z "$itexists"; then
25402 PKGCONFIG="no"
25403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25404 printf "%s\n" "no" >&6; }
25406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25412 if test -z "$GSSAPI_INCS"; then
25413 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
25414 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
25415 elif test "$PKGCONFIG" != "no" ; then
25416 GSSAPI_INCS=`$PKGCONFIG --cflags mit-krb5-gssapi`
25417 elif test -f "$KRB5CONFIG"; then
25418 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
25420 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
25437 for ac_header in gssapi/gssapi.h
25449 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
25481 want_gss=no
25482 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header f…
25483 printf "%s\n" "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
25492 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBAS…
25493 printf %s "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
25494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25525 printf "%s\n" "no" >&6; }
25531 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
25538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25539 printf "%s\n" "no" >&6; }
25548 if test -n "$gnu_gss"; then
25551 LIBS="-lgss $LIBS"
25552 elif test -z "$GSSAPI_LIB_DIR"; then
25554 *-*-darwin*)
25555 LIBS="-lgssapi_krb5 -lresolv $LIBS"
25560 if test -n "$PKG_CONFIG"; then
25563 if test -n "$ac_tool_prefix"; then
25564 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25565 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25567 printf %s "checking for $ac_word... " >&6; }
25579 for as_dir in $as_dummy
25587 for ac_exec_ext in '' $ac_executable_extensions; do
25590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25601 if test -n "$PKGCONFIG"; then
25602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25606 printf "%s\n" "no" >&6; }
25611 if test -z "$ac_cv_path_PKGCONFIG"; then
25613 # Extract the first word of "pkg-config", so it can be a program name with args.
25614 set dummy pkg-config; ac_word=$2
25615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25616 printf %s "checking for $ac_word... " >&6; }
25628 for as_dir in $as_dummy
25636 for ac_exec_ext in '' $ac_executable_extensions; do
25639 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25650 if test -n "$ac_pt_PKGCONFIG"; then
25651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25655 printf "%s\n" "no" >&6; }
25659 PKGCONFIG="no"
25663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25676 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25677 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25679 if test -n "$GSSAPI_ROOT/lib/pkgconfig"; then
25683 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25685 if test -z "$itexists"; then
25686 PKGCONFIG="no"
25687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25688 printf "%s\n" "no" >&6; }
25690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25697 if test -n "$PKG_CONFIG"; then
25700 if test -n "$ac_tool_prefix"; then
25701 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25702 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25704 printf %s "checking for $ac_word... " >&6; }
25716 for as_dir in $as_dummy
25724 for ac_exec_ext in '' $ac_executable_extensions; do
25727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25738 if test -n "$PKGCONFIG"; then
25739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25743 printf "%s\n" "no" >&6; }
25748 if test -z "$ac_cv_path_PKGCONFIG"; then
25750 # Extract the first word of "pkg-config", so it can be a program name with args.
25751 set dummy pkg-config; ac_word=$2
25752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25753 printf %s "checking for $ac_word... " >&6; }
25765 for as_dir in $as_dummy
25773 for ac_exec_ext in '' $ac_executable_extensions; do
25776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
25787 if test -n "$ac_pt_PKGCONFIG"; then
25788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25792 printf "%s\n" "no" >&6; }
25796 PKGCONFIG="no"
25800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
25813 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mit-krb5-gssapi options with pkg-config
25814 printf %s "checking for mit-krb5-gssapi options with pkg-config... " >&6; }
25816 if test -n ""; then
25820 $PKGCONFIG --exists mit-krb5-gssapi >/dev/null 2>&1 && echo 1`
25822 if test -z "$itexists"; then
25823 PKGCONFIG="no"
25824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25825 printf "%s\n" "no" >&6; }
25827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
25833 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
25834 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
25836 elif test "$PKGCONFIG" != "no" ; then
25837 gss_libs=`$PKGCONFIG --libs mit-krb5-gssapi`
25839 elif test -f "$KRB5CONFIG"; then
25840 gss_libs=`$KRB5CONFIG --libs gssapi`
25844 *-hp-hpux*)
25853 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
25854 LIBS="-l$gss_libname $LIBS"
25856 LIBS="-l$gss_libname $LIBS"
25864 *-hp-hpux*)
25865 LIBS="-lgss $LIBS"
25868 LIBS="-lgssapi $LIBS"
25877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can link against GSS-API library" >&5
25878 printf %s "checking if we can link against GSS-API library... " >&6; }
25879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25915 printf "%s\n" "no" >&6; }
25916 as_fn_error $? "--with-gssapi was specified, but a GSS-API library was not found." "$LINENO" 5
25919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
25923 build_libstubgss=no
25938 DEFAULT_SSL_BACKEND=no
25941 # Check whether --with-default-ssl-backend was given.
25948 no)
25955 VALID_DEFAULT_SSL_BACKEND=no
25960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS" >&5
25966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25976 # --with-schannel implies --enable-sspi
25984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25985 printf "%s\n" "no" >&6; }
25987 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
25989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
25990 printf "%s\n" "no" >&6; }
25994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
25998 …(test "x$cross_compiling" != "xno" || test -d "/System/Library/Frameworks/Security.framework"); th…
25999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26007 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
26009 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security"
26011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26012 printf "%s\n" "no" >&6; }
26014 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26017 printf "%s\n" "no" >&6; }
26022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiS…
26027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26059 # Use AmiSSL's built-in ca bundle
26062 LIBS="-lamisslstubs -lamisslauto $LIBS"
26112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26113 printf "%s\n" "no" >&6; }
26116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26117 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26120 printf "%s\n" "no" >&6; }
26123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26124 printf "%s\n" "no" >&6; }
26137 *-*-msys* | *-*-mingw*)
26138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
26139 printf %s "checking for gdi32... " >&6; }
26141 LIBS="-lgdi32 $LIBS"
26142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26164 printf "%s\n" "no" >&6; }
26167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26178 PKGTEST="no"
26182 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26183 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26191 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
26192 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\""…
26199 if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
26200 as_fn_error $? "$PREFIX_OPENSSL is a bad --with-openssl prefix!" "$LINENO" 5
26206 SSL_LDFLAGS="-L$LIB_OPENSSL"
26207 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
26215 if test -n "$PKG_CONFIG"; then
26218 if test -n "$ac_tool_prefix"; then
26219 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26220 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26222 printf %s "checking for $ac_word... " >&6; }
26234 for as_dir in $as_dummy
26242 for ac_exec_ext in '' $ac_executable_extensions; do
26245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26256 if test -n "$PKGCONFIG"; then
26257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26261 printf "%s\n" "no" >&6; }
26266 if test -z "$ac_cv_path_PKGCONFIG"; then
26268 # Extract the first word of "pkg-config", so it can be a program name with args.
26269 set dummy pkg-config; ac_word=$2
26270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26271 printf %s "checking for $ac_word... " >&6; }
26283 for as_dir in $as_dummy
26291 for ac_exec_ext in '' $ac_executable_extensions; do
26294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
26305 if test -n "$ac_pt_PKGCONFIG"; then
26306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26310 printf "%s\n" "no" >&6; }
26314 PKGCONFIG="no"
26318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
26331 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
26332 printf %s "checking for openssl options with pkg-config... " >&6; }
26334 if test -n "$OPENSSL_PCDIR"; then
26338 $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
26340 if test -z "$itexists"; then
26341 PKGCONFIG="no"
26342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26343 printf "%s\n" "no" >&6; }
26345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
26351 if test "$PKGCONFIG" != "no" ; then
26353 if test -n "$OPENSSL_PCDIR"; then
26357 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
26360 if test -n "$OPENSSL_PCDIR"; then
26364 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
26367 if test -n "$OPENSSL_PCDIR"; then
26371 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
26374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
26375 printf "%s\n" "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
26376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
26377 printf "%s\n" "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
26378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
26379 printf "%s\n" "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
26381 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
26390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
26391 printf %s "checking for HMAC_Update in -lcrypto... " >&6; }
26397 LIBS="-lcrypto $LIBS"
26398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26417 ac_cv_lib_crypto_HMAC_Update=no
26419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
26429 LIBS="-lcrypto $LIBS"
26433 if test -n "$LIB_OPENSSL" ; then
26434 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
26436 if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
26437 # only set this if pkg-config wasn't used
26438 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
26440 # Linking previously failed, try extra paths from --with-openssl or
26441 # pkg-config. Use a different function name to avoid reusing the earlier
26443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
26444 printf %s "checking for HMAC_Init_ex in -lcrypto... " >&6; }
26450 LIBS="-lcrypto $LIBS"
26451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26470 ac_cv_lib_crypto_HMAC_Init_ex=no
26472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
26482 LIBS="-lcrypto $LIBS"
26486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
26487 printf %s "checking OpenSSL linking with -ldl... " >&6; }
26488 LIBS="-lcrypto $CLEANLIBS -ldl"
26489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26513 printf "%s\n" "no" >&6; }
26515 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
26516 printf %s "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
26517 LIBS="-lcrypto $CLEANLIBS -ldl -lpthread"
26518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26543 printf "%s\n" "no" >&6; }
26550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26568 printf %s "checking for SSL_connect in -lssl... " >&6; }
26574 LIBS="-lssl $LIBS"
26575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26594 ac_cv_lib_ssl_SSL_connect=no
26596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26606 LIBS="-lssl $LIBS"
26612 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
26613 printf %s "checking for ssl with RSAglue/rsaref libs in use... " >&6; };
26615 LIBS="-lRSAglue -lrsaref $LIBS"
26616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
26617 printf %s "checking for SSL_connect in -lssl... " >&6; }
26623 LIBS="-lssl $LIBS"
26624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26643 ac_cv_lib_ssl_SSL_connect=no
26645 rm -f core conftest.err conftest.$ac_objext conftest.beam \
26649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
26655 LIBS="-lssl $LIBS"
26660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26661 printf "%s\n" "no" >&6; }
26664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26670for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h openssl/pem.h openssl/ssl.h openssl…
26689 if test $ac_cv_header_openssl_x509_h = no; then
26757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
26758 printf %s "checking for BoringSSL... " >&6; }
26759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26790 printf "%s\n" "no" >&6; }
26793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
26796 printf %s "checking for libressl... " >&6; }
26797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26826 printf "%s\n" "no" >&6; }
26829 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for OpenSSL >= v3" >&5
26832 printf %s "checking for OpenSSL >= v3... " >&6; }
26833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26866 printf "%s\n" "no" >&6; }
26869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
26873 if test -n "$LIB_OPENSSL"; then
26877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
26884 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
26889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPT_OPENSSL: $OPT_OPENSSL" >&5
26891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: OPENSSL_ENABLED: $OPENSSL_ENABLED" >&5
26893 as_fn_error $? "--with-openssl was given but OpenSSL could not be detected" "$LINENO" 5
26899 # Check whether --with-egd-socket was given.
26906 if test -n "$EGD_SOCKET" ; then
26913 # Check whether --with-random was given.
26921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
26922 printf %s "checking for \"/dev/urandom\"... " >&6; }
26928 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
26929 if test -r ""/dev/urandom""; then
26932 eval "$as_ac_File=no"
26936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
26944 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cro…
26945 printf "%s\n" "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
26951 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
26960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SRP support in OpenSSL" >&5
26961 printf %s "checking for SRP support in OpenSSL... " >&6; }
26962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
26993 printf "%s\n" "no" >&6; }
26996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27001 # Check whether --enable-openssl-auto-load-config was given.
27004 enableval=$enable_openssl_auto_load_config; if test X"$enableval" = X"no"; then
27005 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled"…
27031 if test -n "$PKG_CONFIG"; then
27034 if test -n "$ac_tool_prefix"; then
27035 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27036 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27038 printf %s "checking for $ac_word... " >&6; }
27050 for as_dir in $as_dummy
27058 for ac_exec_ext in '' $ac_executable_extensions; do
27061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27072 if test -n "$PKGCONFIG"; then
27073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27077 printf "%s\n" "no" >&6; }
27082 if test -z "$ac_cv_path_PKGCONFIG"; then
27084 # Extract the first word of "pkg-config", so it can be a program name with args.
27085 set dummy pkg-config; ac_word=$2
27086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27087 printf %s "checking for $ac_word... " >&6; }
27099 for as_dir in $as_dummy
27107 for ac_exec_ext in '' $ac_executable_extensions; do
27110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27121 if test -n "$ac_pt_PKGCONFIG"; then
27122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27126 printf "%s\n" "no" >&6; }
27130 PKGCONFIG="no"
27134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
27147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
27148 printf %s "checking for gnutls options with pkg-config... " >&6; }
27150 if test -n ""; then
27154 $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
27156 if test -z "$itexists"; then
27157 PKGCONFIG="no"
27158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27159 printf "%s\n" "no" >&6; }
27161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
27167 if test "$PKGCONFIG" != "no" ; then
27168 addlib=`$PKGCONFIG --libs-only-l gnutls`
27169 addld=`$PKGCONFIG --libs-only-L gnutls`
27170 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
27171 version=`$PKGCONFIG --modversion gnutls`
27172 gtlslib=`echo $addld | $SED -e 's/^-L//'`
27174 check=`libgnutls-config --version 2>/dev/null`
27175 if test -n "$check"; then
27176 addlib=`libgnutls-config --libs`
27177 addcflags=`libgnutls-config --cflags`
27178 version=`libgnutls-config --version`
27179 gtlslib=`libgnutls-config --prefix`/lib$libsuff
27183 cfg=$OPT_GNUTLS/bin/libgnutls-config
27184 check=`$cfg --version 2>/dev/null`
27185 if test -n "$check"; then
27186 addlib=`$cfg --libs`
27187 addcflags=`$cfg --cflags`
27188 version=`$cfg --version`
27189 gtlslib=`$cfg --prefix`/lib$libsuff
27191 addlib=-lgnutls
27192 addld=-L$OPT_GNUTLS/lib$libsuff
27193 addcflags=-I$OPT_GNUTLS/include
27199 if test -z "$version"; then
27203 if test -n "$addlib"; then
27211 if test "$addcflags" != "-I/usr/include"; then
27215 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_x509_crt_get_dn2 in -lgnutls" >&5
27216 printf %s "checking for gnutls_x509_crt_get_dn2 in -lgnutls... " >&6; }
27222 LIBS="-lgnutls $LIBS"
27223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27242 ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2=no
27244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_x509_crt_get_dn2" >&5
27272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
27275 if test -n "$gtlslib"; then
27279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
27288 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
27296 printf %s "checking for nettle_MD5Init in -lgnutls... " >&6; }
27302 LIBS="-lgnutls $LIBS"
27303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27322 ac_cv_lib_gnutls_nettle_MD5Init=no
27324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
27338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
27339 printf %s "checking for nettle_MD5Init in -lnettle... " >&6; }
27345 LIBS="-lnettle $LIBS"
27346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27365 ac_cv_lib_nettle_nettle_MD5Init=no
27367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
27382 LIBS="-lnettle $LIBS"
27386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
27387 printf %s "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
27393 LIBS="-lgnutls $LIBS"
27394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27413 ac_cv_lib_gnutls_gnutls_srp_verifier=no
27415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
27448 if test -z "$OPT_MBEDTLS" ; then
27450 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
27451 printf %s "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
27457 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27477 ac_cv_lib_mbedtls_mbedtls_havege_init=no
27479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
27508 addld=-L$OPT_MBEDTLS/lib$libsuff
27509 addcflags=-I$OPT_MBEDTLS/include
27513 if test "$addcflags" != "-I/usr/include"; then
27517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
27518 printf %s "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
27524 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27544 ac_cv_lib_mbedtls_mbedtls_ssl_init=no
27546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
27575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
27579 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
27581 if test -n "$mbedtlslib"; then
27585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
27592 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27599 yes|no)
27620 if test -n "$PKG_CONFIG"; then
27623 if test -n "$ac_tool_prefix"; then
27624 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27627 printf %s "checking for $ac_word... " >&6; }
27639 for as_dir in $as_dummy
27647 for ac_exec_ext in '' $ac_executable_extensions; do
27650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27661 if test -n "$PKGCONFIG"; then
27662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27666 printf "%s\n" "no" >&6; }
27671 if test -z "$ac_cv_path_PKGCONFIG"; then
27673 # Extract the first word of "pkg-config", so it can be a program name with args.
27674 set dummy pkg-config; ac_word=$2
27675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27676 printf %s "checking for $ac_word... " >&6; }
27688 for as_dir in $as_dummy
27696 for ac_exec_ext in '' $ac_executable_extensions; do
27699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
27710 if test -n "$ac_pt_PKGCONFIG"; then
27711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27715 printf "%s\n" "no" >&6; }
27719 PKGCONFIG="no"
27723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
27736 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfssl options with pkg-config" >&5
27737 printf %s "checking for wolfssl options with pkg-config... " >&6; }
27739 if test -n "$wolfpkg"; then
27743 $PKGCONFIG --exists wolfssl >/dev/null 2>&1 && echo 1`
27745 if test -z "$itexists"; then
27746 PKGCONFIG="no"
27747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27748 printf "%s\n" "no" >&6; }
27750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
27755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Check dir $wolfpkg" >&5
27761 if test "$PKGCONFIG" != "no" ; then
27763 if test -n "$wolfpkg"; then
27768 $PKGCONFIG --libs-only-l wolfssl`
27770 if test -n "$wolfpkg"; then
27775 $PKGCONFIG --libs-only-L wolfssl`
27777 if test -n "$wolfpkg"; then
27782 $PKGCONFIG --cflags-only-I wolfssl`
27784 if test -n "$wolfpkg"; then
27789 $PKGCONFIG --modversion wolfssl`
27790 wolfssllibpath=`echo $addld | $SED -e 's/^-L//'`
27792 addlib=-lwolfssl
27793 if test -n "$OPT_WOLFSSL"; then
27794 addld=-L$OPT_WOLFSSL/lib$libsuff
27795 addcflags=-I$OPT_WOLFSSL/include
27803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addld to LDFLAGS" >&5
27805 if test "$addcflags" != "-I/usr/include"; then
27807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addcflags to CPPFLAGS" >&5
27813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Add $addlib to LIBS" >&5
27816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSL_Init in -lwolfssl" >&5
27817 printf %s "checking for wolfSSL_Init in -lwolfssl... " >&6; }
27818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27822 /* These aren't needed for detection and confuse WolfSSL.
27842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
27857 printf "%s\n" "no" >&6; }
27863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
27869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected wolfSSL" >&5
27875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
27878 for typesize in 8 4 2 16 1; do
27879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27904 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
27905 if test $r -gt 0; then
27909 if test $r -eq 0; then
27912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
27914 tname=$(echo "ac_cv_sizeof_long long" | tr A-Z a-z | tr " " "_")
27923 LIBS="$addlib -lm $LIBS"
27965 if test -n "$wolfssllibpath"; then
27969 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $wolfssllibpath to CURL_LIBRARY_PATH" >&5
27974 as_fn_error $? "--with-wolfssl but wolfSSL was not found or doesn't work" "$LINENO" 5
27978 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
27995 if test -z "$OPT_BEARSSL" ; then
27997 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
27998 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28004 LIBS="-lbearssl -lbearssl $LIBS"
28005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 ac_cv_lib_bearssl_br_ssl_client_init_full=no
28026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28055 addld=-L$OPT_BEARSSL/lib$libsuff
28056 addcflags=-I$OPT_BEARSSL/include
28060 if test "$addcflags" != "-I/usr/include"; then
28064 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for br_ssl_client_init_full in -lbearssl" >…
28065 printf %s "checking for br_ssl_client_init_full in -lbearssl... " >&6; }
28071 LIBS="-lbearssl -lbearssl $LIBS"
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28091 ac_cv_lib_bearssl_br_ssl_client_init_full=no
28093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bearssl_br_ssl_client_init_full" >…
28122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected BearSSL" >&5
28126 LIBS="-lbearssl $LIBS"
28128 if test -n "$bearssllib"; then
28132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $bearssllib to CURL_LIBRARY_PATH" >&5
28139 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28157 LDFLAGS="$LDFLAGS -framework Security"
28163 if test -z "$OPT_RUSTLS" ; then
28165 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_client_session_read in -lrustls"…
28166 printf %s "checking for rustls_client_session_read in -lrustls... " >&6; }
28172 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 ac_cv_lib_rustls_rustls_client_session_read=no
28194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_client_session_read"…
28218 addld=-L$OPT_RUSTLS/lib$libsuff
28219 addcflags=-I$OPT_RUSTLS/include
28223 if test "$addcflags" != "-I/usr/include"; then
28227 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rustls_connection_read in -lrustls" >&5
28228 printf %s "checking for rustls_connection_read in -lrustls... " >&6; }
28234 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28254 ac_cv_lib_rustls_rustls_connection_read=no
28256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rustls_rustls_connection_read" >&5
28276 as_fn_error $? "--with-rustls was specified but could not find rustls." "$LINENO" 5
28282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected rustls" >&5
28286 LIBS="-lrustls -lpthread -ldl -lm $LIBS"
28288 if test -n "$rustlslib"; then
28292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $rustlslib to CURL_LIBRARY_PATH" >&5
28299 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28317 if test -n "$PKG_CONFIG"; then
28320 if test -n "$ac_tool_prefix"; then
28321 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28322 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28324 printf %s "checking for $ac_word... " >&6; }
28336 for as_dir in $as_dummy
28344 for ac_exec_ext in '' $ac_executable_extensions; do
28347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28358 if test -n "$PKGCONFIG"; then
28359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28363 printf "%s\n" "no" >&6; }
28368 if test -z "$ac_cv_path_PKGCONFIG"; then
28370 # Extract the first word of "pkg-config", so it can be a program name with args.
28371 set dummy pkg-config; ac_word=$2
28372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28373 printf %s "checking for $ac_word... " >&6; }
28385 for as_dir in $as_dummy
28393 for ac_exec_ext in '' $ac_executable_extensions; do
28396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28407 if test -n "$ac_pt_PKGCONFIG"; then
28408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28412 printf "%s\n" "no" >&6; }
28416 PKGCONFIG="no"
28420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
28433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
28434 printf %s "checking for nss options with pkg-config... " >&6; }
28436 if test -n ""; then
28440 $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
28442 if test -z "$itexists"; then
28443 PKGCONFIG="no"
28444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28445 printf "%s\n" "no" >&6; }
28447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28453 if test "$PKGCONFIG" != "no" ; then
28454 addlib=`$PKGCONFIG --libs nss`
28455 addcflags=`$PKGCONFIG --cflags nss`
28456 version=`$PKGCONFIG --modversion nss`
28457 nssprefix=`$PKGCONFIG --variable=prefix nss`
28460 check=`nss-config --version 2>/dev/null`
28461 if test -n "$check"; then
28462 addlib=`nss-config --libs`
28463 addcflags=`nss-config --cflags`
28464 version=`nss-config --version`
28465 nssprefix=`nss-config --prefix`
28467 addlib="-lnss3"
28474 if test -f "$NSS_PCDIR/nss.pc"; then
28476 if test -n "$PKG_CONFIG"; then
28479 if test -n "$ac_tool_prefix"; then
28480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28481 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28483 printf %s "checking for $ac_word... " >&6; }
28495 for as_dir in $as_dummy
28503 for ac_exec_ext in '' $ac_executable_extensions; do
28506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28517 if test -n "$PKGCONFIG"; then
28518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
28521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28522 printf "%s\n" "no" >&6; }
28527 if test -z "$ac_cv_path_PKGCONFIG"; then
28529 # Extract the first word of "pkg-config", so it can be a program name with args.
28530 set dummy pkg-config; ac_word=$2
28531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28532 printf %s "checking for $ac_word... " >&6; }
28544 for as_dir in $as_dummy
28552 for ac_exec_ext in '' $ac_executable_extensions; do
28555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
28566 if test -n "$ac_pt_PKGCONFIG"; then
28567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
28570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28571 printf "%s\n" "no" >&6; }
28575 PKGCONFIG="no"
28579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
28592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
28593 printf %s "checking for nss options with pkg-config... " >&6; }
28595 if test -n "$NSS_PCDIR"; then
28599 $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
28601 if test -z "$itexists"; then
28602 PKGCONFIG="no"
28603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28604 printf "%s\n" "no" >&6; }
28606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
28611 if test "$PKGCONFIG" != "no" ; then
28613 if test -n "$NSS_PCDIR"; then
28617 $PKGCONFIG --libs-only-L nss`
28619 if test -n "$NSS_PCDIR"; then
28623 $PKGCONFIG --libs-only-l nss`
28625 if test -n "$NSS_PCDIR"; then
28629 $PKGCONFIG --cflags nss`
28631 if test -n "$NSS_PCDIR"; then
28635 $PKGCONFIG --modversion nss`
28637 if test -n "$NSS_PCDIR"; then
28641 $PKGCONFIG --variable=prefix nss`
28646 if test -z "$addlib"; then
28647 # Without pkg-config, we'll kludge in some defaults
28648 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation …
28649 printf "%s\n" "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
28650 addld="-L$OPT_NSS/lib"
28651 addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
28652 addcflags="-I$OPT_NSS/include"
28663 if test "$addcflags" != "-I/usr/include"; then
28667 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_VersionRangeSet in -lnss3" >&5
28668 printf %s "checking for SSL_VersionRangeSet in -lnss3... " >&6; }
28674 LIBS="-lnss3 $LIBS"
28675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28694 ac_cv_lib_nss3_SSL_VersionRangeSet=no
28696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
28700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_SSL_VersionRangeSet" >&5
28725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: detected NSS version $version" >&5
28745 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $nssprefix/lib$libsuff to CURL_LIBRARY_PATH" >…
28751 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
28756 if test "x$USE_WIN32_CRYPTO" = "x1" -o "x$USE_SCHANNEL" = "x1"; then
28757 LIBS="-ladvapi32 -lcrypt32 $LIBS"
28762 LIBS="-lbcrypt $LIBS"
28769--with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --with-schannel, --with
28775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
28782 as_fn_error $? "--without-ssl has been set together with an explicit option to use an ssl library
28783--with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --with-schannel, --with
28795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
28800 if test -n "$ssl_backends"; then
28804 if test no = "$VALID_DEFAULT_SSL_BACKEND"
28806 if test -n "$SSL_ENABLED"
28820 if test -n "$check_for_ca_bundle"; then
28823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
28827 # Check whether --with-ca-bundle was given.
28833 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
28841 # Check whether --with-ca-path was given.
28847 as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
28859 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
28860 "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28863 elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
28865 capath="no"
28866 elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
28867 …if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1" -a "x$MBEDTLS_ENABLED" != "x1"; …
28868 as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS" "$LINENO" 5
28871 ca="no"
28873 ca="no"
28874 capath="no"
28878 cac="${prefix}/share/curl/curl-ca-bundle.crt"
28880 cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
28883 for a in /etc/ssl/certs/ca-certificates.crt \
28884 /etc/pki/tls/certs/ca-bundle.crt \
28885 /usr/share/ssl/certs/ca-bundle.crt \
28886 /usr/local/share/certs/ca-root-nss.crt \
28889 if test -f "$a"; then
28895 if test "x$want_capath" = "xunset" -a "x$ca" = "xno" -a \
28900 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cro…
28901 printf "%s\n" "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
28905 if test "x$ca" = "xno" || test -f "$ca"; then
28913 if test ! -z "$check_capath"; then
28914 for a in "$check_capath"; do
28915 …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…
28935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
28943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
28947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
28948 printf "%s\n" "no" >&6; }
28951 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL libr…
28954 # Check whether --with-ca-fallback was given.
28958 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
28959 as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
28963 with_ca_fallback="no"
28966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
28969 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
28970 as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
28981 # Check whether --with-libpsl was given.
28989 if test $with_libpsl != "no"; then
28990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5
28991 printf %s "checking for library containing psl_builtin... " >&6; }
28997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29012 for ac_lib in '' psl
29014 if test -z "$ac_lib"; then
29017 ac_res=-l$ac_lib
29018 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
29024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29035 ac_cv_search_psl_builtin=no
29040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5
29043 if test "$ac_res" != no
29052 curl_psl_msg="no (libpsl not found)";
29053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5
29072 # Check whether --with-libgsasl was given.
29080 if test $with_libgsasl != "no"; then
29081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gsasl_init" >&5
29082 printf %s "checking for library containing gsasl_init... " >&6; }
29088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29103 for ac_lib in '' gsasl
29105 if test -z "$ac_lib"; then
29108 ac_res=-l$ac_lib
29109 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
29115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29126 ac_cv_search_gsasl_init=no
29131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gsasl_init" >&5
29134 if test "$ac_res" != no
29143 curl_gsasl_msg="no (libgsasl not found)";
29144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: libgsasl was not found" >&5
29161 # Check whether --with-libmetalink was given.
29164 withval=$with_libmetalink; as_fn_error $? "--with-libmetalink no longer works!" "$LINENO" 5
29171 # Check whether --with-libssh2 was given.
29176 OPT_LIBSSH2=no
29183 # Check whether --with-libssh was given.
29188 OPT_LIBSSH=no
29194 # Check whether --with-wolfssh was given.
29199 OPT_WOLFSSH=no
29211 if test -n "$PKG_CONFIG"; then
29214 if test -n "$ac_tool_prefix"; then
29215 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29216 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29218 printf %s "checking for $ac_word... " >&6; }
29230 for as_dir in $as_dummy
29238 for ac_exec_ext in '' $ac_executable_extensions; do
29241 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29252 if test -n "$PKGCONFIG"; then
29253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29257 printf "%s\n" "no" >&6; }
29262 if test -z "$ac_cv_path_PKGCONFIG"; then
29264 # Extract the first word of "pkg-config", so it can be a program name with args.
29265 set dummy pkg-config; ac_word=$2
29266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29267 printf %s "checking for $ac_word... " >&6; }
29279 for as_dir in $as_dummy
29287 for ac_exec_ext in '' $ac_executable_extensions; do
29290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29301 if test -n "$ac_pt_PKGCONFIG"; then
29302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29306 printf "%s\n" "no" >&6; }
29310 PKGCONFIG="no"
29314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29327 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
29328 printf %s "checking for libssh2 options with pkg-config... " >&6; }
29330 if test -n ""; then
29334 $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
29336 if test -z "$itexists"; then
29337 PKGCONFIG="no"
29338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29339 printf "%s\n" "no" >&6; }
29341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29347 if test "$PKGCONFIG" != "no" ; then
29348 LIB_SSH2=`$PKGCONFIG --libs libssh2`
29349 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
29350 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
29351 version=`$PKGCONFIG --modversion libssh2`
29352 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/^-L//'`
29363 if test -n "$PREFIX_SSH2"; then
29364 LIB_SSH2="-lssh2"
29365 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
29366 CPP_SSH2=-I${PREFIX_SSH2}/include
29374 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh2_session_block_directions in -ls…
29375 printf %s "checking for libssh2_session_block_directions in -lssh2... " >&6; }
29381 LIBS="-lssh2 $LIBS"
29382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29401 ac_cv_lib_ssh2_libssh2_session_block_directions=no
29403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_session_block_directi…
29413 LIBS="-lssh2 $LIBS"
29438 if test -n "$DIR_SSH2"; then
29443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
29460 if test -n "$PKG_CONFIG"; then
29463 if test -n "$ac_tool_prefix"; then
29464 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29465 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29467 printf %s "checking for $ac_word... " >&6; }
29479 for as_dir in $as_dummy
29487 for ac_exec_ext in '' $ac_executable_extensions; do
29490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29501 if test -n "$PKGCONFIG"; then
29502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29506 printf "%s\n" "no" >&6; }
29511 if test -z "$ac_cv_path_PKGCONFIG"; then
29513 # Extract the first word of "pkg-config", so it can be a program name with args.
29514 set dummy pkg-config; ac_word=$2
29515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29516 printf %s "checking for $ac_word... " >&6; }
29528 for as_dir in $as_dummy
29536 for ac_exec_ext in '' $ac_executable_extensions; do
29539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29550 if test -n "$ac_pt_PKGCONFIG"; then
29551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29555 printf "%s\n" "no" >&6; }
29559 PKGCONFIG="no"
29563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
29577 printf %s "checking for libssh options with pkg-config... " >&6; }
29579 if test -n ""; then
29583 $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
29585 if test -z "$itexists"; then
29586 PKGCONFIG="no"
29587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29588 printf "%s\n" "no" >&6; }
29590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29596 if test "$PKGCONFIG" != "no" ; then
29597 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
29598 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
29599 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
29600 version=`$PKGCONFIG --modversion libssh`
29601 DIR_SSH=`echo $LD_SSH | $SED -e 's/^-L//'`
29612 if test -n "$PREFIX_SSH"; then
29613 LIB_SSH="-lssh"
29614 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
29615 CPP_SSH=-I${PREFIX_SSH}/include
29623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
29624 printf %s "checking for ssh_new in -lssh... " >&6; }
29630 LIBS="-lssh $LIBS"
29631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29650 ac_cv_lib_ssh_ssh_new=no
29652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
29662 LIBS="-lssh $LIBS"
29687 if test -n "$DIR_SSH"; then
29692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
29708 WOLFCONFIG="$OPT_WOLFSSH/bin/wolfssh-config"
29709 LDFLAGS="$LDFLAGS `$WOLFCONFIG --libs`"
29710 CPPFLAGS="$CPPFLAGS `$WOLFCONFIG --cflags`"
29713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wolfSSH_Init in -lwolfssh" >&5
29714 printf %s "checking for wolfSSH_Init in -lwolfssh... " >&6; }
29720 LIBS="-lwolfssh $LIBS"
29721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29740 ac_cv_lib_wolfssh_wolfSSH_Init=no
29742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wolfssh_wolfSSH_Init" >&5
29752 LIBS="-lwolfssh $LIBS"
29757 for ac_header in wolfssh/ssh.h
29780 # Check whether --with-librtmp was given.
29795 if test -n "$PKG_CONFIG"; then
29798 if test -n "$ac_tool_prefix"; then
29799 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29800 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29802 printf %s "checking for $ac_word... " >&6; }
29814 for as_dir in $as_dummy
29822 for ac_exec_ext in '' $ac_executable_extensions; do
29825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29836 if test -n "$PKGCONFIG"; then
29837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
29840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29841 printf "%s\n" "no" >&6; }
29846 if test -z "$ac_cv_path_PKGCONFIG"; then
29848 # Extract the first word of "pkg-config", so it can be a program name with args.
29849 set dummy pkg-config; ac_word=$2
29850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29851 printf %s "checking for $ac_word... " >&6; }
29863 for as_dir in $as_dummy
29871 for ac_exec_ext in '' $ac_executable_extensions; do
29874 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
29885 if test -n "$ac_pt_PKGCONFIG"; then
29886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
29889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29890 printf "%s\n" "no" >&6; }
29894 PKGCONFIG="no"
29898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
29911 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
29912 printf %s "checking for librtmp options with pkg-config... " >&6; }
29914 if test -n ""; then
29918 $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
29920 if test -z "$itexists"; then
29921 PKGCONFIG="no"
29922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
29923 printf "%s\n" "no" >&6; }
29925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
29931 if test "$PKGCONFIG" != "no" ; then
29932 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
29933 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
29934 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
29935 version=`$PKGCONFIG --modversion librtmp`
29936 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/^-L//'`
29938 … as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
29943 LIB_RTMP="-lrtmp"
29946 LIB_RTMP="-lrtmp"
29951 if test -n "$PREFIX_RTMP"; then
29952 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
29953 CPP_RTMP=-I${PREFIX_RTMP}/include
29961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
29962 printf %s "checking for RTMP_Init in -lrtmp... " >&6; }
29968 LIBS="-lrtmp $LIBS"
29969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29988 ac_cv_lib_rtmp_RTMP_Init=no
29990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
29994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
29999 for ac_header in librtmp/rtmp.h
30034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
30036 # Check whether --enable-versioned-symbols was given.
30040 yes) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
30044 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
30045 if test -z "$GLD"; then
30046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30047 printf "%s\n" "no" >&6; }
30048 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --ver…
30049 printf "%s\n" "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
30051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30074 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30075 printf "%s\n" "no" >&6; }
30081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30082 printf "%s\n" "no" >&6; }
30103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Window…
30107 # Check whether --with-winidn was given.
30114 no|default)
30115 want_winidn="no"
30116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30117 printf "%s\n" "no" >&6; }
30122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30138 WINIDN_LIBS="-lnormaliz"
30142 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
30143 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
30147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30171 CFLAGS=`echo $CFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
30172 CFLAGS=`echo $CFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
30173 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-DWINVER=[^ ]*//g'`
30174 CPPFLAGS=`echo $CPPFLAGS | $SED -e 's/-D_WIN32_WINNT=[^ ]*//g'`
30175 WINIDN_CPPFLAGS="$WINIDN_CPPFLAGS -DWINVER=0x0600"
30178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
30184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
30186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30212 printf "%s\n" "no" >&6; }
30213 tst_links_winidn="no"
30216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30225 curl_idn_msg="enabled (Windows-native)"
30227 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30228 printf "%s\n" "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
30237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
30241 # Check whether --with-libidn2 was given.
30248 want_idn="no"
30249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no (using winidn instead)" >&5
30250 printf "%s\n" "no (using winidn instead)" >&6; }
30253 no)
30254 want_idn="no"
30255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30256 printf "%s\n" "no" >&6; }
30261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
30267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
30283 PKGCONFIG="no"
30288 if test -n "$PKG_CONFIG"; then
30291 if test -n "$ac_tool_prefix"; then
30292 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30293 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30295 printf %s "checking for $ac_word... " >&6; }
30307 for as_dir in $as_dummy
30315 for ac_exec_ext in '' $ac_executable_extensions; do
30318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30329 if test -n "$PKGCONFIG"; then
30330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30334 printf "%s\n" "no" >&6; }
30339 if test -z "$ac_cv_path_PKGCONFIG"; then
30341 # Extract the first word of "pkg-config", so it can be a program name with args.
30342 set dummy pkg-config; ac_word=$2
30343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30344 printf %s "checking for $ac_word... " >&6; }
30356 for as_dir in $as_dummy
30364 for ac_exec_ext in '' $ac_executable_extensions; do
30367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30378 if test -n "$ac_pt_PKGCONFIG"; then
30379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30383 printf "%s\n" "no" >&6; }
30387 PKGCONFIG="no"
30391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30404 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30405 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30407 if test -n "$IDN_PCDIR"; then
30411 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30413 if test -z "$itexists"; then
30414 PKGCONFIG="no"
30415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30416 printf "%s\n" "no" >&6; }
30418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30423 if test "$PKGCONFIG" != "no"; then
30425 if test -n "$IDN_PCDIR"; then
30429 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30431 if test -n "$IDN_PCDIR"; then
30435 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30437 if test -n "$IDN_PCDIR"; then
30441 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30442 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30444 IDN_LIBS="-lidn2"
30445 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
30446 IDN_CPPFLAGS="-I$want_idn_path/include"
30451 if test -n "$PKG_CONFIG"; then
30454 if test -n "$ac_tool_prefix"; then
30455 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30456 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30458 printf %s "checking for $ac_word... " >&6; }
30470 for as_dir in $as_dummy
30478 for ac_exec_ext in '' $ac_executable_extensions; do
30481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30492 if test -n "$PKGCONFIG"; then
30493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30497 printf "%s\n" "no" >&6; }
30502 if test -z "$ac_cv_path_PKGCONFIG"; then
30504 # Extract the first word of "pkg-config", so it can be a program name with args.
30505 set dummy pkg-config; ac_word=$2
30506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30507 printf %s "checking for $ac_word... " >&6; }
30519 for as_dir in $as_dummy
30527 for ac_exec_ext in '' $ac_executable_extensions; do
30530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30541 if test -n "$ac_pt_PKGCONFIG"; then
30542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30546 printf "%s\n" "no" >&6; }
30550 PKGCONFIG="no"
30554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30567 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
30568 printf %s "checking for libidn2 options with pkg-config... " >&6; }
30570 if test -n ""; then
30574 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
30576 if test -z "$itexists"; then
30577 PKGCONFIG="no"
30578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30579 printf "%s\n" "no" >&6; }
30581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30586 if test "$PKGCONFIG" != "no"; then
30587 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
30588 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
30589 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
30590 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/^-L//'`
30592 IDN_LIBS="-lidn2"
30596 if test "$PKGCONFIG" != "no"; then
30597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
30598 printf "%s\n" "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
30599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30600 printf "%s\n" "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
30601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30602 printf "%s\n" "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
30603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
30604 printf "%s\n" "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
30606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
30608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
30610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
30612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
30620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
30622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30659 printf "%s\n" "no" >&6; }
30660 tst_links_libidn="no"
30663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30682 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
30685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
30689 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN …
30690 printf "%s\n" "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
30700 if test "x$disable_http" = "xyes" -o X"$want_hyper" != Xno; then
30701 # without HTTP or with Hyper, nghttp2 is no use
30702 OPT_H2="no"
30706 # Check whether --with-nghttp2 was given.
30713 no)
30714 want_nghttp2="no"
30734 if test -n "$PKG_CONFIG"; then
30737 if test -n "$ac_tool_prefix"; then
30738 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30739 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30741 printf %s "checking for $ac_word... " >&6; }
30753 for as_dir in $as_dummy
30761 for ac_exec_ext in '' $ac_executable_extensions; do
30764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30775 if test -n "$PKGCONFIG"; then
30776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
30779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30780 printf "%s\n" "no" >&6; }
30785 if test -z "$ac_cv_path_PKGCONFIG"; then
30787 # Extract the first word of "pkg-config", so it can be a program name with args.
30788 set dummy pkg-config; ac_word=$2
30789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30790 printf %s "checking for $ac_word... " >&6; }
30802 for as_dir in $as_dummy
30810 for ac_exec_ext in '' $ac_executable_extensions; do
30813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
30824 if test -n "$ac_pt_PKGCONFIG"; then
30825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
30828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30829 printf "%s\n" "no" >&6; }
30833 PKGCONFIG="no"
30837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
30850 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
30851 printf %s "checking for libnghttp2 options with pkg-config... " >&6; }
30853 if test -n "$want_nghttp2_pkg_config_path"; then
30857 $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
30859 if test -z "$itexists"; then
30860 PKGCONFIG="no"
30861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
30862 printf "%s\n" "no" >&6; }
30864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
30870 if test "$PKGCONFIG" != "no" ; then
30872 if test -n "$want_nghttp2_pkg_config_path"; then
30877 $PKGCONFIG --libs-only-l libnghttp2`
30878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
30879 printf "%s\n" "$as_me: -l is $LIB_H2" >&6;}
30882 if test -n "$want_nghttp2_pkg_config_path"; then
30886 $PKGCONFIG --cflags-only-I libnghttp2`
30887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
30888 printf "%s\n" "$as_me: -I is $CPP_H2" >&6;}
30891 if test -n "$want_nghttp2_pkg_config_path"; then
30896 $PKGCONFIG --libs-only-L libnghttp2`
30897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
30898 printf "%s\n" "$as_me: -L is $LD_H2" >&6;}
30900 DIR_H2=`echo $LD_H2 | $SED -e 's/^-L//'`
30902 LIB_H2="-lnghttp2"
30903 LD_H2=-L${want_nghttp2_path}/lib$libsuff
30904 CPP_H2=-I${want_nghttp2_path}/include
30907 …as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LIN…
30916 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp2_session_set_local_window_size i…
30917 printf %s "checking for nghttp2_session_set_local_window_size in -lnghttp2... " >&6; }
30923 LIBS="-lnghttp2 $LIBS"
30924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30943 ac_cv_lib_nghttp2_nghttp2_session_set_local_window_size=no
30945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
30949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_session_set_local_…
30954 for ac_header in nghttp2/nghttp2.h
30974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_H2 to CURL_LIBRARY_PATH" >&5
30987 OPT_TCP2="no"
30990 # without HTTP, ngtcp2 is no use
30991 OPT_TCP2="no"
30995 # Check whether --with-ngtcp2 was given.
31002 no)
31003 want_tcp2="no"
31015 curl_tcp2_msg="no (--with-ngtcp2)"
31022 if test -n "$PKG_CONFIG"; then
31025 if test -n "$ac_tool_prefix"; then
31026 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31027 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31029 printf %s "checking for $ac_word... " >&6; }
31041 for as_dir in $as_dummy
31049 for ac_exec_ext in '' $ac_executable_extensions; do
31052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31063 if test -n "$PKGCONFIG"; then
31064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31068 printf "%s\n" "no" >&6; }
31073 if test -z "$ac_cv_path_PKGCONFIG"; then
31075 # Extract the first word of "pkg-config", so it can be a program name with args.
31076 set dummy pkg-config; ac_word=$2
31077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31078 printf %s "checking for $ac_word... " >&6; }
31090 for as_dir in $as_dummy
31098 for ac_exec_ext in '' $ac_executable_extensions; do
31101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31112 if test -n "$ac_pt_PKGCONFIG"; then
31113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31117 printf "%s\n" "no" >&6; }
31121 PKGCONFIG="no"
31125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31138 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2 options with pkg-config" >&5
31139 printf %s "checking for libngtcp2 options with pkg-config... " >&6; }
31141 if test -n "$want_tcp2_path"; then
31145 $PKGCONFIG --exists libngtcp2 >/dev/null 2>&1 && echo 1`
31147 if test -z "$itexists"; then
31148 PKGCONFIG="no"
31149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31150 printf "%s\n" "no" >&6; }
31152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31158 if test "$PKGCONFIG" != "no" ; then
31160 if test -n "$want_tcp2_path"; then
31165 $PKGCONFIG --libs-only-l libngtcp2`
31166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_TCP2" >&5
31167 printf "%s\n" "$as_me: -l is $LIB_TCP2" >&6;}
31170 if test -n "$want_tcp2_path"; then
31174 $PKGCONFIG --cflags-only-I libngtcp2`
31175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_TCP2" >&5
31176 printf "%s\n" "$as_me: -I is $CPP_TCP2" >&6;}
31179 if test -n "$want_tcp2_path"; then
31184 $PKGCONFIG --libs-only-L libngtcp2`
31185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_TCP2" >&5
31186 printf "%s\n" "$as_me: -L is $LD_TCP2" >&6;}
31193 DIR_TCP2=`echo $LD_TCP2 | $SED -e 's/^-L//'`
31195 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_conn_client_new_versioned in -ln…
31196 printf %s "checking for ngtcp2_conn_client_new_versioned in -lngtcp2... " >&6; }
31202 LIBS="-lngtcp2 $LIBS"
31203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31222 ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_versioned=no
31224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_ngtcp2_conn_client_new_vers…
31233 for ac_header in ngtcp2/ngtcp2.h
31247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_TCP2 to CURL_LIBRARY_PATH" >&5
31264 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2 pkg-config file." "$LINENO" 5
31270 if test "x$NGTCP2_ENABLED" = "x1" -a "x$OPENSSL_ENABLED" = "x1"; then
31276 if test -n "$PKG_CONFIG"; then
31279 if test -n "$ac_tool_prefix"; then
31280 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31283 printf %s "checking for $ac_word... " >&6; }
31295 for as_dir in $as_dummy
31303 for ac_exec_ext in '' $ac_executable_extensions; do
31306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31317 if test -n "$PKGCONFIG"; then
31318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31322 printf "%s\n" "no" >&6; }
31327 if test -z "$ac_cv_path_PKGCONFIG"; then
31329 # Extract the first word of "pkg-config", so it can be a program name with args.
31330 set dummy pkg-config; ac_word=$2
31331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31332 printf %s "checking for $ac_word... " >&6; }
31344 for as_dir in $as_dummy
31352 for ac_exec_ext in '' $ac_executable_extensions; do
31355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31366 if test -n "$ac_pt_PKGCONFIG"; then
31367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31371 printf "%s\n" "no" >&6; }
31375 PKGCONFIG="no"
31379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31392 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_openssl options with p…
31393 printf %s "checking for libngtcp2_crypto_openssl options with pkg-config... " >&6; }
31395 if test -n "$want_tcp2_path"; then
31399 $PKGCONFIG --exists libngtcp2_crypto_openssl >/dev/null 2>&1 && echo 1`
31401 if test -z "$itexists"; then
31402 PKGCONFIG="no"
31403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31404 printf "%s\n" "no" >&6; }
31406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31412 if test "$PKGCONFIG" != "no" ; then
31414 if test -n "$want_tcp2_path"; then
31419 $PKGCONFIG --libs-only-l libngtcp2_crypto_openssl`
31420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&5
31421 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_OPENSSL" >&6;}
31424 if test -n "$want_tcp2_path"; then
31428 $PKGCONFIG --cflags-only-I libngtcp2_crypto_openssl`
31429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&5
31430 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_OPENSSL" >&6;}
31433 if test -n "$want_tcp2_path"; then
31438 $PKGCONFIG --libs-only-L libngtcp2_crypto_openssl`
31439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&5
31440 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_OPENSSL" >&6;}
31447 DIR_NGTCP2_CRYPTO_OPENSSL=`echo $LD_NGTCP2_CRYPTO_OPENSSL | $SED -e 's/^-L//'`
31449 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31450 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_openssl... " >&6; }
31456 LIBS="-lngtcp2_crypto_openssl $LIBS"
31457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31476 ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypto_recv_client_initial_cb=no
31478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_openssl_ngtcp2_crypt…
31487 for ac_header in ngtcp2/ngtcp2_crypto.h
31501 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_OPENSSL to CURL_LIBRARY_PAT…
31518 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_openssl pkg-config fi…
31523 if test "x$NGTCP2_ENABLED" = "x1" -a "x$GNUTLS_ENABLED" = "x1"; then
31529 if test -n "$PKG_CONFIG"; then
31532 if test -n "$ac_tool_prefix"; then
31533 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31534 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31536 printf %s "checking for $ac_word... " >&6; }
31548 for as_dir in $as_dummy
31556 for ac_exec_ext in '' $ac_executable_extensions; do
31559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31570 if test -n "$PKGCONFIG"; then
31571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31575 printf "%s\n" "no" >&6; }
31580 if test -z "$ac_cv_path_PKGCONFIG"; then
31582 # Extract the first word of "pkg-config", so it can be a program name with args.
31583 set dummy pkg-config; ac_word=$2
31584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31585 printf %s "checking for $ac_word... " >&6; }
31597 for as_dir in $as_dummy
31605 for ac_exec_ext in '' $ac_executable_extensions; do
31608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31619 if test -n "$ac_pt_PKGCONFIG"; then
31620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31624 printf "%s\n" "no" >&6; }
31628 PKGCONFIG="no"
31632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31645 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_gnutls options with pk…
31646 printf %s "checking for libngtcp2_crypto_gnutls options with pkg-config... " >&6; }
31648 if test -n "$want_tcp2_path"; then
31652 $PKGCONFIG --exists libngtcp2_crypto_gnutls >/dev/null 2>&1 && echo 1`
31654 if test -z "$itexists"; then
31655 PKGCONFIG="no"
31656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31657 printf "%s\n" "no" >&6; }
31659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31665 if test "$PKGCONFIG" != "no" ; then
31667 if test -n "$want_tcp2_path"; then
31672 $PKGCONFIG --libs-only-l libngtcp2_crypto_gnutls`
31673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&5
31674 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_GNUTLS" >&6;}
31677 if test -n "$want_tcp2_path"; then
31681 $PKGCONFIG --cflags-only-I libngtcp2_crypto_gnutls`
31682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&5
31683 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_GNUTLS" >&6;}
31686 if test -n "$want_tcp2_path"; then
31691 $PKGCONFIG --libs-only-L libngtcp2_crypto_gnutls`
31692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&5
31693 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_GNUTLS" >&6;}
31700 DIR_NGTCP2_CRYPTO_GNUTLS=`echo $LD_NGTCP2_CRYPTO_GNUTLS | $SED -e 's/^-L//'`
31702 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31703 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_gnutls... " >&6; }
31709 LIBS="-lngtcp2_crypto_gnutls $LIBS"
31710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31729 ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto_recv_client_initial_cb=no
31731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_gnutls_ngtcp2_crypto…
31740 for ac_header in ngtcp2/ngtcp2_crypto.h
31754 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_GNUTLS to CURL_LIBRARY_PATH…
31771 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_gnutls pkg-config fil…
31776 if test "x$NGTCP2_ENABLED" = "x1" -a "x$WOLFSSL_ENABLED" = "x1"; then
31782 if test -n "$PKG_CONFIG"; then
31785 if test -n "$ac_tool_prefix"; then
31786 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31787 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31789 printf %s "checking for $ac_word... " >&6; }
31801 for as_dir in $as_dummy
31809 for ac_exec_ext in '' $ac_executable_extensions; do
31812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31823 if test -n "$PKGCONFIG"; then
31824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
31827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31828 printf "%s\n" "no" >&6; }
31833 if test -z "$ac_cv_path_PKGCONFIG"; then
31835 # Extract the first word of "pkg-config", so it can be a program name with args.
31836 set dummy pkg-config; ac_word=$2
31837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31838 printf %s "checking for $ac_word... " >&6; }
31850 for as_dir in $as_dummy
31858 for ac_exec_ext in '' $ac_executable_extensions; do
31861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
31872 if test -n "$ac_pt_PKGCONFIG"; then
31873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
31876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31877 printf "%s\n" "no" >&6; }
31881 PKGCONFIG="no"
31885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
31898 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libngtcp2_crypto_wolfssl options with p…
31899 printf %s "checking for libngtcp2_crypto_wolfssl options with pkg-config... " >&6; }
31901 if test -n "$want_tcp2_path"; then
31905 $PKGCONFIG --exists libngtcp2_crypto_wolfssl >/dev/null 2>&1 && echo 1`
31907 if test -z "$itexists"; then
31908 PKGCONFIG="no"
31909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
31910 printf "%s\n" "no" >&6; }
31912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
31918 if test "$PKGCONFIG" != "no" ; then
31920 if test -n "$want_tcp2_path"; then
31925 $PKGCONFIG --libs-only-l libngtcp2_crypto_wolfssl`
31926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&5
31927 printf "%s\n" "$as_me: -l is $LIB_NGTCP2_CRYPTO_WOLFSSL" >&6;}
31930 if test -n "$want_tcp2_path"; then
31934 $PKGCONFIG --cflags-only-I libngtcp2_crypto_wolfssl`
31935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&5
31936 printf "%s\n" "$as_me: -I is $CPP_NGTCP2_CRYPTO_WOLFSSL" >&6;}
31939 if test -n "$want_tcp2_path"; then
31944 $PKGCONFIG --libs-only-L libngtcp2_crypto_wolfssl`
31945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&5
31946 printf "%s\n" "$as_me: -L is $LD_NGTCP2_CRYPTO_WOLFSSL" >&6;}
31953 DIR_NGTCP2_CRYPTO_WOLFSSL=`echo $LD_NGTCP2_CRYPTO_WOLFSSL | $SED -e 's/^-L//'`
31955 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ngtcp2_crypto_recv_client_initial_cb in…
31956 printf %s "checking for ngtcp2_crypto_recv_client_initial_cb in -lngtcp2_crypto_wolfssl... " >&6; }
31962 LIBS="-lngtcp2_crypto_wolfssl $LIBS"
31963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypto_recv_client_initial_cb=no
31984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
31988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ngtcp2_crypto_wolfssl_ngtcp2_crypt…
31993 for ac_header in ngtcp2/ngtcp2_crypto.h
32007 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGTCP2_CRYPTO_WOLFSSL to CURL_LIBRARY_PAT…
32024 …as_fn_error $? "--with-ngtcp2 was specified but could not find ngtcp2_crypto_wolfssl pkg-config fi…
32033 # without ngtcp2, nghttp3 is of no use for us
32034 OPT_NGHTTP3="no"
32038 # Check whether --with-nghttp3 was given.
32045 no)
32046 want_nghttp3="no"
32058 curl_http3_msg="no (--with-nghttp3)"
32065 if test -n "$PKG_CONFIG"; then
32068 if test -n "$ac_tool_prefix"; then
32069 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32070 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32072 printf %s "checking for $ac_word... " >&6; }
32084 for as_dir in $as_dummy
32092 for ac_exec_ext in '' $ac_executable_extensions; do
32095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32106 if test -n "$PKGCONFIG"; then
32107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32111 printf "%s\n" "no" >&6; }
32116 if test -z "$ac_cv_path_PKGCONFIG"; then
32118 # Extract the first word of "pkg-config", so it can be a program name with args.
32119 set dummy pkg-config; ac_word=$2
32120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32121 printf %s "checking for $ac_word... " >&6; }
32133 for as_dir in $as_dummy
32141 for ac_exec_ext in '' $ac_executable_extensions; do
32144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32155 if test -n "$ac_pt_PKGCONFIG"; then
32156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32160 printf "%s\n" "no" >&6; }
32164 PKGCONFIG="no"
32168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32181 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libnghttp3 options with pkg-config" >&5
32182 printf %s "checking for libnghttp3 options with pkg-config... " >&6; }
32184 if test -n "$want_nghttp3_path"; then
32188 $PKGCONFIG --exists libnghttp3 >/dev/null 2>&1 && echo 1`
32190 if test -z "$itexists"; then
32191 PKGCONFIG="no"
32192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32193 printf "%s\n" "no" >&6; }
32195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32201 if test "$PKGCONFIG" != "no" ; then
32203 if test -n "$want_nghttp3_path"; then
32208 $PKGCONFIG --libs-only-l libnghttp3`
32209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_NGHTTP3" >&5
32210 printf "%s\n" "$as_me: -l is $LIB_NGHTTP3" >&6;}
32213 if test -n "$want_nghttp3_path"; then
32217 $PKGCONFIG --cflags-only-I libnghttp3`
32218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_NGHTTP3" >&5
32219 printf "%s\n" "$as_me: -I is $CPP_NGHTTP3" >&6;}
32222 if test -n "$want_nghttp3_path"; then
32227 $PKGCONFIG --libs-only-L libnghttp3`
32228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_NGHTTP3" >&5
32229 printf "%s\n" "$as_me: -L is $LD_NGHTTP3" >&6;}
32236 DIR_NGHTTP3=`echo $LD_NGHTTP3 | $SED -e 's/^-L//'`
32238 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nghttp3_conn_client_new_versioned in -l…
32239 printf %s "checking for nghttp3_conn_client_new_versioned in -lnghttp3... " >&6; }
32245 LIBS="-lnghttp3 $LIBS"
32246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 ac_cv_lib_nghttp3_nghttp3_conn_client_new_versioned=no
32267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp3_nghttp3_conn_client_new_ve…
32276 for ac_header in nghttp3/nghttp3.h
32291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_NGHTTP3 to CURL_LIBRARY_PATH" >&5
32309 …as_fn_error $? "--with-nghttp3 was specified but could not find nghttp3 pkg-config file." "$LINENO…
32316 OPT_QUICHE="no"
32318 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
32319 # without HTTP or with ngtcp2, quiche is no use
32320 OPT_QUICHE="no"
32324 # Check whether --with-quiche was given.
32331 no)
32332 want_quiche="no"
32347 as_fn_error $? "--with-quiche and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32355 if test -n "$PKG_CONFIG"; then
32358 if test -n "$ac_tool_prefix"; then
32359 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32360 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32362 printf %s "checking for $ac_word... " >&6; }
32374 for as_dir in $as_dummy
32382 for ac_exec_ext in '' $ac_executable_extensions; do
32385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32396 if test -n "$PKGCONFIG"; then
32397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32401 printf "%s\n" "no" >&6; }
32406 if test -z "$ac_cv_path_PKGCONFIG"; then
32408 # Extract the first word of "pkg-config", so it can be a program name with args.
32409 set dummy pkg-config; ac_word=$2
32410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32411 printf %s "checking for $ac_word... " >&6; }
32423 for as_dir in $as_dummy
32431 for ac_exec_ext in '' $ac_executable_extensions; do
32434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32445 if test -n "$ac_pt_PKGCONFIG"; then
32446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32450 printf "%s\n" "no" >&6; }
32454 PKGCONFIG="no"
32458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche options with pkg-config" >&5
32472 printf %s "checking for quiche options with pkg-config... " >&6; }
32474 if test -n "$want_quiche_path"; then
32478 $PKGCONFIG --exists quiche >/dev/null 2>&1 && echo 1`
32480 if test -z "$itexists"; then
32481 PKGCONFIG="no"
32482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32483 printf "%s\n" "no" >&6; }
32485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32491 if test "$PKGCONFIG" != "no" ; then
32493 if test -n "$want_quiche_path"; then
32498 $PKGCONFIG --libs-only-l quiche`
32499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -l is $LIB_QUICHE" >&5
32500 printf "%s\n" "$as_me: -l is $LIB_QUICHE" >&6;}
32503 if test -n "$want_quiche_path"; then
32507 $PKGCONFIG --cflags-only-I quiche`
32508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -I is $CPP_QUICHE" >&5
32509 printf "%s\n" "$as_me: -I is $CPP_QUICHE" >&6;}
32512 if test -n "$want_quiche_path"; then
32517 $PKGCONFIG --libs-only-L quiche`
32518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: -L is $LD_QUICHE" >&5
32519 printf "%s\n" "$as_me: -L is $LD_QUICHE" >&6;}
32526 DIR_QUICHE=`echo $LD_QUICHE | $SED -e 's/^-L//'`
32528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for quiche_connect in -lquiche" >&5
32529 printf %s "checking for quiche_connect in -lquiche... " >&6; }
32535 LIBS="-lquiche $LIBS"
32536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32555 ac_cv_lib_quiche_quiche_connect=no
32557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_quiche_quiche_connect" >&5
32566 for ac_header in quiche.h
32578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: HTTP3 support is experimental" >&5
32596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_QUICHE to CURL_LIBRARY_PATH" >&5
32609 …as_fn_error $? "--with-quiche was specified but could not find quiche pkg-config file." "$LINENO" 5
32615 OPT_MSH3="no"
32617 if test "x$disable_http" = "xyes" -o "x$USE_NGTCP" = "x1"; then
32618 # without HTTP or with ngtcp2, msh3 is no use
32619 OPT_MSH3="no"
32623 # Check whether --with-msh3 was given.
32630 no)
32631 want_msh3="no"
32646 as_fn_error $? "--with-msh3 and --with-ngtcp2 are mutually exclusive" "$LINENO" 5
32653 if test -n "$want_msh3_path"; then
32654 LD_MSH3="-L$want_msh3_path/lib"
32655 CPP_MSH3="-I$want_msh3_path/include"
32660 LIBS="-lmsh3 $LIBS"
32662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MsH3ApiOpen in -lmsh3" >&5
32663 printf %s "checking for MsH3ApiOpen in -lmsh3... " >&6; }
32669 LIBS="-lmsh3 $LIBS"
32670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32689 ac_cv_lib_msh3_MsH3ApiOpen=no
32691 rm -f core conftest.err conftest.$ac_objext conftest.beam \
32695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msh3_MsH3ApiOpen" >&5
32700 for ac_header in msh3.h
32715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Added $DIR_MSH3 to CURL_LIBRARY_PATH" >&5
32736 # Check whether --with-zsh-functions-dir was given.
32743 no)
32746 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
32758 # Check whether --with-fish-functions-dir was given.
32765 no)
32769 if test -n "$PKG_CONFIG"; then
32772 if test -n "$ac_tool_prefix"; then
32773 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32774 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32776 printf %s "checking for $ac_word... " >&6; }
32788 for as_dir in $as_dummy
32796 for ac_exec_ext in '' $ac_executable_extensions; do
32799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32810 if test -n "$PKGCONFIG"; then
32811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
32814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32815 printf "%s\n" "no" >&6; }
32820 if test -z "$ac_cv_path_PKGCONFIG"; then
32822 # Extract the first word of "pkg-config", so it can be a program name with args.
32823 set dummy pkg-config; ac_word=$2
32824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32825 printf %s "checking for $ac_word... " >&6; }
32837 for as_dir in $as_dummy
32845 for ac_exec_ext in '' $ac_executable_extensions; do
32848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
32859 if test -n "$ac_pt_PKGCONFIG"; then
32860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
32863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32864 printf "%s\n" "no" >&6; }
32868 PKGCONFIG="no"
32872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
32885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fish options with pkg-config" >&5
32886 printf %s "checking for fish options with pkg-config... " >&6; }
32888 if test -n ""; then
32892 $PKGCONFIG --exists fish >/dev/null 2>&1 && echo 1`
32894 if test -z "$itexists"; then
32895 PKGCONFIG="no"
32896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
32897 printf "%s\n" "no" >&6; }
32899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
32904 if test "$PKGCONFIG" != "no" ; then
32905 FISH_FUNCTIONS_DIR="$($PKGCONFIG --variable completionsdir fish)"
34136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
34137 printf %s "checking for an ANSI C-conforming const... " >&6; }
34142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34160 an arm of an if-expression whose if-part is not a constant
34163 pcpcc = &g + (g ? g-g : 0);
34176 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
34181 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
34187 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
34189 struct s *b = &bx; b->j = 5;
34191 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
34206 ac_cv_c_const=no
34208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
34212 if test $ac_cv_c_const = no; then
34219 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro …
34220 printf %s "checking for compiler support of C99 variadic macro style... " >&6; }
34226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34257 curl_cv_variadic_macros_c99="no"
34260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5
34272 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic ma…
34273 printf %s "checking for compiler support of old gcc variadic macro style... " >&6; }
34279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34310 curl_cv_variadic_macros_gcc="no"
34313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5
34357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
34358 printf %s "checking for struct timeval... " >&6; }
34364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34408 curl_cv_struct_timeval="no"
34411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
34428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
34429 printf %s "checking run-time libs availability... " >&6; }
34435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34438 See \`config.log' for more details" "$LINENO" 5; }
34440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34456 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34470 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34473 See \`config.log' for more details" "$LINENO" 5; }
34475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: fine" >&5
34489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
34491 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
34494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
34511 for typesize in 8 4 2 16 1; do
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34538 if test $r -gt 0; then
34542 if test $r -eq 0; then
34545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34547 tname=$(echo "ac_cv_sizeof_size_t" | tr A-Z a-z | tr " " "_")
34557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
34560 for typesize in 8 4 2 16 1; do
34561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34587 if test $r -gt 0; then
34591 if test $r -eq 0; then
34594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34596 tname=$(echo "ac_cv_sizeof_long" | tr A-Z a-z | tr " " "_")
34606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
34609 for typesize in 8 4 2 16 1; do
34610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34636 if test $r -gt 0; then
34640 if test $r -eq 0; then
34643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34645 tname=$(echo "ac_cv_sizeof_int" | tr A-Z a-z | tr " " "_")
34655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
34658 for typesize in 8 4 2 16 1; do
34659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34685 if test $r -gt 0; then
34689 if test $r -eq 0; then
34692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34694 tname=$(echo "ac_cv_sizeof_time_t" | tr A-Z a-z | tr " " "_")
34704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
34707 for typesize in 8 4 2 16 1; do
34708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34733 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34734 if test $r -gt 0; then
34738 if test $r -eq 0; then
34741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34743 tname=$(echo "ac_cv_sizeof_off_t" | tr A-Z a-z | tr " " "_")
34753 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
34756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
34759 for typesize in 8 4 2 16 1; do
34760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
34788 if test $r -gt 0; then
34792 if test $r -eq 0; then
34795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $r" >&5
34797 tname=$(echo "ac_cv_sizeof_curl_off_t" | tr A-Z a-z | tr " " "_")
34818 if test ${ac_cv_sizeof_curl_off_t} -lt 8; then
34822 # check for ssize_t
34834 # check for bool type
34854 # check for sa_family_t
34890 # check for suseconds_t
34910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
34917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34918 printf "%s\n" "no" >&6; }
34921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34926 time_t t = -1;
34932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34940 printf "%s\n" "no" >&6; }
34943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34955 printf "%s\n" "no" >&6; }
34958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34963 time_t t = -1;
34969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
34977 printf "%s\n" "no" >&6; }
34980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35056 tst_poll_events_macro_defined="no"
35059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
35106 printf %s "checking for in_addr_t equivalent... " >&6; }
35113 for t in "unsigned long" int size_t unsigned long; do
35115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
35233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for select" >&5
35234 printf %s "checking for select... " >&6; }
35235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35288 printf "%s\n" "no" >&6; }
35289 curl_cv_select="no"
35292 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
35319 printf %s "checking for recv... " >&6; }
35320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35363 printf "%s\n" "no" >&6; }
35364 curl_cv_recv="no"
35367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for send" >&5
35395 printf %s "checking for send... " >&6; }
35396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35439 printf "%s\n" "no" >&6; }
35440 curl_cv_send="no"
35443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
35470 printf %s "checking for MSG_NOSIGNAL... " >&6; }
35476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35515 curl_cv_msg_nosignal="no"
35518 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
35565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
35567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35604 printf "%s\n" "no" >&6; }
35605 tst_links_alarm="no"
35608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
35614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35631 printf "%s\n" "no" >&6; }
35632 tst_proto_alarm="no"
35635 rm -rf conftest*
35640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
35642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35669 printf "%s\n" "no" >&6; }
35670 tst_compi_alarm="no"
35673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
35680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35685 printf "%s\n" "no" >&6; }
35686 tst_allow_alarm="no"
35690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
35696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35704 printf "%s\n" "no" >&6; }
35705 curl_cv_func_alarm="no"
35777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
35779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35816 printf "%s\n" "no" >&6; }
35817 tst_links_basename="no"
35820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
35826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35845 printf "%s\n" "no" >&6; }
35846 tst_proto_basename="no"
35849 rm -rf conftest*
35854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
35856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35885 printf "%s\n" "no" >&6; }
35886 tst_compi_basename="no"
35889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
35893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
35896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35901 printf "%s\n" "no" >&6; }
35902 tst_allow_basename="no"
35906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
35912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35920 printf "%s\n" "no" >&6; }
35921 curl_cv_func_basename="no"
35957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
35959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
35987 printf "%s\n" "no" >&6; }
35988 tst_links_closesocket="no"
35991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
35995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
35997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36015 printf "%s\n" "no" >&6; }
36016 tst_proto_closesocket="no"
36019 rm -rf conftest*
36024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
36026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36054 printf "%s\n" "no" >&6; }
36055 tst_compi_closesocket="no"
36058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
36065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36070 printf "%s\n" "no" >&6; }
36071 tst_allow_closesocket="no"
36075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
36081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36089 printf "%s\n" "no" >&6; }
36090 curl_cv_func_closesocket="no"
36126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
36128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36156 printf "%s\n" "no" >&6; }
36157 tst_links_closesocket_camel="no"
36160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
36166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36184 printf "%s\n" "no" >&6; }
36185 tst_proto_closesocket_camel="no"
36188 rm -rf conftest*
36193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
36195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36223 printf "%s\n" "no" >&6; }
36224 tst_compi_closesocket_camel="no"
36227 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
36234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36239 printf "%s\n" "no" >&6; }
36240 tst_allow_closesocket_camel="no"
36244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
36250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36258 printf "%s\n" "no" >&6; }
36259 curl_cv_func_closesocket_camel="no"
36269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if connect can be linked" >&5
36271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36301 printf "%s\n" "no" >&6; }
36302 tst_links_connect="no"
36305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if connect is prototyped" >&5
36311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36331 printf "%s\n" "no" >&6; }
36332 tst_proto_connect="no"
36335 rm -rf conftest*
36340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if connect is compilable" >&5
36342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36372 printf "%s\n" "no" >&6; }
36373 tst_compi_connect="no"
36376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if connect usage allowed" >&5
36383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36388 printf "%s\n" "no" >&6; }
36389 tst_allow_connect="no"
36393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if connect might be used" >&5
36399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36407 printf "%s\n" "no" >&6; }
36408 curl_cv_func_connect="no"
36454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
36456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36493 printf "%s\n" "no" >&6; }
36494 tst_links_fcntl="no"
36497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
36503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36520 printf "%s\n" "no" >&6; }
36521 tst_proto_fcntl="no"
36524 rm -rf conftest*
36529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
36531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36558 printf "%s\n" "no" >&6; }
36559 tst_compi_fcntl="no"
36562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
36569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36574 printf "%s\n" "no" >&6; }
36575 tst_allow_fcntl="no"
36579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
36585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
36605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36633 printf "%s\n" "no" >&6; }
36634 tst_compi_fcntl_o_nonblock="no"
36637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
36644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36649 printf "%s\n" "no" >&6; }
36650 tst_allow_fcntl_o_nonblock="no"
36654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
36658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36666 printf "%s\n" "no" >&6; }
36667 curl_cv_func_fcntl_o_nonblock="no"
36671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36672 printf "%s\n" "no" >&6; }
36673 curl_cv_func_fcntl="no"
36693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
36694 printf %s "checking for windows.h... " >&6; }
36700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36731 curl_cv_header_windows_h="no"
36734 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
36748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
36749 printf %s "checking for winsock2.h... " >&6; }
36755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36787 curl_cv_header_winsock2_h="no"
36790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
36804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
36805 printf %s "checking for ws2tcpip.h... " >&6; }
36811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36844 curl_cv_header_ws2tcpip_h="no"
36847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
36850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
36894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
36896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36924 printf "%s\n" "no" >&6; }
36925 tst_links_freeaddrinfo="no"
36928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
36932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
36934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36953 printf "%s\n" "no" >&6; }
36954 tst_proto_freeaddrinfo="no"
36957 rm -rf conftest*
36962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
36964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
36992 printf "%s\n" "no" >&6; }
36993 tst_compi_freeaddrinfo="no"
36996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
37003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37008 printf "%s\n" "no" >&6; }
37009 tst_allow_freeaddrinfo="no"
37013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
37019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37027 printf "%s\n" "no" >&6; }
37028 curl_cv_func_freeaddrinfo="no"
37065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
37067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37104 printf "%s\n" "no" >&6; }
37105 tst_links_fsetxattr="no"
37108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
37114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37131 printf "%s\n" "no" >&6; }
37132 tst_proto_fsetxattr="no"
37135 rm -rf conftest*
37141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
37143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37171 printf "%s\n" "no" >&6; }
37172 tst_compi_fsetxattr="no"
37175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
37180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37208 printf "%s\n" "no" >&6; }
37209 tst_compi_fsetxattr="no"
37212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
37217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37221 printf "%s\n" "no" >&6; }
37226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
37229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37234 printf "%s\n" "no" >&6; }
37235 tst_allow_fsetxattr="no"
37239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
37245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37251 if test "$tst_nargs_fsetxattr" -eq "5"; then
37255 elif test "$tst_nargs_fsetxattr" -eq "6"; then
37263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37264 printf "%s\n" "no" >&6; }
37265 curl_cv_func_fsetxattr="no"
37275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
37277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37314 printf "%s\n" "no" >&6; }
37315 tst_links_ftruncate="no"
37318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
37324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37341 printf "%s\n" "no" >&6; }
37342 tst_proto_ftruncate="no"
37345 rm -rf conftest*
37350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
37352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37379 printf "%s\n" "no" >&6; }
37380 tst_compi_ftruncate="no"
37383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
37390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37395 printf "%s\n" "no" >&6; }
37396 tst_allow_ftruncate="no"
37400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
37406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37414 printf "%s\n" "no" >&6; }
37415 curl_cv_func_ftruncate="no"
37453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
37455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37484 printf "%s\n" "no" >&6; }
37485 tst_links_getaddrinfo="no"
37488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
37494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37513 printf "%s\n" "no" >&6; }
37514 tst_proto_getaddrinfo="no"
37517 rm -rf conftest*
37522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
37524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37553 printf "%s\n" "no" >&6; }
37554 tst_compi_getaddrinfo="no"
37557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
37569 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37572 See \`config.log' for more details" "$LINENO" 5; }
37574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37620 printf "%s\n" "no" >&6; }
37621 tst_works_getaddrinfo="no"
37624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37635 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
37638 See \`config.log' for more details" "$LINENO" 5; }
37640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37686 printf "%s\n" "no" >&6; }
37687 tst_works_getaddrinfo="no"
37690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
37701 test "$tst_works_getaddrinfo" != "no"; then
37702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
37705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37710 printf "%s\n" "no" >&6; }
37711 tst_allow_getaddrinfo="no"
37715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
37721 test "$tst_works_getaddrinfo" != "no"; then
37722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37730 printf "%s\n" "no" >&6; }
37731 curl_cv_func_getaddrinfo="no"
37732 curl_cv_func_getaddrinfo_threadsafe="no"
37736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
37740 tst_tsafe_getaddrinfo="no"
37746 tst_tsafe_getaddrinfo="no"
37752 tst_tsafe_getaddrinfo="no"
37758 tst_tsafe_getaddrinfo="no"
37767 tst_tsafe_getaddrinfo="no"
37773 tst_tsafe_getaddrinfo="no"
37786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37811 tst_symbol_defined="no"
37814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37819 curl_cv_have_def_h_errno=no
37826 tst_h_errno_macro="no"
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37854 tst_h_errno_modifiable_lvalue="no"
37857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37886 tst_h_errno_sbs_issue_7="no"
37889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
37890 if test "$tst_h_errno_macro" = "no" &&
37891 test "$tst_h_errno_modifiable_lvalue" = "no" &&
37892 test "$tst_h_errno_sbs_issue_7" = "no"; then
37893 tst_tsafe_getaddrinfo="no"
37898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
37906 curl_cv_func_getaddrinfo_threadsafe="no"
37917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
37919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37948 printf "%s\n" "no" >&6; }
37949 tst_links_gethostbyname="no"
37952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
37956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
37958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
37977 printf "%s\n" "no" >&6; }
37978 tst_proto_gethostbyname="no"
37981 rm -rf conftest*
37986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
37988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38017 printf "%s\n" "no" >&6; }
38018 tst_compi_gethostbyname="no"
38021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
38028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38033 printf "%s\n" "no" >&6; }
38034 tst_allow_gethostbyname="no"
38038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
38044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38052 printf "%s\n" "no" >&6; }
38053 curl_cv_func_gethostbyname="no"
38064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
38066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38103 printf "%s\n" "no" >&6; }
38104 tst_links_gethostbyname_r="no"
38107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
38113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38130 printf "%s\n" "no" >&6; }
38131 tst_proto_gethostbyname_r="no"
38134 rm -rf conftest*
38140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
38142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38171 printf "%s\n" "no" >&6; }
38172 tst_compi_gethostbyname_r="no"
38175 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
38180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38209 printf "%s\n" "no" >&6; }
38210 tst_compi_gethostbyname_r="no"
38213 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
38218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38247 printf "%s\n" "no" >&6; }
38248 tst_compi_gethostbyname_r="no"
38251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
38256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38260 printf "%s\n" "no" >&6; }
38265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
38268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38273 printf "%s\n" "no" >&6; }
38274 tst_allow_gethostbyname_r="no"
38278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
38284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38290 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
38294 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
38298 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
38306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38307 printf "%s\n" "no" >&6; }
38308 curl_cv_func_gethostbyname_r="no"
38328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
38330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38359 printf "%s\n" "no" >&6; }
38360 tst_links_gethostname="no"
38363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
38369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38388 printf "%s\n" "no" >&6; }
38389 tst_proto_gethostname="no"
38392 rm -rf conftest*
38397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
38399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38428 printf "%s\n" "no" >&6; }
38429 tst_compi_gethostname="no"
38432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
38437 printf %s "checking for gethostname arg 2 data type... " >&6; }
38439 for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do
38440 for tst_arg2 in 'int' 'unsigned int' 'size_t'; do
38442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
38483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
38486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38491 printf "%s\n" "no" >&6; }
38492 tst_allow_gethostname="no"
38496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
38502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38510 printf "%s\n" "no" >&6; }
38511 curl_cv_func_gethostname="no"
38521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername can be linked" >&5
38523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38552 printf "%s\n" "no" >&6; }
38553 tst_links_getpeername="no"
38556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is prototyped" >&5
38562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38581 printf "%s\n" "no" >&6; }
38582 tst_proto_getpeername="no"
38585 rm -rf conftest*
38590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername is compilable" >&5
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38621 printf "%s\n" "no" >&6; }
38622 tst_compi_getpeername="no"
38625 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername usage allowed" >&5
38632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38637 printf "%s\n" "no" >&6; }
38638 tst_allow_getpeername="no"
38642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getpeername might be used" >&5
38648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38656 printf "%s\n" "no" >&6; }
38657 curl_cv_func_getpeername="no"
38667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname can be linked" >&5
38669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38698 printf "%s\n" "no" >&6; }
38699 tst_links_getsockname="no"
38702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is prototyped" >&5
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38727 printf "%s\n" "no" >&6; }
38728 tst_proto_getsockname="no"
38731 rm -rf conftest*
38736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname is compilable" >&5
38738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38767 printf "%s\n" "no" >&6; }
38768 tst_compi_getsockname="no"
38771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname usage allowed" >&5
38778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38783 printf "%s\n" "no" >&6; }
38784 tst_allow_getsockname="no"
38788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getsockname might be used" >&5
38794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38802 printf "%s\n" "no" >&6; }
38803 curl_cv_func_getsockname="no"
38829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex can be linked" >&5
38831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38860 printf "%s\n" "no" >&6; }
38861 tst_links_if_nametoindex="no"
38864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
38868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is prototyped" >&5
38870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38888 printf "%s\n" "no" >&6; }
38889 tst_proto_if_nametoindex="no"
38892 rm -rf conftest*
38897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex is compilable" >&5
38899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38927 printf "%s\n" "no" >&6; }
38928 tst_compi_if_nametoindex="no"
38931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
38935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex usage allowed" >&5
38938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38943 printf "%s\n" "no" >&6; }
38944 tst_allow_if_nametoindex="no"
38948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if if_nametoindex might be used" >&5
38954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
38962 printf "%s\n" "no" >&6; }
38963 curl_cv_func_if_nametoindex="no"
39020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
39022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39059 printf "%s\n" "no" >&6; }
39060 tst_links_getifaddrs="no"
39063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
39069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39086 printf "%s\n" "no" >&6; }
39087 tst_proto_getifaddrs="no"
39090 rm -rf conftest*
39095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
39097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39124 printf "%s\n" "no" >&6; }
39125 tst_compi_getifaddrs="no"
39128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
39140 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39143 See \`config.log' for more details" "$LINENO" 5; }
39145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39177 printf "%s\n" "no" >&6; }
39178 tst_works_getifaddrs="no"
39181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39192 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39195 See \`config.log' for more details" "$LINENO" 5; }
39197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39229 printf "%s\n" "no" >&6; }
39230 tst_works_getifaddrs="no"
39233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39244 test "$tst_works_getifaddrs" != "no"; then
39245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
39248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39253 printf "%s\n" "no" >&6; }
39254 tst_allow_getifaddrs="no"
39258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
39264 test "$tst_works_getifaddrs" != "no"; then
39265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39273 printf "%s\n" "no" >&6; }
39274 curl_cv_func_getifaddrs="no"
39312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
39314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39351 printf "%s\n" "no" >&6; }
39352 tst_links_gmtime_r="no"
39355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
39361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39378 printf "%s\n" "no" >&6; }
39379 tst_proto_gmtime_r="no"
39382 rm -rf conftest*
39387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
39389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39416 printf "%s\n" "no" >&6; }
39417 tst_compi_gmtime_r="no"
39420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
39432 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39435 See \`config.log' for more details" "$LINENO" 5; }
39437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39469 printf "%s\n" "no" >&6; }
39470 tst_works_gmtime_r="no"
39473 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39484 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39487 See \`config.log' for more details" "$LINENO" 5; }
39489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39521 printf "%s\n" "no" >&6; }
39522 tst_works_gmtime_r="no"
39525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39536 test "$tst_works_gmtime_r" != "no"; then
39537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
39540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39545 printf "%s\n" "no" >&6; }
39546 tst_allow_gmtime_r="no"
39550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
39556 test "$tst_works_gmtime_r" != "no"; then
39557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39565 printf "%s\n" "no" >&6; }
39566 curl_cv_func_gmtime_r="no"
39627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
39629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39666 printf "%s\n" "no" >&6; }
39667 tst_links_inet_ntop="no"
39670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
39674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
39676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39693 printf "%s\n" "no" >&6; }
39694 tst_proto_inet_ntop="no"
39697 rm -rf conftest*
39702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
39704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39731 printf "%s\n" "no" >&6; }
39732 tst_compi_inet_ntop="no"
39735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
39740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
39747 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39750 See \`config.log' for more details" "$LINENO" 5; }
39752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39769 /* - */
39776 /* - */
39786 /* - */
39800 /* - */
39810 /* - */
39820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39826 printf "%s\n" "no" >&6; }
39827 tst_works_inet_ntop="no"
39830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39841 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
39844 See \`config.log' for more details" "$LINENO" 5; }
39846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39863 /* - */
39870 /* - */
39880 /* - */
39894 /* - */
39904 /* - */
39914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39920 printf "%s\n" "no" >&6; }
39921 tst_works_inet_ntop="no"
39924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
39935 test "$tst_works_inet_ntop" != "no"; then
39936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
39939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39944 printf "%s\n" "no" >&6; }
39945 tst_allow_inet_ntop="no"
39949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
39955 test "$tst_works_inet_ntop" != "no"; then
39956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
39964 printf "%s\n" "no" >&6; }
39965 curl_cv_func_inet_ntop="no"
39976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
39978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40015 printf "%s\n" "no" >&6; }
40016 tst_links_inet_pton="no"
40019 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
40025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40042 printf "%s\n" "no" >&6; }
40043 tst_proto_inet_pton="no"
40046 rm -rf conftest*
40051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
40053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40080 printf "%s\n" "no" >&6; }
40081 tst_compi_inet_pton="no"
40084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
40096 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40099 See \`config.log' for more details" "$LINENO" 5; }
40101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40116 /* - */
40120 /* - */
40127 /* - */
40131 /* - */
40144 /* - */
40152 /* - */
40162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40168 printf "%s\n" "no" >&6; }
40169 tst_works_inet_pton="no"
40172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40183 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
40186 See \`config.log' for more details" "$LINENO" 5; }
40188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40203 /* - */
40207 /* - */
40214 /* - */
40218 /* - */
40231 /* - */
40239 /* - */
40249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40255 printf "%s\n" "no" >&6; }
40256 tst_works_inet_pton="no"
40259 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40270 test "$tst_works_inet_pton" != "no"; then
40271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
40274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40279 printf "%s\n" "no" >&6; }
40280 tst_allow_inet_pton="no"
40284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
40290 test "$tst_works_inet_pton" != "no"; then
40291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40299 printf "%s\n" "no" >&6; }
40300 curl_cv_func_inet_pton="no"
40310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
40312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40339 printf "%s\n" "no" >&6; }
40340 tst_links_ioctlsocket="no"
40343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
40349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40366 printf "%s\n" "no" >&6; }
40367 tst_proto_ioctlsocket="no"
40370 rm -rf conftest*
40375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
40377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40404 printf "%s\n" "no" >&6; }
40405 tst_compi_ioctlsocket="no"
40408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
40415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40420 printf "%s\n" "no" >&6; }
40421 tst_allow_ioctlsocket="no"
40425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
40431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
40445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40473 printf "%s\n" "no" >&6; }
40474 tst_compi_ioctlsocket_fionbio="no"
40477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
40484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40489 printf "%s\n" "no" >&6; }
40490 tst_allow_ioctlsocket_fionbio="no"
40494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
40498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40506 printf "%s\n" "no" >&6; }
40507 curl_cv_func_ioctlsocket_fionbio="no"
40511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40512 printf "%s\n" "no" >&6; }
40513 curl_cv_func_ioctlsocket="no"
40523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
40525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40551 printf "%s\n" "no" >&6; }
40552 tst_links_ioctlsocket_camel="no"
40555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
40561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40578 printf "%s\n" "no" >&6; }
40579 tst_proto_ioctlsocket_camel="no"
40582 rm -rf conftest*
40587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
40589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40616 printf "%s\n" "no" >&6; }
40617 tst_compi_ioctlsocket_camel="no"
40620 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
40627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40632 printf "%s\n" "no" >&6; }
40633 tst_allow_ioctlsocket_camel="no"
40637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
40643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
40657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40685 printf "%s\n" "no" >&6; }
40686 tst_compi_ioctlsocket_camel_fionbio="no"
40689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
40696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40701 printf "%s\n" "no" >&6; }
40702 tst_allow_ioctlsocket_camel_fionbio="no"
40706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
40710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40718 printf "%s\n" "no" >&6; }
40719 curl_cv_func_ioctlsocket_camel_fionbio="no"
40723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40724 printf "%s\n" "no" >&6; }
40725 curl_cv_func_ioctlsocket_camel="no"
40736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
40738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40775 printf "%s\n" "no" >&6; }
40776 tst_links_memrchr="no"
40779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40782 if test "$tst_links_memrchr" = "no"; then
40783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
40785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40812 printf "%s\n" "no" >&6; }
40813 tst_macro_memrchr="no"
40816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
40823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40840 printf "%s\n" "no" >&6; }
40841 tst_proto_memrchr="no"
40844 rm -rf conftest*
40850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
40852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40879 printf "%s\n" "no" >&6; }
40880 tst_compi_memrchr="no"
40883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
40887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
40890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40895 printf "%s\n" "no" >&6; }
40896 tst_allow_memrchr="no"
40900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
40906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40914 printf "%s\n" "no" >&6; }
40915 curl_cv_func_memrchr="no"
40929 tst_compi_poll="no"
40933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
40935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40962 printf "%s\n" "no" >&6; }
40963 tst_links_poll="no"
40966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
40970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
40972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
40989 printf "%s\n" "no" >&6; }
40990 tst_proto_poll="no"
40993 rm -rf conftest*
40998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
41000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41027 printf "%s\n" "no" >&6; }
41028 tst_compi_poll="no"
41031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
41043 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41046 See \`config.log' for more details" "$LINENO" 5; }
41048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41072 us = (after.tv_sec - before.tv_sec) * 1000000 +
41073 (after.tv_usec - before.tv_usec);
41086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41092 printf "%s\n" "no" >&6; }
41093 tst_works_poll="no"
41096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41107 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
41110 See \`config.log' for more details" "$LINENO" 5; }
41112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41136 us = (after.tv_sec - before.tv_sec) * 1000000 +
41137 (after.tv_usec - before.tv_usec);
41150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41156 printf "%s\n" "no" >&6; }
41157 tst_works_poll="no"
41160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
41171 test "$tst_works_poll" != "no"; then
41172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
41175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41180 printf "%s\n" "no" >&6; }
41181 tst_allow_poll="no"
41185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
41191 test "$tst_works_poll" != "no"; then
41192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41200 printf "%s\n" "no" >&6; }
41201 curl_cv_func_poll="no"
41237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
41239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41276 printf "%s\n" "no" >&6; }
41277 tst_links_sigaction="no"
41280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
41286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41303 printf "%s\n" "no" >&6; }
41304 tst_proto_sigaction="no"
41307 rm -rf conftest*
41312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
41314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41341 printf "%s\n" "no" >&6; }
41342 tst_compi_sigaction="no"
41345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
41352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41357 printf "%s\n" "no" >&6; }
41358 tst_allow_sigaction="no"
41362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
41368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41376 printf "%s\n" "no" >&6; }
41377 curl_cv_func_sigaction="no"
41387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
41389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41426 printf "%s\n" "no" >&6; }
41427 tst_links_siginterrupt="no"
41430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
41436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41453 printf "%s\n" "no" >&6; }
41454 tst_proto_siginterrupt="no"
41457 rm -rf conftest*
41462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
41464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41491 printf "%s\n" "no" >&6; }
41492 tst_compi_siginterrupt="no"
41495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
41502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41507 printf "%s\n" "no" >&6; }
41508 tst_allow_siginterrupt="no"
41512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
41518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41526 printf "%s\n" "no" >&6; }
41527 curl_cv_func_siginterrupt="no"
41537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
41539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41576 printf "%s\n" "no" >&6; }
41577 tst_links_signal="no"
41580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
41586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41603 printf "%s\n" "no" >&6; }
41604 tst_proto_signal="no"
41607 rm -rf conftest*
41612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
41614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41641 printf "%s\n" "no" >&6; }
41642 tst_compi_signal="no"
41645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
41652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41657 printf "%s\n" "no" >&6; }
41658 tst_allow_signal="no"
41662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
41668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41676 printf "%s\n" "no" >&6; }
41677 curl_cv_func_signal="no"
41714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
41716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41753 printf "%s\n" "no" >&6; }
41754 tst_links_sigsetjmp="no"
41757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41760 if test "$tst_links_sigsetjmp" = "no"; then
41761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
41763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41791 printf "%s\n" "no" >&6; }
41792 tst_macro_sigsetjmp="no"
41795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
41802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41819 printf "%s\n" "no" >&6; }
41820 tst_proto_sigsetjmp="no"
41823 rm -rf conftest*
41829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
41831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41859 printf "%s\n" "no" >&6; }
41860 tst_compi_sigsetjmp="no"
41863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
41867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
41870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41875 printf "%s\n" "no" >&6; }
41876 tst_allow_sigsetjmp="no"
41880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
41886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41894 printf "%s\n" "no" >&6; }
41895 curl_cv_func_sigsetjmp="no"
41905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
41907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41937 printf "%s\n" "no" >&6; }
41938 tst_links_socket="no"
41941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
41945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
41947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
41967 printf "%s\n" "no" >&6; }
41968 tst_proto_socket="no"
41971 rm -rf conftest*
41976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
41978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42008 printf "%s\n" "no" >&6; }
42009 tst_compi_socket="no"
42012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
42019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42024 printf "%s\n" "no" >&6; }
42025 tst_allow_socket="no"
42029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
42035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42043 printf "%s\n" "no" >&6; }
42044 curl_cv_func_socket="no"
42054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
42056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42093 printf "%s\n" "no" >&6; }
42094 tst_links_socketpair="no"
42097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
42103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42121 printf "%s\n" "no" >&6; }
42122 tst_proto_socketpair="no"
42125 rm -rf conftest*
42130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
42132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42161 printf "%s\n" "no" >&6; }
42162 tst_compi_socketpair="no"
42165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
42172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42177 printf "%s\n" "no" >&6; }
42178 tst_allow_socketpair="no"
42182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
42188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42196 printf "%s\n" "no" >&6; }
42197 curl_cv_func_socketpair="no"
42207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
42209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42246 printf "%s\n" "no" >&6; }
42247 tst_links_strcasecmp="no"
42250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
42256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42273 printf "%s\n" "no" >&6; }
42274 tst_proto_strcasecmp="no"
42277 rm -rf conftest*
42282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
42284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42311 printf "%s\n" "no" >&6; }
42312 tst_compi_strcasecmp="no"
42315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
42322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42327 printf "%s\n" "no" >&6; }
42328 tst_allow_strcasecmp="no"
42332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
42338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42346 printf "%s\n" "no" >&6; }
42347 curl_cv_func_strcasecmp="no"
42357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
42359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42396 printf "%s\n" "no" >&6; }
42397 tst_links_strcmpi="no"
42400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
42406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42423 printf "%s\n" "no" >&6; }
42424 tst_proto_strcmpi="no"
42427 rm -rf conftest*
42432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
42434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42461 printf "%s\n" "no" >&6; }
42462 tst_compi_strcmpi="no"
42465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
42472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42477 printf "%s\n" "no" >&6; }
42478 tst_allow_strcmpi="no"
42482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
42488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42496 printf "%s\n" "no" >&6; }
42497 curl_cv_func_strcmpi="no"
42507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
42509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42546 printf "%s\n" "no" >&6; }
42547 tst_links_strdup="no"
42550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
42556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42573 printf "%s\n" "no" >&6; }
42574 tst_proto_strdup="no"
42577 rm -rf conftest*
42582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42611 printf "%s\n" "no" >&6; }
42612 tst_compi_strdup="no"
42615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
42622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42627 printf "%s\n" "no" >&6; }
42628 tst_allow_strdup="no"
42632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
42638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42646 printf "%s\n" "no" >&6; }
42647 curl_cv_func_strdup="no"
42663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
42665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42702 printf "%s\n" "no" >&6; }
42703 tst_links_strerror_r="no"
42706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
42710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
42712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42729 printf "%s\n" "no" >&6; }
42730 tst_proto_strerror_r="no"
42733 rm -rf conftest*
42738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
42740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42767 printf "%s\n" "no" >&6; }
42768 tst_compi_strerror_r="no"
42771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
42778 for arg3 in 'size_t' 'int' 'unsigned int'; do
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42810 printf "%s\n" "no" >&6; }
42811 tst_glibc_strerror_r="no"
42814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
42830 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42833 See \`config.log' for more details" "$LINENO" 5; }
42835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42870 printf "%s\n" "no" >&6; }
42871 tst_works_glibc_strerror_r="no"
42874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42885 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42888 See \`config.log' for more details" "$LINENO" 5; }
42890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42925 printf "%s\n" "no" >&6; }
42926 tst_works_glibc_strerror_r="no"
42929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
42941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
42944 for arg3 in 'size_t' 'int' 'unsigned int'; do
42946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
42975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
42976 printf "%s\n" "no" >&6; }
42977 tst_posix_strerror_r="no"
42980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
42996 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42999 See \`config.log' for more details" "$LINENO" 5; }
43001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43036 printf "%s\n" "no" >&6; }
43037 tst_works_posix_strerror_r="no"
43040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43051 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43054 See \`config.log' for more details" "$LINENO" 5; }
43056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43091 printf "%s\n" "no" >&6; }
43092 tst_works_posix_strerror_r="no"
43095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
43106 tst_posix_strerror_r="no"
43109 tst_glibc_strerror_r="no"
43112 test "$tst_works_glibc_strerror_r" != "no" &&
43117 test "$tst_works_posix_strerror_r" != "no" &&
43122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
43125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43130 printf "%s\n" "no" >&6; }
43131 tst_allow_strerror_r="no"
43135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
43141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43162 printf "%s\n" "no" >&6; }
43163 curl_cv_func_strerror_r="no"
43168 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit l…
43180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
43182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43219 printf "%s\n" "no" >&6; }
43220 tst_links_stricmp="no"
43223 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
43229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43246 printf "%s\n" "no" >&6; }
43247 tst_proto_stricmp="no"
43250 rm -rf conftest*
43255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
43257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43284 printf "%s\n" "no" >&6; }
43285 tst_compi_stricmp="no"
43288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
43295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43300 printf "%s\n" "no" >&6; }
43301 tst_allow_stricmp="no"
43305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
43311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43319 printf "%s\n" "no" >&6; }
43320 curl_cv_func_stricmp="no"
43330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
43332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43369 printf "%s\n" "no" >&6; }
43370 tst_links_strtok_r="no"
43373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
43379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43396 printf "%s\n" "no" >&6; }
43397 tst_proto_strtok_r="no"
43400 rm -rf conftest*
43405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
43407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43434 printf "%s\n" "no" >&6; }
43435 tst_compi_strtok_r="no"
43438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
43445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43450 printf "%s\n" "no" >&6; }
43451 tst_allow_strtok_r="no"
43455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
43461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43469 printf "%s\n" "no" >&6; }
43470 curl_cv_func_strtok_r="no"
43480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
43482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43519 printf "%s\n" "no" >&6; }
43520 tst_links_strtoll="no"
43523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
43529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43546 printf "%s\n" "no" >&6; }
43547 tst_proto_strtoll="no"
43550 rm -rf conftest*
43555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
43557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43584 printf "%s\n" "no" >&6; }
43585 tst_compi_strtoll="no"
43588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
43595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43600 printf "%s\n" "no" >&6; }
43601 tst_allow_strtoll="no"
43605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
43611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43619 printf "%s\n" "no" >&6; }
43620 curl_cv_func_strtoll="no"
43626 ac_cv_func_pipe=no
43628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
43629 printf "%s\n" "$as_me: skip check for pipe on msdosdjgpp" >&6;}
43633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undecla…
43634 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
43641 for ac_arg in '' -fno-builtin; do
43644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43659 # No library function is consistently available on
43661 # declaration. Include always-available headers on the
43663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
43697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
43701 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43704 See \`config.log' for more details" "$LINENO" 5; } ;; #(
43733for ac_func in fnmatch fchmod fork geteuid getpass_r getppid getpwuid getpwuid_r getrlimit gettime…
43749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
43750 printf %s "checking deeper for $func... " >&6; }
43751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43774 …E_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
43780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
43781 printf "%s\n" "but still no" >&6; }
43784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
43796 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode"…
43797 printf %s "checking how to set a socket into non-blocking mode... " >&6; }
43809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
43812 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method…
43813 printf "%s\n" "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
43820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43821 printf %s "checking for $ac_word... " >&6; }
43833 for as_dir in $as_dummy
43841 for ac_exec_ext in '' $ac_executable_extensions; do
43844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43855 if test -n "$PERL"; then
43856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
43859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43860 printf "%s\n" "no" >&6; }
43866 for ac_prog in gnroff nroff
43870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43871 printf %s "checking for $ac_word... " >&6; }
43883 for as_dir in $as_dummy
43891 for ac_exec_ext in '' $ac_executable_extensions; do
43894 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
43905 if test -n "$NROFF"; then
43906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5
43909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
43910 printf "%s\n" "no" >&6; }
43914 test -n "$NROFF" && break
43919 if test -n "$NROFF"; then
43921 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from ma…
43923 MANOPT="-man"
43925 if test -z "$mancheck"; then
43926 MANOPT="-mandoc"
43928 if test -z "$mancheck"; then
43930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
43932 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext fro…
43933 printf "%s\n" "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;}
43935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
43939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
43945 if test -z "$MANOPT"
43947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5
43948 printf "%s\n" "$as_me: WARNING: disabling built-in manual" >&2;}
43949 USE_MANUAL="no";
43976 if test -n "$want_ares_path"; then
43979 if test -n "$PKG_CONFIG"; then
43982 if test -n "$ac_tool_prefix"; then
43983 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43984 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43986 printf %s "checking for $ac_word... " >&6; }
43998 for as_dir in $as_dummy
44006 for ac_exec_ext in '' $ac_executable_extensions; do
44009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44020 if test -n "$PKGCONFIG"; then
44021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44025 printf "%s\n" "no" >&6; }
44030 if test -z "$ac_cv_path_PKGCONFIG"; then
44032 # Extract the first word of "pkg-config", so it can be a program name with args.
44033 set dummy pkg-config; ac_word=$2
44034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44035 printf %s "checking for $ac_word... " >&6; }
44047 for as_dir in $as_dummy
44055 for ac_exec_ext in '' $ac_executable_extensions; do
44058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44069 if test -n "$ac_pt_PKGCONFIG"; then
44070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44074 printf "%s\n" "no" >&6; }
44078 PKGCONFIG="no"
44082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44095 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44096 printf %s "checking for libcares options with pkg-config... " >&6; }
44098 if test -n "$ARES_PCDIR"; then
44102 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44104 if test -z "$itexists"; then
44105 PKGCONFIG="no"
44106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44107 printf "%s\n" "no" >&6; }
44109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44114 if test "$PKGCONFIG" != "no" ; then
44116 if test -n "$ARES_PCDIR"; then
44121 $PKGCONFIG --libs-only-l libcares`
44123 if test -n "$ARES_PCDIR"; then
44128 $PKGCONFIG --libs-only-L libcares`
44130 if test -n "$ARES_PCDIR"; then
44135 $PKGCONFIG --cflags-only-I libcares`
44136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
44137 printf "%s\n" "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
44138 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
44139 printf "%s\n" "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44140 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44141 printf "%s\n" "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44143 ares_CPPFLAGS="-I$want_ares_path/include"
44144 ares_LDFLAGS="-L$want_ares_path/lib"
44145 ares_LIBS="-lcares"
44149 if test -n "$PKG_CONFIG"; then
44152 if test -n "$ac_tool_prefix"; then
44153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44156 printf %s "checking for $ac_word... " >&6; }
44168 for as_dir in $as_dummy
44176 for ac_exec_ext in '' $ac_executable_extensions; do
44179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44190 if test -n "$PKGCONFIG"; then
44191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
44194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44195 printf "%s\n" "no" >&6; }
44200 if test -z "$ac_cv_path_PKGCONFIG"; then
44202 # Extract the first word of "pkg-config", so it can be a program name with args.
44203 set dummy pkg-config; ac_word=$2
44204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
44205 printf %s "checking for $ac_word... " >&6; }
44217 for as_dir in $as_dummy
44225 for ac_exec_ext in '' $ac_executable_extensions; do
44228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
44239 if test -n "$ac_pt_PKGCONFIG"; then
44240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
44243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44244 printf "%s\n" "no" >&6; }
44248 PKGCONFIG="no"
44252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host tri…
44265 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
44266 printf %s "checking for libcares options with pkg-config... " >&6; }
44268 if test -n ""; then
44272 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
44274 if test -z "$itexists"; then
44275 PKGCONFIG="no"
44276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44277 printf "%s\n" "no" >&6; }
44279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
44284 if test "$PKGCONFIG" != "no" ; then
44285 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
44286 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
44287 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
44288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
44289 printf "%s\n" "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
44290 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
44291 printf "%s\n" "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
44292 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
44293 printf "%s\n" "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
44297 ares_LIBS="-lcares"
44306 … { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
44307 printf %s "checking that c-ares is good and recent enough... " >&6; }
44308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44313 /* set of dummy functions in case c-ares was built with debug */
44336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44342 printf "%s\n" "no" >&6; }
44343 as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
44348 want_ares="no"
44351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44360 curl_res_msg="c-ares"
44369 build_libhostname=no
44382 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
44385 # Check whether --enable-threaded_resolver was given.
44392 no)
44393 want_thres="no"
44399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
44404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded re…
44405 printf %s "checking whether to use POSIX threads for threaded resolver... " >&6; }
44406 # Check whether --enable-pthreads was given.
44410 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44411 printf "%s\n" "no" >&6; }
44412 want_pthreads=no
44414 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
44429 if test "$want_pthreads" != "no"; then
44431 as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
44433 if test "$dontwant_rt" != "no"; then
44435 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is di…
44436 printf "%s\n" "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
44438 want_pthreads=no
44442 if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
44443 want_pthreads=no
44446 if test "$want_pthreads" != "no"; then
44466 *-hp-hpux*)
44475 # assign PTHREAD for pkg-config use
44476 PTHREAD=" -pthread"
44479 *-ibm-aix*)
44480 COMPILER_VERSION=`"$CC" -qversion 2>/dev/null`
44482 CFLAGS="$CFLAGS -pthread"
44484 CFLAGS="$CFLAGS -qthreaded"
44487 powerpc-*amigaos*)
44488 PTHREAD=" -lpthread"
44491 CFLAGS="$CFLAGS -pthread"
44494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
44495 printf %s "checking for pthread_create in -lpthread... " >&6; }
44501 LIBS="-lpthread $LIBS"
44502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44521 ac_cv_lib_pthread_pthread_create=no
44523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
44527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
44552 as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
44561 as_fn_error $? "Threaded resolver enabled but no thread library found" "$LINENO" 5
44566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking convert -I options to -isystem" >&5
44567 printf %s "checking convert -I options to -isystem... " >&6; }
44570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44572 tmp_has_include="no"
44574 for word1 in $tmp_chg_FLAGS; do
44576 -I*)
44582 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44583 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44587 tmp_has_include="no"
44589 for word1 in $tmp_chg_FLAGS; do
44591 -I*)
44597 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
44598 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
44603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44604 printf "%s\n" "no" >&6; }
44608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
44610 # Check whether --enable-verbose was given.
44614 no)
44615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44616 printf "%s\n" "no" >&6; }
44620 curl_verbose_msg="no"
44622 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows nati…
44635 # Check whether --enable-sspi was given.
44641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44651 printf "%s\n" "no" >&6; }
44652 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on na…
44653 printf "%s\n" "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&…
44658 # --with-schannel implies --enable-sspi
44659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44663 printf "%s\n" "no" >&6; }
44669 # --with-schannel implies --enable-sspi
44670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44674 printf "%s\n" "no" >&6; }
44680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable cryptographic authenticati…
44682 # Check whether --enable-crypto-auth was given.
44686 no)
44687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44688 printf "%s\n" "no" >&6; }
44694 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support NTLM" >&5
44707 # Check whether --enable-ntlm was given.
44711 no)
44712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44713 printf "%s\n" "no" >&6; }
44719 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44732 # Check whether --enable-ntlm-wb was given.
44740 no)
44741 want_ntlm_wb="no"
44748 if test -n "$enableval" && test "$enableval" != "yes"; then
44756 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable NTLM delegation to winbin…
44761 want_ntlm_wb="no"
44763 want_ntlm_wb="no"
44765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $want_ntlm_wb" >&5
44778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
44779 printf %s "checking whether to enable TLS-SRP authentication... " >&6; }
44780 # Check whether --enable-tls-srp was given.
44784 no)
44785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44786 printf "%s\n" "no" >&6; }
44787 want_tls_srp=no
44789 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
44812 # Check whether --enable-unix-sockets was given.
44816 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44817 printf "%s\n" "no" >&6; }
44818 want_unix_sockets=no
44820 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: auto" >&5
44859 as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
44867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support cookies" >&5
44869 # Check whether --enable-cookies was given.
44873 no)
44874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44875 printf "%s\n" "no" >&6; }
44880 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support socketpair" >&5
44893 # Check whether --enable-socketpair was given.
44897 no)
44898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44899 printf "%s\n" "no" >&6; }
44904 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HTTP authentication" >&5
44917 # Check whether --enable-http-auth was given.
44921 no)
44922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44923 printf "%s\n" "no" >&6; }
44928 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DoH" >&5
44941 # Check whether --enable-doh was given.
44945 no)
44946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44947 printf "%s\n" "no" >&6; }
44952 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support the MIME API" >&5
44965 # Check whether --enable-mime was given.
44969 no)
44970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44971 printf "%s\n" "no" >&6; }
44976 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support date parsing" >&5
44989 # Check whether --enable-dateparse was given.
44993 no)
44994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
44995 printf "%s\n" "no" >&6; }
45000 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support netrc parsing" >&5
45013 # Check whether --enable-netrc was given.
45017 no)
45018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45019 printf "%s\n" "no" >&6; }
45024 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support progress-meter" >&5
45036 printf %s "checking whether to support progress-meter... " >&6; }
45037 # Check whether --enable-progress-meter was given.
45041 no)
45042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45043 printf "%s\n" "no" >&6; }
45048 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support DNS shuffling" >&5
45061 # Check whether --enable-dnsshuffle was given.
45065 no)
45066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45067 printf "%s\n" "no" >&6; }
45072 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support curl_easy_option*" >&5
45085 # Check whether --enable-get-easy-options was given.
45089 no)
45090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45091 printf "%s\n" "no" >&6; }
45096 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
45108 printf %s "checking whether to support alt-svc... " >&6; }
45109 # Check whether --enable-alt-svc was given.
45113 no)
45114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45115 printf "%s\n" "no" >&6; }
45119 curl_altsvc_msg="no";
45120 enable_altsvc="no"
45122 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support headers-api" >&5
45134 printf %s "checking whether to support headers-api... " >&6; }
45135 # Check whether --enable-headers-api was given.
45139 no) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45140 printf "%s\n" "no" >&6; }
45141 curl_headers_msg="no (--enable-headers-api)"
45147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45158 if test -n "$SSL_ENABLED"; then
45160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support HSTS" >&5
45162 # Check whether --enable-hsts was given.
45166 no)
45167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45168 printf "%s\n" "no" >&6; }
45169 hsts="no"
45171 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hsts" >&5
45182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: disables HSTS due to lack of SSL" >&5
45184 hsts="no"
45188 curl_hsts_msg="no (--enable-hsts)";
45195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ECH support is available" >&5
45203 for ac_func in SSL_get_ech_status
45221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ECH_SUPPORT" >&5
45225 as_fn_error $? "--enable-ech ignored: No ECH support found" "$LINENO" 5
45239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to support WebSockets" >&5
45241 # Check whether --enable-websockets was given.
45245 no)
45246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45247 printf "%s\n" "no" >&6; }
45250 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
45251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45264 printf "%s\n" "no" >&6; }
45265 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Websockets disabled due to lack of >32 bit …
45271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45272 printf "%s\n" "no" >&6; }
45279 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols …
45282 doing_symbol_hiding="no"
45290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
45294 printf "%s\n" "no" >&6; }
45341 elif test -n "$SSL_ENABLED"; then
45359 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
45360 -o "x$USE_THREADS_WIN32" = "x1"; then
45371 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
45383 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
45389 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
45390 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45394 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
45395 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
45399 use_curl_ntlm_core=no
45401 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
45403 if test "x$OPENSSL_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
45404 -o "x$GNUTLS_ENABLED" = "x1" -o "x$NSS_ENABLED" = "x1" \
45405 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
45406 -o "x$USE_WIN32_CRYPTO" = "x1" \
45407 -o "x$WOLFSSL_NTLM" = "x1"; then
45412 -o "x$USE_WINDOWS_SSPI" = "x1"; then
45415 if test "x$CURL_DISABLE_HTTP" != "x1" -a \
45423 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
45426 if test "x$USE_NGHTTP2" = "x1" -o "x$USE_HYPER" = "x1"; then
45430 if test "x$USE_NGTCP2" = "x1" -o "x$USE_QUICHE" = "x1" \
45431 -o "x$USE_MSH3" = "x1"; then
45441 -o "x$GNUTLS_ENABLED" = "x1" \
45442 -o "x$NSS_ENABLED" = "x1" \
45443 -o "x$SECURETRANSPORT_ENABLED" = "x1" \
45444 -o "x$RUSTLS_ENABLED" = "x1" \
45445 -o "x$BEARSSL_ENABLED" = "x1" \
45446 -o "x$SCHANNEL_ENABLED" = "x1" \
45447 -o "x$GNUTLS_ENABLED" = "x1" \
45448 -o "x$MBEDTLS_ENABLED" = "x1"; then
45449 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
45450 elif test "x$WOLFSSL_ENABLED" = "x1" -a "x$WOLFSSL_FULL_BIO" = "x1"; then
45451 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
45459 if test ${ac_cv_sizeof_curl_off_t} -gt 4; then
45460 if test ${ac_cv_sizeof_off_t} -gt 4 -o \
45469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
45554 -a "x$use_curl_ntlm_core" = "xyes"; then
45604 xc_bad_var_libs=no
45605 for xc_word in $LIBS; do
45607 -l* | --library=*)
45616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
45618 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libra…
45619 printf "%s\n" "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
45623 xc_bad_var_ldflags=no
45624 for xc_word in $LDFLAGS; do
45626 -D*)
45629 -U*)
45632 -I*)
45635 -l* | --library=*)
45641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
45644 for xc_word in $LDFLAGS; do
45646 -D*)
45647 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
45648 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
45650 -U*)
45651 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
45652 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
45654 -I*)
45655 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
45656 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
45658 -l* | --library=*)
45659 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
45660 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45667 xc_bad_var_cppflags=no
45668 for xc_word in $CPPFLAGS; do
45670 -rpath*)
45673 -L* | --library-path=*)
45676 -l* | --library=*)
45682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
45685 for xc_word in $CPPFLAGS; do
45687 -rpath*)
45688 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
45689 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
45691 -L* | --library-path=*)
45692 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
45693 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
45695 -l* | --library=*)
45696 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
45697 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45704 xc_bad_var_cflags=no
45705 for xc_word in $CFLAGS; do
45707 -D*)
45710 -U*)
45713 -I*)
45716 -rpath*)
45719 -L* | --library-path=*)
45722 -l* | --library=*)
45728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
45731 for xc_word in $CFLAGS; do
45733 -D*)
45734 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for:…
45735 printf "%s\n" "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
45737 -U*)
45738 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for
45739 printf "%s\n" "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
45741 -I*)
45742 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS fo…
45743 printf "%s\n" "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
45745 -rpath*)
45746 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDF…
45747 printf "%s\n" "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
45749 -L* | --library-path=*)
45750 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for
45751 printf "%s\n" "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
45753 -l* | --library=*)
45754 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >…
45755 printf "%s\n" "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
45765 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immed…
45775 ac_configure_args="$ac_configure_args --enable-curldebug"
45778-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile l…
45783 # scripts and configure runs, see configure's option --config-cache.
45787 # config.status only pays attention to the cache file if you give it
45788 # the --recheck option to rerun configure.
45797 # but we know of no workaround that is simple, portable, and efficient.
45802 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
45807 …*_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a n…
45821 # `set' does not quote correctly, so add quotes: double-quote
45823 sed -n \
45829 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
45843 if test -w "$cache_file"; then
45845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
45847 if test ! -f "$cache_file" || test -h "$cache_file"; then
45852 mv -f confcache "$cache_file"$$ &&
45853 mv -f "$cache_file"$$ "$cache_file" ;; #(
45855 mv -f confcache "$cache_file" ;;
45860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
45864 rm -f confcache
45870 DEFS=-DHAVE_CONFIG_H
45875 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
45889 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
45893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configur…
45895 if test -n "$am_sleep_pid"; then
45899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
45901 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
45905 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
45909 if test -n "$EXEEXT"; then
45917 if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FA…
45921 if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FA…
45925 if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FA…
45929 if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; t…
45933 if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
45937 if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
45941 if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
45945 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
45949 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
45953 if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
45957 if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
45961 if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
45965 if test -z "${USE_GSASL_TRUE}" && test -z "${USE_GSASL_FALSE}"; then
45969 if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_…
45973 if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
45977 if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
45981 if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
45985 if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
45990 : "${CONFIG_STATUS=./config.status}"
45994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
46001 # Compiler output produced by configure, useful for debugging
46002 # configure, is in config.log if it exists.
46008 SHELL=\${CONFIG_SHELL-$SHELL}
46012 ## -------------------- ##
46014 ## -------------------- ##
46017 DUALCASE=1; export DUALCASE # for MKS sh
46023 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
46025 alias -g '${1+"$@"}'='"$@"'
46028 case `(set -o) 2>/dev/null` in #(
46030 set -o posix ;; #(
46044 # Quoting is to prevent editors from complaining about space-tab.
46054 # Ensure predictable behavior from utilities with locale-dependent output.
46061 # to be unset--not just set to an empty or harmless value--now, to
46062 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
46065 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
46077 # Find who we are. Look in the path if we contain no directory separator.
46082 for as_dir in $PATH
46090 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
46101 if test ! -f "$as_myself"; then
46109 # ----------------------------------------
46115 as_status=$1; test $as_status -eq 0 && as_status=1
46117 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
46118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
46127 # -----------------------
46135 # -----------------
46136 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
46145 # ---------------
46154 # ----------------------
46173 # ------------------
46186 as_val=`expr "$@" || test $? -eq 1`
46198 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
46204 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
46210 as_me=`$as_basename -- "$0" ||
46238 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
46239 # for compatibility with existing Makefiles.
46241 case `echo -n x` in #(((((
46242 -n*)
46250 ECHO_N='-n';;
46253 # For backward compatibility with old third-party macros, we provide
46259 rm -f conf$$ conf$$.exe conf$$.file
46260 if test -d conf$$.dir; then
46261 rm -f conf$$.dir/conf$$.file
46263 rm -f conf$$.dir
46267 if ln -s conf$$.file conf$$ 2>/dev/null; then
46268 as_ln_s='ln -s'
46270 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
46271 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
46272 # In both cases, we have to default to `cp -pR'.
46273 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
46274 as_ln_s='cp -pR'
46278 as_ln_s='cp -pR'
46281 as_ln_s='cp -pR'
46283 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
46288 # -------------
46294 -*) as_dir=./$as_dir;;
46296 test -d "$as_dir" || eval $as_mkdir_p || {
46304 as_dir=`$as_dirname -- "$as_dir" ||
46327 test -d "$as_dir" && break
46329 test -z "$as_dirs" || eval "mkdir $as_dirs"
46330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
46334 if mkdir -p . 2>/dev/null; then
46335 as_mkdir_p='mkdir -p "$as_dir"'
46337 test -d ./-p && rmdir ./-p
46343 # -----------------------
46347 test -f "$1" && test -x "$1"
46349 as_test_x='test -x'
46352 # Sed expression to map a string onto a valid CPP name.
46360 ## ----------------------------------- ##
46362 ## ----------------------------------- ##
46371 This file was extended by curl $as_me -, which was
46380 on `(hostname || uname -n) 2>/dev/null | sed 1q`
46395 # Files that config.status was made for.
46410 -h, --help print this help, then exit
46411 -V, --version print version number and configuration settings, then exit
46412 --config print configuration, then exit
46413 -q, --quiet, --silent
46415 -d, --debug don't remove temporary files
46416 --recheck update $as_me by reconfiguring in the same conditions
46417 --file=FILE[:TEMPLATE]
46419 --header=FILE[:TEMPLATE]
46439 curl config.status -
46444 This config.status script is free software; the Free Software Foundation
46452 test -n "\$AWK" || AWK=awk
46461 --*=?*)
46466 --*=)
46480 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
46482 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
46484 --config | --confi | --conf | --con | --co | --c )
46486 --debug | --debu | --deb | --de | --d | -d )
46488 --file | --fil | --fi | --f )
46496 --header | --heade | --head | --hea )
46503 --he | --h)
46504 # Conflict between --help and --header
46506 Try \`$0 --help' for more information.";;
46507 --help | --hel | -h )
46509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
46510 | -silent | --silent | --silen | --sile | --sil | --si | --s)
46514 -*) as_fn_error $? "unrecognized option: \`$1'
46515 Try \`$0 --help' for more information." ;;
46528 ac_configure_extra_args="$ac_configure_extra_args --silent"
46534 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
46544 exec 5>>config.log
46547 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
46556 # INIT-COMMANDS
46558 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
46561 # The HP-UX ksh and POSIX shell print the target directory to stdout
46753 # A function that is used when there is no print builtin or printf.
46762 for var in AS \
46860 # Double-quote double-evaled strings.
46861 for var in reload_cmds \
46894 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
46906 if test -n "\${ZSH_VERSION+set}"; then
46926 for ac_config_target in $ac_config_targets
46937 "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
46946 "tests/config") CONFIG_FILES="$CONFIG_FILES tests/config" ;;
46953 "tests/http/config.ini") CONFIG_FILES="$CONFIG_FILES tests/http/config.ini" ;;
46957 "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
46967 # We use the long form for the default assignment because of an extremely
46975 # Have a temporary directory for convenience. Make it in the build tree
46976 # simply because there is no reason against having it here, and in addition,
46978 # Hook for its removal unless debugging.
46986 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
46990 # Create a (secure) tmp directory for tmp files.
46993 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
46994 test -d "$tmp"
46997 tmp=./conf$$-$RANDOM
47002 # Set up the scripts for CONFIG_FILES section.
47003 # No need to generate them if there are no CONFIG_FILES.
47004 # This happens for instance with `./config.status config.h'.
47005 if test -n "$CONFIG_FILES"; then
47010 # But we know of no other shell where ac_cr would be empty at this
47032 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
47034 for ac_last_try in false false false false false :; do
47038 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
47047 rm -f conf$$subs.sh
47052 sed -n '
47095 rm -f conf$$subs.awk
47099 for (key in S) S_is_set[key] = 1
47108 for (i = 2; i < nfields; i++) {
47131 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
47158 fi # test -n "$CONFIG_FILES"
47160 # Set up the scripts for CONFIG_HEADERS section.
47161 # No need to generate them if there are no CONFIG_HEADERS.
47162 # This happens for instance with `./config.status Makefile'.
47163 if test -n "$CONFIG_HEADERS"; then
47169 # here-document in config.status, that substitutes the proper values into
47170 # config.h.in to produce config.h.
47175 for ac_last_try in false false :; do
47176 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
47177 if test -z "$ac_tt"; then
47186 # For the awk script, D is an array of macro values keyed by name,
47191 sed -n '
47231 for (key in D) D_is_set[key] = 1
47246 prefix = substr(line, 1, index(line, defundef) - 1)
47252 # Replace #undef with comments. This is necessary, for example,
47265 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
47266 fi # test -n "$CONFIG_HEADERS"
47271 for ac_tag
47279 :[FH]-) ac_tag=-:-;;
47294 for ac_f
47297 -) ac_f="$ac_tmp/stdin";;
47298 *) # Look for the file first in the build tree, then in the source tree
47299 # (if the path is not absolute). The absolute path cannot be DOS-style,
47301 test -f "$ac_f" ||
47304 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
47314 # /* config.h. Generated by config.status. */
47318 if test x"$ac_file" != x-; then
47320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
47332 *:-:* | *:-) cat >"$ac_tmp/stdin" \
47338 ac_dir=`$as_dirname -- "$ac_file" ||
47368 # A ".." for each directory in $ac_dir_suffix.
47377 # for backward compatibility:
47428 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
47431 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datar…
47432 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
47454 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
47469 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
47472 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
47473 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
47474 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
47475 "$ac_tmp/out"`; test -z "$ac_out"; } &&
47476 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variab…
47481 rm -f "$ac_tmp/stdin"
47483 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
47484 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
47492 if test x"$ac_file" != x-; then
47495 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
47496 } >"$ac_tmp/config.h" \
47498 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
47499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
47502 rm -f "$ac_file"
47503 mv "$ac_tmp/config.h" "$ac_file" \
47508 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
47509 || as_fn_error $? "could not create -" "$LINENO" 5
47514 for _am_header in $config_headers :; do
47522 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
47544 s/.*/./; q'`/stamp-h$_am_stamp_count
47547 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
47555 # Older Autoconf quotes --file arguments for eval, but not when files
47556 # are listed without --file. Let's play safe and only enable the eval
47571 for am_mf
47574 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
47576 # dependency-tracking related rules and includes.
47579 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
47581 am_dirpart=`$as_dirname -- "$am_mf" ||
47604 am_filepart=`$as_basename -- "$am_mf" ||
47623 && sed -e '/# am--include-marker/d' "$am_filepart" \
47624 | $MAKE -f - am--depfiles" >&5
47626 && sed -e '/# am--include-marker/d' "$am_filepart" \
47627 | $MAKE -f - am--depfiles) >&5 2>&5
47632 if test $am_rc -ne 0; then
47633 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47636 for automatic dependency tracking. If GNU make was not used, consider
47637 re-running the configure script with MAKE=\"gmake\" (or whatever is
47638 necessary). You can also try re-running configure with the
47639 '--disable-dependency-tracking' option to at least be able to build
47640 the package (albeit without support for automatic dependency tracking).
47641 See \`config.log' for more details" "$LINENO" 5; }
47647 rm -f conftest-deps.mk
47654 if test -n "${ZSH_VERSION+set}"; then
47667 # Provide generalized library-building support services.
47671 # This is free software; see the source for copying conditions. There is NO
47672 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
47682 # distribution terms that you use for the rest of that program.
47686 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47687 # GNU General Public License for more details.
47696 # Configured defaults for sys_lib_dlsearch_path munging.
47699 # ### BEGIN LIBTOOL CONFIG
47723 # Whether or not to optimize for fast installation.
47726 # Shared archive member basename,for filename based shared library versioning on AIX.
47735 # The PATH separator for the build system.
47751 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
47752 Xsed="\$SED -e 1s/^X//"
47763 # A BSD- or MS-compatible name lister.
47818 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
47826 # Commands used to install an old-style archive.
47831 # Whether to use a lock for old archive extraction.
47858 # Specify filename containing input files for \$NM.
47861 # The root where to search for dependent libraries,and where our libraries should be installed.
47888 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
47891 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
47907 # Do we need the "lib" prefix for modules?
47910 # Do we need a version for libraries?
47922 # Is shlibpath searched before the hard-coded library search path?
47929 # The last name is the one that the linker finds with -lNAME
47935 # Permission mode override for installation of shared libraries.
47954 # Compile-time system search path for libraries.
47957 # Detected run-time system search path for libraries.
47984 # Commands used to build an old-style archive.
47996 # Additional compiler flags for building library objects.
48005 # Does compiler simultaneously support -c and -o options?
48008 # Whether or not to add -lc for building shared libraries.
48020 # Whether the compiler copes with passing no objects directly.
48023 # Create an old-style archive from a shared archive.
48026 # Create a temporary old-style archive to link instead of a shared archive.
48044 # Flag that enforces no undefined symbols.
48051 # Whether we need a single "-rpath" flag with a separated argument.
48064 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48096 # Commands necessary for linking programs (against libraries) with templates.
48099 # Commands necessary for finishing linking programs.
48108 # ### END LIBTOOL CONFIG
48117 # -----------------------------------
48142 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
48143 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
48152 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
48155 for cc_temp in $*""; do
48159 \-*) ;;
48163 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
48174 # AIX sometimes has problems with the GCC collect2 program. For some
48191 # if finds mixed CR/LF and LF-only lines. Since sed operates in
48195 || (rm -f "$cfgfile"; exit 1)
48197 mv -f "$cfgfile" "$ofile" ||
48198 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
48204 # ### BEGIN LIBTOOL TAG CONFIG: RC
48213 # Commands used to build an old-style archive.
48225 # Additional compiler flags for building library objects.
48234 # Does compiler simultaneously support -c and -o options?
48237 # Whether or not to add -lc for building shared libraries.
48249 # Whether the compiler copes with passing no objects directly.
48252 # Create an old-style archive from a shared archive.
48255 # Create a temporary old-style archive to link instead of a shared archive.
48273 # Flag that enforces no undefined symbols.
48280 # Whether we need a single "-rpath" flag with a separated argument.
48293 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
48325 # Commands necessary for linking programs (against libraries) with templates.
48328 # Commands necessary for finishing linking programs.
48337 # ### END LIBTOOL TAG CONFIG: RC
48343 done # for ac_tag
48354 # configure is writing to config.log, and then calls config.status.
48355 # config.status does its own redirection, appending to config.log.
48356 # Unfortunately, on DOS this fails, as config.log is still kept open
48357 # by configure, so config.status won't be able to write to it; its
48359 # effectively closing config.log, so it can be properly (re)opened and
48360 # appended to by config.status. When coming back to configure, we
48366 ac_config_status_args="$ac_config_status_args --quiet"
48369 exec 5>>config.log
48374 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
48375 …{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts…
48382 if test -z "$tmp_cpp"; then
48383 tmp_cpp='cpp'
48412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
48428 GSS-API: ${curl_gss_msg}
48430 TLS-SRP: ${curl_tls_srp_msg}
48436 Built-in manual: ${curl_manual_msg}
48437 --libcurl option: ${curl_libcurl_msg}
48449 Alt-svc: ${curl_altsvc_msg}
48476 GSS-API: ${curl_gss_msg}
48478 TLS-SRP: ${curl_tls_srp_msg}
48484 Built-in manual: ${curl_manual_msg}
48485 --libcurl option: ${curl_libcurl_msg}
48497 Alt-svc: ${curl_altsvc_msg}
48508 if test -n "$experimental"; then