Lines Matching +full:ipv4 +full:- +full:no +full:- +full:config +full:- +full:for +full:- +full:cpp
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for curl -.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
14 # Copyright (c) 1998 - 2019 Daniel Stenberg, <daniel@haxx.se>
16 # terms of the curl license; see COPYING for more details
18 ## -------------------------------- ##
20 ## -------------------------------- ##
65 # Try built-in echo, and fail.
76 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
92 (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
125 | sed -e 's:unknown:success:' 2>/dev/null`
159 | tr -d "0123456789$xc_tab" 2>/dev/null`
176 | wc -w 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null`
193 | wc -l 2>/dev/null | tr -d "$xc_space$xc_tab" 2>/dev/null
209 # Auto-detect and set 'PATH_SEPARATOR', unless it is already non-empty set.
215 for xc_tst_dir in $PATH; do
225 for xc_tst_dir in $PATH; do
232 if test $xc_tst_dirs_sem -eq $xc_tst_dirs_col; then
234 # chose one over the other, and consider auto-detection not possible.
235 if test -z "$PATH_SEPARATOR"; then
242 # Separator with the greater directory count is the auto-detected one.
243 if test $xc_tst_dirs_sem -gt $xc_tst_dirs_col; then
248 if test -z "$PATH_SEPARATOR"; then
249 # Simply use the auto-detected one when not already set.
252 echo "$xc_msg_warn 'PATH_SEPARATOR' does not match auto-detected one." >&2
260 ## -------------------- ##
262 ## -------------------- ##
265 DUALCASE=1; export DUALCASE # for MKS sh
266 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
269 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
271 alias -g '${1+"$@"}'='"$@"'
274 case `(set -o) 2>/dev/null` in #(
276 set -o posix ;; #(
291 # but without wasting forks for bash or zsh.
292 if test -z "$BASH_VERSION$ZSH_VERSION" \
293 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
294 as_echo='print -r --'
295 as_echo_n='print -rn --'
300 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
301 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
302 as_echo_n='/usr/ucb/echo -n'
312 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
315 as_echo_n='sh -c $as_echo_n_body as_echo'
318 as_echo='sh -c $as_echo_body as_echo'
325 # there to prevent editors from complaining about space-tab.
330 # Find who we are. Look in the path if we contain no directory separator.
335 for as_dir in $PATH
338 test -z "$as_dir" && as_dir=.
339 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
350 if test ! -f "$as_myself"; then
356 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
359 for as_var in BASH_ENV ENV MAIL MAILPATH
377 # into an infinite loop, continuously re-executing ourselves.
379 _as_can_reexec=no; export _as_can_reexec;
381 # neutralization value for shells without unset; and this also
383 # Preserve -v and -x to the replacement shell.
387 case $- in # ((((
388 *v*x* | *x*v* ) as_opts=-vx ;;
389 *v* ) as_opts=-v ;;
390 *x* ) as_opts=-x ;;
396 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
402 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
405 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
407 alias -g '\${1+\"\$@\"}'='\"\$@\"'
410 case \`(set -o) 2>/dev/null\` in #(
412 set -o posix ;; #(
435 test -x / || exit 1"
442 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
448 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
452 as_have_required=no
459 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
462 test -z "$as_dir" && as_dir=.
466 for as_base in sh bash ksh sh5; do
469 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
480 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
490 # neutralization value for shells without unset; and this also
492 # Preserve -v and -x to the replacement shell.
496 case $- in # ((((
497 *v*x* | *x*v* ) as_opts=-vx ;;
498 *v* ) as_opts=-v ;;
499 *x* ) as_opts=-x ;;
505 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
516 $as_echo "$0: Please tell bug-autoconf@gnu.org and a suitable curl
526 SHELL=${CONFIG_SHELL-/bin/sh}
532 ## --------------------- ##
534 ## --------------------- ##
536 # ---------------
545 # -----------------------
553 # -----------------
554 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
563 # -------------
569 -*) as_dir=./$as_dir;;
571 test -d "$as_dir" || eval $as_mkdir_p || {
579 as_dir=`$as_dirname -- "$as_dir" ||
602 test -d "$as_dir" && break
604 test -z "$as_dirs" || eval "mkdir $as_dirs"
605 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
611 # -----------------------
615 test -f "$1" && test -x "$1"
618 # ----------------------
636 # ------------------
648 as_val=`expr "$@" || test $? -eq 1`
654 # ----------------------------------------
660 as_status=$1; test $as_status -eq 0 && as_status=1
662 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
663 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
676 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
682 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
688 as_me=`$as_basename -- "$0" ||
719 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
720 sed -n '
725 s/[$]LINENO.*/&-/
733 s/-\n.*//
738 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
741 _as_can_reexec=no; export _as_can_reexec
751 case `echo -n x` in #(((((
752 -n*)
760 ECHO_N='-n';;
763 rm -f conf$$ conf$$.exe conf$$.file
764 if test -d conf$$.dir; then
765 rm -f conf$$.dir/conf$$.file
767 rm -f conf$$.dir
771 if ln -s conf$$.file conf$$ 2>/dev/null; then
772 as_ln_s='ln -s'
774 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
775 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
776 # In both cases, we have to default to `cp -pR'.
777 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
778 as_ln_s='cp -pR'
782 as_ln_s='cp -pR'
785 as_ln_s='cp -pR'
787 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
790 if mkdir -p . 2>/dev/null; then
791 as_mkdir_p='mkdir -p "$as_dir"'
793 test -d ./-p && rmdir ./-p
797 as_test_x='test -x'
800 # Sed expression to map a string onto a valid CPP name.
806 SHELL=${CONFIG_SHELL-/bin/sh}
809 test -n "$DJDIR" || exec 7<&0 </dev/null
815 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
824 cross_compiling=no
832 PACKAGE_VERSION='-'
833 PACKAGE_STRING='curl -'
838 # Factoring default headers for most tests.
874 enable_option_checking=no
1049 CPP
1214 CPP
1269 for ac_option
1272 if test -n "$ac_prev"; then
1287 --)
1290 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1292 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1295 -build | --build | --buil | --bui | --bu)
1297 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1300 -cache-file | --cache-file | --cache-fil | --cache-fi \
1301 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1303 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1304 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1307 --config-cache | -C)
1308 cache_file=config.cache ;;
1310 -datadir | --datadir | --datadi | --datad)
1312 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1315 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1316 | --dataroo | --dataro | --datar)
1318 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1319 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1322 -disable-* | --disable-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1336 eval enable_$ac_useropt=no ;;
1338 -docdir | --docdir | --docdi | --doc | --do)
1340 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1343 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1345 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1348 -enable-* | --enable-*)
1349 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1351 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1354 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1359 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1364 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1365 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1366 | --exec | --exe | --ex)
1368 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1369 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1370 | --exec=* | --exe=* | --ex=*)
1373 -gas | --gas | --ga | --g)
1374 # Obsolete; use --with-gas.
1377 -help | --help | --hel | --he | -h)
1379 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1381 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1384 -host | --host | --hos | --ho)
1386 -host=* | --host=* | --hos=* | --ho=*)
1389 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1391 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1392 | --ht=*)
1395 -includedir | --includedir | --includedi | --included | --include \
1396 | --includ | --inclu | --incl | --inc)
1398 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1399 | --includ=* | --inclu=* | --incl=* | --inc=*)
1402 -infodir | --infodir | --infodi | --infod | --info | --inf)
1404 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1407 -libdir | --libdir | --libdi | --libd)
1409 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1412 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1413 | --libexe | --libex | --libe)
1415 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1416 | --libexe=* | --libex=* | --libe=*)
1419 -localedir | --localedir | --localedi | --localed | --locale)
1421 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1424 -localstatedir | --localstatedir | --localstatedi | --localstated \
1425 | --localstate | --localstat | --localsta | --localst | --locals)
1427 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1428 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1431 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1433 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1436 -nfp | --nfp | --nf)
1437 # Obsolete; use --without-fp.
1438 with_fp=no ;;
1440 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1441 | --no-cr | --no-c | -n)
1444 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1445 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1448 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1449 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1450 | --oldin | --oldi | --old | --ol | --o)
1452 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1453 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1454 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1457 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1459 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1462 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1463 | --program-pre | --program-pr | --program-p)
1465 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1466 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1469 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1470 | --program-suf | --program-su | --program-s)
1472 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1473 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1476 -program-transform-name | --program-transform-name \
1477 | --program-transform-nam | --program-transform-na \
1478 | --program-transform-n | --program-transform- \
1479 | --program-transform | --program-transfor \
1480 | --program-transfo | --program-transf \
1481 | --program-trans | --program-tran \
1482 | --progr-tra | --program-tr | --program-t)
1484 -program-transform-name=* | --program-transform-name=* \
1485 | --program-transform-nam=* | --program-transform-na=* \
1486 | --program-transform-n=* | --program-transform-=* \
1487 | --program-transform=* | --program-transfor=* \
1488 | --program-transfo=* | --program-transf=* \
1489 | --program-trans=* | --program-tran=* \
1490 | --progr-tra=* | --program-tr=* | --program-t=*)
1493 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1495 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1498 -psdir | --psdir | --psdi | --psd | --ps)
1500 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1503 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1504 | -silent | --silent | --silen | --sile | --sil)
1507 -runstatedir | --runstatedir | --runstatedi | --runstated \
1508 | --runstate | --runstat | --runsta | --runst | --runs \
1509 | --run | --ru | --r)
1511 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1512 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1513 | --run=* | --ru=* | --r=*)
1516 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1518 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1519 | --sbi=* | --sb=*)
1522 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1523 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1524 | --sharedst | --shareds | --shared | --share | --shar \
1525 | --sha | --sh)
1527 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1528 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1529 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1530 | --sha=* | --sh=*)
1533 -site | --site | --sit)
1535 -site=* | --site=* | --sit=*)
1538 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1540 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1543 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1544 | --syscon | --sysco | --sysc | --sys | --sy)
1546 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1547 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1550 -target | --target | --targe | --targ | --tar | --ta | --t)
1552 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1555 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1558 -version | --version | --versio | --versi | --vers | -V)
1561 -with-* | --with-*)
1562 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1564 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1567 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1572 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1577 -without-* | --without-*)
1578 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1580 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1583 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1588 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1591 eval with_$ac_useropt=no ;;
1593 --x)
1594 # Obsolete; use --with-x.
1597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1598 | --x-incl | --x-inc | --x-in | --x-i)
1600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1611 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1612 Try \`$0 --help' for more information"
1619 '' | [0-9]* | *[!_$as_cr_alnum]* )
1627 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1628 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1636 if test -n "$ac_prev"; then
1637 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1641 if test -n "$ac_unrecognized_opts"; then
1643 no) ;;
1649 # Check all directory arguments for consistency.
1650 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1667 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1671 # used to hold the argument of --host etc.
1687 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1692 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1693 ac_ls_di=`ls -di .` &&
1694 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1701 if test -z "$srcdir"; then
1704 ac_confdir=`$as_dirname -- "$as_myself" ||
1728 if test ! -r "$srcdir/$ac_unique_file"; then
1732 ac_srcdir_defaulted=no
1734 if test ! -r "$srcdir/$ac_unique_file"; then
1740 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1748 # mess up M-x gdb in Emacs.
1752 for ac_var in $ac_precious_vars; do
1760 # Report the --help message.
1766 \`configure' configures curl - to adapt to many kinds of systems.
1771 VAR=VALUE. See below for descriptions of some of the useful variables.
1773 Defaults for the options are specified in brackets.
1776 -h, --help display this help and exit
1777 --help=short display options specific to this package
1778 --help=recursive display the short help of all the included packages
1779 -V, --version display version information and exit
1780 -q, --quiet, --silent do not print \`checking ...' messages
1781 --cache-file=FILE cache test results in FILE [disabled]
1782 -C, --config-cache alias for \`--cache-file=config.cache'
1783 -n, --no-create do not create output files
1784 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1787 --prefix=PREFIX install architecture-independent files in PREFIX
1789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1795 for instance \`--prefix=\$HOME'.
1797 For better control, use the options below.
1800 --bindir=DIR user executables [EPREFIX/bin]
1801 --sbindir=DIR system admin executables [EPREFIX/sbin]
1802 --libexecdir=DIR program executables [EPREFIX/libexec]
1803 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1804 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1805 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1806 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1807 --libdir=DIR object code libraries [EPREFIX/lib]
1808 --includedir=DIR C header files [PREFIX/include]
1809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1810 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1811 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1812 --infodir=DIR info documentation [DATAROOTDIR/info]
1813 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1814 --mandir=DIR man documentation [DATAROOTDIR/man]
1815 --docdir=DIR documentation root [DATAROOTDIR/doc/curl]
1816 --htmldir=DIR html documentation [DOCDIR]
1817 --dvidir=DIR dvi documentation [DOCDIR]
1818 --pdfdir=DIR pdf documentation [DOCDIR]
1819 --psdir=DIR ps documentation [DOCDIR]
1825 --program-prefix=PREFIX prepend PREFIX to installed program names
1826 --program-suffix=SUFFIX append SUFFIX to installed program names
1827 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1830 --build=BUILD configure for building on BUILD [guessed]
1831 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1835 if test -n "$ac_init_help"; then
1837 short | recursive ) echo "Configuration of curl -:";;
1842 --disable-option-checking ignore unrecognized --enable/--with options
1843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1845 --enable-maintainer-mode
1848 --enable-silent-rules less verbose build output (undo: "make V=1")
1849 --disable-silent-rules verbose build output (undo: "make V=0")
1850 --enable-debug Enable debug build options
1851 --disable-debug Disable debug build options
1852 --enable-optimize Enable compiler optimizations
1853 --disable-optimize Disable compiler optimizations
1854 --enable-warnings Enable strict compiler warnings
1855 --disable-warnings Disable strict compiler warnings
1856 --enable-werror Enable compiler warnings as errors
1857 --disable-werror Disable compiler warnings as errors
1858 --enable-curldebug Enable curl debug memory tracking
1859 --disable-curldebug Disable curl debug memory tracking
1860 --enable-symbol-hiding Enable hiding of library internal symbols
1861 --disable-symbol-hiding Disable hiding of library internal symbols
1862 --enable-hidden-symbols To be deprecated, use --enable-symbol-hiding
1863 --disable-hidden-symbols
1864 To be deprecated, use --disable-symbol-hiding
1865 --enable-ares[=PATH] Enable c-ares for DNS lookups
1866 --disable-ares Disable c-ares for DNS lookups
1867 --disable-rt disable dependency on -lrt
1868 --enable-code-coverage Provide code coverage
1869 --enable-dependency-tracking
1871 --disable-dependency-tracking
1872 speeds up one-time build
1873 --disable-largefile omit support for large files
1874 --enable-shared[=PKGS] build shared libraries [default=yes]
1875 --enable-static[=PKGS] build static libraries [default=yes]
1876 --enable-fast-install[=PKGS]
1877 optimize for fast installation [default=yes]
1878 --disable-libtool-lock avoid locking (might break parallel builds)
1879 --enable-http Enable HTTP support
1880 --disable-http Disable HTTP support
1881 --enable-ftp Enable FTP support
1882 --disable-ftp Disable FTP support
1883 --enable-file Enable FILE support
1884 --disable-file Disable FILE support
1885 --enable-ldap Enable LDAP support
1886 --disable-ldap Disable LDAP support
1887 --enable-ldaps Enable LDAPS support
1888 --disable-ldaps Disable LDAPS support
1889 --enable-rtsp Enable RTSP support
1890 --disable-rtsp Disable RTSP support
1891 --enable-proxy Enable proxy support
1892 --disable-proxy Disable proxy support
1893 --enable-dict Enable DICT support
1894 --disable-dict Disable DICT support
1895 --enable-telnet Enable TELNET support
1896 --disable-telnet Disable TELNET support
1897 --enable-tftp Enable TFTP support
1898 --disable-tftp Disable TFTP support
1899 --enable-pop3 Enable POP3 support
1900 --disable-pop3 Disable POP3 support
1901 --enable-imap Enable IMAP support
1902 --disable-imap Disable IMAP support
1903 --enable-smb Enable SMB/CIFS support
1904 --disable-smb Disable SMB/CIFS support
1905 --enable-smtp Enable SMTP support
1906 --disable-smtp Disable SMTP support
1907 --enable-gopher Enable Gopher support
1908 --disable-gopher Disable Gopher support
1909 --enable-manual Enable built-in manual
1910 --disable-manual Disable built-in manual
1911 --enable-libcurl-option Enable --libcurl C code generation support
1912 --disable-libcurl-option
1913 Disable --libcurl C code generation support
1914 --enable-libgcc use libgcc when linking
1915 --enable-ipv6 Enable IPv6 (with IPv4) support
1916 --disable-ipv6 Disable IPv6 support
1917 --enable-openssl-auto-load-config
1919 --disable-openssl-auto-load-config
1921 --enable-versioned-symbols
1923 --disable-versioned-symbols
1925 --enable-threaded-resolver
1927 --disable-threaded-resolver
1929 --enable-pthreads Enable POSIX threads (default for threaded resolver)
1930 --disable-pthreads Disable POSIX threads
1931 --enable-verbose Enable verbose strings
1932 --disable-verbose Disable verbose strings
1933 --enable-sspi Enable SSPI
1934 --disable-sspi Disable SSPI
1935 --enable-crypto-auth Enable cryptographic authentication
1936 --disable-crypto-auth Disable cryptographic authentication
1937 --enable-ntlm-wb[=FILE] Enable NTLM delegation to winbind's ntlm_auth
1940 --disable-ntlm-wb Disable NTLM delegation to winbind's ntlm_auth
1942 --enable-tls-srp Enable TLS-SRP authentication
1943 --disable-tls-srp Disable TLS-SRP authentication
1944 --enable-unix-sockets Enable Unix domain sockets
1945 --disable-unix-sockets Disable Unix domain sockets
1946 --enable-cookies Enable cookies support
1947 --disable-cookies Disable cookies support
1948 --enable-alt-svc Enable alt-svc support
1949 --disable-alt-svc Disable alt-svc support
1952 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1953 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1954 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1956 --with-aix-soname=aix|svr4|both
1959 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1960 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1962 --with-zlib=PATH search for zlib in PATH
1963 --without-zlib disable use of zlib
1964 --with-brotli=PATH Where to look for brotli, PATH points to the BROTLI
1967 --without-brotli disable BROTLI
1968 --with-ldap-lib=libname Specify name of ldap lib file
1969 --with-lber-lib=libname Specify name of lber lib file
1970 --with-gssapi-includes=DIR
1971 Specify location of GSS-API headers
1972 --with-gssapi-libs=DIR Specify location of GSS-API libs
1973 --with-gssapi=DIR Where to look for GSS-API
1974 --with-default-ssl-backend=NAME
1976 --without-default-ssl-backend
1978 --with-winssl enable Windows native SSL/TLS
1979 --without-winssl disable Windows native SSL/TLS
1980 --with-schannel enable Windows native SSL/TLS
1981 --without-schannel disable Windows native SSL/TLS
1982 --with-darwinssl enable Apple OS native SSL/TLS
1983 --without-darwinssl disable Apple OS native SSL/TLS
1984 --with-secure-transport enable Apple OS native SSL/TLS
1985 --without-secure-transport
1987 --with-amissl enable Amiga native SSL/TLS (AmiSSL)
1988 --without-amissl disable Amiga native SSL/TLS (AmiSSL)
1989 --with-ssl=PATH Where to look for OpenSSL, PATH points to the SSL
1993 --without-ssl disable OpenSSL
1994 --with-egd-socket=FILE Entropy Gathering Daemon socket pathname
1995 --with-random=FILE read randomness from FILE (default=/dev/urandom)
1996 --with-gnutls=PATH where to look for GnuTLS, PATH points to the
1998 --without-gnutls disable GnuTLS detection
1999 --with-polarssl=PATH where to look for PolarSSL, PATH points to the
2001 --without-polarssl disable PolarSSL detection
2002 --with-mbedtls=PATH where to look for mbedTLS, PATH points to the
2004 --without-mbedtls disable mbedTLS detection
2005 --with-cyassl=PATH where to look for CyaSSL, PATH points to the
2007 --without-cyassl disable CyaSSL detection
2008 --with-wolfssl=PATH where to look for WolfSSL, PATH points to the
2010 --without-wolfssl disable WolfSSL detection
2011 --with-mesalink=PATH where to look for MesaLink, PATH points to the
2013 --without-mesalink disable MesaLink detection
2014 --with-nss=PATH where to look for NSS, PATH points to the
2016 --without-nss disable NSS detection
2017 --with-ca-bundle=FILE Path to a file containing CA certificates (example:
2018 /etc/ca-bundle.crt)
2019 --without-ca-bundle Don't use a default CA bundle
2020 --with-ca-path=DIRECTORY
2024 and PolarSSL backends. Refer to OpenSSL c_rehash for
2026 --without-ca-path Don't use a default CA path
2027 --with-ca-fallback Use the built in CA store of the SSL library
2028 --without-ca-fallback Don't use the built in CA store of the SSL library
2029 --without-libpsl disable support for libpsl cookie checking
2030 --with-libmetalink=PATH where to look for libmetalink, PATH points to the
2032 --without-libmetalink disable libmetalink detection
2033 --with-libssh2=PATH Where to look for libssh2, PATH points to the
2037 --with-libssh2 enable LIBSSH2
2038 --with-libssh=PATH Where to look for libssh, PATH points to the LIBSSH
2041 --with-libssh enable LIBSSH
2042 --with-librtmp=PATH Where to look for librtmp, PATH points to the
2046 --without-librtmp disable LIBRTMP
2047 --with-winidn=PATH enable Windows native IDN
2048 --without-winidn disable Windows native IDN
2049 --with-libidn2=PATH Enable libidn2 usage
2050 --without-libidn2 Disable libidn2 usage
2051 --with-nghttp2=PATH Enable nghttp2 usage
2052 --without-nghttp2 Disable nghttp2 usage
2053 --with-zsh-functions-dir=PATH
2055 --without-zsh-functions-dir
2057 --with-fish-functions-dir=PATH
2059 --without-fish-functions-dir
2065 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2067 LIBS libraries to pass to the linker, e.g. -l<library>
2068 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2070 CPP C preprocessor
2072 User-defined run-time library search path.
2083 # If there are subdirs, report their specific --help.
2084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2085 test -d "$ac_dir" ||
2086 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2094 # A ".." for each directory in $ac_dir_suffix.
2103 # for backward compatibility:
2123 # Check for guested configure.
2124 if test -f "$ac_srcdir/configure.gnu"; then
2126 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2127 elif test -f "$ac_srcdir/configure"; then
2129 $SHELL "$ac_srcdir/configure" --help=recursive
2131 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2137 test -n "$ac_init_help" && exit $ac_status
2140 curl configure -
2147 Copyright (c) 1998 - 2019 Daniel Stenberg, <daniel@haxx.se>
2149 terms of the curl license; see COPYING for more details
2154 ## ------------------------ ##
2156 ## ------------------------ ##
2159 # --------------------------
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 rm -f conftest.$ac_objext
2170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2174 if test -s conftest.err; then
2175 grep -v '^ *+' conftest.err >conftest.er1
2177 mv -f conftest.er1 conftest.err
2179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2181 test -z "$ac_c_werror_flag" ||
2182 test ! -s conftest.err
2183 } && test -s conftest.$ac_objext; then :
2197 # ----------------------
2201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2211 if test -s conftest.err; then
2212 grep -v '^ *+' conftest.err >conftest.er1
2214 mv -f conftest.er1 conftest.err
2216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2219 test ! -s conftest.err
2234 # -----------------------
2238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2239 rm -f conftest.$ac_objext conftest$ac_exeext
2245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2249 if test -s conftest.err; then
2250 grep -v '^ *+' conftest.err >conftest.er1
2252 mv -f conftest.er1 conftest.err
2254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2256 test -z "$ac_c_werror_flag" ||
2257 test ! -s conftest.err
2258 } && test -s conftest$ac_exeext && {
2260 test -x conftest$ac_exeext
2273 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2280 # -------------------------------------------------------
2285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2287 $as_echo_n "checking for $2... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299 eval "$3=no"
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 # ----------------------
2316 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2346 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2353 # ----------------------------------
2357 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2359 $as_echo_n "checking for $2... " >&6; }
2363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 eval "$3=no"
2393 rm -f core conftest.err conftest.$ac_objext \
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2404 # -------------------------------------------------------
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2413 $as_echo_n "checking for $2... " >&6; }
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2432 ac_header_compiler=no
2434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 ac_header_preproc=no
2450 rm -f conftest.err conftest.i conftest.$ac_ext
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2456 yes:no: )
2457 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the pr…
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2462 no:yes:* )
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2465 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?"…
2466 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2469 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled…
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2473 ( $as_echo "## ----------------------------------------------------------------------- ##
2475 ## ----------------------------------------------------------------------- ##"
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2480 $as_echo_n "checking for $2... " >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495 # -------------------------------------------
2500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2502 $as_echo_n "checking for $2... " >&6; }
2506 eval "$3=no"
2507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2547 # ---------------------------------------------
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2554 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2580 eval "$3=no"
2582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 # ----------------------------------------------------
2597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2599 $as_echo_n "checking for $2.$3... " >&6; }
2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2633 eval "$4=no"
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2645 cat >config.log <<_ACEOF
2649 It was created by curl $as_me -, which was
2655 exec 5>>config.log
2658 ## --------- ##
2660 ## --------- ##
2662 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2663 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2664 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2665 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2666 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2668 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2669 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2672 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2682 for as_dir in $PATH
2685 test -z "$as_dir" && as_dir=.
2695 ## ----------- ##
2697 ## ----------- ##
2703 # Strip out --no-create and --no-recursion so they do not pile up.
2704 # Strip out --silent because we don't want to record it for future runs.
2705 # Also quote any args containing shell meta-characters.
2706 # Make two passes to allow for proper duplicate-argument suppression.
2711 for ac_pass in 1 2
2713 for ac_arg
2716 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2718 | -silent | --silent | --silen | --sile | --sil)
2731 *=* | --config-cache | -C | -disable-* | --disable-* \
2732 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2733 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2734 | -with-* | --with-* | -without-* | --without-* | --x)
2739 -* ) ac_must_keep_next=true ;;
2751 # config.log. We remove comments because anyway the quotes in there
2756 # Save into config.log some information that might help in debugging.
2760 $as_echo "## ---------------- ##
2762 ## ---------------- ##"
2766 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2771 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
2784 sed -n \
2789 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2796 $as_echo "## ----------------- ##
2798 ## ----------------- ##"
2800 for ac_var in $ac_subst_vars
2810 if test -n "$ac_subst_files"; then
2811 $as_echo "## ------------------- ##
2813 ## ------------------- ##"
2815 for ac_var in $ac_subst_files
2826 if test -s confdefs.h; then
2827 $as_echo "## ----------- ##
2829 ## ----------- ##"
2838 rm -f core *.core core.conftest.* &&
2839 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2842 for ac_signal in 1 2 13 15; do
2848 rm -f -r conftest* confdefs.h
2883 if test -n "$CONFIG_SITE"; then
2884 # We do not want a PATH search for config.site.
2886 -*) ac_site_file1=./$CONFIG_SITE;;
2891 ac_site_file1=$prefix/share/config.site
2892 ac_site_file2=$prefix/etc/config.site
2894 ac_site_file1=$ac_default_prefix/share/config.site
2895 ac_site_file2=$ac_default_prefix/etc/config.site
2897 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2900 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2905 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2908 See \`config.log' for more details" "$LINENO" 5; }
2912 if test -r "$cache_file"; then
2915 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2932 for ac_var in $ac_precious_vars; do
2939 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previo…
2943 … { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2953 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2957 …{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since …
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2967 # Pass precious variables to config.status.
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982 …{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the buil…
2986 ## -------------------- ##
2988 ## -------------------- ##
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002 # using curl-override.m4
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of…
3013 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3014 # Check whether --enable-maintainer-mode was given.
3018 USE_MAINTAINER_MODE=no
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3034 # Check whether --enable-silent-rules was given.
3041 no) AM_DEFAULT_VERBOSITY=1;;
3044 am_make=${MAKE-make}
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3056 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3059 am_cv_make_support_nested_variables=no
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable debug build options" >&5
3078 # Check whether --enable-debug was given.
3084 no)
3085 want_debug="no"
3088 want_debug="no"
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_debug" >&5
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler optimizer" >&5
3104 # Check whether --enable-optimize was given.
3110 no)
3111 want_optimize="no"
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) no" >&5
3119 $as_echo "(assumed) no" >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3134 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable strict compiler warnings" >&5
3137 # Check whether --enable-warnings was given.
3143 no)
3144 want_warnings="no"
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_warnings" >&5
3157 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable compiler warnings as errors" >…
3160 # Check whether --enable-werror was given.
3166 no)
3167 want_werror="no"
3170 want_werror="no"
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_werror" >&5
3180 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable curl debug memory tracking" >&5
3183 # Check whether --enable-curldebug was given.
3189 no)
3190 want_curldebug="no"
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3219 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable hiding of library internal sym…
3222 # Check whether --enable-symbol-hiding was given.
3227 # Check whether --enable-hidden-symbols was given.
3233 no)
3234 want_symbol_hiding="no"
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable c-ares for DNS lookups" >&5
3252 $as_echo_n "checking whether to enable c-ares for DNS lookups... " >&6; }
3254 # Check whether --enable-ares was given.
3260 no)
3261 want_ares="no"
3264 want_ares="no"
3268 if test -n "$enableval" && test "$enableval" != "yes"; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ares" >&5
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable dependency on -lrt" >&5
3278 $as_echo_n "checking whether to disable dependency on -lrt... " >&6; }
3280 # Check whether --enable-rt was given.
3286 no)
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292 dontwant_rt="no"
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed no)" >&5
3294 $as_echo "(assumed no)" >&6; }
3297 dontwant_rt="no"
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3308 if test -z "$xc_configure_preamble_result"; then
3316 if test -z "$xc_PATH_SEPARATOR"; then
3319 if test -z "$PATH_SEPARATOR"; then
3320 as_fn_error $? "PATH_SEPARATOR not set (internal or config.site problem)" "$LINENO" 5
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for path separator" >&5
3323 $as_echo_n "checking for path separator... " >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_SEPARATOR" >&5
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initial path separator" >&5
3328 $as_echo_n "checking for initial path separator... " >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_PATH_SEPARATOR" >&5
3331 as_fn_error $? "path separator mismatch (internal or config.site problem)" "$LINENO" 5
3343 CURL_CFLAG_EXTRAS="-Werror"
3345 if test "$compiler_num" -ge "500"; then
3346 CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
3352 if test -z "$SED"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3367 for as_dir in $as_dummy
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 test -z "$ac_cv_path_SED" && ac_cv_path_SED="not_found"
3386 if test -n "$SED"; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3391 $as_echo "no" >&6; }
3395 if test -z "$SED" || test "$SED" = "not_found"; then
3401 if test -z "$GREP"; then
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3416 for as_dir in $as_dummy
3419 test -z "$as_dir" && as_dir=.
3420 for ac_exec_ext in '' $ac_executable_extensions; do
3423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP="not_found"
3435 if test -n "$GREP"; then
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440 $as_echo "no" >&6; }
3444 if test -z "$GREP" || test "$GREP" = "not_found"; then
3450 if test -z "$EGREP"; then
3451 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3453 $as_echo_n "checking for egrep... " >&6; }
3454 EGREP="$GREP -E"
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3461 $as_echo_n "checking for $ac_word... " >&6; }
3472 for as_dir in $as_dummy
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3486 test -z "$ac_cv_path_EGREP" && ac_cv_path_EGREP="not_found"
3491 if test -n "$EGREP"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EGREP" >&5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3502 if test -z "$EGREP" || test "$EGREP" = "not_found"; then
3507 if test -z "$AR"; then
3508 if test -n "$ac_tool_prefix"; then
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3512 $as_echo_n "checking for $ac_word... " >&6; }
3523 for as_dir in $as_dummy
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 if test -n "$AR"; then
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3551 if test -z "$ac_cv_path_AR"; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3567 for as_dir in $as_dummy
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 if test -n "$ac_pt_AR"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_AR" >&5
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
3608 if test -z "$AR" || test "$AR" = "not_found"; then
3616 CURLVERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)".*/\1/p' ${srcdir}/include/curl/curlver.h`
3626 xc_bad_var_libs=no
3627 for xc_word in $LIBS; do
3629 -l* | --library=*)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
3640 …{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libraries …
3641 $as_echo "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
3645 xc_bad_var_ldflags=no
3646 for xc_word in $LDFLAGS; do
3648 -D*)
3651 -U*)
3654 -I*)
3657 -l* | --library=*)
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
3666 for xc_word in $LDFLAGS; do
3668 -D*)
3669 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
3670 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
3672 -U*)
3673 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
3674 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
3676 -I*)
3677 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
3678 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
3680 -l* | --library=*)
3681 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
3682 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
3689 xc_bad_var_cppflags=no
3690 for xc_word in $CPPFLAGS; do
3692 -rpath*)
3695 -L* | --library-path=*)
3698 -l* | --library=*)
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
3707 for xc_word in $CPPFLAGS; do
3709 -rpath*)
3710 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
3711 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
3713 -L* | --library-path=*)
3714 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
3715 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
3717 -l* | --library=*)
3718 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
3719 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
3726 xc_bad_var_cflags=no
3727 for xc_word in $CFLAGS; do
3729 -D*)
3732 -U*)
3735 -I*)
3738 -rpath*)
3741 -L* | --library-path=*)
3744 -l* | --library=*)
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
3753 for xc_word in $CFLAGS; do
3755 -D*)
3756 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
3757 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
3759 -U*)
3760 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
3761 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
3763 -I*)
3764 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
3765 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
3767 -rpath*)
3768 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
3769 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
3771 -L* | --library-path=*)
3772 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
3773 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
3775 -l* | --library=*)
3776 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
3777 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
3787 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immediatel…
3792 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3793 if test -f "$ac_dir/install-sh"; then
3795 ac_install_sh="$ac_aux_dir/install-sh -c"
3797 elif test -f "$ac_dir/install.sh"; then
3799 ac_install_sh="$ac_aux_dir/install.sh -c"
3801 elif test -f "$ac_dir/shtool"; then
3803 ac_install_sh="$ac_aux_dir/shtool install -c"
3807 if test -z "$ac_aux_dir"; then
3808 …as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$src…
3815 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3816 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3828 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3835 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3836 if test -z "$INSTALL"; then
3841 for as_dir in $PATH
3844 test -z "$as_dir" && as_dir=.
3845 # Account for people who put trailing slashes in PATH elements.
3852 # OSF1 and SCO ODT 3.0 have their own names for install.
3855 for ac_prog in ginstall scoinst install; do
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3864 # program-specific install script used by HP pwplus--don't use.
3867 rm -rf conftest.one conftest.two conftest.dir
3871 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3872 test -s conftest.one && test -s conftest.two &&
3873 test -s conftest.dir/conftest.one &&
3874 test -s conftest.dir/conftest.two
3876 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3889 rm -rf conftest.one conftest.two conftest.dir
3896 # value for INSTALL within a source directory, because that will
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3911 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3917 ac_cpp='$CPP $CPPFLAGS'
3918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 if test -n "$ac_tool_prefix"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3929 if test -n "$CC"; then
3933 for as_dir in $PATH
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 if test -n "$CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3960 if test -z "$ac_cv_prog_CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3969 if test -n "$ac_ct_CC"; then
3973 for as_dir in $PATH
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 if test -n "$ac_ct_CC"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4013 if test -z "$CC"; then
4014 if test -n "$ac_tool_prefix"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test -n "$CC"; then
4026 for as_dir in $PATH
4029 test -z "$as_dir" && as_dir=.
4030 for ac_exec_ext in '' $ac_executable_extensions; do
4033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 if test -n "$CC"; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4048 $as_echo "no" >&6; }
4054 if test -z "$CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 $as_echo_n "checking for $ac_word... " >&6; }
4062 if test -n "$CC"; then
4065 ac_prog_rejected=no
4067 for as_dir in $PATH
4070 test -z "$as_dir" && as_dir=.
4071 for ac_exec_ext in '' $ac_executable_extensions; do
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 if test -n "$CC"; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; }
4110 if test -z "$CC"; then
4111 if test -n "$ac_tool_prefix"; then
4112 for ac_prog in cl.exe
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4121 if test -n "$CC"; then
4125 for as_dir in $PATH
4128 test -z "$as_dir" && as_dir=.
4129 for ac_exec_ext in '' $ac_executable_extensions; do
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 if test -n "$CC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4151 test -n "$CC" && break
4154 if test -z "$CC"; then
4156 for ac_prog in cl.exe
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4165 if test -n "$ac_ct_CC"; then
4169 for as_dir in $PATH
4172 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 if test -n "$ac_ct_CC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4195 test -n "$ac_ct_CC" && break
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
4214 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4216 as_fn_error $? "no acceptable C compiler found in \$PATH
4217 See \`config.log' for more details" "$LINENO" 5; }
4220 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4223 for ac_option in --version -v -V -qversion; do
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 if test -s conftest.err; then
4239 rm -f conftest.er1 conftest.err
4240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 # Try to create an executable without -o first, disregard a.out.
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4261 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4267 for ac_file in $ac_files
4274 rm -f $ac_rmfiles
4281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4287 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4288 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4290 # so that the user can short-circuit this test for compilers unknown to
4292 for ac_file in $ac_files ''
4294 test -f "$ac_file" || continue
4303 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4307 # We set ac_cv_exeext here because the later test for it is not
4308 # safe: cross compilers may not add the suffix if given an `-o'
4317 test "$ac_cv_exeext" = no && ac_cv_exeext=
4322 if test -z "$ac_file"; then :
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4324 $as_echo "no" >&6; }
4328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4331 See \`config.log' for more details" "$LINENO" 5; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4337 $as_echo_n "checking for C compiler default output file name... " >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4342 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4345 $as_echo_n "checking for suffix of executables... " >&6; }
4351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4358 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4361 for ac_file in conftest.exe conftest conftest.*; do
4362 test -f "$ac_file" || continue
4371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4374 See \`config.log' for more details" "$LINENO" 5; }
4376 rm -f conftest conftest$ac_cv_exeext
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4380 rm -f conftest.$ac_ext
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4423 cross_compiling=no
4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431 If you meant to cross compile, use \`--host'.
4432 See \`config.log' for more details" "$LINENO" 5; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4439 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4442 $as_echo_n "checking for suffix of object files... " >&6; }
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 rm -f conftest.o conftest.obj
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4468 for ac_file in conftest.o conftest.obj conftest.*; do
4469 test -f "$ac_file" || continue;
4480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4483 See \`config.log' for more details" "$LINENO" 5; }
4485 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 ac_compiler_gnu=no
4514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4528 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4534 ac_cv_prog_cc_g=no
4535 CFLAGS="-g"
4536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 CFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4591 CFLAGS="-g -O2"
4593 CFLAGS="-g"
4597 CFLAGS="-O2"
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4603 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4607 ac_cv_prog_cc_c89=no
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4636 as 'x'. The following induces an error, until -std is added to get
4637 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4639 that's true only with -std. */
4640 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4642 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4645 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4660 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4661 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4667 rm -f core conftest.err conftest.$ac_objext
4670 rm -f conftest.$ac_ext
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4692 ac_cpp='$CPP $CPPFLAGS'
4693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_cpp='$CPP $CPPFLAGS'
4699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4703 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4719 # compilers refuse to overwrite an existing .o file with -o,
4722 for am_i in 1 2; do
4723 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4724 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4728 && test -f conftest2.$ac_objext; then
4731 am_cv_prog_cc_c_o=no
4735 rm -f core conftest*
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4744 # A longer-term fix would be to have automake use am__CC in this case,
4749 ac_cpp='$CPP $CPPFLAGS'
4750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4763 # On Suns, sometimes $CPP names a directory.
4764 if test -n "$CPP" && test -d "$CPP"; then
4765 CPP=
4767 if test -z "$CPP"; then
4771 # Double quotes because CPP needs to be expanded
4772 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4775 for ac_c_preproc_warn_flag in '' yes
4778 # with a fresh cross-compiler works.
4781 # On the NeXT, cc -E runs the code through the compiler's parser,
4782 # not just through cpp. "Syntax error" is here to catch this case.
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 rm -f conftest.err conftest.i conftest.$ac_ext
4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 rm -f conftest.err conftest.i conftest.$ac_ext
4818 rm -f conftest.i conftest.err conftest.$ac_ext
4824 ac_cv_prog_CPP=$CPP
4827 CPP=$ac_cv_prog_CPP
4829 ac_cv_prog_CPP=$CPP
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4832 $as_echo "$CPP" >&6; }
4834 for ac_c_preproc_warn_flag in '' yes
4837 # with a fresh cross-compiler works.
4840 # On the NeXT, cc -E runs the code through the compiler's parser,
4841 # not just through cpp. "Syntax error" is here to catch this case.
4842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 rm -f conftest.err conftest.i conftest.$ac_ext
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 rm -f conftest.err conftest.i conftest.$ac_ext
4877 rm -f conftest.i conftest.err conftest.$ac_ext
4881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4883 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4884 See \`config.log' for more details" "$LINENO" 5; }
4888 ac_cpp='$CPP $CPPFLAGS'
4889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4906 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4911 for ac_i in 1 2 3 4 5 6 7; do
4916 if test -z "$SED"; then
4918 # Loop through the user's path and test for each of PROGNAME-LIST
4920 for as_dir in $PATH
4923 test -z "$as_dir" && as_dir=.
4924 for ac_prog in sed gsed; do
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4928 # Check for GNU ac_path_SED and select it if it is found.
4929 # Check for GNU $ac_path_SED
4930 case `"$ac_path_SED" --version 2>&1` in
4942 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4945 if test $ac_count -gt ${ac_path_SED_max-0}; then
4946 # Best one so far, save it but keep looking for a better one
4951 test $ac_count -gt 10 && break
4953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4961 if test -z "$ac_cv_path_SED"; then
4962 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4972 rm -f conftest.sed
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for code coverage support" >&5
4978 $as_echo_n "checking for code coverage support... " >&6; }
4979 coverage="no"
4982 # Check whether --enable-code-coverage was given.
4986 coverage="no"
4991 coverage="no"
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $coverage" >&5
4999 if test -n "$ac_tool_prefix"; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5007 if test -n "$GCOV"; then
5011 for as_dir in $PATH
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 if test -n "$GCOV"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOV" >&5
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5038 if test -z "$ac_cv_prog_GCOV"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5047 if test -n "$ac_ct_GCOV"; then
5051 for as_dir in $PATH
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 if test -n "$ac_ct_GCOV"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCOV" >&5
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5091 if test -z "$GCOV"; then
5092 as_fn_error $? "needs gcov for code coverage" "$LINENO" 5
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5101 if test -n "$LCOV"; then
5105 for as_dir in $PATH
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 if test -n "$LCOV"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5131 if test -z "$LCOV"; then
5132 as_fn_error $? "needs lcov for code coverage" "$LINENO" 5
5135 CPPFLAGS="$CPPFLAGS -DNDEBUG"
5136 CFLAGS="$CLAGS -O0 -g -fprofile-arcs -ftest-coverage"
5137 LIBS="$LIBS -lgcov"
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5159 # arguments. Must try -L first in case configure is actually a
5164 am_has_slept=no
5165 for am_try in 1 2; do
5167 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5169 # -L didn't work.
5170 set X `ls -t "$srcdir/configure" conftest.file`
5176 # if, for instance, CONFIG_SHELL is bash and it inherits a
5179 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
5182 if test "$2" = conftest.file || test $am_try -eq 2; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5200 # If we didn't sleep, we still need to ensure time stamps of config.status and
5203 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
5208 rm -f conftest.file
5229 if eval "$MISSING --is-lightweight"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
5240 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
5242 install_sh="\${SHELL} $am_aux_dir/install-sh"
5247 # run "make install-strip". However 'strip' might not be the right
5248 # tool to use in cross-compilation environments, therefore Automake
5250 if test "$cross_compiling" != no; then
5251 if test -n "$ac_tool_prefix"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5259 if test -n "$STRIP"; then
5263 for as_dir in $PATH
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 if test -n "$STRIP"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5290 if test -z "$ac_cv_prog_STRIP"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295 $as_echo_n "checking for $ac_word... " >&6; }
5299 if test -n "$ac_ct_STRIP"; then
5303 for as_dir in $PATH
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 if test -n "$ac_ct_STRIP"; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5325 $as_echo "no" >&6; }
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
5344 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
5347 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
5348 if test -z "$MKDIR_P"; then
5353 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
5356 test -z "$as_dir" && as_dir=.
5357 for ac_prog in mkdir gmkdir; do
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5360 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
5374 test -d ./--version && rmdir ./--version
5376 MKDIR_P="$ac_cv_path_mkdir -p"
5379 # value for MKDIR_P within a source directory, because that will
5382 MKDIR_P="$ac_install_sh -d"
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
5388 for ac_prog in gawk mawk nawk awk
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5393 $as_echo_n "checking for $ac_word... " >&6; }
5397 if test -n "$AWK"; then
5401 for as_dir in $PATH
5404 test -z "$as_dir" && as_dir=.
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 if test -n "$AWK"; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5427 test -n "$AWK" && break
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5431 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5432 set x ${MAKE-make}
5433 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5443 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5447 eval ac_cv_prog_make_${ac_make}_set=no;;
5449 rm -f conftest.make
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }
5458 SET_MAKE="MAKE=${MAKE-make}"
5461 rm -rf .tst 2>/dev/null
5463 if test -d .tst; then
5475 am_make=${MAKE-make}
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5483 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5490 case `$am_make -s -f confmf 2> /dev/null` in #(
5500 case `$am_make -s -f confmf 2> /dev/null` in #(
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5512 rm -f confinc confmf
5514 # Check whether --enable-dependency-tracking was given.
5533 ## --------------------------------------- ##
5535 ## --------------------------------------- ##
5538 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
5539 # is not polluted with repeated "-I."
5540 am__isrc=' -I$(srcdir)'
5542 if test -f $srcdir/config.status; then
5548 if test -z "$CYGPATH_W"; then
5549 if (cygpath --version) >/dev/null 2>/dev/null; then
5550 CYGPATH_W='cygpath -w'
5559 VERSION='-'
5573 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5576 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5579 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5582 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5585 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5587 # For better backward compatibility. To be removed once Automake 1.9.x
5588 # dies out for good. For more background, see:
5589 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
5590 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
5593 # We need awk for the "check" target (and possibly the TAP driver). The
5595 # Always define AMTAR for backward compatibility. Yes, it's still used
5596 # in the wild :-( We should find a proper way to deprecate it ...
5597 AMTAR='$${TAR-tar}'
5603 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5616 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5618 # making bogus files that we don't know about and never remove. For
5619 # instance it was reported that on HP-UX the gcc test will end up
5620 # making a dummy file named 'D' -- because '-MD' means "put the output
5622 rm -rf conftest.dir
5629 # it helps to detect inapplicable dependency modes. For instance
5630 # both Tru64's cc and ICC support -MD to output dependencies as a
5638 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5642 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5645 for depmode in $am_compiler_list; do
5650 # We need to recreate these files for each test, as the compiler may
5654 for i in 1 2 3 4 5 6; do
5662 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5664 # handle '-M -o', and we need to detect this. Also, some Intel
5666 am__obj=sub/conftest.${OBJEXT-o}
5667 am__minus_obj="-o $am__obj"
5674 # After this tag, mechanisms are not by side-effect, so they'll
5683 # This compiler won't grok '-c -o', but also, the minuso test has
5686 am__obj=conftest.${OBJEXT-o}
5694 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5699 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5701 # or remarks (even with -Werror). So we grep stderr for any message
5703 # When given -MP, icc 7.0 and 7.1 complain thusly:
5704 # icc: Command line warning: ignoring option '-M'; no argument required
5706 # icc: Command line remark: option '-MP' not supported
5716 rm -rf conftest.dir
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5738 # POSIX will say in a future version that running "rm -f" with no argument
5746 if rm -f && rm -fr && rm -rf; then : OK; else
5751 on the command line, even when the '-f' option is present. This is contrary
5755 Please tell bug-automake@gnu.org about your system, including the value
5773 to "yes", and re-run configure.
5780 ## ------------------------------------- ##
5782 ## ------------------------------------- ##
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking curl version" >&5
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLVERSION" >&5
5792 VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\([0-9A-Fa-f]*\).*/\1/p' ${srcdir}/include/c…
5796 PKGADD_NAME="curl - a client that groks URLs"
5802 …curl_ssl_msg="no (--with-{ssl,gnutls,nss,polarssl,mbedtls,cyassl,schannel,secure-transport,me…
5803 curl_ssh_msg="no (--with-libssh2)"
5804 curl_zlib_msg="no (--with-zlib)"
5805 curl_brotli_msg="no (--with-brotli)"
5806 curl_gss_msg="no (--with-gssapi)"
5807 curl_tls_srp_msg="no (--enable-tls-srp)"
5808 curl_res_msg="default (--enable-ares / --enable-threaded-resolver)"
5809 curl_ipv6_msg="no (--enable-ipv6)"
5810 curl_unix_sockets_msg="no (--enable-unix-sockets)"
5811 curl_idn_msg="no (--with-{libidn2,winidn})"
5812 curl_manual_msg="no (--enable-manual)"
5813 curl_libcurl_msg="enabled (--disable-libcurl-option)"
5814 curl_verbose_msg="enabled (--disable-verbose)"
5815 curl_sspi_msg="no (--enable-sspi)"
5816 curl_ldap_msg="no (--enable-ldap / --with-ldap-lib / --with-lber-lib)"
5817 curl_ldaps_msg="no (--enable-ldaps)"
5818 curl_rtsp_msg="no (--enable-rtsp)"
5819 curl_rtmp_msg="no (--with-librtmp)"
5820 curl_mtlnk_msg="no (--with-libmetalink)"
5821 curl_psl_msg="no (--with-libpsl)"
5829 # Make sure we can run config.sub.
5830 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5831 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5840 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5843 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5844 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5850 *-*-*) ;;
5854 ac_save_IFS=$IFS; IFS='-'
5864 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5875 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5876 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5883 *-*-*) ;;
5887 ac_save_IFS=$IFS; IFS='-'
5897 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5913 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5917 if test -z "$GREP"; then
5919 # Loop through the user's path and test for each of PROGNAME-LIST
5921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5924 test -z "$as_dir" && as_dir=.
5925 for ac_prog in grep ggrep; do
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5929 # Check for GNU ac_path_GREP and select it if it is found.
5930 # Check for GNU $ac_path_GREP
5931 case `"$ac_path_GREP" --version 2>&1` in
5943 …"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || br…
5946 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5947 # Best one so far, save it but keep looking for a better one
5952 test $ac_count -gt 10 && break
5954 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5962 if test -z "$ac_cv_path_GREP"; then
5963 …as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5976 $as_echo_n "checking for egrep... " >&6; }
5980 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5981 then ac_cv_path_EGREP="$GREP -E"
5983 if test -z "$EGREP"; then
5985 # Loop through the user's path and test for each of PROGNAME-LIST
5987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5990 test -z "$as_dir" && as_dir=.
5991 for ac_prog in egrep; do
5992 for ac_exec_ext in '' $ac_executable_extensions; do
5995 # Check for GNU ac_path_EGREP and select it if it is found.
5996 # Check for GNU $ac_path_EGREP
5997 case `"$ac_path_EGREP" --version 2>&1` in
6012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6013 # Best one so far, save it but keep looking for a better one
6018 test $ac_count -gt 10 && break
6020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6028 if test -z "$ac_cv_path_EGREP"; then
6029 …as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OS is AIX (to define _ALL_SOURCE)" >&5
6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6065 $as_echo "no" >&6; }
6068 rm -f conftest*
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is already defined" >&5
6076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6105 tmp_thread_safe_initially_defined="no"
6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 if test "$tmp_thread_safe_initially_defined" = "no"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is actually needed" >&5
6116 tmp_need_thread_safe="no"
6122 tmp_need_thread_safe="no"
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _THREAD_SAFE is onwards defined" >&5
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6153 $as_echo "no" >&6; }
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is already defined" >&5
6161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6189 $as_echo "no" >&6; }
6190 tmp_reentrant_initially_defined="no"
6193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6195 if test "$tmp_reentrant_initially_defined" = "no"; then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is actually needed" >&5
6204 tmp_need_reentrant="no"
6208 if test "$tmp_need_reentrant" = "no"; then
6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 tmp_errno="no"
6236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6298 if test "$tmp_need_reentrant" = "no"; then
6300 if test "$tmp_need_reentrant" = "no"; then
6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6335 tmp_gmtime_r="no"
6338 rm -f core conftest.err conftest.$ac_objext \
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 rm -f conftest*
6374 rm -f conftest*
6379 if test "$tmp_need_reentrant" = "no"; then
6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6414 tmp_localtime_r="no"
6417 rm -f core conftest.err conftest.$ac_objext \
6420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 rm -f conftest*
6453 rm -f conftest*
6458 if test "$tmp_need_reentrant" = "no"; then
6460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6493 tmp_strerror_r="no"
6496 rm -f core conftest.err conftest.$ac_objext \
6499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6528 rm -f conftest*
6532 rm -f conftest*
6537 if test "$tmp_need_reentrant" = "no"; then
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 tmp_strtok_r="no"
6575 rm -f core conftest.err conftest.$ac_objext \
6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6607 rm -f conftest*
6611 rm -f conftest*
6616 if test "$tmp_need_reentrant" = "no"; then
6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6651 tmp_inet_ntoa_r="no"
6654 rm -f core conftest.err conftest.$ac_objext \
6657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 rm -f conftest*
6694 rm -f conftest*
6699 if test "$tmp_need_reentrant" = "no"; then
6701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 tmp_gethostbyaddr_r="no"
6737 rm -f core conftest.err conftest.$ac_objext \
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769 rm -f conftest*
6773 rm -f conftest*
6778 if test "$tmp_need_reentrant" = "no"; then
6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6813 tmp_gethostbyname_r="no"
6816 rm -f core conftest.err conftest.$ac_objext \
6819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6848 rm -f conftest*
6852 rm -f conftest*
6857 if test "$tmp_need_reentrant" = "no"; then
6859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 tmp_getprotobyname_r="no"
6895 rm -f core conftest.err conftest.$ac_objext \
6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 rm -f conftest*
6931 rm -f conftest*
6936 if test "$tmp_need_reentrant" = "no"; then
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6971 tmp_getservbyport_r="no"
6974 rm -f core conftest.err conftest.$ac_objext \
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7006 rm -f conftest*
7010 rm -f conftest*
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _REENTRANT is onwards defined" >&5
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7049 # Check whether --enable-largefile was given.
7054 if test "$enable_largefile" != no; then
7056 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large …
7057 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
7061 ac_cv_sys_largefile_CC=no
7066 # so use the C compiler's -n32 option if that helps.
7067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070 /* Check that off_t can represent 2**63 - 1 correctly.
7074 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7077 ? 1 : -1];
7088 rm -f core conftest.err conftest.$ac_objext
7089 CC="$CC -n32"
7091 ac_cv_sys_largefile_CC=' -n32'; break
7093 rm -f core conftest.err conftest.$ac_objext
7097 rm -f conftest.$ac_ext
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7102 if test "$ac_cv_sys_largefile_CC" != no; then
7106 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large fil…
7107 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* Check that off_t can represent 2**63 - 1 correctly.
7119 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7122 ? 1 : -1];
7131 ac_cv_sys_file_offset_bits=no; break
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138 /* Check that off_t can represent 2**63 - 1 correctly.
7142 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7145 ? 1 : -1];
7156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7164 no | unknown) ;;
7171 rm -rf conftest*
7173 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >…
7174 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* Check that off_t can represent 2**63 - 1 correctly.
7186 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7189 ? 1 : -1];
7198 ac_cv_sys_large_files=no; break
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205 /* Check that off_t can represent 2**63 - 1 correctly.
7209 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7212 ? 1 : -1];
7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7231 no | unknown) ;;
7238 rm -rf conftest*
7247 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`…
7271 # double-quoted strings.
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7294 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7295 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7296 ECHO='print -r --'
7311 # Invoke $ECHO with all args, space-separated.
7318 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7320 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7321 $as_echo "print -r" >&6; } ;;
7322 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7340 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7345 for ac_i in 1 2 3 4 5 6 7; do
7350 if test -z "$SED"; then
7352 # Loop through the user's path and test for each of PROGNAME-LIST
7354 for as_dir in $PATH
7357 test -z "$as_dir" && as_dir=.
7358 for ac_prog in sed gsed; do
7359 for ac_exec_ext in '' $ac_executable_extensions; do
7362 # Check for GNU ac_path_SED and select it if it is found.
7363 # Check for GNU $ac_path_SED
7364 case `"$ac_path_SED" --version 2>&1` in
7376 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7379 if test $ac_count -gt ${ac_path_SED_max-0}; then
7380 # Best one so far, save it but keep looking for a better one
7385 test $ac_count -gt 10 && break
7387 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7395 if test -z "$ac_cv_path_SED"; then
7396 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7406 rm -f conftest.sed
7408 test -z "$SED" && SED=sed
7409 Xsed="$SED -e 1s/^X//"
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7422 $as_echo_n "checking for fgrep... " >&6; }
7426 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7427 then ac_cv_path_FGREP="$GREP -F"
7429 if test -z "$FGREP"; then
7431 # Loop through the user's path and test for each of PROGNAME-LIST
7433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7436 test -z "$as_dir" && as_dir=.
7437 for ac_prog in fgrep; do
7438 for ac_exec_ext in '' $ac_executable_extensions; do
7441 # Check for GNU ac_path_FGREP and select it if it is found.
7442 # Check for GNU $ac_path_FGREP
7443 case `"$ac_path_FGREP" --version 2>&1` in
7458 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7459 # Best one so far, save it but keep looking for a better one
7464 test $ac_count -gt 10 && break
7466 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7474 if test -z "$ac_cv_path_FGREP"; then
7475 …as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO"…
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7488 test -z "$GREP" && GREP=grep
7508 # Check whether --with-gnu-ld was given.
7510 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7512 with_gnu_ld=no
7517 # Check if gcc -print-prog-name=ld gives a path.
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7519 $as_echo_n "checking for ld used by $CC... " >&6; }
7521 *-*-mingw*)
7523 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7525 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7536 test -z "$LD" && LD=$ac_prog
7543 # If it is relative, then search for the first ld in PATH.
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7549 $as_echo_n "checking for GNU ld... " >&6; }
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7552 $as_echo_n "checking for non-GNU ld... " >&6; }
7557 if test -z "$LD"; then
7559 for ac_dir in $PATH; do
7561 test -z "$ac_dir" && ac_dir=.
7562 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7564 # Check to see if the program is GNU ld. I'd rather use --version,
7565 # but apparently some variants of GNU ld only accept -v.
7566 # Break only if it was the GNU/non-GNU ld that we prefer.
7567 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7569 test no != "$with_gnu_ld" && break
7584 if test -n "$LD"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7591 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7597 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7598 case `$LD -v 2>&1 </dev/null` in
7603 lt_cv_prog_gnu_ld=no
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7620 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7624 if test -n "$NM"; then
7629 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7632 for lt_tmp_nm in $lt_nm_to_check; do
7634 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7636 test -z "$ac_dir" && ac_dir=.
7638 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7639 # Check to see if the nm accepts a BSD-compat flag.
7640 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7648 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7650 lt_cv_path_NM="$tmp_nm -B"
7654 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7656 lt_cv_path_NM="$tmp_nm -p"
7670 : ${lt_cv_path_NM=no}
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7675 if test no != "$lt_cv_path_NM"; then
7678 # Didn't find any BSD compatible name lister, look for dumpbin.
7679 if test -n "$DUMPBIN"; then :
7682 if test -n "$ac_tool_prefix"; then
7683 for ac_prog in dumpbin "link -dump"
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688 $as_echo_n "checking for $ac_word... " >&6; }
7692 if test -n "$DUMPBIN"; then
7696 for as_dir in $PATH
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713 if test -n "$DUMPBIN"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7722 test -n "$DUMPBIN" && break
7725 if test -z "$DUMPBIN"; then
7727 for ac_prog in dumpbin "link -dump"
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7732 $as_echo_n "checking for $ac_word... " >&6; }
7736 if test -n "$ac_ct_DUMPBIN"; then
7740 for as_dir in $PATH
7743 test -z "$as_dir" && as_dir=.
7744 for ac_exec_ext in '' $ac_executable_extensions; do
7747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757 if test -n "$ac_ct_DUMPBIN"; then
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7762 $as_echo "no" >&6; }
7766 test -n "$ac_ct_DUMPBIN" && break
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
7782 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7784 DUMPBIN="$DUMPBIN -symbols -headers"
7796 test -z "$NM" && NM=nm
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7821 rm -f conftest*
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7827 $as_echo_n "checking whether ln -s works... " >&6; }
7829 if test "$LN_S" = "ln -s"; then
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7834 $as_echo "no, using $LN_S" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7857 # no limit to the length of command line arguments.
7858 # Libtool will interpret -1 as no limit whatsoever
7859 lt_cv_sys_max_cmd_len=-1;
7863 # On Win9x/ME, this test blows up -- it succeeds, but takes
7865 # Worse, since 9x/ME are not pre-emptively multitasking,
7886 if test -x /sbin/sysctl; then
7887 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7888 elif test -x /usr/sbin/sysctl; then
7889 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7891 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7915 if test -x /sbin/sysconfig; then
7916 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7917 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7926 if test -n "$kargmax"; then
7934 if test -n "$lt_cv_sys_max_cmd_len" && \
7941 for i in 1 2 3 4 5 6 7 8; do
7944 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7945 # If test is not a shell built-in, we'll probably end up computing a
7968 if test -n "$lt_cv_sys_max_cmd_len"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7982 : ${CP="cp -f"}
7983 : ${MV="mv -f"}
7984 : ${RM="rm -f"}
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format"…
8023 *-*-mingw* )
8025 *-*-mingw* ) # actually msys
8028 *-*-cygwin* )
8036 *-*-cygwin* )
8038 *-*-mingw* ) # actually msys
8041 *-*-cygwin* )
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain for…
8072 *-*-mingw* )
8074 *-*-mingw* ) # actually msys
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8092 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8096 lt_cv_ld_reload_flag='-r'
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8114 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8116 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8129 if test -n "$ac_tool_prefix"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8133 $as_echo_n "checking for $ac_word... " >&6; }
8137 if test -n "$OBJDUMP"; then
8141 for as_dir in $PATH
8144 test -z "$as_dir" && as_dir=.
8145 for ac_exec_ext in '' $ac_executable_extensions; do
8148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8158 if test -n "$OBJDUMP"; then
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8163 $as_echo "no" >&6; }
8168 if test -z "$ac_cv_prog_OBJDUMP"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8173 $as_echo_n "checking for $ac_word... " >&6; }
8177 if test -n "$ac_ct_OBJDUMP"; then
8181 for as_dir in $PATH
8184 test -z "$as_dir" && as_dir=.
8185 for ac_exec_ext in '' $ac_executable_extensions; do
8188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8198 if test -n "$ac_ct_OBJDUMP"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8203 $as_echo "no" >&6; }
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8221 test -z "$OBJDUMP" && OBJDUMP=objdump
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8238 # 'none' -- dependencies not supported.
8239 # 'unknown' -- same as none, but documents that we really don't know.
8240 # 'pass_all' -- all dependencies passed with no checks.
8241 # 'test_compile' -- check by making test program.
8242 # 'file_magic [[regex]]' -- check by looking for files in library path
8248 aix[4-9]*)
8257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8258 lt_cv_file_magic_cmd='/usr/bin/file -L'
8271 # unless we find 'file', for example because we are cross-compiling.
8277 …v_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x…
8278 lt_cv_file_magic_cmd='$OBJDUMP -f'
8284 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8285 lt_cv_file_magic_cmd='$OBJDUMP -f'
8293 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8298 …lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand page…
8316 …lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8320 …heck_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)…
8324 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8330 interix[3-9]*)
8337 *-32|*"-32 ") libmagic=32-bit;;
8338 *-n32|*"-n32 ") libmagic=N32;;
8339 *-64|*"-64 ") libmagic=64-bit;;
8340 *) libmagic=never-match;;
8346 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8350 netbsd* | netbsdelf*-gnu)
8351 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8359 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8369 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8370 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8395 …_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-…
8403 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8407 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8432 want_nocaseglob=no
8439 …file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/…
8447 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8470 if test -n "$ac_tool_prefix"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8474 $as_echo_n "checking for $ac_word... " >&6; }
8478 if test -n "$DLLTOOL"; then
8482 for as_dir in $PATH
8485 test -z "$as_dir" && as_dir=.
8486 for ac_exec_ext in '' $ac_executable_extensions; do
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8499 if test -n "$DLLTOOL"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8504 $as_echo "no" >&6; }
8509 if test -z "$ac_cv_prog_DLLTOOL"; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8514 $as_echo_n "checking for $ac_word... " >&6; }
8518 if test -n "$ac_ct_DLLTOOL"; then
8522 for as_dir in $PATH
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8539 if test -n "$ac_ct_DLLTOOL"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8544 $as_echo "no" >&6; }
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8562 test -z "$DLLTOOL" && DLLTOOL=dlltool
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8581 case `$DLLTOOL --help 2>&1` in
8582 *--identify-strict*)
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8600 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8608 if test -n "$ac_tool_prefix"; then
8609 for ac_prog in ar
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8614 $as_echo_n "checking for $ac_word... " >&6; }
8618 if test -n "$AR"; then
8622 for as_dir in $PATH
8625 test -z "$as_dir" && as_dir=.
8626 for ac_exec_ext in '' $ac_executable_extensions; do
8629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8639 if test -n "$AR"; then
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8644 $as_echo "no" >&6; }
8648 test -n "$AR" && break
8651 if test -z "$AR"; then
8653 for ac_prog in ar
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8658 $as_echo_n "checking for $ac_word... " >&6; }
8662 if test -n "$ac_ct_AR"; then
8666 for as_dir in $PATH
8669 test -z "$as_dir" && as_dir=.
8670 for ac_exec_ext in '' $ac_executable_extensions; do
8673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683 if test -n "$ac_ct_AR"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688 $as_echo "no" >&6; }
8692 test -n "$ac_ct_AR" && break
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8722 $as_echo_n "checking for archiver @FILE support... " >&6; }
8726 lt_cv_ar_at_file=no
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8740 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8745 if test 0 -eq "$ac_status"; then
8747 rm -f conftest.$ac_objext libconftest.a
8748 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8753 if test 0 -ne "$ac_status"; then
8757 rm -f conftest.* libconftest.a
8760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8766 if test no = "$lt_cv_ar_at_file"; then
8778 if test -n "$ac_tool_prefix"; then
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8782 $as_echo_n "checking for $ac_word... " >&6; }
8786 if test -n "$STRIP"; then
8790 for as_dir in $PATH
8793 test -z "$as_dir" && as_dir=.
8794 for ac_exec_ext in '' $ac_executable_extensions; do
8797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8807 if test -n "$STRIP"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8817 if test -z "$ac_cv_prog_STRIP"; then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8822 $as_echo_n "checking for $ac_word... " >&6; }
8826 if test -n "$ac_ct_STRIP"; then
8830 for as_dir in $PATH
8833 test -z "$as_dir" && as_dir=.
8834 for ac_exec_ext in '' $ac_executable_extensions; do
8837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8847 if test -n "$ac_ct_STRIP"; then
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8852 $as_echo "no" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8870 test -z "$STRIP" && STRIP=:
8877 if test -n "$ac_tool_prefix"; then
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8881 $as_echo_n "checking for $ac_word... " >&6; }
8885 if test -n "$RANLIB"; then
8889 for as_dir in $PATH
8892 test -z "$as_dir" && as_dir=.
8893 for ac_exec_ext in '' $ac_executable_extensions; do
8896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8906 if test -n "$RANLIB"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8916 if test -z "$ac_cv_prog_RANLIB"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8921 $as_echo_n "checking for $ac_word... " >&6; }
8925 if test -n "$ac_ct_RANLIB"; then
8929 for as_dir in $PATH
8932 test -z "$as_dir" && as_dir=.
8933 for ac_exec_ext in '' $ac_executable_extensions; do
8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8946 if test -n "$ac_ct_RANLIB"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8951 $as_echo "no" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
8969 test -z "$RANLIB" && RANLIB=:
8976 # Determine commands to create old-style static archives.
8981 if test -n "$RANLIB"; then
8984 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8997 lock_old_archive_extraction=no ;;
9038 # If no C compiler was specified, use CC.
9039 LTCC=${LTCC-"$CC"}
9041 # If no C compiler flags were specified, use CFLAGS.
9042 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9048 # Check for command to grab the raw symbol name followed by C symbol from nm.
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object…
9062 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9064 # Define system-specific variables.
9101 case `$NM -V 2>&1` in
9108 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9110 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9111 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9113 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9114 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9126 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9128 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9129 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9132 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9134 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9135 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9139 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9141 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9142 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9143 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9154 for ac_symprfx in "" "_"; do
9161 # Fake it for dumpbin and say T for any non-static function,
9162 # D for any global variable and I for any imported variable.
9167 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9181 …lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat…
9186 pipe_works=no
9188 rm -f conftest*
9202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9209 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_globa…
9212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9213 test $ac_status = 0; } && test -s "$nlist"; then
9216 mv -f "$nlist"T "$nlist"
9218 rm -f "$nlist"T
9228 relocations are performed -- see ld's documentation on pseudo-relocs. */
9243 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9256 …$SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> c…
9273 mv -f conftest.$ac_objext conftstm.$ac_objext
9278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9282 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9300 rm -rf conftest* conftst*
9312 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9315 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9326 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9367 $as_echo_n "checking for sysroot... " >&6; }
9369 # Check whether --with-sysroot was given.
9373 with_sysroot=no
9381 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9385 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9387 no|'')
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9397 $as_echo "${lt_sysroot:-no}" >&6; }
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9404 $as_echo_n "checking for a working dd... " >&6; }
9411 if test -z "$lt_DD"; then
9413 # Loop through the user's path and test for each of PROGNAME-LIST
9415 for as_dir in $PATH
9418 test -z "$as_dir" && as_dir=.
9419 for ac_prog in dd; do
9420 for ac_exec_ext in '' $ac_executable_extensions; do
9424 cmp -s conftest.i conftest.out \
9432 if test -z "$ac_cv_path_lt_DD"; then
9439 rm -f conftest.i conftest2.i conftest.out
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9454 cmp -s conftest.i conftest.out \
9457 rm -f conftest.i conftest2.i conftest.out
9458 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9469 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9472 for cc_temp in $*""; do
9476 \-*) ;;
9480 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9483 # Check whether --enable-libtool-lock was given.
9488 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9490 # Some flags need to be propagated to the compiler or linker for good
9493 ia64-*-hpux*)
9497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9503 *ELF-32*)
9506 *ELF-64*)
9511 rm -rf conftest*
9513 *-*-irix6*)
9517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9524 *32-bit*)
9525 LD="${LD-ld} -melf32bsmip"
9528 LD="${LD-ld} -melf32bmipn32"
9530 *64-bit*)
9531 LD="${LD-ld} -melf64bmip"
9536 *32-bit*)
9537 LD="${LD-ld} -32"
9540 LD="${LD-ld} -n32"
9542 *64-bit*)
9543 LD="${LD-ld} -64"
9548 rm -rf conftest*
9551 mips64*-*linux*)
9555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9562 *32-bit*)
9565 *64-bit*)
9582 LD="${LD-ld} -m $emul"
9584 rm -rf conftest*
9587 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9588 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9592 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9593 # vice versa); the common cases where no linker options are needed do
9596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9602 *32-bit*)
9604 x86_64-*kfreebsd*-gnu)
9605 LD="${LD-ld} -m elf_i386_fbsd"
9607 x86_64-*linux*)
9609 *x86-64*)
9610 LD="${LD-ld} -m elf32_x86_64"
9613 LD="${LD-ld} -m elf_i386"
9617 powerpc64le-*linux*)
9618 LD="${LD-ld} -m elf32lppclinux"
9620 powerpc64-*linux*)
9621 LD="${LD-ld} -m elf32ppclinux"
9623 s390x-*linux*)
9624 LD="${LD-ld} -m elf_s390"
9626 sparc64-*linux*)
9627 LD="${LD-ld} -m elf32_sparc"
9631 *64-bit*)
9633 x86_64-*kfreebsd*-gnu)
9634 LD="${LD-ld} -m elf_x86_64_fbsd"
9636 x86_64-*linux*)
9637 LD="${LD-ld} -m elf_x86_64"
9639 powerpcle-*linux*)
9640 LD="${LD-ld} -m elf64lppc"
9642 powerpc-*linux*)
9643 LD="${LD-ld} -m elf64ppc"
9645 s390*-*linux*|s390*-*tpf*)
9646 LD="${LD-ld} -m elf64_s390"
9648 sparc*-*linux*)
9649 LD="${LD-ld} -m elf64_sparc"
9655 rm -rf conftest*
9658 *-*-sco3.2v5*)
9659 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9661 CFLAGS="$CFLAGS -belf"
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9663 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9668 ac_cpp='$CPP $CPPFLAGS'
9669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686 lt_cv_cc_needs_belf=no
9688 rm -f core conftest.err conftest.$ac_objext \
9691 ac_cpp='$CPP $CPPFLAGS'
9692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9700 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9704 *-*solaris*)
9708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9714 *64-bit*)
9718 i?86-*-solaris*|x86_64-*-solaris*)
9719 LD="${LD-ld} -m elf_x86_64"
9721 sparc*-*-solaris*)
9722 LD="${LD-ld} -m elf64_sparc"
9726 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9727 LD=${LD-ld}_sol2
9731 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9732 LD="${LD-ld} -64"
9739 rm -rf conftest*
9745 if test -n "$ac_tool_prefix"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9749 $as_echo_n "checking for $ac_word... " >&6; }
9753 if test -n "$MANIFEST_TOOL"; then
9757 for as_dir in $PATH
9760 test -z "$as_dir" && as_dir=.
9761 for ac_exec_ext in '' $ac_executable_extensions; do
9764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9774 if test -n "$MANIFEST_TOOL"; then
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9779 $as_echo "no" >&6; }
9784 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9789 $as_echo_n "checking for $ac_word... " >&6; }
9793 if test -n "$ac_ct_MANIFEST_TOOL"; then
9797 for as_dir in $PATH
9800 test -z "$as_dir" && as_dir=.
9801 for ac_exec_ext in '' $ac_executable_extensions; do
9804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9814 if test -n "$ac_ct_MANIFEST_TOOL"; then
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9819 $as_echo "no" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
9837 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9843 lt_cv_path_mainfest_tool=no
9844 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9845 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9850 rm -f conftest*
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9865 if test -n "$ac_tool_prefix"; then
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9869 $as_echo_n "checking for $ac_word... " >&6; }
9873 if test -n "$DSYMUTIL"; then
9877 for as_dir in $PATH
9880 test -z "$as_dir" && as_dir=.
9881 for ac_exec_ext in '' $ac_executable_extensions; do
9884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9894 if test -n "$DSYMUTIL"; then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9899 $as_echo "no" >&6; }
9904 if test -z "$ac_cv_prog_DSYMUTIL"; then
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9909 $as_echo_n "checking for $ac_word... " >&6; }
9913 if test -n "$ac_ct_DSYMUTIL"; then
9917 for as_dir in $PATH
9920 test -z "$as_dir" && as_dir=.
9921 for ac_exec_ext in '' $ac_executable_extensions; do
9924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 if test -n "$ac_ct_DSYMUTIL"; then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 $as_echo "no" >&6; }
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
9957 if test -n "$ac_tool_prefix"; then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9961 $as_echo_n "checking for $ac_word... " >&6; }
9965 if test -n "$NMEDIT"; then
9969 for as_dir in $PATH
9972 test -z "$as_dir" && as_dir=.
9973 for ac_exec_ext in '' $ac_executable_extensions; do
9976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9986 if test -n "$NMEDIT"; then
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9991 $as_echo "no" >&6; }
9996 if test -z "$ac_cv_prog_NMEDIT"; then
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10001 $as_echo_n "checking for $ac_word... " >&6; }
10005 if test -n "$ac_ct_NMEDIT"; then
10009 for as_dir in $PATH
10012 test -z "$as_dir" && as_dir=.
10013 for ac_exec_ext in '' $ac_executable_extensions; do
10016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10026 if test -n "$ac_ct_NMEDIT"; then
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10031 $as_echo "no" >&6; }
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10049 if test -n "$ac_tool_prefix"; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10053 $as_echo_n "checking for $ac_word... " >&6; }
10057 if test -n "$LIPO"; then
10061 for as_dir in $PATH
10064 test -z "$as_dir" && as_dir=.
10065 for ac_exec_ext in '' $ac_executable_extensions; do
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 if test -n "$LIPO"; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10083 $as_echo "no" >&6; }
10088 if test -z "$ac_cv_prog_LIPO"; then
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10093 $as_echo_n "checking for $ac_word... " >&6; }
10097 if test -n "$ac_ct_LIPO"; then
10101 for as_dir in $PATH
10104 test -z "$as_dir" && as_dir=.
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10118 if test -n "$ac_ct_LIPO"; then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10123 $as_echo "no" >&6; }
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10141 if test -n "$ac_tool_prefix"; then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10145 $as_echo_n "checking for $ac_word... " >&6; }
10149 if test -n "$OTOOL"; then
10153 for as_dir in $PATH
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10170 if test -n "$OTOOL"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10175 $as_echo "no" >&6; }
10180 if test -z "$ac_cv_prog_OTOOL"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10185 $as_echo_n "checking for $ac_word... " >&6; }
10189 if test -n "$ac_ct_OTOOL"; then
10193 for as_dir in $PATH
10196 test -z "$as_dir" && as_dir=.
10197 for ac_exec_ext in '' $ac_executable_extensions; do
10200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10210 if test -n "$ac_ct_OTOOL"; then
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10215 $as_echo "no" >&6; }
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10233 if test -n "$ac_tool_prefix"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10237 $as_echo_n "checking for $ac_word... " >&6; }
10241 if test -n "$OTOOL64"; then
10245 for as_dir in $PATH
10248 test -z "$as_dir" && as_dir=.
10249 for ac_exec_ext in '' $ac_executable_extensions; do
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10262 if test -n "$OTOOL64"; then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10267 $as_echo "no" >&6; }
10272 if test -z "$ac_cv_prog_OTOOL64"; then
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10277 $as_echo_n "checking for $ac_word... " >&6; }
10281 if test -n "$ac_ct_OTOOL64"; then
10285 for as_dir in $PATH
10288 test -z "$as_dir" && as_dir=.
10289 for ac_exec_ext in '' $ac_executable_extensions; do
10292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10302 if test -n "$ac_ct_OTOOL64"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10307 $as_echo "no" >&6; }
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10352 $as_echo_n "checking for -single_module linker flag... " >&6; }
10356 lt_cv_apple_cc_single_mod=no
10357 if test -z "$LT_MULTI_MODULE"; then
10358 # By default we will add the -single_module flag. You can override
10360 # non-empty at configure time, or by adding -multi_module to the
10362 rm -rf libconftest.dylib*
10364 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10365 -dynamiclib -Wl,-single_module conftest.c" >&5
10366 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10367 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10369 # If there is a non-empty error log, and "single_module"
10371 if test -s conftest.err && $GREP single_module conftest.err; then
10375 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10380 rm -rf libconftest.dylib*
10381 rm -f conftest.*
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10388 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10392 lt_cv_ld_exported_symbols_list=no
10395 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 lt_cv_ld_exported_symbols_list=no
10411 rm -f core conftest.err conftest.$ac_objext \
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10420 $as_echo_n "checking for -force_load linker flag... " >&6; }
10424 lt_cv_ld_force_load=no
10428 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10429 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10437 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10438 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10440 if test -s conftest.err && $GREP force_load conftest.err; then
10442 …elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10447 rm -f conftest.err libconftest.a conftest conftest.c
10448 rm -rf conftest.dSYM
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10455 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10457 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10462 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10463 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10464 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10466 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10468 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10476 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10478 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10480 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10489 # -----------------------------------
10514 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10515 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10524 $as_echo_n "checking for ANSI C header files... " >&6; }
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10545 ac_cv_header_stdc=no
10547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 ac_cv_header_stdc=no
10562 rm -f conftest*
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 ac_cv_header_stdc=no
10579 rm -f conftest*
10584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10608 for (i = 0; i < 256; i++)
10618 ac_cv_header_stdc=no
10620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
10635 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10651 for ac_header in dlfcn.h
10664 # ------------------------------------ #
10666 # ------------------------------------ #
10671 # require separate configuration and build runs for each flavor.
10682 xc_lt_want_enable_shared='no'
10687 xc_lt_want_enable_static='no'
10697 # and build runs for shared and static is to enable shared libraries
10698 # and disable static ones. On these systems option '--disable-shared'
10706 xc_lt_want_enable_static='no'
10721 # Default behavior is to build PIC objects for shared libraries and
10722 # non-PIC objects for static libraries.
10733 xc_lt_want_with_pic='no'
10742 # of non-PIC compiled objects will fail with following linker error
10744 # is to build PIC objects even for static libraries. This behavior may
10745 # be overridden using 'configure --disable-shared --without-pic'.
10768 ## ----------------------- ##
10770 ## ----------------------- ##
10779 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
10780 if test -n "$ac_tool_prefix"; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10784 $as_echo_n "checking for $ac_word... " >&6; }
10788 if test -n "$AS"; then
10792 for as_dir in $PATH
10795 test -z "$as_dir" && as_dir=.
10796 for ac_exec_ext in '' $ac_executable_extensions; do
10799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 if test -n "$AS"; then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10814 $as_echo "no" >&6; }
10819 if test -z "$ac_cv_prog_AS"; then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10824 $as_echo_n "checking for $ac_word... " >&6; }
10828 if test -n "$ac_ct_AS"; then
10832 for as_dir in $PATH
10835 test -z "$as_dir" && as_dir=.
10836 for ac_exec_ext in '' $ac_executable_extensions; do
10839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10849 if test -n "$ac_ct_AS"; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10854 $as_echo "no" >&6; }
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10872 if test -n "$ac_tool_prefix"; then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10876 $as_echo_n "checking for $ac_word... " >&6; }
10880 if test -n "$DLLTOOL"; then
10884 for as_dir in $PATH
10887 test -z "$as_dir" && as_dir=.
10888 for ac_exec_ext in '' $ac_executable_extensions; do
10891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10901 if test -n "$DLLTOOL"; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10906 $as_echo "no" >&6; }
10911 if test -z "$ac_cv_prog_DLLTOOL"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10916 $as_echo_n "checking for $ac_word... " >&6; }
10920 if test -n "$ac_ct_DLLTOOL"; then
10924 for as_dir in $PATH
10927 test -z "$as_dir" && as_dir=.
10928 for ac_exec_ext in '' $ac_executable_extensions; do
10931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10941 if test -n "$ac_ct_DLLTOOL"; then
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10946 $as_echo "no" >&6; }
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
10964 if test -n "$ac_tool_prefix"; then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10968 $as_echo_n "checking for $ac_word... " >&6; }
10972 if test -n "$OBJDUMP"; then
10976 for as_dir in $PATH
10979 test -z "$as_dir" && as_dir=.
10980 for ac_exec_ext in '' $ac_executable_extensions; do
10983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10993 if test -n "$OBJDUMP"; then
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10998 $as_echo "no" >&6; }
11003 if test -z "$ac_cv_prog_OBJDUMP"; then
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11008 $as_echo_n "checking for $ac_word... " >&6; }
11012 if test -n "$ac_ct_OBJDUMP"; then
11016 for as_dir in $PATH
11019 test -z "$as_dir" && as_dir=.
11020 for ac_exec_ext in '' $ac_executable_extensions; do
11023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11033 if test -n "$ac_ct_OBJDUMP"; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11038 $as_echo "no" >&6; }
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
11059 test -z "$AS" && AS=as
11065 test -z "$DLLTOOL" && DLLTOOL=dlltool
11071 test -z "$OBJDUMP" && OBJDUMP=objdump
11079 enable_dlopen=no
11083 # Check whether --enable-shared was given.
11085 enableval=$enable_shared; p=${PACKAGE-default}
11088 no) enable_shared=no ;;
11090 enable_shared=no
11093 for pkg in $enableval; do
11114 # Check whether --enable-static was given.
11116 enableval=$enable_static; p=${PACKAGE-default}
11119 no) enable_static=no ;;
11121 enable_static=no
11124 for pkg in $enableval; do
11146 # Check whether --with-pic was given.
11148 withval=$with_pic; lt_p=${PACKAGE-default}
11150 yes|no) pic_mode=$withval ;;
11155 for lt_pkg in $withval; do
11175 # Check whether --enable-fast-install was given.
11177 enableval=$enable_fast_install; p=${PACKAGE-default}
11180 no) enable_fast_install=no ;;
11182 enable_fast_install=no
11185 for pkg in $enableval; do
11207 power*-*-aix[5-9]*,yes)
11208 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to pr…
11211 # Check whether --with-aix-soname was given.
11217 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11234 # For the AIX way of multilib, we name the shared archive member
11236 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11237 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11239 if test 64 = "${OBJECT_MODE-32}"; then
11295 test -z "$LN_S" && LN_S="ln -s"
11310 if test -n "${ZSH_VERSION+set}"; then
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11315 $as_echo_n "checking for objdir... " >&6; }
11319 rm -f .libs 2>/dev/null
11321 if test -d .libs; then
11324 # MS-DOS does not allow filenames that begin with a dot.
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11346 # AIX sometimes has problems with the GCC collect2 program. For some
11360 # All known linkers require a '.a' archive for static linking (except MSVC,
11369 # Set sane defaults for various variables
11370 test -z "$CC" && CC=cc
11371 test -z "$LTCC" && LTCC=$CC
11372 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11373 test -z "$LD" && LD=ld
11374 test -z "$ac_objext" && ac_objext=o
11380 # Only perform the check for file, if the check method requires it
11381 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11386 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11398 for ac_dir in $ac_dummy; do
11400 test -z "$ac_dir" && ac_dir=.
11401 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11403 if test -n "$file_magic_test_file"; then
11421 *** bug-libtool@gnu.org
11437 if test -n "$MAGIC_CMD"; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11442 $as_echo "no" >&6; }
11449 if test -z "$lt_cv_path_MAGIC_CMD"; then
11450 if test -n "$ac_tool_prefix"; then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11452 $as_echo_n "checking for file... " >&6; }
11464 for ac_dir in $ac_dummy; do
11466 test -z "$ac_dir" && ac_dir=.
11467 if test -f "$ac_dir/file"; then
11469 if test -n "$file_magic_test_file"; then
11487 *** bug-libtool@gnu.org
11503 if test -n "$MAGIC_CMD"; then
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11508 $as_echo "no" >&6; }
11521 # Use C for the default configuration in the libtool script
11525 ac_cpp='$CPP $CPPFLAGS'
11526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11531 # Source file extension for C test sources.
11534 # Object file extension for compiled C test sources.
11550 # If no C compiler was specified, use CC.
11551 LTCC=${LTCC-"$CC"}
11553 # If no C compiler flags were specified, use CFLAGS.
11554 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11574 $RM -r conftest*
11578 ## There is no encapsulation within the following macros, do not change
11581 if test -n "$compiler"; then
11588 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11590 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11593 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions"…
11594 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11598 lt_cv_prog_compiler_rtti_exceptions=no
11601 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11608 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11609 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11610 -e 's:$: $lt_compiler_flag:'`
11616 if (exit $ac_status) && test -s "$ac_outfile"; then
11618 # So say no if there are warnings other than the usual output.
11621 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11632 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11650 lt_prog_compiler_wl='-Wl,'
11651 lt_prog_compiler_static='-static'
11658 lt_prog_compiler_static='-Bstatic'
11660 lt_prog_compiler_pic='-fPIC'
11667 lt_prog_compiler_pic='-fPIC'
11671 # adding the '-m68020' flag to GCC prevents building anything better,
11672 # like '-m68040'.
11673 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11679 # PIC is the default for these OSes.
11684 # built for inclusion in a dll (and should export symbols for example).
11685 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11686 # (--disable-auto-import) libraries
11687 lt_prog_compiler_pic='-DDLL_EXPORT'
11690 lt_prog_compiler_static='$wl-static'
11698 lt_prog_compiler_pic='-fno-common'
11702 # PIC is the default for Haiku.
11703 # The "-static" flag exists, but is broken.
11708 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11709 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11716 lt_prog_compiler_pic='-fPIC'
11721 interix[3-9]*)
11722 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11729 lt_prog_compiler_can_build_shared=no
11730 enable_shared=no
11734 # QNX uses GNU C++, but need to define -shared option too, otherwise
11736 lt_prog_compiler_pic='-fPIC -shared'
11740 if test -d /usr/nec; then
11741 lt_prog_compiler_pic=-Kconform_pic
11746 lt_prog_compiler_pic='-fPIC'
11752 lt_prog_compiler_wl='-Xlinker '
11753 if test -n "$lt_prog_compiler_pic"; then
11754 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11759 # PORTME Check for flag to pass linker flags through the system compiler.
11762 lt_prog_compiler_wl='-Wl,'
11765 lt_prog_compiler_static='-Bstatic'
11767 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11774 lt_prog_compiler_pic='-fno-common'
11778 lt_prog_compiler_wl='-Wl,-Wl,,'
11779 lt_prog_compiler_pic='-PIC'
11780 lt_prog_compiler_static='-Bstatic'
11787 # built for inclusion in a dll (and should export symbols for example).
11788 lt_prog_compiler_pic='-DDLL_EXPORT'
11791 lt_prog_compiler_static='$wl-static'
11797 lt_prog_compiler_wl='-Wl,'
11798 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11799 # not for PA HP-UX.
11809 lt_prog_compiler_static='$wl-a ${wl}archive'
11813 lt_prog_compiler_wl='-Wl,'
11814 # PIC (with -KPIC) is the default.
11815 lt_prog_compiler_static='-non_shared'
11818 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11820 # old Intel for x86_64, which still supported -KPIC.
11822 lt_prog_compiler_wl='-Wl,'
11823 lt_prog_compiler_pic='-KPIC'
11824 lt_prog_compiler_static='-static'
11827 # ICC 10 doesn't accept -KPIC any more.
11829 lt_prog_compiler_wl='-Wl,'
11830 lt_prog_compiler_pic='-fPIC'
11831 lt_prog_compiler_static='-static'
11835 lt_prog_compiler_wl='-Wl,'
11836 lt_prog_compiler_pic='--shared'
11837 lt_prog_compiler_static='--static'
11841 lt_prog_compiler_wl='-Wl,-Wl,,'
11842 lt_prog_compiler_pic='-PIC'
11843 lt_prog_compiler_static='-Bstatic'
11847 lt_prog_compiler_wl='-Wl,'
11848 lt_prog_compiler_pic='-fPIC'
11849 lt_prog_compiler_static='-static'
11854 lt_prog_compiler_wl='-Wl,'
11855 lt_prog_compiler_pic='-fpic'
11856 lt_prog_compiler_static='-Bstatic'
11859 lt_prog_compiler_wl='-Wl,'
11861 lt_prog_compiler_static='-non_shared'
11865 lt_prog_compiler_wl='-Wl,'
11866 lt_prog_compiler_pic='-qpic'
11867 lt_prog_compiler_static='-qstaticlink'
11870 case `$CC -V 2>&1 | sed 5q` in
11871 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11873 lt_prog_compiler_pic='-KPIC'
11874 lt_prog_compiler_static='-Bstatic'
11878 lt_prog_compiler_pic='-KPIC'
11879 lt_prog_compiler_static='-Bstatic'
11880 lt_prog_compiler_wl='-Qoption ld '
11884 lt_prog_compiler_pic='-KPIC'
11885 lt_prog_compiler_static='-Bstatic'
11886 lt_prog_compiler_wl='-Wl,'
11889 lt_prog_compiler_wl='-Wl,'
11890 lt_prog_compiler_pic='-fPIC'
11891 lt_prog_compiler_static='-static'
11894 lt_prog_compiler_wl='-Wl,'
11895 lt_prog_compiler_pic='-fpic'
11896 lt_prog_compiler_static='-Bstatic'
11904 lt_prog_compiler_pic='-KPIC'
11905 lt_prog_compiler_static='-Bstatic'
11909 # QNX uses GNU C++, but need to define -shared option too, otherwise
11911 lt_prog_compiler_pic='-fPIC -shared'
11915 lt_prog_compiler_wl='-Wl,'
11917 lt_prog_compiler_static='-non_shared'
11921 lt_prog_compiler_static='-non_shared'
11925 lt_prog_compiler_pic='-KPIC'
11926 lt_prog_compiler_static='-Bstatic'
11929 lt_prog_compiler_wl='-Qoption ld ';;
11931 lt_prog_compiler_wl='-Wl,';;
11936 lt_prog_compiler_wl='-Qoption ld '
11937 lt_prog_compiler_pic='-PIC'
11938 lt_prog_compiler_static='-Bstatic'
11942 lt_prog_compiler_wl='-Wl,'
11943 lt_prog_compiler_pic='-KPIC'
11944 lt_prog_compiler_static='-Bstatic'
11948 if test -d /usr/nec; then
11949 lt_prog_compiler_pic='-Kconform_pic'
11950 lt_prog_compiler_static='-Bstatic'
11955 lt_prog_compiler_wl='-Wl,'
11956 lt_prog_compiler_pic='-KPIC'
11957 lt_prog_compiler_static='-Bstatic'
11961 lt_prog_compiler_wl='-Wl,'
11962 lt_prog_compiler_can_build_shared=no
11966 lt_prog_compiler_pic='-pic'
11967 lt_prog_compiler_static='-Bstatic'
11971 lt_prog_compiler_can_build_shared=no
11977 # For platforms that do not support PIC, -DPIC is meaningless:
11982 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11987 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
12000 if test -n "$lt_prog_compiler_pic"; then
12001 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic work…
12006 lt_cv_prog_compiler_pic_works=no
12009 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
12016 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12017 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12018 -e 's:$: $lt_compiler_flag:'`
12024 if (exit $ac_status) && test -s "$ac_outfile"; then
12026 # So say no if there are warnings other than the usual output.
12029 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
12046 lt_prog_compiler_can_build_shared=no
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag work…
12070 lt_cv_prog_compiler_static_works=no
12074 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12076 # So say no if there are warnings
12077 if test -s conftest.err; then
12078 # Append any errors to the config.log.
12089 $RM -r conftest*
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12109 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12113 lt_cv_prog_compiler_c_o=no
12114 $RM -r conftest 2>/dev/null
12120 lt_compiler_flag="-o out/conftest2.$ac_objext"
12126 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12127 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12128 -e 's:$: $lt_compiler_flag:'`
12134 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12137 # So say no if there are warnings
12140 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12146 # SGI C++ compiler will create directory out/ii_files/ for
12148 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12151 $RM -r conftest
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12164 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12168 lt_cv_prog_compiler_c_o=no
12169 $RM -r conftest 2>/dev/null
12175 lt_compiler_flag="-o out/conftest2.$ac_objext"
12181 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12182 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12183 -e 's:$: $lt_compiler_flag:'`
12189 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12192 # So say no if there are warnings
12195 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12201 # SGI C++ compiler will create directory out/ii_files/ for
12203 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12206 $RM -r conftest
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
12217 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12223 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12225 ln conftest.a conftest.b 2>&5 || hard_links=no
12226 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12229 if test no = "$hard_links"; then
12230 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may…
12231 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12235 need_locks=no
12243 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shar…
12248 always_export_symbols=no
12251 compiler_needs_object=no
12252 enable_shared_with_static_runtimes=no
12255 hardcode_automatic=no
12256 hardcode_direct=no
12257 hardcode_direct_absolute=no
12260 hardcode_minus_L=no
12262 inherit_rpath=no
12270 # include_expsyms should be a list of space-separated symbols to be *always*
12292 with_gnu_ld=no
12300 with_gnu_ld=no
12302 linux* | k*bsd*-gnu | gnu*)
12303 link_all_deplibs=no
12310 # that we're better off using the native interface for both.
12311 lt_use_gnu_ld_interface=no
12319 case `$LD -v 2>&1` in
12321 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12322 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12338 # Set some defaults for GNU ld with shared library support. These
12342 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12343 export_dynamic_flag_spec='$wl--export-dynamic'
12344 # ancient GNU ld didn't support --whole-archive et. al.
12345 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12346 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12350 supports_anon_versioning=no
12351 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12353 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12362 aix[3-9]*)
12365 ld_shlibs=no
12371 *** really care for shared libraries, you may want to install binutils
12372 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12383 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12387 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12388 hardcode_libdir_flag_spec='-L$libdir'
12395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12398 # support --undefined. This deserves some investigation. FIXME
12399 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12401 ld_shlibs=no
12407 # as there is no search path for DLLs.
12408 hardcode_libdir_flag_spec='-L$libdir'
12409 export_dynamic_flag_spec='$wl--export-all-symbols'
12411 always_export_symbols=no
12413 …export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s…
12414 …psyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_…
12416 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12417 …rchive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-a…
12418 # If the export-symbols file already is a .def file, use it as
12420 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
12426 …CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname …
12428 ld_shlibs=no
12433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12438 hardcode_libdir_flag_spec='-L$libdir'
12447 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
12448 emximp -o $lib $output_objdir/$libname.def'
12455 prefix_cmds="$prefix_cmds -e 1d";
12457 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12459 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
12460 emximp -o $lib $output_objdir/$libname.def'
12461 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12465 interix[3-9]*)
12466 hardcode_direct=no
12467 hardcode_shlibpath_var=no
12468 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12469 export_dynamic_flag_spec='$wl-E'
12474 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12476 …ds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${…
12477 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output…
12480 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12481 tmp_diet=no
12482 if test linux-dietlibc = "$host_os"; then
12484 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12487 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12488 && test no = "$tmp_diet"
12491 tmp_sharedflag='-shared'
12494 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12499 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12500 tmp_addflag=' $pic_flag -Mnomain' ;;
12502 tmp_addflag=' -i_dynamic' ;;
12504 tmp_addflag=' -i_dynamic -nofor_main' ;;
12506 tmp_addflag=' -nofor_main' ;;
12509 tmp_sharedflag='--shared' ;;
12511 tmp_sharedflag='-Wl,-shared' ;;
12513 tmp_sharedflag='-qmkshrobj'
12516 …--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_conv…
12520 case `$CC -V 2>&1 | sed 5q` in
12522 …--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_conven…
12524 tmp_sharedflag='-G' ;;
12526 tmp_sharedflag='-G' ;;
12528 … '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12532 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12534 …g"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$…
12539 export_dynamic_flag_spec='-rdynamic'
12543 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12544 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12545 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12548 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12550 …$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libnam…
12555 ld_shlibs=no
12559 netbsd* | netbsdelf*-gnu)
12560 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12561 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12564 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
12565 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
12570 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12571 ld_shlibs=no
12582 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12583 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
12584 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
12586 ld_shlibs=no
12591 case `$LD -v 2>&1` in
12592 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12593 ld_shlibs=no
12606 # For security reasons, it is highly recommended that you always
12607 # use absolute paths for naming shared libraries, and exclude the
12610 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12611 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12612 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12613 …hive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-s…
12615 ld_shlibs=no
12622 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12625 hardcode_shlibpath_var=no
12629 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12630 …archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $li…
12631 …expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-ret…
12633 ld_shlibs=no
12638 if test no = "$ld_shlibs"; then
12650 …archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_sym…
12652 # are no directories specified by -L.
12654 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12661 aix[4-9]*)
12665 aix_use_runtimelinking=no
12666 exp_sym_flag='-Bexport'
12669 # If we're using GNU nm, then we don't want the "-C" option.
12670 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12671 # Without the "-l" option, or with the "-B" option, AIX nm treats
12675 # it in the Import File for the 'aix-soname' feature, so we have
12676 # to replace the "-B" option with "-P" for AIX nm.
12677 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12678 …-Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$…
12680 …-e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ …
12682 aix_use_runtimelinking=no
12685 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12686 # have runtime linking enabled, and use it for executables.
12687 # For shared libraries, we enable/disable runtime linking
12688 # depending on the kind of the shared library created -
12690 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12691 # "aix,yes" lib.so shared, rtl:yes, for executables
12693 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12694 # lib.a(lib.so.V) shared, rtl:no, for executables
12695 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12696 # lib.a(lib.so.V) shared, rtl:no
12697 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12699 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12700 for ld_flag in $LDFLAGS; do
12701 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12706 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12707 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12711 LDFLAGS="$LDFLAGS -Wl,-brtl"
12716 exp_sym_flag='-bexport'
12717 no_entry_flag='-bnoentry'
12722 # or program results in "error TOC overflow" add -mminimal-toc to
12723 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12724 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12731 file_list_spec='$wl-f,'
12733 aix,*) ;; # traditional, no import file
12736 hardcode_direct=no
12737 hardcode_direct_absolute=no
12744 # below for broken collect2 doesn't work under 4.3+
12745 collect2name=`$CC -print-prog-name=collect2`
12746 if test -f "$collect2name" &&
12758 hardcode_libdir_flag_spec='-L$libdir'
12763 shared_flag='-shared'
12765 shared_flag="$shared_flag "'$wl-G'
12767 # Need to ensure runtime linking is disabled for the traditional
12769 # /with/ Import File - we do not want to mix them.
12770 shared_flag_aix='-shared'
12771 shared_flag_svr4='-shared $wl-G'
12775 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12776 # chokes on -Wl,-G. The following line is correct:
12777 shared_flag='-G'
12780 shared_flag='$wl-G'
12782 shared_flag='$wl-bM:SRE'
12784 shared_flag_aix='$wl-bM:SRE'
12785 shared_flag_svr4='$wl-G'
12789 export_dynamic_flag_spec='$wl-bexpall'
12790 # It seems that -bexpall does not export symbols beginning with
12794 # Warning - without using the other runtime loading flags (-brtl),
12795 # -berok will link without error, but may produce a broken library.
12796 allow_undefined_flag='-berok'
12805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12825 # Check for a 64-bit object if we didn't find anything.
12826 if test -z "$lt_cv_aix_libpath_"; then
12827 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12830 rm -f core conftest.err conftest.$ac_objext \
12832 if test -z "$lt_cv_aix_libpath_"; then
12841 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12842 …archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler…
12845 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12846 allow_undefined_flag="-z nodefs"
12847 …archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_ent…
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12877 # Check for a 64-bit object if we didn't find anything.
12878 if test -z "$lt_cv_aix_libpath_"; then
12879 … lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12882 rm -f core conftest.err conftest.$ac_objext \
12884 if test -z "$lt_cv_aix_libpath_"; then
12893 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12894 # Warning - without using the other run time loading flags,
12895 # -berok will link without error, but may produce a broken library.
12896 no_undefined_flag=' $wl-bernotok'
12897 allow_undefined_flag=' $wl-berok'
12899 # We only use this code for GNU lds that support --whole-archive.
12900 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12906 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12907 # -brtl affects multiple linker settings, -berok does not and is overridden later
12908 …compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%…
12911 …s"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$…
12914 …-o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compi…
12916 # used by -dlpreopen to get the symbols
12919 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12928 … archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12932 …r/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12933 hardcode_libdir_flag_spec='-L$libdir'
12940 export_dynamic_flag_spec=-rdynamic
12947 # no search path for DLLs.
12960 …archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$t…
12961 …st DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\…
12965 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12967 …$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.e…
12973 …objs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' …
12985 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12986 …$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || e…
12999 …archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'…
13003 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13012 archive_cmds_need_lc=no
13013 hardcode_direct=no
13017 …whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\…
13030 …archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flag…
13031 …module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt…
13032 …\$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobj…
13033 …le_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC…
13036 ld_shlibs=no
13042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13043 hardcode_libdir_flag_spec='-L$libdir'
13044 hardcode_shlibpath_var=no
13052 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13053 hardcode_libdir_flag_spec='-R$libdir'
13055 hardcode_shlibpath_var=no
13060 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13063 hardcode_shlibpath_var=no
13066 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13068 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13069 hardcode_libdir_flag_spec='-R$libdir'
13071 hardcode_shlibpath_var=no
13076 … -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_…
13078 …$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "…
13087 export_dynamic_flag_spec='$wl-E'
13091 if test yes,no = "$GCC,$with_gnu_ld"; then
13092 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
13094 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13096 if test no = "$with_gnu_ld"; then
13101 export_dynamic_flag_spec='$wl-E'
13109 if test yes,no = "$GCC,$with_gnu_ld"; then
13112 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs …
13118 …archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $de…
13124 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13127 …archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13131 # Older versions of the 11.00 compiler do not understand -b yet
13132 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
13134 $as_echo_n "checking if $CC understands -b... " >&6; }
13138 lt_cv_prog_compiler__b=no
13140 LDFLAGS="$LDFLAGS -b"
13142 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13144 # So say no if there are warnings
13145 if test -s conftest.err; then
13146 # Append any errors to the config.log.
13157 $RM -r conftest*
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
13165 …archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler…
13167 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13173 if test no = "$with_gnu_ld"; then
13179 hardcode_direct=no
13180 hardcode_shlibpath_var=no
13185 export_dynamic_flag_spec='$wl-E'
13197 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
13198 # Try to use the -exported_symbol ld option, if it does not
13199 # work, assume that -exports_file does not work either and
13201 # This should be the same for all languages, so no per-tag cache variable.
13202 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_sy…
13203 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
13208 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13216 lt_cv_irix_exported_symbol=no
13218 rm -f core conftest.err conftest.$ac_objext \
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13225 …-shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" &&…
13227 link_all_deplibs=no
13229 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
13230 …-shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "…
13232 archive_cmds_need_lc='no'
13233 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13244 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13249 netbsd* | netbsdelf*-gnu)
13250 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13251 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13253 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13255 hardcode_libdir_flag_spec='-R$libdir'
13257 hardcode_shlibpath_var=no
13261 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13263 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13265 hardcode_shlibpath_var=no
13272 if test -f /usr/libexec/ld.so; then
13274 hardcode_shlibpath_var=no
13276 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13277 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13278 …archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-sy…
13279 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13280 export_dynamic_flag_spec='$wl-E'
13282 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13283 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13286 ld_shlibs=no
13291 hardcode_libdir_flag_spec='-L$libdir'
13300 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13301 emximp -o $lib $output_objdir/$libname.def'
13308 prefix_cmds="$prefix_cmds -e 1d";
13310 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13312 …$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$lib…
13313 emximp -o $lib $output_objdir/$libname.def'
13314 … old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13320 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13321 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$ve…
13323 allow_undefined_flag=' -expect_unresolved \*'
13324 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstrin…
13326 archive_cmds_need_lc='no'
13327 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13331 osf4* | osf5*) # as osf3* with the addition of -msym flag
13333 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13334 …-shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$s…
13335 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13337 allow_undefined_flag=' -expect_unresolved \*'
13338 …-shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$ve…
13339 …rchive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >>…
13340 …-shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $sona…
13342 # Both c and cxx compiler support -rpath directly
13343 hardcode_libdir_flag_spec='-rpath $libdir'
13345 archive_cmds_need_lc='no'
13350 no_undefined_flag=' -z defs'
13353 …archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $co…
13354 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13355 …$CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs…
13357 case `$CC -V 2>&1` in
13360 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13361 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13362 …$LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $li…
13366 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13367 …archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> …
13368 …$CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $…
13372 hardcode_libdir_flag_spec='-R$libdir'
13373 hardcode_shlibpath_var=no
13375 solaris2.[0-5] | solaris2.[0-5].*) ;;
13378 # but understands '-z linker_flag'. GCC discards it without '$wl',
13382 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13384 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13395 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13397 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13399 hardcode_libdir_flag_spec='-L$libdir'
13402 hardcode_shlibpath_var=no
13408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13414 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13415 reload_cmds='$CC -r -o $output$reload_objs'
13416 hardcode_direct=no
13419 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13420 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13424 hardcode_shlibpath_var=no
13428 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13429 hardcode_shlibpath_var=no
13430 export_dynamic_flag_spec='-Bexport'
13434 if test -d /usr/nec; then
13435 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13436 hardcode_shlibpath_var=no
13444 no_undefined_flag='$wl-z,text'
13445 archive_cmds_need_lc=no
13446 hardcode_shlibpath_var=no
13450 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13451 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
13453 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13454 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
13459 # Note: We CANNOT use -z defs as we might desire, because we do not
13460 # link with -lc, and that would cause any symbols used from libc to
13461 # always be unresolved, which means just about no library would
13462 # ever link correctly. If we're not using GNU ld we use -z text
13463 # though, which does catch some bad symbols but isn't as heavy-handed
13464 # as -z defs.
13465 no_undefined_flag='$wl-z,text'
13466 allow_undefined_flag='$wl-z,nodefs'
13467 archive_cmds_need_lc=no
13468 hardcode_shlibpath_var=no
13469 hardcode_libdir_flag_spec='$wl-R,$libdir'
13472 export_dynamic_flag_spec='$wl-Bexport'
13476 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13477 …archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $depli…
13479 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13480 …archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $c…
13485 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13486 hardcode_libdir_flag_spec='-L$libdir'
13487 hardcode_shlibpath_var=no
13491 ld_shlibs=no
13498 export_dynamic_flag_spec='$wl-Blargedynsym'
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13506 test no = "$ld_shlibs" && can_build_shared=no
13529 # Assume -lc should be added
13535 # FIXME: we may have to deal with multi-command sequences.
13538 # Test whether the compiler implicitly links with -lc since on some
13539 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13540 # to ld, don't add -lc before -lgcc.
13541 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13542 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13549 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13560 compiler_flags=-v
13561 linker_flags=-v
13567 …if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/d…
13568 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13573 lt_cv_archive_cmds_need_lc=no
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13753 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13756 …lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_s…
13760 # otherwise default to the standard path separator (i.e. ":") - it is
13761 # assumed that no part of a normal pathname contains ";" but that should
13772 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13774 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13780 for lt_sys_path in $lt_search_path_spec; do
13781 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13783 elif test -n "$lt_multi_os_dir"; then
13784 test -d "$lt_sys_path" && \
13792 for (lt_i = NF; lt_i > 0; lt_i--) {
13800 lt_count--;
13809 # for these hosts.
13812 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13832 hardcode_into_libs=no
13834 # when you set need_version to no, make sure it does not cause -set_version
13846 # AIX 3 has no versioning support, so we append a major version to the name.
13850 aix[4-9]*)
13852 need_lib_prefix=no
13853 need_version=no
13861 # for dependence libraries. The import file would start with
13869 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13872 can_build_shared=no
13877 # filename-based versioning of shared library archives on AIX. While
13878 # this would work for both with and without runtime linking, it will
13879 # prevent static linking of such archives. So we do filename-based
13884 # versioned .so libs for executables only if there is the -brtl
13885 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13886 # To allow for filename-based versioning support, we need to create
13896 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13899 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13909 aix,no) # traditional AIX only
13911 # We preserve .a as extension for shared libraries through AIX4.2
13926 …-n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$…
13927 …postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~…
13931 *,no) # both, prefer aix
13936 …-z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z …
13937 …postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_librar…
13948 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13954 …finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $…
13967 need_version=no
13976 # libtool to hard-code these into programs
13982 need_version=no
13983 need_lib_prefix=no
13991 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13993 test -d \$dldir || mkdir -p \$dldir~
13996 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13999 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14007 …soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix…
14013 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14017 …library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$ver…
14026 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
14034 for lt_path in $LIB
14038 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14043 …_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g…
14047 # but this time dos style (no spaces!) so that the unix form looks
14049 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14050 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14051 …sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEP…
14055 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14057 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14059 … sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14062 # common. (e.g. "Program Files" -> "PROGRA~1")
14068 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
14070 test -d \$dldir || mkdir -p \$dldir~
14072 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14081 …library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.li…
14092 need_lib_prefix=no
14093 need_version=no
14106 need_lib_prefix=no
14107 need_version=no
14116 if test -x /usr/bin/objformat; then
14124 version_type=freebsd-$objformat
14126 freebsd-elf*)
14129 need_version=no
14130 need_lib_prefix=no
14132 freebsd-*)
14146 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14147 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14148 shlibpath_overrides_runpath=no
14160 need_lib_prefix=no
14161 need_version=no
14166 shlibpath_overrides_runpath=no
14167 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14175 need_lib_prefix=no
14176 need_version=no
14209 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14214 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14220 interix[3-9]*)
14222 need_lib_prefix=no
14223 need_version=no
14228 shlibpath_overrides_runpath=no
14242 need_lib_prefix=no
14243 need_version=no
14252 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14253 libsuff= shlibsuff= libmagic=32-bit;;
14254 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14256 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14257 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14258 *) libsuff= shlibsuff= libmagic=never-match;;
14263 shlibpath_overrides_runpath=no
14269 # No shared lib support for Linux oldld, aout, or coff.
14271 dynamic_linker=no
14276 need_lib_prefix=no
14277 need_version=no
14284 # This implies no fast_install, which is unacceptable.
14285 # Some rework will be needed to allow for fast_install
14290 # Don't embed -rpath directories since the linker doesn't support them.
14291 hardcode_libdir_flag_spec='-L$libdir'
14295 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14297 need_lib_prefix=no
14298 need_version=no
14301 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14303 shlibpath_overrides_runpath=no
14309 lt_cv_shlibpath_overrides_runpath=no
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14325 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14329 rm -f core conftest.err conftest.$ac_objext \
14338 # This implies no fast_install, which is unacceptable.
14339 # Some rework will be needed to allow for fast_install
14344 # searched for libraries, however this is still not possible. Aside from not
14346 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14347 # even though it is searched at run-time. Try to do the best guess by
14349 if test -f /etc/ld.so.conf; then
14350 …; skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwc…
14354 # We used to test for /lib/ld.so.1 and disable shared libraries on
14357 # most powerpc-linux boxes support dynamic linking these days and
14358 # people can always --disable-shared, the test was removed, and we
14363 netbsdelf*-gnu)
14365 need_lib_prefix=no
14366 need_version=no
14370 shlibpath_overrides_runpath=no
14377 need_lib_prefix=no
14378 need_version=no
14379 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14381 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14402 need_lib_prefix=no
14403 need_version=no
14407 shlibpath_overrides_runpath=no
14415 need_lib_prefix=no
14416 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14417 need_version=no
14422 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14431 need_version=no
14432 need_lib_prefix=no
14434 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14435 v=$($ECHO $release$versuffix | tr -d .-);
14436 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14444 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14446 test -d \$dldir || mkdir -p \$dldir~
14449 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14452 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14459 need_lib_prefix=no
14460 need_version=no
14469 dynamic_linker=no
14474 need_lib_prefix=no
14475 need_version=no
14492 need_lib_prefix=no
14504 shlibpath_overrides_runpath=no
14505 need_lib_prefix=no
14509 need_lib_prefix=no
14512 need_lib_prefix=no
14513 need_version=no
14514 shlibpath_overrides_runpath=no
14521 if test -d /usr/nec; then
14531 need_lib_prefix=no
14532 need_version=no
14552 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14554 need_lib_prefix=no
14555 need_version=no
14558 shlibpath_overrides_runpath=no
14570 dynamic_linker=no
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14575 test no = "$dynamic_linker" && can_build_shared=no
14590 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14593 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14698 if test -n "$hardcode_libdir_flag_spec" ||
14699 test -n "$runpath_var" ||
14702 # We can hardcode non-existent directories.
14703 if test no != "$hardcode_direct" &&
14706 # when we should be linking with a yet-to-be-installed one
14707 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14708 test no != "$hardcode_minus_L"; then
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14726 enable_fast_install=no
14728 test no = "$enable_shared"; then
14743 lt_cv_dlopen=no
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14771 LIBS="-ldl $LIBS"
14772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 ac_cv_lib_dl_dlopen=no
14792 rm -f core conftest.err conftest.$ac_objext \
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14799 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14811 # Don't try to run any link tests for TPF. We know it's impossible
14812 # because TPF is a cross-compiler, and we know how we open DSOs.
14815 lt_cv_dlopen_self=no
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14824 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14829 LIBS="-ldld $LIBS"
14830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 ac_cv_lib_dld_shl_load=no
14850 rm -f core conftest.err conftest.$ac_objext \
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14857 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14864 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14869 LIBS="-ldl $LIBS"
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 ac_cv_lib_dl_dlopen=no
14890 rm -f core conftest.err conftest.$ac_objext \
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14897 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14900 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14905 LIBS="-lsvld $LIBS"
14906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 ac_cv_lib_svld_dlopen=no
14926 rm -f core conftest.err conftest.$ac_objext \
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14933 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14936 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14941 LIBS="-ldld $LIBS"
14942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 ac_cv_lib_dld_dld_link=no
14962 rm -f core conftest.err conftest.$ac_objext \
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14969 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14990 if test no = "$lt_cv_dlopen"; then
14991 enable_dlopen=no
14999 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
15059 /* When -fvisibility=hidden is used, assume the code has been annotated
15060 correspondingly for the symbols needed. */
15087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15091 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15097 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
15101 lt_cv_dlopen_self=no
15104 rm -fr conftest*
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
15113 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen i…
15165 /* When -fvisibility=hidden is used, assume the code has been annotated
15166 correspondingly for the symbols needed. */
15193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15197 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
15203 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
15207 lt_cv_dlopen_self_static=no
15210 rm -fr conftest*
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15225 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15230 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15255 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15256 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15257 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15261 # FIXME - insert some real tests, host_os isn't really good enough
15264 if test -n "$STRIP"; then
15265 striplib="$STRIP -x"
15266 old_striplib="$STRIP -S"
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15271 $as_echo "no" >&6; }
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15276 $as_echo "no" >&6; }
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15300 test no = "$can_build_shared" && enable_shared=no
15306 test yes = "$enable_shared" && enable_static=no
15307 if test -n "$RANLIB"; then
15313 aix[4-9]*)
15318 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15338 ac_cpp='$CPP $CPPFLAGS'
15339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15367 ## --------------------- ##
15369 ## --------------------- ##
15398 # Verify if libtool shared libraries should be linked using flag -version-info
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -version-i…
15402 $as_echo_n "checking whether to build shared libraries with -version-info... " >&6; }
15405 xc_lt_shlib_use_version_info='no'
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_version_info" >&5
15416 # Verify if libtool shared libraries should be linked using flag -no-undefined
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -no-undefi…
15420 $as_echo_n "checking whether to build shared libraries with -no-undefined... " >&6; }
15421 xc_lt_shlib_use_no_undefined='no'
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_no_undefined" >&5
15436 # Verify if libtool shared libraries should be linked using flag -mimpure-text
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with -mimpure-t…
15440 $as_echo_n "checking whether to build shared libraries with -mimpure-text... " >&6; }
15441 xc_lt_shlib_use_mimpure_text='no'
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_shlib_use_mimpure_text" >&5
15459 xc_lt_build_static_with_pic='no'
15466 xc_lt_build_shared_with_pic='no'
15467 xc_lt_build_static_with_pic='no'
15472 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unexpected libtool pic_mode value: $pic_mode" >&5
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries with PIC" >&5
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_with_pic" >&5
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries with PIC" >&5
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_with_pic" >&5
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries only" >&5
15492 test "$xc_lt_build_static" = 'no'; then
15495 xc_lt_build_shared_only='no'
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_shared_only" >&5
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries only" >&5
15507 test "$xc_lt_build_shared" = 'no'; then
15510 xc_lt_build_static_only='no'
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xc_lt_build_static_only" >&5
15549 # specifying separate CPPFLAGS or CFLAGS when compiling objects for
15551 # build using separate configure runs for shared and static libraries
15553 # to compile objects for each kind of library. Notice that relying on
15554 # the '-DPIC' CFLAG that libtool provides is not valid given that the
15555 # user might for example choose to build static libraries with PIC.
15580 CPPFLAG_CURL_STATICLIB='-DCURL_STATICLIB'
15586 if test "X$enable_shared" = "Xyes" -a "X$link_all_deplibs" = "Xno"
15588 REQUIRE_LIB_DEPS=no
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15603 $as_echo_n "checking for inline... " >&6; }
15607 ac_cv_c_inline=no
15608 for ac_kw in inline __inline__ __inline; do
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 test "$ac_cv_c_inline" != no && break
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15633 no) ac_val=;;
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cpp -P is needed" >&5
15648 $as_echo_n "checking if cpp -P is needed... " >&6; }
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 cpp=no
15660 cpp=yes
15662 rm -f conftest*
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpp" >&5
15665 $as_echo "$cpp" >&6; }
15667 if test "x$cpp" = "xyes"; then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cpp -P works" >&5
15669 $as_echo_n "checking if cpp -P works... " >&6; }
15671 CPPFLAGS="$CPPFLAGS -P"
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 cpp_p=no
15685 rm -f conftest*
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cpp_p" >&5
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to figure out cpp -P alternative" >&5
15692 $as_echo "$as_me: WARNING: failed to figure out cpp -P alternative" >&2;}
15693 # without -P
15696 # with -P
15697 CPPPFLAG="-P"
15701 # without -P
15717 flags_prefer_cppflags="no"
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
15726 if test -z "$SED"; then
15729 if test -z "$GREP"; then
15734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
15755 rm -f conftest.err conftest.i conftest.$ac_ext
15756 if test -z "$tmp_exp"; then
15757 curl_cv_have_def___DECC=no
15770 if test -z "$SED"; then
15773 if test -z "$GREP"; then
15778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
15799 rm -f conftest.err conftest.i conftest.$ac_ext
15800 if test -z "$tmp_exp"; then
15801 curl_cv_have_def___DECC_VER=no
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15815 flags_dbg_all="-g -g0 -g1 -g2 -g3"
15816 flags_dbg_yes="-g2"
15818 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
15819 flags_opt_yes="-O1"
15820 flags_opt_off="-O0"
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15823 $as_echo "no" >&6; }
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
15828 $as_echo_n "checking if compiler is HP-UX C... " >&6; }
15833 if test -z "$SED"; then
15836 if test -z "$GREP"; then
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15857 if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
15862 rm -f conftest.err conftest.i conftest.$ac_ext
15863 if test -z "$tmp_exp"; then
15864 curl_cv_have_def___HP_cc=no
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15877 flags_dbg_all="-g -s"
15878 flags_dbg_yes="-g"
15879 flags_dbg_off="-s"
15880 flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15885 $as_echo "no" >&6; }
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
15895 if test -z "$SED"; then
15898 if test -z "$GREP"; then
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15919 if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
15924 rm -f conftest.err conftest.i conftest.$ac_ext
15925 if test -z "$tmp_exp"; then
15926 curl_cv_have_def___IBMC__=no
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15939 flags_dbg_all="-g -g0 -g1 -g2 -g3"
15940 flags_dbg_yes="-g"
15942 flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
15943 flags_opt_all="$flags_opt_all -qnooptimize"
15944 flags_opt_all="$flags_opt_all -qoptimize=0"
15945 flags_opt_all="$flags_opt_all -qoptimize=1"
15946 flags_opt_all="$flags_opt_all -qoptimize=2"
15947 flags_opt_all="$flags_opt_all -qoptimize=3"
15948 flags_opt_all="$flags_opt_all -qoptimize=4"
15949 flags_opt_all="$flags_opt_all -qoptimize=5"
15950 flags_opt_yes="-O2"
15951 flags_opt_off="-qnooptimize"
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15955 $as_echo "no" >&6; }
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
15965 if test -z "$SED"; then
15968 if test -z "$GREP"; then
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
15994 rm -f conftest.err conftest.i conftest.$ac_ext
15995 if test -z "$tmp_exp"; then
15996 curl_cv_have_def___INTEL_COMPILER=no
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16013 if test -z "$SED"; then
16016 if test -z "$GREP"; then
16021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
16042 rm -f conftest.err conftest.i conftest.$ac_ext
16043 if test -z "$tmp_exp"; then
16044 curl_cv_have_def___unix__=no
16055 flags_dbg_all="-g -g0"
16056 flags_dbg_yes="-g"
16058 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
16059 flags_opt_yes="-O2"
16060 flags_opt_off="-O0"
16063 flags_dbg_all="/ZI /Zi /zI /zi /ZD /Zd /zD /zd /Z7 /z7 /Oy /Oy-"
16071 flags_dbg_yes="/Zi /Oy-"
16072 flags_dbg_off="/debug:none /Oy-"
16073 flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16079 $as_echo "no" >&6; }
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
16089 if test -z "$SED"; then
16092 if test -z "$GREP"; then
16097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16113 if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
16118 rm -f conftest.err conftest.i conftest.$ac_ext
16119 if test -z "$tmp_exp"; then
16120 curl_cv_have_def___clang__=no
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
16138 if test -z "$SED"; then
16141 if test -z "$GREP"; then
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16162 if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
16167 rm -f conftest.err conftest.i conftest.$ac_ext
16168 if test -z "$tmp_exp"; then
16169 curl_cv_have_def___ibmxl__=no
16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184 $as_echo "no" >&6; }
16187 fullclangver=`$CC -v 2>&1 | grep version`
16188 …clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*…
16189 if test -z "$clangver"; then
16193 clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
16196 clangvhi=`echo $clangver | cut -d . -f1`
16197 clangvlo=`echo $clangver | cut -d . -f2`
16199 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16200 flags_dbg_all="$flags_dbg_all -ggdb"
16201 flags_dbg_all="$flags_dbg_all -gstabs"
16202 flags_dbg_all="$flags_dbg_all -gstabs+"
16203 flags_dbg_all="$flags_dbg_all -gcoff"
16204 flags_dbg_all="$flags_dbg_all -gxcoff"
16205 flags_dbg_all="$flags_dbg_all -gdwarf-2"
16206 flags_dbg_all="$flags_dbg_all -gvms"
16207 flags_dbg_yes="-g"
16209 flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
16210 flags_opt_yes="-Os"
16211 flags_opt_off="-O0"
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16214 $as_echo "no" >&6; }
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
16224 if test -z "$SED"; then
16227 if test -z "$GREP"; then
16232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
16253 rm -f conftest.err conftest.i conftest.$ac_ext
16254 if test -z "$tmp_exp"; then
16255 curl_cv_have_def___GNUC__=no
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16269 gccver=`$CC -dumpversion`
16270 gccvhi=`echo $gccver | cut -d . -f1`
16271 gccvlo=`echo $gccver | cut -d . -f2`
16273 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16274 flags_dbg_all="$flags_dbg_all -ggdb"
16275 flags_dbg_all="$flags_dbg_all -gstabs"
16276 flags_dbg_all="$flags_dbg_all -gstabs+"
16277 flags_dbg_all="$flags_dbg_all -gcoff"
16278 flags_dbg_all="$flags_dbg_all -gxcoff"
16279 flags_dbg_all="$flags_dbg_all -gdwarf-2"
16280 flags_dbg_all="$flags_dbg_all -gvms"
16281 flags_dbg_yes="-g"
16283 flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
16284 flags_opt_yes="-O2"
16285 flags_opt_off="-O0"
16290 if test -z "$SED"; then
16293 if test -z "$GREP"; then
16298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then
16319 rm -f conftest.err conftest.i conftest.$ac_ext
16320 if test -z "$tmp_exp"; then
16321 curl_cv_have_def__WIN32=no
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16332 $as_echo "no" >&6; }
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5
16342 if test -z "$SED"; then
16345 if test -z "$GREP"; then
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366 if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then
16371 rm -f conftest.err conftest.i conftest.$ac_ext
16372 if test -z "$tmp_exp"; then
16373 curl_cv_have_def___LCC__=no
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16386 flags_dbg_all="-g"
16387 flags_dbg_yes="-g"
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16394 $as_echo "no" >&6; }
16398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
16404 if test -z "$SED"; then
16407 if test -z "$GREP"; then
16412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
16433 rm -f conftest.err conftest.i conftest.$ac_ext
16434 if test -z "$tmp_exp"; then
16435 curl_cv_have_def___GNUC__=no
16448 if test -z "$SED"; then
16451 if test -z "$GREP"; then
16456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
16477 rm -f conftest.err conftest.i conftest.$ac_ext
16478 if test -z "$tmp_exp"; then
16479 curl_cv_have_def__COMPILER_VERSION=no
16492 if test -z "$SED"; then
16495 if test -z "$GREP"; then
16500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
16521 rm -f conftest.err conftest.i conftest.$ac_ext
16522 if test -z "$tmp_exp"; then
16523 curl_cv_have_def__SGI_COMPILER_VERSION=no
16532 if test "$curl_cv_have_def___GNUC__" = "no" &&
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16538 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16539 flags_dbg_yes="-g"
16541 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
16542 flags_opt_yes="-O2"
16543 flags_opt_off="-O0"
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16546 $as_echo "no" >&6; }
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
16556 if test -z "$SED"; then
16559 if test -z "$GREP"; then
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16580 if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
16585 rm -f conftest.err conftest.i conftest.$ac_ext
16586 if test -z "$tmp_exp"; then
16587 curl_cv_have_def___GNUC__=no
16600 if test -z "$SED"; then
16603 if test -z "$GREP"; then
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
16629 rm -f conftest.err conftest.i conftest.$ac_ext
16630 if test -z "$tmp_exp"; then
16631 curl_cv_have_def___sgi=no
16640 if test "$curl_cv_have_def___GNUC__" = "no" &&
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16646 flags_dbg_all="-g -g0 -g1 -g2 -g3"
16647 flags_dbg_yes="-g"
16649 flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
16650 flags_opt_yes="-O2"
16651 flags_opt_off="-O0"
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16654 $as_echo "no" >&6; }
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
16664 if test -z "$SED"; then
16667 if test -z "$GREP"; then
16672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
16693 rm -f conftest.err conftest.i conftest.$ac_ext
16694 if test -z "$tmp_exp"; then
16695 curl_cv_have_def___SUNPRO_C=no
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16708 flags_dbg_all="-g -s"
16709 flags_dbg_yes="-g"
16710 flags_dbg_off="-s"
16711 flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
16712 flags_opt_yes="-xO2"
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16716 $as_echo "no" >&6; }
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
16726 if test -z "$SED"; then
16729 if test -z "$GREP"; then
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
16755 rm -f conftest.err conftest.i conftest.$ac_ext
16756 if test -z "$tmp_exp"; then
16757 curl_cv_have_def___TINYC__=no
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16770 flags_dbg_all="-g -b"
16771 flags_dbg_yes="-g"
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16778 $as_echo "no" >&6; }
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is Watcom C" >&5
16788 if test -z "$SED"; then
16791 if test -z "$GREP"; then
16796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 if test -z "$tmp_exp" || test "$tmp_exp" = "__WATCOMC__"; then
16817 rm -f conftest.err conftest.i conftest.$ac_ext
16818 if test -z "$tmp_exp"; then
16819 curl_cv_have_def___WATCOMC__=no
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16835 if test -z "$SED"; then
16838 if test -z "$GREP"; then
16843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 if test -z "$tmp_exp" || test "$tmp_exp" = "__UNIX__"; then
16864 rm -f conftest.err conftest.i conftest.$ac_ext
16865 if test -z "$tmp_exp"; then
16866 curl_cv_have_def___UNIX__=no
16877 flags_dbg_all="-g1 -g1+ -g2 -g3"
16878 flags_dbg_yes="-g2"
16880 flags_opt_all="-O0 -O1 -O2 -O3"
16881 flags_opt_yes="-O2"
16882 flags_opt_off="-O0"
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16894 $as_echo "no" >&6; }
16905 *** Whatever settings are present in CFLAGS will be used for this run.
16909 *** mailing list: https://cool.haxx.se/mailman/listinfo/curl-library/
16918 for _sqz_token in $_sqz_input; do
16919 if test -z "$_sqz_result"; then
16938 tmp_has_include="no"
16940 for word1 in $tmp_chg_FLAGS; do
16942 -I*)
16948 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
16949 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
16953 tmp_has_include="no"
16955 for word1 in $tmp_chg_FLAGS; do
16957 -I*)
16963 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/^-I/ -isystem /g'`
16964 tmp_chg_FLAGS=`echo "$tmp_chg_FLAGS" | "$SED" 's/ -I/ -isystem /g'`
16981 tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
16986 tmp_CFLAGS="$tmp_CFLAGS -std1"
16987 tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
16988 tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
16989 tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
16994 if test "$compiler_num" -ge "295"; then
16995 tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
17001 tmp_CFLAGS="$tmp_CFLAGS -z"
17007 tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
17008 tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
17009 tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
17014 tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
17015 tmp_CPPFLAGS="$tmp_CPPFLAGS -we140,147,165,266"
17016 tmp_CPPFLAGS="$tmp_CPPFLAGS -wd279,981,1469"
17026 tmp_CFLAGS="$tmp_CFLAGS -n"
17064 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 tmp_compiler_works="no"
17097 sed 's/^/cc-fail: /' conftest.err >&6
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 tmp_compiler_works="no"
17127 sed 's/^/link-fail: /' conftest.err >&6
17131 rm -f core conftest.err conftest.$ac_objext \
17142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17145 See \`config.log' for more details" "$LINENO" 5; }
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 tmp_compiler_works="no"
17172 echo "run-fail: test program exited with status $ac_status" >&6
17176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17187 … { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17193 $as_echo "no" >&6; }
17194 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPF…
17217 for word1 in $tmp_CFLAGS; do
17218 ac_var_strip_word="no"
17219 for word2 in $flags_dbg_all; do
17224 if test "$ac_var_strip_word" = "no"; then
17233 for word1 in $tmp_CPPFLAGS; do
17234 ac_var_strip_word="no"
17235 for word2 in $flags_dbg_all; do
17240 if test "$ac_var_strip_word" = "no"; then
17249 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5
17253 if test "$want_debug" = "no"; then
17254 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug disabling options" >&5
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17292 tmp_compiler_works="no"
17294 sed 's/^/cc-fail: /' conftest.err >&6
17298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17322 tmp_compiler_works="no"
17324 sed 's/^/link-fail: /' conftest.err >&6
17328 rm -f core conftest.err conftest.$ac_objext \
17339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17342 See \`config.log' for more details" "$LINENO" 5; }
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367 tmp_compiler_works="no"
17369 echo "run-fail: test program exited with status $ac_status" >&6
17373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17390 $as_echo "no" >&6; }
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
17416 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be u…
17420 ac_var_match_word="no"
17421 for word1 in $tmp_CFLAGS; do
17422 for word2 in $flags_opt_all; do
17431 honor_optimize_option="no"
17438 ac_var_match_word="no"
17439 for word1 in $tmp_CPPFLAGS; do
17440 for word2 in $flags_opt_all; do
17449 honor_optimize_option="no"
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
17461 want_optimize="no"
17469 for word1 in $tmp_CFLAGS; do
17470 ac_var_strip_word="no"
17471 for word2 in $flags_opt_all; do
17476 if test "$ac_var_strip_word" = "no"; then
17485 for word1 in $tmp_CPPFLAGS; do
17486 ac_var_strip_word="no"
17487 for word2 in $flags_opt_all; do
17492 if test "$ac_var_strip_word" = "no"; then
17500 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" …
17504 if test "$want_optimize" = "no"; then
17505 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options"…
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17542 tmp_compiler_works="no"
17544 sed 's/^/cc-fail: /' conftest.err >&6
17548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 tmp_compiler_works="no"
17574 sed 's/^/link-fail: /' conftest.err >&6
17578 rm -f core conftest.err conftest.$ac_objext \
17589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17592 See \`config.log' for more details" "$LINENO" 5; }
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 tmp_compiler_works="no"
17619 echo "run-fail: test program exited with status $ac_status" >&6
17623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17640 $as_echo "no" >&6; }
17641 … { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
17666 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
17667 tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
17668 tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings"
17669 tmp_CFLAGS="$tmp_CFLAGS -Wshadow"
17670 tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs"
17671 tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations"
17672 tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes"
17673 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
17674 tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal"
17675 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare"
17676 tmp_CFLAGS="$tmp_CFLAGS -Wundef"
17677 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
17678 tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes"
17679 tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
17680 tmp_CFLAGS="$tmp_CFLAGS -Wcast-align"
17681 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
17682 tmp_CFLAGS="$tmp_CFLAGS -Wshorten-64-to-32"
17684 if test "$compiler_num" -ge "101"; then
17685 tmp_CFLAGS="$tmp_CFLAGS -Wunused"
17688 if test "$compiler_num" -ge "208"; then
17689 tmp_CFLAGS="$tmp_CFLAGS -Wvla"
17692 if test "$compiler_num" -ge "209"; then
17693 tmp_CFLAGS="$tmp_CFLAGS -Wshift-sign-overflow"
17696 if test "$compiler_num" -ge "302"; then
17701 tmp_CFLAGS="$tmp_CFLAGS -Wmissing-variable-declarations"
17706 if test "$compiler_num" -ge "306"; then
17707 tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
17710 if test "$compiler_num" -ge "309"; then
17711 tmp_CFLAGS="$tmp_CFLAGS -Wcomma"
17714 if test "$compiler_num" -lt "400"; then
17715 tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
17724 tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
17733 test "$compiler_num" -ge "300"; then
17734 tmp_CFLAGS="$tmp_CFLAGS -pedantic"
17737 tmp_CFLAGS="$tmp_CFLAGS -Wall -W"
17739 if test "$compiler_num" -ge "104"; then
17740 tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings"
17742 test "$compiler_num" -ge "300"; then
17743 tmp_CFLAGS="$tmp_CFLAGS -Wunused -Wshadow"
17747 if test "$compiler_num" -ge "207"; then
17748 tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs"
17750 test "$compiler_num" -ge "300"; then
17751 tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations"
17752 tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes"
17756 if test "$compiler_num" -ge "295"; then
17757 tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
17758 tmp_CFLAGS="$tmp_CFLAGS -Wbad-function-cast"
17761 if test "$compiler_num" -ge "296"; then
17762 tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal"
17763 tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare"
17764 tmp_CFLAGS="$tmp_CFLAGS -Wundef"
17767 if test "$compiler_num" -ge "297"; then
17768 tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
17771 if test "$compiler_num" -ge "300"; then
17775 if test "$compiler_num" -ge "303"; then
17776 tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes"
17779 if test "$compiler_num" -ge "304"; then
17780 tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
17781 tmp_CFLAGS="$tmp_CFLAGS -Wold-style-definition"
17784 if test "$compiler_num" -ge "400"; then
17785 tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
17788 if test "$compiler_num" -ge "402"; then
17789 tmp_CFLAGS="$tmp_CFLAGS -Wcast-align"
17792 if test "$compiler_num" -ge "403"; then
17793 tmp_CFLAGS="$tmp_CFLAGS -Wtype-limits -Wold-style-declaration"
17794 tmp_CFLAGS="$tmp_CFLAGS -Wmissing-parameter-type -Wempty-body"
17795 tmp_CFLAGS="$tmp_CFLAGS -Wclobbered -Wignored-qualifiers"
17796 tmp_CFLAGS="$tmp_CFLAGS -Wconversion -Wno-sign-conversion -Wvla"
17797 tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
17800 if test "$compiler_num" -ge "405"; then
17802 tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
17806 if test "$compiler_num" -ge "406"; then
17807 tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
17810 if test "$compiler_num" -ge "408"; then
17811 tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
17814 if test "$compiler_num" -ge "500"; then
17815 tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
17818 if test "$compiler_num" -ge "600"; then
17819 tmp_CFLAGS="$tmp_CFLAGS -Wshift-negative-value"
17820 tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
17821 tmp_CFLAGS="$tmp_CFLAGS -Wnull-dereference -fdelete-null-pointer-checks"
17822 tmp_CFLAGS="$tmp_CFLAGS -Wduplicated-cond"
17823 tmp_CFLAGS="$tmp_CFLAGS -Wunused-const-variable"
17826 if test "$compiler_num" -ge "700"; then
17827 tmp_CFLAGS="$tmp_CFLAGS -Wduplicated-branches"
17828 tmp_CFLAGS="$tmp_CFLAGS -Wrestrict"
17829 tmp_CFLAGS="$tmp_CFLAGS -Walloc-zero"
17830 tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
17831 tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
17832 tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
17837 if test "$compiler_num" -ge "300"; then
17838 tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
17841 if test "$compiler_num" -ge "104"; then
17842 tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
17844 if test "$compiler_num" -ge "207"; then
17845 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
17846 tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
17867 if test "$compiler_num" -gt "600"; then
17868 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
17869 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
17870 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
17871 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
17872 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
17873 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
17874 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
17875 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
17876 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
17877 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
17878 tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
17881 tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
17882 tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
17883 tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
17884 if test "$compiler_num" -ge "1000"; then
17885 tmp_CFLAGS="$tmp_CFLAGS -vec-report0"
17904 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
17911 tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
17912 tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
17919 tmp_CFLAGS="$tmp_CFLAGS -v"
17926 tmp_CFLAGS="$tmp_CFLAGS -Wall"
17927 tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings"
17928 tmp_CFLAGS="$tmp_CFLAGS -Wunsupported"
17935 tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
17949 if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
17950 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17980 tmp_compiler_works="no"
17982 sed 's/^/cc-fail: /' conftest.err >&6
17986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 tmp_compiler_works="no"
18012 sed 's/^/link-fail: /' conftest.err >&6
18016 rm -f core conftest.err conftest.$ac_objext \
18027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18030 See \`config.log' for more details" "$LINENO" 5; }
18032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 tmp_compiler_works="no"
18057 echo "run-fail: test program exited with status $ac_status" >&6
18061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18072 … { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18078 $as_echo "no" >&6; }
18079 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPF…
18093 if test "$compiler_num" -ge "1000"; then
18094 CFLAGS="$CFLAGS -shared-intel"
18095 elif test "$compiler_num" -ge "900"; then
18096 CFLAGS="$CFLAGS -i-dynamic"
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
18104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18122 $as_echo "no" >&6; }
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on negative sized arrays" >&5
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18155 $as_echo "no" >&6; }
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18167 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on function prototype mismatch…
18169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18199 $as_echo "no" >&6; }
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports hiding library internal sym…
18213 supports_symbol_hiding="no"
18221 tmp_CFLAGS="-fvisibility=hidden"
18225 if test "$compiler_num" -ge "304"; then
18226 if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then
18228 tmp_CFLAGS="-fvisibility=hidden"
18234 if test "$compiler_num" -ge "900"; then
18235 if $CC --help --verbose 2>&1 | grep fvisibility= > /dev/null ; then
18237 CFLAGS="$CFLAGS -fvisibility=hidden"
18238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 tmp_CFLAGS="-fvisibility=hidden"
18261 rm -f core conftest.err conftest.$ac_objext \
18268 if $CC 2>&1 | grep flags >/dev/null && $CC -flags | grep xldscope= >/dev/null ; then
18270 tmp_CFLAGS="-xldscope=hidden"
18279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 if test -f conftest.err; then
18310 if test "$?" -eq "0"; then
18311 supports_symbol_hiding="no"
18317 supports_symbol_hiding="no"
18319 sed 's/^/cc-src: /' conftest.$ac_ext >&6
18320 sed 's/^/cc-err: /' conftest.err >&6
18324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18334 $as_echo "no" >&6; }
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_shared setting." >&5
18345 supports_curldebug="no"
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown enable_static setting." >&5
18351 supports_curldebug="no"
18353 if test "$supports_curldebug" != "no"; then
18356 supports_curldebug="no"
18357 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: shared library does not support undefined symbol…
18364 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if curl debug memory tracking can be enabled" >&5
18366 test "$supports_curldebug" = "no" || supports_curldebug="yes"
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $supports_curldebug" >&5
18369 if test "$supports_curldebug" = "no"; then
18370 … { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot enable curl debug memory tracking." >&5
18372 want_curldebug="no"
18386 # cross-compilation of unit tests static library/programs fails when
18391 supports_unittests=no
18398 mips-sgi-irix6.5)
18400 supports_unittests=no
18406 # due to unittests library being built with no symbols or members. Libtool ?
18410 supports_unittests=no
18418 want_unittests=no
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
18433 $as_echo_n "checking for windows.h... " >&6; }
18438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 curl_cv_header_windows_h="no"
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
18487 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target is a native Windows one" >&5
18493 if test "$curl_cv_header_windows_h" = "no"; then
18494 curl_cv_native_windows="no"
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 curl_cv_native_windows="no"
18525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_native_windows" >&5
18540 case X-"$curl_cv_native_windows" in
18541 X-yes)
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
18544 $as_echo_n "checking for winsock.h... " >&6; }
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18580 curl_cv_header_winsock_h="no"
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock_h" >&5
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
18600 $as_echo_n "checking for winsock2.h... " >&6; }
18605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 curl_cv_header_winsock2_h="no"
18639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
18656 $as_echo_n "checking for ws2tcpip.h... " >&6; }
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 curl_cv_header_ws2tcpip_h="no"
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winldap.h" >&5
18713 $as_echo_n "checking for winldap.h... " >&6; }
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 curl_cv_header_winldap_h="no"
18755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winldap_h" >&5
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winber.h" >&5
18772 $as_echo_n "checking for winber.h... " >&6; }
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 curl_cv_header_winber_h="no"
18816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winber_h" >&5
18833 curl_cv_header_winsock_h="no"
18834 curl_cv_header_winsock2_h="no"
18835 curl_cv_header_ws2tcpip_h="no"
18836 curl_cv_header_winldap_h="no"
18837 curl_cv_header_winber_h="no"
18841 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build target supports WIN32 file API" >&5
18843 curl_win32_file_api="no"
18846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18874 if test "$curl_win32_file_api" = "no"; then
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file enabled)" >&5
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (large file disabled)" >&5
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18923 $as_echo "no" >&6; }
18930 tst_cflags="no"
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for good-to-use Mac CFLAGS" >&5
18938 $as_echo_n "checking for good-to-use Mac CFLAGS... " >&6; }
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_cflags" >&5
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for *version-min in CFLAGS" >&5
18944 $as_echo_n "checking for *version-min in CFLAGS... " >&6; }
18946 if test -z "$(echo $CFLAGS | grep m.*os.*-version-min)"; then
18947 min="-mmacosx-version-min=10.8"
18950 if test -z "$min"; then
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: set by user" >&5
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $min set" >&5
18959 CFLAGS="$CFLAGS -Werror=partial-availability"
18960 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -Werror=partial-availability…
18961 $as_echo_n "checking whether $CC accepts -Werror=partial-availability... " >&6; }
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18977 $as_echo "no" >&6; }
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18985 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if the compiler supports __builtin_availa…
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19016 $as_echo "no" >&6; }
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support http" >&5
19025 # Check whether --enable-http was given.
19028 no)
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19030 $as_echo "no" >&6; }
19035 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disable HTTP disables FTP over proxy and RTSP" >…
19045 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ftp" >&5
19057 # Check whether --enable-ftp was given.
19060 no)
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19062 $as_echo "no" >&6; }
19069 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support file" >&5
19081 # Check whether --enable-file was given.
19084 no)
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19086 $as_echo "no" >&6; }
19093 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldap" >&5
19105 # Check whether --enable-ldap was given.
19108 no)
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19110 $as_echo "no" >&6; }
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ldaps" >&5
19131 # Check whether --enable-ldaps was given.
19134 no)
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19136 $as_echo "no" >&6; }
19144 … { $as_echo "$as_me:${as_lineno-$LINENO}: result: LDAP needs to be enabled to support LDAPS" >&5
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19166 $as_echo "no" >&6; }
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support rtsp" >&5
19187 # Check whether --enable-rtsp was given.
19190 no)
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19192 $as_echo "no" >&6; }
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19215 $as_echo "no" >&6; }
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support proxies" >&5
19223 # Check whether --enable-proxy was given.
19226 no)
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19228 $as_echo "no" >&6; }
19235 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support dict" >&5
19248 # Check whether --enable-dict was given.
19251 no)
19252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19253 $as_echo "no" >&6; }
19260 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support telnet" >&5
19272 # Check whether --enable-telnet was given.
19275 no)
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19277 $as_echo "no" >&6; }
19284 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support tftp" >&5
19296 # Check whether --enable-tftp was given.
19299 no)
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19301 $as_echo "no" >&6; }
19308 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support pop3" >&5
19321 # Check whether --enable-pop3 was given.
19324 no)
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19326 $as_echo "no" >&6; }
19333 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support imap" >&5
19347 # Check whether --enable-imap was given.
19350 no)
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19352 $as_echo "no" >&6; }
19359 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smb" >&5
19373 # Check whether --enable-smb was given.
19376 no)
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19378 $as_echo "no" >&6; }
19385 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support smtp" >&5
19398 # Check whether --enable-smtp was given.
19401 no)
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19403 $as_echo "no" >&6; }
19410 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support gopher" >&5
19423 # Check whether --enable-gopher was given.
19426 no)
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19428 $as_echo "no" >&6; }
19435 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to provide built-in manual" >&5
19449 $as_echo_n "checking whether to provide built-in manual... " >&6; }
19450 # Check whether --enable-manual was given.
19453 no)
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19455 $as_echo "no" >&6; }
19457 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable generation of C code" >&5
19472 # Check whether --enable-libcurl_option was given.
19475 no)
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19477 $as_echo "no" >&6; }
19481 curl_libcurl_msg="no"
19483 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
19497 # Check whether --enable-libgcc was given.
19501 LIBS="-lgcc $LIBS"
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19505 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19506 $as_echo "no" >&6; }
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19511 $as_echo "no" >&6; }
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if X/Open network library is required" >&5
19519 tst_lib_xnet_required="no"
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19540 LIBS="-lxnet $LIBS"
19543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_lib_xnet_required" >&5
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19554 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19559 LIBS="-lnsl $LIBS"
19560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 ac_cv_lib_nsl_gethostbyname=no
19580 rm -f core conftest.err conftest.$ac_objext \
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19588 LIBS="-lnsl $LIBS"
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lsocket" >&5
19599 $as_echo_n "checking for gethostbyname in -lsocket... " >&6; }
19604 LIBS="-lsocket $LIBS"
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 ac_cv_lib_socket_gethostbyname=no
19625 rm -f core conftest.err conftest.$ac_objext \
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_gethostbyname" >&5
19633 LIBS="-lsocket $LIBS"
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lwatt" >&5
19642 $as_echo_n "checking for gethostbyname in -lwatt... " >&6; }
19647 LIBS="-lwatt $LIBS"
19648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 ac_cv_lib_watt_gethostbyname=no
19668 rm -f core conftest.err conftest.$ac_objext \
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_watt_gethostbyname" >&5
19676 CPPFLAGS="-I/dev/env/WATT_ROOT/inc"
19677 LDFLAGS="-L/dev/env/WATT_ROOT/lib"
19678 LIBS="-lwatt $LIBS"
19686 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname with both nsl and socket libs"…
19687 $as_echo_n "checking for gethostbyname with both nsl and socket libs... " >&6; }
19689 LIBS="-lnsl -lsocket $LIBS"
19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19714 $as_echo "no" >&6; }
19718 rm -f core conftest.err conftest.$ac_objext \
19727 *-*-mingw32ce*)
19728 winsock_LIB="-lwinsock"
19731 winsock_LIB="-lwsock32"
19736 winsock_LIB="-lws2_32"
19738 if test ! -z "$winsock_LIB"; then
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in $winsock_LIB" >&5
19742 $as_echo_n "checking for gethostbyname in $winsock_LIB... " >&6; }
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19780 $as_echo "no" >&6; }
19785 rm -f core conftest.err conftest.$ac_objext \
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for Minix 3" >&5
19794 $as_echo_n "checking for gethostbyname for Minix 3... " >&6; }
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19821 $as_echo "no" >&6; }
19824 rm -f core conftest.err conftest.$ac_objext \
19830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for eCos" >&5
19831 $as_echo_n "checking for gethostbyname for eCos... " >&6; }
19832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19858 $as_echo "no" >&6; }
19861 rm -f core conftest.err conftest.$ac_objext \
19867 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname for AmigaOS bsdsocket.library"…
19868 $as_echo_n "checking for gethostbyname for AmigaOS bsdsocket.library... " >&6; }
19869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19901 $as_echo "no" >&6; }
19904 rm -f core conftest.err conftest.$ac_objext \
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnetwork" >&5
19911 $as_echo_n "checking for gethostbyname in -lnetwork... " >&6; }
19916 LIBS="-lnetwork $LIBS"
19917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 ac_cv_lib_network_gethostbyname=no
19937 rm -f core conftest.err conftest.$ac_objext \
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_gethostbyname" >&5
19945 LIBS="-lnetwork $LIBS"
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnet" >&5
19954 $as_echo_n "checking for gethostbyname in -lnet... " >&6; }
19959 LIBS="-lnet $LIBS"
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19978 ac_cv_lib_net_gethostbyname=no
19980 rm -f core conftest.err conftest.$ac_objext \
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_gethostbyname" >&5
19988 LIBS="-lnet $LIBS"
19996 as_fn_error $? "couldn't find libraries for gethostbyname()" "$LINENO" 5
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
20018 $as_echo_n "checking for windows.h... " >&6; }
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20053 curl_cv_header_windows_h="no"
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock.h" >&5
20073 $as_echo_n "checking for winsock.h... " >&6; }
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 curl_cv_header_winsock_h="no"
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock_h" >&5
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
20129 $as_echo_n "checking for winsock2.h... " >&6; }
20134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 curl_cv_header_winsock2_h="no"
20168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
20192 for ac_header in proto/bsdsocket.h
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in libraries" >&5
20208 $as_echo_n "checking for connect in libraries... " >&6; }
20211 for tst_lib in '' '-lsocket' ; do
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240 rm -f core conftest.err conftest.$ac_objext \
20246 case X-"$tst_connect_need_LIBS" in
20247 X-unknown)
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find connect" >&5
20252 X-)
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_connect_need_LIBS" >&5
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
20271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 ac_cv_header_time=no
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20301 for ac_header in sys/types.h sys/time.h time.h
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock_gettime" >&5
20315 $as_echo_n "checking for monotonic clock_gettime... " >&6; }
20318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20356 $as_echo "no" >&6; }
20357 curl_func_clock_gettime="no"
20360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in libraries" >&5
20368 $as_echo_n "checking for clock_gettime in libraries... " >&6; }
20373 for x_xlibs in '' '-lrt' '-lposix4' ; do
20375 if test -z "$x_xlibs"; then
20380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20414 rm -f core conftest.err conftest.$ac_objext \
20421 case X-"$curl_cv_gclk_LIBS" in
20422 X-unknown)
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find clock_gettime" >&5
20425 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined…
20427 curl_func_clock_gettime="no"
20429 X-)
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
20431 $as_echo "no additional lib required" >&6; }
20435 if test -z "$curl_cv_save_LIBS"; then
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_gclk_LIBS" >&5
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if monotonic clock_gettime works" >&5
20456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20459 See \`config.log' for more details" "$LINENO" 5; }
20461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20502 $as_echo "no" >&6; }
20503 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_CLOCK_GETTIME_MONOTONIC will not be defined…
20505 curl_func_clock_gettime="no"
20509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20540 # Check whether --with-zlib was given.
20546 if test "$OPT_ZLIB" = "no" ; then
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib disabled" >&5
20554 if test -z "$OPT_ZLIB" ; then
20556 if test -n "$PKG_CONFIG"; then
20559 if test -n "$ac_tool_prefix"; then
20560 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20561 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20563 $as_echo_n "checking for $ac_word... " >&6; }
20574 for as_dir in $as_dummy
20577 test -z "$as_dir" && as_dir=.
20578 for ac_exec_ext in '' $ac_executable_extensions; do
20581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20592 if test -n "$PKGCONFIG"; then
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20597 $as_echo "no" >&6; }
20602 if test -z "$ac_cv_path_PKGCONFIG"; then
20604 # Extract the first word of "pkg-config", so it can be a program name with args.
20605 set dummy pkg-config; ac_word=$2
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20607 $as_echo_n "checking for $ac_word... " >&6; }
20618 for as_dir in $as_dummy
20621 test -z "$as_dir" && as_dir=.
20622 for ac_exec_ext in '' $ac_executable_extensions; do
20625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20636 if test -n "$ac_pt_PKGCONFIG"; then
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20641 $as_echo "no" >&6; }
20645 PKGCONFIG="no"
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib options with pkg-config" >&5
20663 $as_echo_n "checking for zlib options with pkg-config... " >&6; }
20665 if test -n ""; then
20669 $PKGCONFIG --exists zlib >/dev/null 2>&1 && echo 1`
20671 if test -z "$itexists"; then
20672 PKGCONFIG="no"
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20674 $as_echo "no" >&6; }
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20682 if test "$PKGCONFIG" != "no" ; then
20683 LIBS="`$PKGCONFIG --libs-only-l zlib` $LIBS"
20684 LDFLAGS="$LDFLAGS `$PKGCONFIG --libs-only-L zlib`"
20685 CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags-only-I zlib`"
20690 if test -z "$HAVE_LIBZ"; then
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflateEnd in -lz" >&5
20694 $as_echo_n "checking for inflateEnd in -lz... " >&6; }
20699 LIBS="-lz $LIBS"
20700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20718 ac_cv_lib_z_inflateEnd=no
20720 rm -f core conftest.err conftest.$ac_objext \
20724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflateEnd" >&5
20728 LIBS="-lz $LIBS"
20736 if test -n "$OPT_ZLIB"; then
20737 CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
20738 LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib$libsuff"
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
20747 $as_echo_n "checking for gzread in -lz... " >&6; }
20752 LIBS="-lz $LIBS"
20753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20771 ac_cv_lib_z_gzread=no
20773 rm -f core conftest.err conftest.$ac_objext \
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
20782 LIBS="-lz $LIBS"
20802 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz lib, not the heade…
20810 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: configure found only the libz header file, not t…
20825 ZLIB_LIBS="-lz"
20826 LIBS="-lz $clean_LIBS"
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: found both libz and libz.h header" >&5
20849 # Check whether --with-brotli was given.
20863 if test -n "$PKG_CONFIG"; then
20866 if test -n "$ac_tool_prefix"; then
20867 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
20868 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20870 $as_echo_n "checking for $ac_word... " >&6; }
20881 for as_dir in $as_dummy
20884 test -z "$as_dir" && as_dir=.
20885 for ac_exec_ext in '' $ac_executable_extensions; do
20888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20899 if test -n "$PKGCONFIG"; then
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20904 $as_echo "no" >&6; }
20909 if test -z "$ac_cv_path_PKGCONFIG"; then
20911 # Extract the first word of "pkg-config", so it can be a program name with args.
20912 set dummy pkg-config; ac_word=$2
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20914 $as_echo_n "checking for $ac_word... " >&6; }
20925 for as_dir in $as_dummy
20928 test -z "$as_dir" && as_dir=.
20929 for ac_exec_ext in '' $ac_executable_extensions; do
20932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20943 if test -n "$ac_pt_PKGCONFIG"; then
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20948 $as_echo "no" >&6; }
20952 PKGCONFIG="no"
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
20969 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbrotlidec options with pkg-config" >&5
20970 $as_echo_n "checking for libbrotlidec options with pkg-config... " >&6; }
20972 if test -n ""; then
20976 $PKGCONFIG --exists libbrotlidec >/dev/null 2>&1 && echo 1`
20978 if test -z "$itexists"; then
20979 PKGCONFIG="no"
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20981 $as_echo "no" >&6; }
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
20989 if test "$PKGCONFIG" != "no" ; then
20990 LIB_BROTLI=`$PKGCONFIG --libs-only-l libbrotlidec`
20991 LD_BROTLI=`$PKGCONFIG --libs-only-L libbrotlidec`
20992 CPP_BROTLI=`$PKGCONFIG --cflags-only-I libbrotlidec`
20993 version=`$PKGCONFIG --modversion libbrotlidec`
20994 DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/-L//'`
21005 if test -n "$PREFIX_BROTLI"; then
21006 LIB_BROTLI="-lbrotlidec"
21007 LD_BROTLI=-L${PREFIX_BROTLI}/lib$libsuff
21008 CPP_BROTLI=-I${PREFIX_BROTLI}/include
21016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BrotliDecoderDecompress in -lbrotlidec" >&5
21017 $as_echo_n "checking for BrotliDecoderDecompress in -lbrotlidec... " >&6; }
21022 LIBS="-lbrotlidec $LIBS"
21023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21041 ac_cv_lib_brotlidec_BrotliDecoderDecompress=no
21043 rm -f core conftest.err conftest.$ac_objext \
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_brotlidec_BrotliDecoderDecompress" >&5
21054 LIBS="-lbrotlidec $LIBS"
21059 for ac_header in brotli/decode.h
21085 if test -n "$DIR_BROTLI"; then
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_BROTLI to CURL_LIBRARY_PATH" >&5
21104 # Check whether --with-ldap-lib was given.
21112 # Check whether --with-lber-lib was given.
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lber.h" >&5
21122 $as_echo_n "checking for lber.h... " >&6; }
21127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21165 curl_cv_header_lber_h="no"
21168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_lber_h" >&5
21180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21217 curl_cv_need_header_lber_h="no"
21224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap.h" >&5
21239 $as_echo_n "checking for ldap.h... " >&6; }
21244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 curl_cv_header_ldap_h="no"
21287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_h" >&5
21303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldapssl.h" >&5
21304 $as_echo_n "checking for ldapssl.h... " >&6; }
21309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21355 curl_cv_header_ldapssl_h="no"
21358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldapssl_h" >&5
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_ssl.h" >&5
21375 $as_echo_n "checking for ldap_ssl.h... " >&6; }
21380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21422 curl_cv_header_ldap_ssl_h="no"
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ldap_ssl_h" >&5
21441 if test -z "$LDAPLIBNAME" ; then
21444 LBERLIBNAME="no"
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -l\"$LDAPLIBNAME\"" >&5
21451 $as_echo_n "checking for ldap_init in -l\"$LDAPLIBNAME\"... " >&6; }
21456 LIBS="-l"$LDAPLIBNAME" $LIBS"
21457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21475 eval "$as_ac_Lib=no"
21477 rm -f core conftest.err conftest.$ac_objext \
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21489 LIBS="-l"$LDAPLIBNAME" $LIBS"
21493 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LDAPLIBNAME\" is not an LDAP library: LDAP di…
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP libraries" >&5
21511 $as_echo_n "checking for LDAP libraries... " >&6; }
21520 for x_nlibs in '' "$u_libs" \
21521 '-lldap' \
21522 '-lldap -llber' \
21523 '-llber -lldap' \
21524 '-lldapssl -lldapx -lldapsdk' \
21525 '-lldapsdk -lldapx -lldapssl' \
21526 '-lldap -llber -lssl -lcrypto' ; do
21529 if test -z "$x_nlibs"; then
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 rm -f core conftest.err conftest.$ac_objext \
21588 case X-"$curl_cv_ldap_LIBS" in
21589 X-unknown)
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find LDAP libraries" >&5
21593 X-)
21594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no additional lib required" >&5
21595 $as_echo "no additional lib required" >&6; }
21598 if test -z "$curl_cv_save_LIBS"; then
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_ldap_LIBS" >&5
21609 case X-"$curl_cv_ldap_LIBS" in
21610 X-unknown)
21611 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for LDAP support: LDAP dis…
21612 $as_echo "$as_me: WARNING: Cannot find libraries for LDAP support: LDAP disabled" >&2;}
21631 if test "$LBERLIBNAME" != "no" ; then
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -l\"$LBERLIBNAME\"" >&5
21634 $as_echo_n "checking for ber_free in -l\"$LBERLIBNAME\"... " >&6; }
21639 LIBS="-l"$LBERLIBNAME" $LIBS"
21640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21658 eval "$as_ac_Lib=no"
21660 rm -f core conftest.err conftest.$ac_objext \
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
21672 LIBS="-l"$LBERLIBNAME" $LIBS"
21676 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$LBERLIBNAME\" is not an LBER library: LDAP di…
21695 for ac_func in ldap_url_parse ldap_init_fd
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
21732 # Check whether --enable-ipv6 was given.
21735 no)
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21737 $as_echo "no" >&6; }
21738 ipv6=no
21740 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 #include <stdlib.h> /* for exit() */
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21777 $as_echo "no" >&6; }
21778 ipv6=no
21780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21793 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct sockaddr_in6 has sin6_scope_id member"…
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21827 $as_echo "no" >&6; }
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argv can be written to" >&5
21843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 curl_cv_writable_argv=no
21859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21873 no)
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21875 $as_echo "no" >&6; }
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21879 $as_echo "no" >&6; }
21880 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the previous check could not be made default was…
21889 # Check whether --with-gssapi-includes was given.
21891 withval=$with_gssapi_includes; GSSAPI_INCS="-I$withval"
21898 # Check whether --with-gssapi-libs was given.
21900 withval=$with_gssapi_libs; GSSAPI_LIB_DIR="-L$withval"
21907 # Check whether --with-gssapi was given.
21921 : ${KRB5CONFIG:="$GSSAPI_ROOT/bin/krb5-config"}
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSS-API support is requested" >&5
21925 $as_echo_n "checking if GSS-API support is requested... " >&6; }
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21930 if test -z "$GSSAPI_INCS"; then
21931 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
21932 GSSAPI_INCS=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --cflags gssapi`
21933 elif test -f "$KRB5CONFIG"; then
21934 GSSAPI_INCS=`$KRB5CONFIG --cflags gssapi`
21936 GSSAPI_INCS="-I$GSSAPI_ROOT/include"
21952 for ac_header in gssapi/gssapi.h
21966 for ac_header in gssapi/gssapi_generic.h gssapi/gssapi_krb5.h
21997 want_gss=no
21998 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling GSS-API support since no header files …
21999 $as_echo "$as_me: WARNING: disabling GSS-API support since no header files were found" >&2;}
22009 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SE…
22010 $as_echo_n "checking if GSS-API headers declare GSS_C_NT_HOSTBASED_SERVICE... " >&6; }
22011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22041 $as_echo "no" >&6; }
22047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22056 $as_echo "no" >&6; }
22065 if test -n "$gnu_gss"; then
22068 LIBS="-lgss $LIBS"
22069 elif test -z "$GSSAPI_LIB_DIR"; then
22071 *-*-darwin*)
22072 LIBS="-lgssapi_krb5 -lresolv $LIBS"
22075 if test -n "$host_alias" -a -f "$GSSAPI_ROOT/bin/$host_alias-krb5-config"; then
22076 gss_libs=`$GSSAPI_ROOT/bin/$host_alias-krb5-config --libs gssapi`
22078 elif test -f "$KRB5CONFIG"; then
22079 gss_libs=`$KRB5CONFIG --libs gssapi`
22083 *-hp-hpux*)
22092 LDFLAGS="$LDFLAGS -L$GSSAPI_ROOT/lib$libsuff"
22093 LIBS="-l$gss_libname $LIBS"
22095 LIBS="-l$gss_libname $LIBS"
22103 *-hp-hpux*)
22104 LIBS="-lgss $LIBS"
22107 LIBS="-lgssapi $LIBS"
22115 build_libstubgss=no
22130 DEFAULT_SSL_BACKEND=no
22133 # Check whether --with-default-ssl-backend was given.
22139 no)
22146 VALID_DEFAULT_SSL_BACKEND=no
22152 OPT_WINSSL=no
22154 # Check whether --with-winssl was given.
22161 # Check whether --with-schannel was given.
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native SSL/TLS (Windows…
22169 if test -z "$ssl_backends" -o "x$OPT_WINSSL" != xno; then
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22180 ssl_msg="Windows-native"
22183 # --with-winssl implies --enable-sspi
22190 LIBS="-lcrypt32 $LIBS"
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22193 $as_echo "no" >&6; }
22195 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22198 $as_echo "no" >&6; }
22201 OPT_SECURETRANSPORT=no
22203 # Check whether --with-darwinssl was given.
22210 # Check whether --with-secure-transport was given.
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
22218 if test -z "$ssl_backends" -o "x$OPT_SECURETRANSPORT" != xno; then
22220 test -d "/System/Library/Frameworks/Security.framework"; then
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22229 test secure-transport != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
22231 LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security"
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22234 $as_echo "no" >&6; }
22236 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22239 $as_echo "no" >&6; }
22242 OPT_AMISSL=no
22244 # Check whether --with-amissl was given.
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Amiga native SSL/TLS (AmiSSL)" …
22253 if test -z "$ssl_backends" -o "x$OPT_AMISSL" != xno; then
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22261 LIBS="-lamisslauto $LIBS"
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22270 $as_echo "no" >&6; }
22272 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
22274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22275 $as_echo "no" >&6; }
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22279 $as_echo "no" >&6; }
22284 ca="no"
22286 # Check whether --with-ssl was given.
22292 if test -z "$ssl_backends" -o "x$OPT_SSL" != xno &&
22301 *-*-msys* | *-*-mingw*)
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
22303 $as_echo_n "checking for gdi32... " >&6; }
22305 LIBS="-lgdi32 $LIBS"
22306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22323 $as_echo "no" >&6; }
22326 rm -f core conftest.err conftest.$ac_objext \
22346 PKGTEST="no"
22350 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
22351 … { $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$OPENSSL_PCDIR\"" >&5
22354 elif test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
22355 as_fn_error $? "$PREFIX_OPENSSL is a bad --with-ssl prefix!" "$LINENO" 5
22360 SSL_LDFLAGS="-L$LIB_OPENSSL"
22361 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
22363 SSL_CPPFLAGS="$SSL_CPPFLAGS -I$PREFIX_OPENSSL/include/openssl"
22370 if test -n "$PKG_CONFIG"; then
22373 if test -n "$ac_tool_prefix"; then
22374 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22375 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22377 $as_echo_n "checking for $ac_word... " >&6; }
22388 for as_dir in $as_dummy
22391 test -z "$as_dir" && as_dir=.
22392 for ac_exec_ext in '' $ac_executable_extensions; do
22395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22406 if test -n "$PKGCONFIG"; then
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22411 $as_echo "no" >&6; }
22416 if test -z "$ac_cv_path_PKGCONFIG"; then
22418 # Extract the first word of "pkg-config", so it can be a program name with args.
22419 set dummy pkg-config; ac_word=$2
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22421 $as_echo_n "checking for $ac_word... " >&6; }
22432 for as_dir in $as_dummy
22435 test -z "$as_dir" && as_dir=.
22436 for ac_exec_ext in '' $ac_executable_extensions; do
22439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22450 if test -n "$ac_pt_PKGCONFIG"; then
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22455 $as_echo "no" >&6; }
22459 PKGCONFIG="no"
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl options with pkg-config" >&5
22477 $as_echo_n "checking for openssl options with pkg-config... " >&6; }
22479 if test -n "$OPENSSL_PCDIR"; then
22483 $PKGCONFIG --exists openssl >/dev/null 2>&1 && echo 1`
22485 if test -z "$itexists"; then
22486 PKGCONFIG="no"
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22488 $as_echo "no" >&6; }
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
22496 if test "$PKGCONFIG" != "no" ; then
22498 if test -n "$OPENSSL_PCDIR"; then
22502 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
22505 if test -n "$OPENSSL_PCDIR"; then
22509 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
22512 if test -n "$OPENSSL_PCDIR"; then
22516 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&5
22520 $as_echo "$as_me: pkg-config: SSL_LIBS: \"$SSL_LIBS\"" >&6;}
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&5
22522 $as_echo "$as_me: pkg-config: SSL_LDFLAGS: \"$SSL_LDFLAGS\"" >&6;}
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&5
22524 $as_echo "$as_me: pkg-config: SSL_CPPFLAGS: \"$SSL_CPPFLAGS\"" >&6;}
22526 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/-L//g'`
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Update in -lcrypto" >&5
22536 $as_echo_n "checking for HMAC_Update in -lcrypto... " >&6; }
22541 LIBS="-lcrypto $LIBS"
22542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22560 ac_cv_lib_crypto_HMAC_Update=no
22562 rm -f core conftest.err conftest.$ac_objext \
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Update" >&5
22571 LIBS="-lcrypto $LIBS"
22575 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
22576 if test "$PKGCONFIG" = "no" ; then
22577 # only set this if pkg-config wasn't used
22578 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include/openssl -I$PREFIX_OPENSSL/include"
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_Init_ex in -lcrypto" >&5
22581 $as_echo_n "checking for HMAC_Init_ex in -lcrypto... " >&6; }
22586 LIBS="-lcrypto $LIBS"
22587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22605 ac_cv_lib_crypto_HMAC_Init_ex=no
22607 rm -f core conftest.err conftest.$ac_objext \
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_Init_ex" >&5
22616 LIBS="-lcrypto $LIBS"
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl" >&5
22621 $as_echo_n "checking OpenSSL linking with -ldl... " >&6; }
22622 LIBS="$CLEANLIBS -lcrypto -ldl"
22623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22646 $as_echo "no" >&6; }
22648 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL linking with -ldl and -lpthread" >&5
22649 $as_echo_n "checking OpenSSL linking with -ldl and -lpthread... " >&6; }
22650 LIBS="$CLEANLIBS -lcrypto -ldl -lpthread"
22651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22674 $as_echo "no" >&6; }
22681 rm -f core conftest.err conftest.$ac_objext \
22686 rm -f core conftest.err conftest.$ac_objext \
22698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
22699 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
22704 LIBS="-lssl $LIBS"
22705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22723 ac_cv_lib_ssl_SSL_connect=no
22725 rm -f core conftest.err conftest.$ac_objext \
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
22736 LIBS="-lssl $LIBS"
22742 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl with RSAglue/rsaref libs in use" >&5
22743 $as_echo_n "checking for ssl with RSAglue/rsaref libs in use... " >&6; };
22745 LIBS="-lRSAglue -lrsaref $LIBS"
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
22747 $as_echo_n "checking for SSL_connect in -lssl... " >&6; }
22752 LIBS="-lssl $LIBS"
22753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22771 ac_cv_lib_ssl_SSL_connect=no
22773 rm -f core conftest.err conftest.$ac_objext \
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
22784 LIBS="-lssl $LIBS"
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22790 $as_echo "no" >&6; }
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22799 for ac_header in openssl/x509.h openssl/rsa.h openssl/crypto.h \
22819 if test $ac_cv_header_openssl_x509_h = no; then
22820 for ac_header in x509.h rsa.h crypto.h pem.h ssl.h err.h
22855 for ac_func in RAND_egd \
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BoringSSL" >&5
22872 $as_echo_n "checking for BoringSSL... " >&6; }
22873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22905 $as_echo "no" >&6; }
22908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libressl" >&5
22911 $as_echo_n "checking for libressl... " >&6; }
22912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22942 $as_echo "no" >&6; }
22945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 if test -n "$LIB_OPENSSL"; then
22953 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $LIB_OPENSSL to CURL_LIBRARY_PATH" >&5
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers version" >&5
22964 $as_echo_n "checking for OpenSSL headers version... " >&6; }
22969 if test -z "$SED"; then
22972 if test -z "$GREP"; then
22977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22999 if test -z "$tmp_exp" || test "$tmp_exp" = "OPENSSL_VERSION_NUMBER"; then
23004 rm -f conftest.err conftest.i conftest.$ac_ext
23005 if test -z "$tmp_exp"; then
23006 curl_cv_have_def_OPENSSL_VERSION_NUMBER=no
23019 tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
23020 tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 4`
23021 tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
23025 tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3`
23026 tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5`
23027 tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 7`
23051 tst_show="$tst_show - $curl_cv_def_OPENSSL_VERSION_NUMBER"
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_show" >&5
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL library version" >&5
23065 $as_echo_n "checking for OpenSSL library version... " >&6; }
23067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099 rm -f core conftest.err conftest.$ac_objext \
23104 *-*-vms*)
23105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 rm -f core conftest.err conftest.$ac_objext \
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23173 rm -f core conftest.err conftest.$ac_objext \
23179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23211 rm -f core conftest.err conftest.$ac_objext \
23215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23247 rm -f core conftest.err conftest.$ac_objext \
23251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23283 rm -f core conftest.err conftest.$ac_objext \
23287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23319 rm -f core conftest.err conftest.$ac_objext \
23323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 rm -f core conftest.err conftest.$ac_objext \
23359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23391 rm -f core conftest.err conftest.$ac_objext \
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23427 rm -f core conftest.err conftest.$ac_objext \
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 rm -f core conftest.err conftest.$ac_objext \
23467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 rm -f core conftest.err conftest.$ac_objext \
23503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23535 rm -f core conftest.err conftest.$ac_objext \
23539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23571 rm -f core conftest.err conftest.$ac_objext \
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_show" >&5
23599 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers and library versions matchin…
23600 $as_echo_n "checking for OpenSSL headers and library versions matching... " >&6; }
23606 tst_match="no"
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_match" >&5
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $tst_warns" >&5
23619 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
23625 # Check whether --with-egd-socket was given.
23631 if test -n "$EGD_SOCKET" ; then
23640 # Check whether --with-random was given.
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/urandom\"" >&5
23648 $as_echo_n "checking for \"/dev/urandom\"... " >&6; }
23653 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
23654 if test -r ""/dev/urandom""; then
23657 eval "$as_ac_File=no"
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
23668 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: skipped the /dev/urandom detection when cross-co…
23669 $as_echo "$as_me: WARNING: skipped the /dev/urandom detection when cross-compiling" >&2;}
23675 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SRP_Calc_client_key in -lcrypto" >&5
23687 $as_echo_n "checking for SRP_Calc_client_key in -lcrypto... " >&6; }
23692 LIBS="-lcrypto $LIBS"
23693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 ac_cv_lib_crypto_SRP_Calc_client_key=no
23713 rm -f core conftest.err conftest.$ac_objext \
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SRP_Calc_client_key" >&5
23732 # Check whether --enable-openssl-auto-load-config was given.
23734 enableval=$enable_openssl_auto_load_config; if test X"$enableval" = X"no"; then
23735 … { $as_echo "$as_me:${as_lineno-$LINENO}: automatic loading of OpenSSL configuration disabled" >&5
23747 OPT_GNUTLS=no
23750 # Check whether --with-gnutls was given.
23756 if test -z "$ssl_backends" -o "x$OPT_GNUTLS" != xno; then
23769 if test -n "$PKG_CONFIG"; then
23772 if test -n "$ac_tool_prefix"; then
23773 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
23774 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23776 $as_echo_n "checking for $ac_word... " >&6; }
23787 for as_dir in $as_dummy
23790 test -z "$as_dir" && as_dir=.
23791 for ac_exec_ext in '' $ac_executable_extensions; do
23794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23805 if test -n "$PKGCONFIG"; then
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
23809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23810 $as_echo "no" >&6; }
23815 if test -z "$ac_cv_path_PKGCONFIG"; then
23817 # Extract the first word of "pkg-config", so it can be a program name with args.
23818 set dummy pkg-config; ac_word=$2
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23820 $as_echo_n "checking for $ac_word... " >&6; }
23831 for as_dir in $as_dummy
23834 test -z "$as_dir" && as_dir=.
23835 for ac_exec_ext in '' $ac_executable_extensions; do
23838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23849 if test -n "$ac_pt_PKGCONFIG"; then
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23854 $as_echo "no" >&6; }
23858 PKGCONFIG="no"
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls options with pkg-config" >&5
23876 $as_echo_n "checking for gnutls options with pkg-config... " >&6; }
23878 if test -n ""; then
23882 $PKGCONFIG --exists gnutls >/dev/null 2>&1 && echo 1`
23884 if test -z "$itexists"; then
23885 PKGCONFIG="no"
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23887 $as_echo "no" >&6; }
23889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
23895 if test "$PKGCONFIG" != "no" ; then
23896 addlib=`$PKGCONFIG --libs-only-l gnutls`
23897 addld=`$PKGCONFIG --libs-only-L gnutls`
23898 addcflags=`$PKGCONFIG --cflags-only-I gnutls`
23899 version=`$PKGCONFIG --modversion gnutls`
23900 gtlslib=`echo $addld | $SED -e 's/-L//'`
23902 check=`libgnutls-config --version 2>/dev/null`
23903 if test -n "$check"; then
23904 addlib=`libgnutls-config --libs`
23905 addcflags=`libgnutls-config --cflags`
23906 version=`libgnutls-config --version`
23907 gtlslib=`libgnutls-config --prefix`/lib$libsuff
23911 cfg=$OPT_GNUTLS/bin/libgnutls-config
23912 check=`$cfg --version 2>/dev/null`
23913 if test -n "$check"; then
23914 addlib=`$cfg --libs`
23915 addcflags=`$cfg --cflags`
23916 version=`$cfg --version`
23917 gtlslib=`$cfg --prefix`/lib$libsuff
23919 addlib=-lgnutls
23920 addld=-L$OPT_GNUTLS/lib$libsuff
23921 addcflags=-I$OPT_GNUTLS/include
23927 if test -z "$version"; then
23931 if test -n "$addlib"; then
23939 if test "$addcflags" != "-I/usr/include"; then
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_check_version in -lgnutls" >&5
23944 $as_echo_n "checking for gnutls_check_version in -lgnutls... " >&6; }
23949 LIBS="-lgnutls $LIBS"
23950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23968 ac_cv_lib_gnutls_gnutls_check_version=no
23970 rm -f core conftest.err conftest.$ac_objext \
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_check_version" >&5
23997 { $as_echo "$as_me:${as_lineno-$LINENO}: detected GnuTLS version $version" >&5
24000 if test -n "$gtlslib"; then
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $gtlslib to CURL_LIBRARY_PATH" >&5
24008 …for ac_func in gnutls_certificate_set_x509_key_file2 gnutls_alpn_set_protocols gnutls_ocsp_req_init
24025 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lgnutls" >&5
24033 $as_echo_n "checking for nettle_MD5Init in -lgnutls... " >&6; }
24038 LIBS="-lgnutls $LIBS"
24039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24057 ac_cv_lib_gnutls_nettle_MD5Init=no
24059 rm -f core conftest.err conftest.$ac_objext \
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_nettle_MD5Init" >&5
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgnutls" >&5
24071 $as_echo_n "checking for gcry_control in -lgnutls... " >&6; }
24076 LIBS="-lgnutls $LIBS"
24077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 ac_cv_lib_gnutls_gcry_control=no
24097 rm -f core conftest.err conftest.$ac_objext \
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gcry_control" >&5
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nettle_MD5Init in -lnettle" >&5
24111 $as_echo_n "checking for nettle_MD5Init in -lnettle... " >&6; }
24116 LIBS="-lnettle $LIBS"
24117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24135 ac_cv_lib_nettle_nettle_MD5Init=no
24137 rm -f core conftest.err conftest.$ac_objext \
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nettle_nettle_MD5Init" >&5
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
24150 $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
24155 LIBS="-lgcrypt $LIBS"
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24174 ac_cv_lib_gcrypt_gcry_control=no
24176 rm -f core conftest.err conftest.$ac_objext \
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
24196 LIBS="-lnettle $LIBS"
24198 LIBS="-lgcrypt $LIBS"
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls_srp_verifier in -lgnutls" >&5
24204 $as_echo_n "checking for gnutls_srp_verifier in -lgnutls... " >&6; }
24209 LIBS="-lgnutls $LIBS"
24210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24228 ac_cv_lib_gnutls_gnutls_srp_verifier=no
24230 rm -f core conftest.err conftest.$ac_objext \
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnutls_gnutls_srp_verifier" >&5
24249 OPT_POLARSSL=no
24254 # Check whether --with-polarssl was given.
24260 if test -z "$ssl_backends" -o "x$OPT_POLARSSL" != xno; then
24269 if test -z "$OPT_POLARSSL" ; then
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for havege_init in -lpolarssl" >&5
24272 $as_echo_n "checking for havege_init in -lpolarssl... " >&6; }
24277 LIBS="-lpolarssl $LIBS"
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24296 ac_cv_lib_polarssl_havege_init=no
24298 rm -f core conftest.err conftest.$ac_objext \
24302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_havege_init" >&5
24326 addld=-L$OPT_POLARSSL/lib$libsuff
24327 addcflags=-I$OPT_POLARSSL/include
24331 if test "$addcflags" != "-I/usr/include"; then
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssl_init in -lpolarssl" >&5
24336 $as_echo_n "checking for ssl_init in -lpolarssl... " >&6; }
24341 LIBS="-lpolarssl $LIBS"
24342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 ac_cv_lib_polarssl_ssl_init=no
24362 rm -f core conftest.err conftest.$ac_objext \
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_polarssl_ssl_init" >&5
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: detected PolarSSL" >&5
24393 LIBS="-lpolarssl $LIBS"
24395 if test -n "$polarssllib"; then
24399 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $polarssllib to CURL_LIBRARY_PATH" >&5
24406 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
24410 OPT_MBEDTLS=no
24415 # Check whether --with-mbedtls was given.
24421 if test -z "$ssl_backends" -o "x$OPT_MBEDTLS" != xno; then
24430 if test -z "$OPT_MBEDTLS" ; then
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_havege_init in -lmbedtls" >&5
24433 $as_echo_n "checking for mbedtls_havege_init in -lmbedtls... " >&6; }
24438 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
24439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24457 ac_cv_lib_mbedtls_mbedtls_havege_init=no
24459 rm -f core conftest.err conftest.$ac_objext \
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_havege_init" >&5
24487 addld=-L$OPT_MBEDTLS/lib$libsuff
24488 addcflags=-I$OPT_MBEDTLS/include
24492 if test "$addcflags" != "-I/usr/include"; then
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbedtls_ssl_init in -lmbedtls" >&5
24497 $as_echo_n "checking for mbedtls_ssl_init in -lmbedtls... " >&6; }
24502 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
24503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24521 ac_cv_lib_mbedtls_mbedtls_ssl_init=no
24523 rm -f core conftest.err conftest.$ac_objext \
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mbedtls_mbedtls_ssl_init" >&5
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: detected mbedTLS" >&5
24555 LIBS="-lmbedtls -lmbedx509 -lmbedcrypto $LIBS"
24557 if test -n "$mbedtlslib"; then
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $mbedtlslib to CURL_LIBRARY_PATH" >&5
24568 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
24572 OPT_CYASSL=no
24577 # Check whether --with-cyassl was given.
24584 # Check whether --with-wolfssl was given.
24590 if test -z "$ssl_backends" -o "x$OPT_CYASSL" != xno; then
24602 if test -z "$OPT_CYASSL" ; then
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CyaSSL_Init in -lcyassl" >&5
24605 $as_echo_n "checking for CyaSSL_Init in -lcyassl... " >&6; }
24610 LIBS="-lcyassl $LIBS"
24611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24629 ac_cv_lib_cyassl_CyaSSL_Init=no
24631 rm -f core conftest.err conftest.$ac_objext \
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cyassl_CyaSSL_Init" >&5
24659 addld=-L$OPT_CYASSL/lib$libsuff
24660 addcflags=-I$OPT_CYASSL/include
24664 if test "$addcflags" != "-I/usr/include"; then
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CyaSSL_Init in -lcyassl" >&5
24669 $as_echo_n "checking for CyaSSL_Init in -lcyassl... " >&6; }
24674 LIBS="-lcyassl $LIBS"
24675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 ac_cv_lib_cyassl_CyaSSL_Init=no
24695 rm -f core conftest.err conftest.$ac_objext \
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cyassl_CyaSSL_Init" >&5
24728 addld=-L$OPT_CYASSL/lib$libsuff
24729 addcflags=-I$OPT_CYASSL/include
24733 if test "$addcflags" != "-I/usr/include"; then
24739 LIBS="-l$cyassllibname -lm $LIBS"
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CyaSSL_Init in -lwolfssl" >&5
24742 $as_echo_n "checking for CyaSSL_Init in -lwolfssl... " >&6; }
24743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24747 /* These aren't needed for detection and confuse WolfSSL.
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24780 $as_echo "no" >&6; }
24786 rm -f core conftest.err conftest.$ac_objext \
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: detected $cyassllibname" >&5
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
24801 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
24802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24825 as_fn_error $? "cannot determine a size for long long" "$LINENO" 5
24827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
24836 for ac_header in cyassl/options.h
24849 for ac_header in cyassl/error-ssl.h
24851 …ac_fn_c_check_header_mongrel "$LINENO" "cyassl/error-ssl.h" "ac_cv_header_cyassl_error_ssl_h" "$ac…
24862 LIBS="-l$cyassllibname -lm $LIBS"
24865 for ac_func in wolfSSLv3_client_method \
24880 for ac_func in CyaSSL_CTX_UseSupportedCurve \
24895 if test -n "$cyassllib"; then
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $cyassllib to CURL_LIBRARY_PATH" >&5
24907 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
24911 OPT_MESALINK=no
24916 # Check whether --with-mesalink was given.
24922 if test -z "$ssl_backends" -o "x$OPT_MESALINK" != xno; then
24931 if test -z "$OPT_MESALINK" ; then
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mesalink_library_init in -lmesalink" >&5
24934 $as_echo_n "checking for mesalink_library_init in -lmesalink... " >&6; }
24939 LIBS="-lmesalink $LIBS"
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 ac_cv_lib_mesalink_mesalink_library_init=no
24960 rm -f core conftest.err conftest.$ac_objext \
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mesalink_mesalink_library_init" >&5
24988 addld=-L$OPT_MESALINK/lib$libsuff
24989 addcflags=-I$OPT_MESALINK/include
24993 if test "$addcflags" != "-I/usr/include"; then
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mesalink_library_init in -lmesalink" >&5
24998 $as_echo_n "checking for mesalink_library_init in -lmesalink... " >&6; }
25003 LIBS="-lmesalink $LIBS"
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25022 ac_cv_lib_mesalink_mesalink_library_init=no
25024 rm -f core conftest.err conftest.$ac_objext \
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mesalink_mesalink_library_init" >&5
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MesaLink" >&5
25055 LIBS="-lmesalink $LIBS"
25057 if test -n "$mesalinklib"; then
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $mesalinklib to LD_LIBRARY_PATH" >&5
25068 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
25072 OPT_NSS=no
25075 # Check whether --with-nss was given.
25081 if test -z "$ssl_backends" -o "x$OPT_NSS" != xno; then
25095 if test -n "$PKG_CONFIG"; then
25098 if test -n "$ac_tool_prefix"; then
25099 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25100 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25102 $as_echo_n "checking for $ac_word... " >&6; }
25113 for as_dir in $as_dummy
25116 test -z "$as_dir" && as_dir=.
25117 for ac_exec_ext in '' $ac_executable_extensions; do
25120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25131 if test -n "$PKGCONFIG"; then
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25136 $as_echo "no" >&6; }
25141 if test -z "$ac_cv_path_PKGCONFIG"; then
25143 # Extract the first word of "pkg-config", so it can be a program name with args.
25144 set dummy pkg-config; ac_word=$2
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25146 $as_echo_n "checking for $ac_word... " >&6; }
25157 for as_dir in $as_dummy
25160 test -z "$as_dir" && as_dir=.
25161 for ac_exec_ext in '' $ac_executable_extensions; do
25164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25175 if test -n "$ac_pt_PKGCONFIG"; then
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25180 $as_echo "no" >&6; }
25184 PKGCONFIG="no"
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
25202 $as_echo_n "checking for nss options with pkg-config... " >&6; }
25204 if test -n ""; then
25208 $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
25210 if test -z "$itexists"; then
25211 PKGCONFIG="no"
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25213 $as_echo "no" >&6; }
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25221 if test "$PKGCONFIG" != "no" ; then
25222 addlib=`$PKGCONFIG --libs nss`
25223 addcflags=`$PKGCONFIG --cflags nss`
25224 version=`$PKGCONFIG --modversion nss`
25225 nssprefix=`$PKGCONFIG --variable=prefix nss`
25228 check=`nss-config --version 2>/dev/null`
25229 if test -n "$check"; then
25230 addlib=`nss-config --libs`
25231 addcflags=`nss-config --cflags`
25232 version=`nss-config --version`
25233 nssprefix=`nss-config --prefix`
25235 addlib="-lnss3"
25242 if test -f "$NSS_PCDIR/nss.pc"; then
25244 if test -n "$PKG_CONFIG"; then
25247 if test -n "$ac_tool_prefix"; then
25248 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25249 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25251 $as_echo_n "checking for $ac_word... " >&6; }
25262 for as_dir in $as_dummy
25265 test -z "$as_dir" && as_dir=.
25266 for ac_exec_ext in '' $ac_executable_extensions; do
25269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25280 if test -n "$PKGCONFIG"; then
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25285 $as_echo "no" >&6; }
25290 if test -z "$ac_cv_path_PKGCONFIG"; then
25292 # Extract the first word of "pkg-config", so it can be a program name with args.
25293 set dummy pkg-config; ac_word=$2
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25295 $as_echo_n "checking for $ac_word... " >&6; }
25306 for as_dir in $as_dummy
25309 test -z "$as_dir" && as_dir=.
25310 for ac_exec_ext in '' $ac_executable_extensions; do
25313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25324 if test -n "$ac_pt_PKGCONFIG"; then
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25329 $as_echo "no" >&6; }
25333 PKGCONFIG="no"
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nss options with pkg-config" >&5
25351 $as_echo_n "checking for nss options with pkg-config... " >&6; }
25353 if test -n "$NSS_PCDIR"; then
25357 $PKGCONFIG --exists nss >/dev/null 2>&1 && echo 1`
25359 if test -z "$itexists"; then
25360 PKGCONFIG="no"
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25362 $as_echo "no" >&6; }
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25369 if test "$PKGCONFIG" != "no" ; then
25371 if test -n "$NSS_PCDIR"; then
25375 $PKGCONFIG --libs-only-L nss`
25377 if test -n "$NSS_PCDIR"; then
25381 $PKGCONFIG --libs-only-l nss`
25383 if test -n "$NSS_PCDIR"; then
25387 $PKGCONFIG --cflags nss`
25389 if test -n "$NSS_PCDIR"; then
25393 $PKGCONFIG --modversion nss`
25395 if test -n "$NSS_PCDIR"; then
25399 $PKGCONFIG --variable=prefix nss`
25404 if test -z "$addlib"; then
25405 # Without pkg-config, we'll kludge in some defaults
25406 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using hard-wired libraries and compilation flags…
25407 $as_echo "$as_me: WARNING: Using hard-wired libraries and compilation flags for NSS." >&2;}
25408 addld="-L$OPT_NSS/lib"
25409 addlib="-lssl3 -lsmime3 -lnss3 -lplds4 -lplc4 -lnspr4"
25410 addcflags="-I$OPT_NSS/include"
25421 if test "$addcflags" != "-I/usr/include"; then
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_VersionRangeSet in -lnss3" >&5
25426 $as_echo_n "checking for SSL_VersionRangeSet in -lnss3... " >&6; }
25431 LIBS="-lnss3 $LIBS"
25432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25450 ac_cv_lib_nss3_SSL_VersionRangeSet=no
25452 rm -f core conftest.err conftest.$ac_objext \
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nss3_SSL_VersionRangeSet" >&5
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: detected NSS version $version" >&5
25499 … { $as_echo "$as_me:${as_lineno-$LINENO}: Added $nssprefix/lib$libsuff to CURL_LIBRARY_PATH" >&5
25505 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
25510 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SSL disabled, you will not be able to use HTTPS,…
25512 …-$LINENO}: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --w…
25513 …G: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-schannel, --w…
25519 { $as_echo "$as_me:${as_lineno-$LINENO}: built with one SSL backend" >&5
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: built with multiple SSL backends" >&5
25536 if test -n "$ssl_backends"; then
25540 if test no = "$VALID_DEFAULT_SSL_BACKEND"
25542 if test -n "$SSL_ENABLED"
25558 if test "$check_for_ca_bundle" -gt 0; then
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default CA cert bundle/path" >&5
25565 # Check whether --with-ca-bundle was given.
25570 as_fn_error $? "--with-ca-bundle=FILE requires a path to the CA bundle" "$LINENO" 5
25578 # Check whether --with-ca-path was given.
25583 as_fn_error $? "--with-ca-path=DIRECTORY requires a path to the CA path directory" "$LINENO" 5
25595 if test "x$want_ca" != "xno" -a "x$want_ca" != "xunset" -a \
25596 "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
25599 elif test "x$want_ca" != "xno" -a "x$want_ca" != "xunset"; then
25601 capath="no"
25602 elif test "x$want_capath" != "xno" -a "x$want_capath" != "xunset"; then
25603 …if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1" -a "x$POLARSSL_ENABLED" != "x1";…
25604 as_fn_error $? "--with-ca-path only works with OpenSSL, GnuTLS or PolarSSL" "$LINENO" 5
25607 ca="no"
25609 ca="no"
25610 capath="no"
25614 cac="${prefix}/share/curl/curl-ca-bundle.crt"
25616 cac="$ac_default_prefix/share/curl/curl-ca-bundle.crt"
25619 for a in /etc/ssl/certs/ca-certificates.crt \
25620 /etc/pki/tls/certs/ca-bundle.crt \
25621 /usr/share/ssl/certs/ca-bundle.crt \
25622 /usr/local/share/certs/ca-root-nss.crt \
25625 if test -f "$a"; then
25631 if test "x$want_capath" = "xunset" -a "x$ca" = "xno" -a \
25636 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: skipped the ca-cert path detection when cross-co…
25637 $as_echo "$as_me: WARNING: skipped the ca-cert path detection when cross-compiling" >&2;}
25641 if test "x$ca" = "xno" || test -f "$ca"; then
25649 if test ! -z "$check_capath"; then
25650 for a in "$check_capath"; do
25651 …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…
25673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ca" >&5
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $capath (capath)" >&5
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25688 $as_echo "no" >&6; }
25691 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use builtin CA store of SSL library" …
25694 # Check whether --with-ca-fallback was given.
25697 if test "x$with_ca_fallback" != "xyes" -a "x$with_ca_fallback" != "xno"; then
25698 as_fn_error $? "--with-ca-fallback only allows yes or no as parameter" "$LINENO" 5
25702 with_ca_fallback="no"
25705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ca_fallback" >&5
25708 if test "x$OPENSSL_ENABLED" != "x1" -a "x$GNUTLS_ENABLED" != "x1"; then
25709 as_fn_error $? "--with-ca-fallback only works with OpenSSL or GnuTLS" "$LINENO" 5
25722 # Check whether --with-libpsl was given.
25729 if test $with_libpsl != "no"; then
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing psl_builtin" >&5
25731 $as_echo_n "checking for library containing psl_builtin... " >&6; }
25736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25751 for ac_lib in '' psl; do
25752 if test -z "$ac_lib"; then
25755 ac_res=-l$ac_lib
25756 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
25761 rm -f core conftest.err conftest.$ac_objext \
25770 ac_cv_search_psl_builtin=no
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_psl_builtin" >&5
25778 if test "$ac_res" != no; then :
25786 curl_psl_msg="no (libpsl not found)";
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libpsl was not found" >&5
25804 OPT_LIBMETALINK=no
25807 # Check whether --with-libmetalink was given.
25821 PKGTEST="no"
25825 if test -n "$PKG_CONFIG"; then
25828 if test -n "$ac_tool_prefix"; then
25829 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25830 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25832 $as_echo_n "checking for $ac_word... " >&6; }
25843 for as_dir in $as_dummy
25846 test -z "$as_dir" && as_dir=.
25847 for ac_exec_ext in '' $ac_executable_extensions; do
25850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25861 if test -n "$PKGCONFIG"; then
25862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25866 $as_echo "no" >&6; }
25871 if test -z "$ac_cv_path_PKGCONFIG"; then
25873 # Extract the first word of "pkg-config", so it can be a program name with args.
25874 set dummy pkg-config; ac_word=$2
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25876 $as_echo_n "checking for $ac_word... " >&6; }
25887 for as_dir in $as_dummy
25890 test -z "$as_dir" && as_dir=.
25891 for ac_exec_ext in '' $ac_executable_extensions; do
25894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25905 if test -n "$ac_pt_PKGCONFIG"; then
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25910 $as_echo "no" >&6; }
25914 PKGCONFIG="no"
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
25931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmetalink options with pkg-config" >&5
25932 $as_echo_n "checking for libmetalink options with pkg-config... " >&6; }
25934 if test -n ""; then
25938 $PKGCONFIG --exists libmetalink >/dev/null 2>&1 && echo 1`
25940 if test -z "$itexists"; then
25941 PKGCONFIG="no"
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25943 $as_echo "no" >&6; }
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
25952 …{ $as_echo "$as_me:${as_lineno-$LINENO}: PKG_CONFIG_LIBDIR will be set to \"$LIBMETALINK_PCDIR\"" …
25954 if test -f "$LIBMETALINK_PCDIR/libmetalink.pc"; then
25959 if test -n "$PKG_CONFIG"; then
25962 if test -n "$ac_tool_prefix"; then
25963 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25964 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25966 $as_echo_n "checking for $ac_word... " >&6; }
25977 for as_dir in $as_dummy
25980 test -z "$as_dir" && as_dir=.
25981 for ac_exec_ext in '' $ac_executable_extensions; do
25984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25995 if test -n "$PKGCONFIG"; then
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26000 $as_echo "no" >&6; }
26005 if test -z "$ac_cv_path_PKGCONFIG"; then
26007 # Extract the first word of "pkg-config", so it can be a program name with args.
26008 set dummy pkg-config; ac_word=$2
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26010 $as_echo_n "checking for $ac_word... " >&6; }
26021 for as_dir in $as_dummy
26024 test -z "$as_dir" && as_dir=.
26025 for ac_exec_ext in '' $ac_executable_extensions; do
26028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26039 if test -n "$ac_pt_PKGCONFIG"; then
26040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26044 $as_echo "no" >&6; }
26048 PKGCONFIG="no"
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
26065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmetalink options with pkg-config" >&5
26066 $as_echo_n "checking for libmetalink options with pkg-config... " >&6; }
26068 if test -n "$LIBMETALINK_PCDIR"; then
26072 $PKGCONFIG --exists libmetalink >/dev/null 2>&1 && echo 1`
26074 if test -z "$itexists"; then
26075 PKGCONFIG="no"
26076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26077 $as_echo "no" >&6; }
26079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26086 if test "$PKGTEST" = "yes" && test "$PKGCONFIG" != "no"; then
26088 if test -n "$LIBMETALINK_PCDIR"; then
26092 $PKGCONFIG --libs-only-l libmetalink`
26094 if test -n "$LIBMETALINK_PCDIR"; then
26098 $PKGCONFIG --libs-only-L libmetalink`
26100 if test -n "$LIBMETALINK_PCDIR"; then
26104 $PKGCONFIG --cflags-only-I libmetalink`
26106 if test -n "$LIBMETALINK_PCDIR"; then
26110 $PKGCONFIG --modversion libmetalink`
26111 libmetalinklib=`echo $addld | $SED -e 's/-L//'`
26113 if test -n "$addlib"; then
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libmetalink is recent enough" >&5
26123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($version)" >&5
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($version)" >&5
26149 $as_echo "no ($version)" >&6; }
26150 { $as_echo "$as_me:${as_lineno-$LINENO}: libmetalink library defective or too old" >&5
26152 want_metalink="no"
26155 rm -f core conftest.err conftest.$ac_objext \
26179 # Check whether --with-libssh2 was given.
26183 OPT_LIBSSH2=no
26190 # Check whether --with-libssh was given.
26194 OPT_LIBSSH=no
26206 if test -n "$PKG_CONFIG"; then
26209 if test -n "$ac_tool_prefix"; then
26210 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26211 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26213 $as_echo_n "checking for $ac_word... " >&6; }
26224 for as_dir in $as_dummy
26227 test -z "$as_dir" && as_dir=.
26228 for ac_exec_ext in '' $ac_executable_extensions; do
26231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26242 if test -n "$PKGCONFIG"; then
26243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26247 $as_echo "no" >&6; }
26252 if test -z "$ac_cv_path_PKGCONFIG"; then
26254 # Extract the first word of "pkg-config", so it can be a program name with args.
26255 set dummy pkg-config; ac_word=$2
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26257 $as_echo_n "checking for $ac_word... " >&6; }
26268 for as_dir in $as_dummy
26271 test -z "$as_dir" && as_dir=.
26272 for ac_exec_ext in '' $ac_executable_extensions; do
26275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26286 if test -n "$ac_pt_PKGCONFIG"; then
26287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26291 $as_echo "no" >&6; }
26295 PKGCONFIG="no"
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2 options with pkg-config" >&5
26313 $as_echo_n "checking for libssh2 options with pkg-config... " >&6; }
26315 if test -n ""; then
26319 $PKGCONFIG --exists libssh2 >/dev/null 2>&1 && echo 1`
26321 if test -z "$itexists"; then
26322 PKGCONFIG="no"
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26324 $as_echo "no" >&6; }
26326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26332 if test "$PKGCONFIG" != "no" ; then
26333 LIB_SSH2=`$PKGCONFIG --libs libssh2`
26334 LD_SSH2=`$PKGCONFIG --libs-only-L libssh2`
26335 CPP_SSH2=`$PKGCONFIG --cflags-only-I libssh2`
26336 version=`$PKGCONFIG --modversion libssh2`
26337 DIR_SSH2=`echo $LD_SSH2 | $SED -e 's/-L//'`
26348 if test -n "$PREFIX_SSH2"; then
26349 LIB_SSH2="-lssh2"
26350 LD_SSH2=-L${PREFIX_SSH2}/lib$libsuff
26351 CPP_SSH2=-I${PREFIX_SSH2}/include
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh2_channel_open_ex in -lssh2" >&5
26360 $as_echo_n "checking for libssh2_channel_open_ex in -lssh2... " >&6; }
26365 LIBS="-lssh2 $LIBS"
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26384 ac_cv_lib_ssh2_libssh2_channel_open_ex=no
26386 rm -f core conftest.err conftest.$ac_objext \
26390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh2_libssh2_channel_open_ex" >&5
26397 LIBS="-lssh2 $LIBS"
26402 for ac_header in libssh2.h
26428 if test -n "$DIR_SSH2"; then
26433 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH2 to CURL_LIBRARY_PATH" >&5
26450 if test -n "$PKG_CONFIG"; then
26453 if test -n "$ac_tool_prefix"; then
26454 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26455 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26457 $as_echo_n "checking for $ac_word... " >&6; }
26468 for as_dir in $as_dummy
26471 test -z "$as_dir" && as_dir=.
26472 for ac_exec_ext in '' $ac_executable_extensions; do
26475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26486 if test -n "$PKGCONFIG"; then
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26491 $as_echo "no" >&6; }
26496 if test -z "$ac_cv_path_PKGCONFIG"; then
26498 # Extract the first word of "pkg-config", so it can be a program name with args.
26499 set dummy pkg-config; ac_word=$2
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26501 $as_echo_n "checking for $ac_word... " >&6; }
26512 for as_dir in $as_dummy
26515 test -z "$as_dir" && as_dir=.
26516 for ac_exec_ext in '' $ac_executable_extensions; do
26519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26530 if test -n "$ac_pt_PKGCONFIG"; then
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26535 $as_echo "no" >&6; }
26539 PKGCONFIG="no"
26543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssh options with pkg-config" >&5
26557 $as_echo_n "checking for libssh options with pkg-config... " >&6; }
26559 if test -n ""; then
26563 $PKGCONFIG --exists libssh >/dev/null 2>&1 && echo 1`
26565 if test -z "$itexists"; then
26566 PKGCONFIG="no"
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26568 $as_echo "no" >&6; }
26570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26576 if test "$PKGCONFIG" != "no" ; then
26577 LIB_SSH=`$PKGCONFIG --libs-only-l libssh`
26578 LD_SSH=`$PKGCONFIG --libs-only-L libssh`
26579 CPP_SSH=`$PKGCONFIG --cflags-only-I libssh`
26580 version=`$PKGCONFIG --modversion libssh`
26581 DIR_SSH=`echo $LD_SSH | $SED -e 's/-L//'`
26592 if test -n "$PREFIX_SSH"; then
26593 LIB_SSH="-lssh"
26594 LD_SSH=-L${PREFIX_SSH}/lib$libsuff
26595 CPP_SSH=-I${PREFIX_SSH}/include
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssh_new in -lssh" >&5
26604 $as_echo_n "checking for ssh_new in -lssh... " >&6; }
26609 LIBS="-lssh $LIBS"
26610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26628 ac_cv_lib_ssh_ssh_new=no
26630 rm -f core conftest.err conftest.$ac_objext \
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssh_ssh_new" >&5
26641 LIBS="-lssh $LIBS"
26646 for ac_header in libssh/libssh.h
26672 if test -n "$DIR_SSH"; then
26677 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $DIR_SSH to CURL_LIBRARY_PATH" >&5
26691 # Check whether --with-librtmp was given.
26705 if test -n "$PKG_CONFIG"; then
26708 if test -n "$ac_tool_prefix"; then
26709 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26710 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26712 $as_echo_n "checking for $ac_word... " >&6; }
26723 for as_dir in $as_dummy
26726 test -z "$as_dir" && as_dir=.
26727 for ac_exec_ext in '' $ac_executable_extensions; do
26730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26741 if test -n "$PKGCONFIG"; then
26742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26746 $as_echo "no" >&6; }
26751 if test -z "$ac_cv_path_PKGCONFIG"; then
26753 # Extract the first word of "pkg-config", so it can be a program name with args.
26754 set dummy pkg-config; ac_word=$2
26755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26756 $as_echo_n "checking for $ac_word... " >&6; }
26767 for as_dir in $as_dummy
26770 test -z "$as_dir" && as_dir=.
26771 for ac_exec_ext in '' $ac_executable_extensions; do
26774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26785 if test -n "$ac_pt_PKGCONFIG"; then
26786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
26789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26790 $as_echo "no" >&6; }
26794 PKGCONFIG="no"
26798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
26811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librtmp options with pkg-config" >&5
26812 $as_echo_n "checking for librtmp options with pkg-config... " >&6; }
26814 if test -n ""; then
26818 $PKGCONFIG --exists librtmp >/dev/null 2>&1 && echo 1`
26820 if test -z "$itexists"; then
26821 PKGCONFIG="no"
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26823 $as_echo "no" >&6; }
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26831 if test "$PKGCONFIG" != "no" ; then
26832 LIB_RTMP=`$PKGCONFIG --libs-only-l librtmp`
26833 LD_RTMP=`$PKGCONFIG --libs-only-L librtmp`
26834 CPP_RTMP=`$PKGCONFIG --cflags-only-I librtmp`
26835 version=`$PKGCONFIG --modversion librtmp`
26836 DIR_RTMP=`echo $LD_RTMP | $SED -e 's/-L//'`
26838 … as_fn_error $? "--librtmp was specified but could not find librtmp pkgconfig file." "$LINENO" 5
26843 LIB_RTMP="-lrtmp"
26846 LIB_RTMP="-lrtmp"
26851 if test -n "$PREFIX_RTMP"; then
26852 LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
26853 CPP_RTMP=-I${PREFIX_RTMP}/include
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
26862 $as_echo_n "checking for RTMP_Init in -lrtmp... " >&6; }
26867 LIBS="-lrtmp $LIBS"
26868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26886 ac_cv_lib_rtmp_RTMP_Init=no
26888 rm -f core conftest.err conftest.$ac_objext \
26892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rtmp_RTMP_Init" >&5
26896 for ac_header in librtmp/rtmp.h
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether versioned symbols are wanted" >&5
26935 # Check whether --enable-versioned-symbols was given.
26938 yes) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5
26942 GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script`
26943 if test -z "$GLD"; then
26944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26945 $as_echo "no" >&6; }
26946 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need an ld version supporting the --version-…
26947 $as_echo "$as_me: WARNING: You need an ld version supporting the --version-script option" >&2;}
26949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26974 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26975 $as_echo "no" >&6; }
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26982 $as_echo "no" >&6; }
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Windows native IDN (Windows nat…
27004 # Check whether --with-winidn was given.
27010 no|default)
27011 want_winidn="no"
27012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27013 $as_echo "no" >&6; }
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
27033 WINIDN_LIBS="-lnormaliz"
27034 WINIDN_CPPFLAGS="-DWINVER=0x0600"
27037 WINIDN_LDFLAGS="-L$want_winidn_path/lib$libsuff"
27038 WINIDN_CPPFLAGS="-I$want_winidn_path/include"
27046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IdnToUnicode can be linked" >&5
27048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27073 $as_echo "no" >&6; }
27074 tst_links_winidn="no"
27077 rm -f core conftest.err conftest.$ac_objext \
27089 curl_idn_msg="enabled (Windows-native)"
27091 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN disab…
27092 $as_echo "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with libidn2" >&5
27104 # Check whether --with-libidn2 was given.
27110 no)
27111 want_idn="no"
27112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27113 $as_echo "no" >&6; }
27118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (assumed) yes" >&5
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($withval)" >&5
27139 PKGCONFIG="no"
27144 if test -n "$PKG_CONFIG"; then
27147 if test -n "$ac_tool_prefix"; then
27148 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27149 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27151 $as_echo_n "checking for $ac_word... " >&6; }
27162 for as_dir in $as_dummy
27165 test -z "$as_dir" && as_dir=.
27166 for ac_exec_ext in '' $ac_executable_extensions; do
27169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27180 if test -n "$PKGCONFIG"; then
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27185 $as_echo "no" >&6; }
27190 if test -z "$ac_cv_path_PKGCONFIG"; then
27192 # Extract the first word of "pkg-config", so it can be a program name with args.
27193 set dummy pkg-config; ac_word=$2
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27195 $as_echo_n "checking for $ac_word... " >&6; }
27206 for as_dir in $as_dummy
27209 test -z "$as_dir" && as_dir=.
27210 for ac_exec_ext in '' $ac_executable_extensions; do
27213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27224 if test -n "$ac_pt_PKGCONFIG"; then
27225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27229 $as_echo "no" >&6; }
27233 PKGCONFIG="no"
27237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
27251 $as_echo_n "checking for libidn2 options with pkg-config... " >&6; }
27253 if test -n "$IDN_PCDIR"; then
27257 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
27259 if test -z "$itexists"; then
27260 PKGCONFIG="no"
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27262 $as_echo "no" >&6; }
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27269 if test "$PKGCONFIG" != "no"; then
27271 if test -n "$IDN_PCDIR"; then
27275 $PKGCONFIG --libs-only-l libidn2 2>/dev/null`
27277 if test -n "$IDN_PCDIR"; then
27281 $PKGCONFIG --libs-only-L libidn2 2>/dev/null`
27283 if test -n "$IDN_PCDIR"; then
27287 $PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
27288 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/-L//'`
27290 IDN_LIBS="-lidn2"
27291 IDN_LDFLAGS="-L$want_idn_path/lib$libsuff"
27292 IDN_CPPFLAGS="-I$want_idn_path/include"
27297 if test -n "$PKG_CONFIG"; then
27300 if test -n "$ac_tool_prefix"; then
27301 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27302 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27304 $as_echo_n "checking for $ac_word... " >&6; }
27315 for as_dir in $as_dummy
27318 test -z "$as_dir" && as_dir=.
27319 for ac_exec_ext in '' $ac_executable_extensions; do
27322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27333 if test -n "$PKGCONFIG"; then
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27338 $as_echo "no" >&6; }
27343 if test -z "$ac_cv_path_PKGCONFIG"; then
27345 # Extract the first word of "pkg-config", so it can be a program name with args.
27346 set dummy pkg-config; ac_word=$2
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27348 $as_echo_n "checking for $ac_word... " >&6; }
27359 for as_dir in $as_dummy
27362 test -z "$as_dir" && as_dir=.
27363 for ac_exec_ext in '' $ac_executable_extensions; do
27366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27377 if test -n "$ac_pt_PKGCONFIG"; then
27378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27382 $as_echo "no" >&6; }
27386 PKGCONFIG="no"
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libidn2 options with pkg-config" >&5
27404 $as_echo_n "checking for libidn2 options with pkg-config... " >&6; }
27406 if test -n ""; then
27410 $PKGCONFIG --exists libidn2 >/dev/null 2>&1 && echo 1`
27412 if test -z "$itexists"; then
27413 PKGCONFIG="no"
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27415 $as_echo "no" >&6; }
27417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27422 if test "$PKGCONFIG" != "no"; then
27423 IDN_LIBS=`$PKGCONFIG --libs-only-l libidn2 2>/dev/null`
27424 IDN_LDFLAGS=`$PKGCONFIG --libs-only-L libidn2 2>/dev/null`
27425 IDN_CPPFLAGS=`$PKGCONFIG --cflags-only-I libidn2 2>/dev/null`
27426 IDN_DIR=`echo $IDN_LDFLAGS | $SED -e 's/-L//'`
27428 IDN_LIBS="-lidn2"
27432 if test "$PKGCONFIG" != "no"; then
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&5
27434 $as_echo "$as_me: pkg-config: IDN_LIBS: \"$IDN_LIBS\"" >&6;}
27435 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
27436 $as_echo "$as_me: pkg-config: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&6;}
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
27438 $as_echo "$as_me: pkg-config: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&6;}
27439 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&5
27440 $as_echo "$as_me: pkg-config: IDN_DIR: \"$IDN_DIR\"" >&6;}
27442 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_LIBS: \"$IDN_LIBS\"" >&5
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_LDFLAGS: \"$IDN_LDFLAGS\"" >&5
27446 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_CPPFLAGS: \"$IDN_CPPFLAGS\"" >&5
27448 { $as_echo "$as_me:${as_lineno-$LINENO}: IDN_DIR: \"$IDN_DIR\"" >&5
27456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if idn2_lookup_ul can be linked" >&5
27458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27494 $as_echo "no" >&6; }
27495 tst_links_libidn="no"
27498 rm -f core conftest.err conftest.$ac_objext \
27501 for ac_header in idn2.h
27523 if test -n "$IDN_DIR" -a "x$cross_compiling" != "xyes"; then
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: Added $IDN_DIR to CURL_LIBRARY_PATH" >&5
27530 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libraries for IDN support: IDN disab…
27531 $as_echo "$as_me: WARNING: Cannot find libraries for IDN support: IDN disabled" >&2;}
27545 # without HTTP, nghttp2 is no use
27546 OPT_H2="no"
27550 # Check whether --with-nghttp2 was given.
27556 no)
27557 want_h2="no"
27569 curl_h2_msg="disabled (--with-nghttp2)"
27576 if test -n "$PKG_CONFIG"; then
27579 if test -n "$ac_tool_prefix"; then
27580 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27581 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27583 $as_echo_n "checking for $ac_word... " >&6; }
27594 for as_dir in $as_dummy
27597 test -z "$as_dir" && as_dir=.
27598 for ac_exec_ext in '' $ac_executable_extensions; do
27601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27612 if test -n "$PKGCONFIG"; then
27613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27617 $as_echo "no" >&6; }
27622 if test -z "$ac_cv_path_PKGCONFIG"; then
27624 # Extract the first word of "pkg-config", so it can be a program name with args.
27625 set dummy pkg-config; ac_word=$2
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27627 $as_echo_n "checking for $ac_word... " >&6; }
27638 for as_dir in $as_dummy
27641 test -z "$as_dir" && as_dir=.
27642 for ac_exec_ext in '' $ac_executable_extensions; do
27645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27656 if test -n "$ac_pt_PKGCONFIG"; then
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27661 $as_echo "no" >&6; }
27665 PKGCONFIG="no"
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
27682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnghttp2 options with pkg-config" >&5
27683 $as_echo_n "checking for libnghttp2 options with pkg-config... " >&6; }
27685 if test -n "$want_h2_path"; then
27689 $PKGCONFIG --exists libnghttp2 >/dev/null 2>&1 && echo 1`
27691 if test -z "$itexists"; then
27692 PKGCONFIG="no"
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27694 $as_echo "no" >&6; }
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
27702 if test "$PKGCONFIG" != "no" ; then
27704 if test -n "$want_h2_path"; then
27709 $PKGCONFIG --libs-only-l libnghttp2`
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: -l is $LIB_H2" >&5
27711 $as_echo "$as_me: -l is $LIB_H2" >&6;}
27714 if test -n "$want_h2_path"; then
27718 $PKGCONFIG --cflags-only-I libnghttp2`
27719 { $as_echo "$as_me:${as_lineno-$LINENO}: -I is $CPP_H2" >&5
27720 $as_echo "$as_me: -I is $CPP_H2" >&6;}
27723 if test -n "$want_h2_path"; then
27728 $PKGCONFIG --libs-only-L libnghttp2`
27729 { $as_echo "$as_me:${as_lineno-$LINENO}: -L is $LD_H2" >&5
27730 $as_echo "$as_me: -L is $LD_H2" >&6;}
27738 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nghttp2_option_set_no_recv_client_magic in -…
27739 $as_echo_n "checking for nghttp2_option_set_no_recv_client_magic in -lnghttp2... " >&6; }
27744 LIBS="-lnghttp2 $LIBS"
27745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27763 ac_cv_lib_nghttp2_nghttp2_option_set_no_recv_client_magic=no
27765 rm -f core conftest.err conftest.$ac_objext \
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nghttp2_nghttp2_option_set_no_recv_clie…
27773 for ac_header in nghttp2/nghttp2.h
27803 …as_fn_error $? "--with-nghttp2 was specified but could not find libnghttp2 pkg-config file." "$LIN…
27812 # Check whether --with-zsh-functions-dir was given.
27818 no)
27821 ZSH_FUNCTIONS_DIR="$datarootdir/zsh/site-functions"
27833 # Check whether --with-fish-functions-dir was given.
27839 no)
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
27853 $as_echo_n "checking for ANSI C header files... " >&6; }
27857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27874 ac_cv_header_stdc=no
27876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 ac_cv_header_stdc=no
27891 rm -f conftest*
27897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27906 ac_cv_header_stdc=no
27908 rm -f conftest*
27913 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
27917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27923 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
27937 for (i = 0; i < 256; i++)
27947 ac_cv_header_stdc=no
27949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc.h" >&5
27966 $as_echo_n "checking for malloc.h... " >&6; }
27971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27996 curl_cv_header_malloc_h="no"
27999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_malloc_h" >&5
28011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28032 curl_cv_need_header_malloc_h="no"
28039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memory.h" >&5
28054 $as_echo_n "checking for memory.h... " >&6; }
28059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28084 curl_cv_header_memory_h="no"
28087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_memory_h" >&5
28099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28120 curl_cv_need_header_memory_h="no"
28127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28141 for ac_header in sys/types.h \
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
28222 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
28226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28244 an arm of an if-expression whose if-part is not a constant
28247 pcpcc = &g + (g ? g-g : 0);
28260 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
28265 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
28271 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
28273 struct s *b = &bx; b->j = 5;
28275 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
28289 ac_cv_c_const=no
28291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
28295 if test $ac_cv_c_const = no; then
28302 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of C99 variadic macro style…
28303 $as_echo_n "checking for compiler support of C99 variadic macro style... " >&6; }
28308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28338 curl_cv_variadic_macros_c99="no"
28341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_c99" >&5
28355 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler support of old gcc variadic macro s…
28356 $as_echo_n "checking for compiler support of old gcc variadic macro style... " >&6; }
28361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 curl_cv_variadic_macros_gcc="no"
28394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_variadic_macros_gcc" >&5
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be include…
28425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28442 ac_cv_header_time=no
28444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
28455 for ac_header in sys/types.h sys/time.h time.h sys/socket.h
28468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
28469 $as_echo_n "checking for struct timeval... " >&6; }
28474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28527 curl_cv_struct_timeval="no"
28530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_struct_timeval" >&5
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-time libs availability" >&5
28550 $as_echo_n "checking run-time libs availability... " >&6; }
28557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28560 See \`config.log' for more details" "$LINENO" 5; }
28562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: fine" >&5
28575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
28577 …as_fn_error $? "one or more libs available at link-time are not available run-time. Libs used at l…
28580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
28595 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28619 as_fn_error $? "cannot determine a size for size_t" "$LINENO" 5
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
28629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
28634 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658 as_fn_error $? "cannot determine a size for long" "$LINENO" 5
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
28673 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 as_fn_error $? "cannot determine a size for int" "$LINENO" 5
28699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
28712 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28736 as_fn_error $? "cannot determine a size for short" "$LINENO" 5
28738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
28746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
28751 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28775 as_fn_error $? "cannot determine a size for time_t" "$LINENO" 5
28777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
28790 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28814 as_fn_error $? "cannot determine a size for off_t" "$LINENO" 5
28816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
28826 CPPFLAGS="-I$srcdir/include $CPPFLAGS"
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of curl_off_t" >&5
28832 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence.
28833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28858 as_fn_error $? "cannot determine a size for curl_off_t" "$LINENO" 5
28860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_curl_off_t" >&5
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if numberLL works" >&5
28883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28909 $as_echo "no" >&6; }
28912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28916 # check for ssize_t
28927 # check for bool type
28946 # check for sa_family_t
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if time_t is unsigned" >&5
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28989 $as_echo "no" >&6; }
28992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28997 time_t t = -1;
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29010 $as_echo "no" >&6; }
29013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29033 for ac_header in sys/types.h poll.h sys/poll.h
29052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29078 tst_poll_events_macro_defined="no"
29081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t equivalent" >&5
29131 $as_echo_n "checking for in_addr_t equivalent... " >&6; }
29137 for t in "unsigned long" int size_t unsigned long; do
29139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29186 rm -f core conftest.err conftest.$ac_objext \
29192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_in_addr_t_equiv" >&5
29247 for ac_header in signal.h
29276 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sig_atomic_t is already defined as volatile" …
29278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29299 $as_echo "no" >&6; }
29300 curl_cv_sig_atomic_t_volatile="no"
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29309 rm -f core conftest.err conftest.$ac_objext \
29321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
29326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
29355 for ac_header in sys/select.h sys/socket.h
29369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for select" >&5
29370 $as_echo_n "checking for select... " >&6; }
29371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29435 $as_echo "no" >&6; }
29436 curl_cv_select="no"
29439 rm -f core conftest.err conftest.$ac_objext \
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for select" >&5
29444 $as_echo_n "checking types of args and return type for select... " >&6; }
29450 for sel_retv in 'int' 'ssize_t'; do
29451 for sel_arg1 in 'int' 'ssize_t' 'size_t' 'unsigned long int' 'unsigned int'; do
29452 for sel_arg234 in 'fd_set *' 'int *' 'void *'; do
29453 for sel_arg5 in 'struct timeval *' 'const struct timeval *'; do
29455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_select_args" >&5
29544 $as_echo "$curl_cv_func_select_args" >&6; } # AC-CACHE-CHECK
29546 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find proper types to use for select args"…
29547 $as_echo "$as_me: WARNING: Cannot find proper types to use for select args" >&2;}
29548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HAVE_SELECT will not be defined" >&5
29574 prev_sh_opts=$-
29580 set -f
29625 for ac_header in sys/types.h sys/socket.h
29639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recv" >&5
29640 $as_echo_n "checking for recv... " >&6; }
29641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29690 $as_echo "no" >&6; }
29691 curl_cv_recv="no"
29694 rm -f core conftest.err conftest.$ac_objext \
29698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for recv" >&5
29699 $as_echo_n "checking types of args and return type for recv... " >&6; }
29705 for recv_retv in 'int' 'ssize_t'; do
29706 for recv_arg1 in 'int' 'ssize_t' 'SOCKET'; do
29707 for recv_arg2 in 'char *' 'void *'; do
29708 for recv_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
29709 for recv_arg4 in 'int' 'unsigned int'; do
29711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_recv_args" >&5
29776 $as_echo "$curl_cv_func_recv_args" >&6; } # AC-CACHE-CHECK
29778 as_fn_error $? "Cannot find proper types to use for recv args" "$LINENO" 5
29823 for ac_header in sys/types.h sys/socket.h
29837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for send" >&5
29838 $as_echo_n "checking for send... " >&6; }
29839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29888 $as_echo "no" >&6; }
29889 curl_cv_send="no"
29892 rm -f core conftest.err conftest.$ac_objext \
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of args and return type for send" >&5
29897 $as_echo_n "checking types of args and return type for send... " >&6; }
29903 for send_retv in 'int' 'ssize_t'; do
29904 for send_arg1 in 'int' 'ssize_t' 'SOCKET'; do
29905 for send_arg2 in 'char *' 'void *' 'const char *' 'const void *'; do
29906 for send_arg3 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
29907 for send_arg4 in 'int' 'unsigned int'; do
29909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_func_send_args" >&5
29973 $as_echo "$curl_cv_func_send_args" >&6; } # AC-CACHE-CHECK
29975 as_fn_error $? "Cannot find proper types to use for send args" "$LINENO" 5
30005 prev_sh_opts=$-
30011 set -f
30057 for ac_header in sys/types.h sys/socket.h
30070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MSG_NOSIGNAL" >&5
30071 $as_echo_n "checking for MSG_NOSIGNAL... " >&6; }
30076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30122 curl_cv_msg_nosignal="no"
30125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_msg_nosignal" >&5
30151 for ac_header in sys/types.h unistd.h
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm can be linked" >&5
30175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30211 $as_echo "no" >&6; }
30212 tst_links_alarm="no"
30215 rm -f core conftest.err conftest.$ac_objext \
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is prototyped" >&5
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30237 $as_echo "no" >&6; }
30238 tst_proto_alarm="no"
30241 rm -f conftest*
30246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm is compilable" >&5
30248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30274 $as_echo "no" >&6; }
30275 tst_compi_alarm="no"
30278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm usage allowed" >&5
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30290 $as_echo "no" >&6; }
30291 tst_allow_alarm="no"
30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if alarm might be used" >&5
30301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30311 $as_echo "no" >&6; }
30312 curl_cv_func_alarm="no"
30328 for ac_header in sys/types.h string.h strings.h
30353 for ac_header in sys/types.h libgen.h
30375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename can be linked" >&5
30377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30413 $as_echo "no" >&6; }
30414 tst_links_basename="no"
30417 rm -f core conftest.err conftest.$ac_objext \
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is prototyped" >&5
30423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30441 $as_echo "no" >&6; }
30442 tst_proto_basename="no"
30445 rm -f conftest*
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename is compilable" >&5
30452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30480 $as_echo "no" >&6; }
30481 tst_compi_basename="no"
30484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename usage allowed" >&5
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30496 $as_echo "no" >&6; }
30497 tst_allow_basename="no"
30501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if basename might be used" >&5
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30517 $as_echo "no" >&6; }
30518 curl_cv_func_basename="no"
30531 for ac_header in sys/types.h socket.h
30553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket can be linked" >&5
30555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30583 $as_echo "no" >&6; }
30584 tst_links_closesocket="no"
30587 rm -f core conftest.err conftest.$ac_objext \
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is prototyped" >&5
30593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30611 $as_echo "no" >&6; }
30612 tst_proto_closesocket="no"
30615 rm -f conftest*
30620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket is compilable" >&5
30622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30650 $as_echo "no" >&6; }
30651 tst_compi_closesocket="no"
30654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket usage allowed" >&5
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30666 $as_echo "no" >&6; }
30667 tst_allow_closesocket="no"
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if closesocket might be used" >&5
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30687 $as_echo "no" >&6; }
30688 curl_cv_func_closesocket="no"
30701 for ac_header in sys/types.h sys/socket.h
30723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket can be linked" >&5
30725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30751 $as_echo "no" >&6; }
30752 tst_links_closesocket_camel="no"
30755 rm -f core conftest.err conftest.$ac_objext \
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is prototyped" >&5
30761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30777 $as_echo "no" >&6; }
30778 tst_proto_closesocket_camel="no"
30781 rm -f conftest*
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket is compilable" >&5
30788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30814 $as_echo "no" >&6; }
30815 tst_compi_closesocket_camel="no"
30818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket usage allowed" >&5
30825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30830 $as_echo "no" >&6; }
30831 tst_allow_closesocket_camel="no"
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CloseSocket might be used" >&5
30841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30851 $as_echo "no" >&6; }
30852 curl_cv_func_closesocket_camel="no"
30862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect can be linked" >&5
30864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30893 $as_echo "no" >&6; }
30894 tst_links_connect="no"
30897 rm -f core conftest.err conftest.$ac_objext \
30901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is prototyped" >&5
30903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30922 $as_echo "no" >&6; }
30923 tst_proto_connect="no"
30926 rm -f conftest*
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect is compilable" >&5
30933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30962 $as_echo "no" >&6; }
30963 tst_compi_connect="no"
30966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect usage allowed" >&5
30973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30978 $as_echo "no" >&6; }
30979 tst_allow_connect="no"
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if connect might be used" >&5
30989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30999 $as_echo "no" >&6; }
31000 curl_cv_func_connect="no"
31016 for ac_header in sys/types.h unistd.h fcntl.h
31038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl can be linked" >&5
31040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31076 $as_echo "no" >&6; }
31077 tst_links_fcntl="no"
31080 rm -f core conftest.err conftest.$ac_objext \
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is prototyped" >&5
31086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31102 $as_echo "no" >&6; }
31103 tst_proto_fcntl="no"
31106 rm -f conftest*
31111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl is compilable" >&5
31113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31139 $as_echo "no" >&6; }
31140 tst_compi_fcntl="no"
31143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl usage allowed" >&5
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31155 $as_echo "no" >&6; }
31156 tst_allow_fcntl="no"
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl might be used" >&5
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK is compilable" >&5
31188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31215 $as_echo "no" >&6; }
31216 tst_compi_fcntl_o_nonblock="no"
31219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK usage allowed" >&5
31226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31231 $as_echo "no" >&6; }
31232 tst_allow_fcntl_o_nonblock="no"
31236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fcntl O_NONBLOCK might be used" >&5
31240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31250 $as_echo "no" >&6; }
31251 curl_cv_func_fcntl_o_nonblock="no"
31255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31256 $as_echo "no" >&6; }
31257 curl_cv_func_fcntl="no"
31277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for windows.h" >&5
31278 $as_echo_n "checking for windows.h... " >&6; }
31283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31313 curl_cv_header_windows_h="no"
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_windows_h" >&5
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for winsock2.h" >&5
31333 $as_echo_n "checking for winsock2.h... " >&6; }
31338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31369 curl_cv_header_winsock2_h="no"
31372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_winsock2_h" >&5
31388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ws2tcpip.h" >&5
31389 $as_echo_n "checking for ws2tcpip.h... " >&6; }
31394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 curl_cv_header_ws2tcpip_h="no"
31429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_header_ws2tcpip_h" >&5
31455 for ac_header in sys/types.h netdb.h
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo can be linked" >&5
31479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31506 $as_echo "no" >&6; }
31507 tst_links_freeaddrinfo="no"
31510 rm -f core conftest.err conftest.$ac_objext \
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is prototyped" >&5
31516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31534 $as_echo "no" >&6; }
31535 tst_proto_freeaddrinfo="no"
31538 rm -f conftest*
31543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo is compilable" >&5
31545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31572 $as_echo "no" >&6; }
31573 tst_compi_freeaddrinfo="no"
31576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo usage allowed" >&5
31583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31588 $as_echo "no" >&6; }
31589 tst_allow_freeaddrinfo="no"
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeaddrinfo might be used" >&5
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31609 $as_echo "no" >&6; }
31610 curl_cv_func_freeaddrinfo="no"
31629 for ac_header in sys/types.h sys/socket.h netinet/in.h ifaddrs.h
31651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs can be linked" >&5
31653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31689 $as_echo "no" >&6; }
31690 tst_links_freeifaddrs="no"
31693 rm -f core conftest.err conftest.$ac_objext \
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is prototyped" >&5
31699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31715 $as_echo "no" >&6; }
31716 tst_proto_freeifaddrs="no"
31719 rm -f conftest*
31724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs is compilable" >&5
31726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31751 $as_echo "no" >&6; }
31752 tst_compi_freeifaddrs="no"
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs usage allowed" >&5
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31767 $as_echo "no" >&6; }
31768 tst_allow_freeifaddrs="no"
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if freeifaddrs might be used" >&5
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31788 $as_echo "no" >&6; }
31789 curl_cv_func_freeifaddrs="no"
31802 for ac_header in sys/types.h sys/xattr.h
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr can be linked" >&5
31827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31863 $as_echo "no" >&6; }
31864 tst_links_fsetxattr="no"
31867 rm -f core conftest.err conftest.$ac_objext \
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is prototyped" >&5
31873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31889 $as_echo "no" >&6; }
31890 tst_proto_fsetxattr="no"
31893 rm -f conftest*
31899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 5 args." >&5
31901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31928 $as_echo "no" >&6; }
31929 tst_compi_fsetxattr="no"
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr takes 6 args." >&5
31937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31964 $as_echo "no" >&6; }
31965 tst_compi_fsetxattr="no"
31968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr is compilable" >&5
31973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31977 $as_echo "no" >&6; }
31982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr usage allowed" >&5
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31990 $as_echo "no" >&6; }
31991 tst_allow_fsetxattr="no"
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsetxattr might be used" >&5
32001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32009 if test "$tst_nargs_fsetxattr" -eq "5"; then
32013 elif test "$tst_nargs_fsetxattr" -eq "6"; then
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32022 $as_echo "no" >&6; }
32023 curl_cv_func_fsetxattr="no"
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate can be linked" >&5
32035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32071 $as_echo "no" >&6; }
32072 tst_links_ftruncate="no"
32075 rm -f core conftest.err conftest.$ac_objext \
32079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is prototyped" >&5
32081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32097 $as_echo "no" >&6; }
32098 tst_proto_ftruncate="no"
32101 rm -f conftest*
32106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate is compilable" >&5
32108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32134 $as_echo "no" >&6; }
32135 tst_compi_ftruncate="no"
32138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate usage allowed" >&5
32145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32150 $as_echo "no" >&6; }
32151 tst_allow_ftruncate="no"
32155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ftruncate might be used" >&5
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32171 $as_echo "no" >&6; }
32172 curl_cv_func_ftruncate="no"
32185 for ac_header in sys/types.h stdlib.h
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo can be linked" >&5
32211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32239 $as_echo "no" >&6; }
32240 tst_links_getaddrinfo="no"
32243 rm -f core conftest.err conftest.$ac_objext \
32247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is prototyped" >&5
32249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32267 $as_echo "no" >&6; }
32268 tst_proto_getaddrinfo="no"
32271 rm -f conftest*
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is compilable" >&5
32278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32306 $as_echo "no" >&6; }
32307 tst_compi_getaddrinfo="no"
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5
32323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32326 See \`config.log' for more details" "$LINENO" 5; }
32328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32373 $as_echo "no" >&6; }
32374 tst_works_getaddrinfo="no"
32377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
32386 test "$tst_works_getaddrinfo" != "no"; then
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo usage allowed" >&5
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32395 $as_echo "no" >&6; }
32396 tst_allow_getaddrinfo="no"
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo might be used" >&5
32406 test "$tst_works_getaddrinfo" != "no"; then
32407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32417 $as_echo "no" >&6; }
32418 curl_cv_func_getaddrinfo="no"
32419 curl_cv_func_getaddrinfo_threadsafe="no"
32423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo is threadsafe" >&5
32427 tst_tsafe_getaddrinfo="no"
32433 tst_tsafe_getaddrinfo="no"
32439 tst_tsafe_getaddrinfo="no"
32445 tst_tsafe_getaddrinfo="no"
32451 tst_tsafe_getaddrinfo="no"
32457 tst_tsafe_getaddrinfo="no"
32470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32494 tst_symbol_defined="no"
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 curl_cv_have_def_h_errno=no
32509 tst_h_errno_macro="no"
32511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 tst_h_errno_modifiable_lvalue="no"
32539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32567 tst_h_errno_sbs_issue_7="no"
32570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32571 if test "$tst_h_errno_macro" = "no" &&
32572 test "$tst_h_errno_modifiable_lvalue" = "no" &&
32573 test "$tst_h_errno_sbs_issue_7" = "no"; then
32574 tst_tsafe_getaddrinfo="no"
32579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_tsafe_getaddrinfo" >&5
32589 curl_cv_func_getaddrinfo_threadsafe="no"
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror can be linked" >&5
32602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32630 $as_echo "no" >&6; }
32631 tst_links_gai_strerror="no"
32634 rm -f core conftest.err conftest.$ac_objext \
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror is prototyped" >&5
32640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32658 $as_echo "no" >&6; }
32659 tst_proto_gai_strerror="no"
32662 rm -f conftest*
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror is compilable" >&5
32669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32697 $as_echo "no" >&6; }
32698 tst_compi_gai_strerror="no"
32701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror usage allowed" >&5
32708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32713 $as_echo "no" >&6; }
32714 tst_allow_gai_strerror="no"
32718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gai_strerror might be used" >&5
32724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32734 $as_echo "no" >&6; }
32735 curl_cv_func_gai_strerror="no"
32745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr can be linked" >&5
32747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32775 $as_echo "no" >&6; }
32776 tst_links_gethostbyaddr="no"
32779 rm -f core conftest.err conftest.$ac_objext \
32783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is prototyped" >&5
32785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32803 $as_echo "no" >&6; }
32804 tst_proto_gethostbyaddr="no"
32807 rm -f conftest*
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr is compilable" >&5
32814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32842 $as_echo "no" >&6; }
32843 tst_compi_gethostbyaddr="no"
32846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr usage allowed" >&5
32853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32858 $as_echo "no" >&6; }
32859 tst_allow_gethostbyaddr="no"
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr might be used" >&5
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32879 $as_echo "no" >&6; }
32880 curl_cv_func_gethostbyaddr="no"
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r can be linked" >&5
32893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32929 $as_echo "no" >&6; }
32930 tst_links_gethostbyaddr_r="no"
32933 rm -f core conftest.err conftest.$ac_objext \
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is prototyped" >&5
32939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32955 $as_echo "no" >&6; }
32956 tst_proto_gethostbyaddr_r="no"
32959 rm -f conftest*
32965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 5 args." >&5
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32994 $as_echo "no" >&6; }
32995 tst_compi_gethostbyaddr_r="no"
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 7 args." >&5
33003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33030 $as_echo "no" >&6; }
33031 tst_compi_gethostbyaddr_r="no"
33034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r takes 8 args." >&5
33039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33066 $as_echo "no" >&6; }
33067 tst_compi_gethostbyaddr_r="no"
33070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r is compilable" >&5
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33079 $as_echo "no" >&6; }
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r usage allowed" >&5
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33092 $as_echo "no" >&6; }
33093 tst_allow_gethostbyaddr_r="no"
33097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyaddr_r might be used" >&5
33103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33111 if test "$tst_nargs_gethostbyaddr_r" -eq "5"; then
33115 elif test "$tst_nargs_gethostbyaddr_r" -eq "7"; then
33119 elif test "$tst_nargs_gethostbyaddr_r" -eq "8"; then
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33128 $as_echo "no" >&6; }
33129 curl_cv_func_gethostbyaddr_r="no"
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname can be linked" >&5
33141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33169 $as_echo "no" >&6; }
33170 tst_links_gethostbyname="no"
33173 rm -f core conftest.err conftest.$ac_objext \
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is prototyped" >&5
33179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33197 $as_echo "no" >&6; }
33198 tst_proto_gethostbyname="no"
33201 rm -f conftest*
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname is compilable" >&5
33208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33236 $as_echo "no" >&6; }
33237 tst_compi_gethostbyname="no"
33240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname usage allowed" >&5
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33252 $as_echo "no" >&6; }
33253 tst_allow_gethostbyname="no"
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname might be used" >&5
33263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33273 $as_echo "no" >&6; }
33274 curl_cv_func_gethostbyname="no"
33285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r can be linked" >&5
33287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33323 $as_echo "no" >&6; }
33324 tst_links_gethostbyname_r="no"
33327 rm -f core conftest.err conftest.$ac_objext \
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is prototyped" >&5
33333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33349 $as_echo "no" >&6; }
33350 tst_proto_gethostbyname_r="no"
33353 rm -f conftest*
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 3 args." >&5
33361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33388 $as_echo "no" >&6; }
33389 tst_compi_gethostbyname_r="no"
33392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 5 args." >&5
33397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33424 $as_echo "no" >&6; }
33425 tst_compi_gethostbyname_r="no"
33428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r takes 6 args." >&5
33433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33460 $as_echo "no" >&6; }
33461 tst_compi_gethostbyname_r="no"
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r is compilable" >&5
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33473 $as_echo "no" >&6; }
33478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r usage allowed" >&5
33481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33486 $as_echo "no" >&6; }
33487 tst_allow_gethostbyname_r="no"
33491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostbyname_r might be used" >&5
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33505 if test "$tst_nargs_gethostbyname_r" -eq "3"; then
33509 elif test "$tst_nargs_gethostbyname_r" -eq "5"; then
33513 elif test "$tst_nargs_gethostbyname_r" -eq "6"; then
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33522 $as_echo "no" >&6; }
33523 curl_cv_func_gethostbyname_r="no"
33543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname can be linked" >&5
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33573 $as_echo "no" >&6; }
33574 tst_links_gethostname="no"
33577 rm -f core conftest.err conftest.$ac_objext \
33581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is prototyped" >&5
33583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33601 $as_echo "no" >&6; }
33602 tst_proto_gethostname="no"
33605 rm -f conftest*
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname is compilable" >&5
33612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33640 $as_echo "no" >&6; }
33641 tst_compi_gethostname="no"
33644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname arg 2 data type" >&5
33649 $as_echo_n "checking for gethostname arg 2 data type... " >&6; }
33651 for tst_arg1 in 'char *' 'unsigned char *' 'void *'; do
33652 for tst_arg2 in 'int' 'unsigned int' 'size_t'; do
33654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_gethostname_type_arg2" >&5
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname usage allowed" >&5
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33704 $as_echo "no" >&6; }
33705 tst_allow_gethostname="no"
33709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gethostname might be used" >&5
33715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33725 $as_echo "no" >&6; }
33726 curl_cv_func_gethostname="no"
33737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs can be linked" >&5
33739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33775 $as_echo "no" >&6; }
33776 tst_links_getifaddrs="no"
33779 rm -f core conftest.err conftest.$ac_objext \
33783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is prototyped" >&5
33785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33801 $as_echo "no" >&6; }
33802 tst_proto_getifaddrs="no"
33805 rm -f conftest*
33810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs is compilable" >&5
33812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33838 $as_echo "no" >&6; }
33839 tst_compi_getifaddrs="no"
33842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs seems to work" >&5
33855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33858 See \`config.log' for more details" "$LINENO" 5; }
33860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33891 $as_echo "no" >&6; }
33892 tst_works_getifaddrs="no"
33895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33904 test "$tst_works_getifaddrs" != "no"; then
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs usage allowed" >&5
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33913 $as_echo "no" >&6; }
33914 tst_allow_getifaddrs="no"
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getifaddrs might be used" >&5
33924 test "$tst_works_getifaddrs" != "no"; then
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33935 $as_echo "no" >&6; }
33936 curl_cv_func_getifaddrs="no"
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r can be linked" >&5
33949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33985 $as_echo "no" >&6; }
33986 tst_links_getservbyport_r="no"
33989 rm -f core conftest.err conftest.$ac_objext \
33993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is prototyped" >&5
33995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34011 $as_echo "no" >&6; }
34012 tst_proto_getservbyport_r="no"
34015 rm -f conftest*
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 4 args." >&5
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34050 $as_echo "no" >&6; }
34051 tst_compi_getservbyport_r="no"
34054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 5 args." >&5
34059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34086 $as_echo "no" >&6; }
34087 tst_compi_getservbyport_r="no"
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r takes 6 args." >&5
34095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34122 $as_echo "no" >&6; }
34123 tst_compi_getservbyport_r="no"
34126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r is compilable" >&5
34131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34135 $as_echo "no" >&6; }
34140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r usage allowed" >&5
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34148 $as_echo "no" >&6; }
34149 tst_allow_getservbyport_r="no"
34153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getservbyport_r might be used" >&5
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34171 if test "$tst_nargs_getservbyport_r" -eq "4"; then
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34183 $as_echo "no" >&6; }
34184 curl_cv_func_getservbyport_r="no"
34204 for ac_header in sys/types.h sys/time.h time.h
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r can be linked" >&5
34229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34265 $as_echo "no" >&6; }
34266 tst_links_gmtime_r="no"
34269 rm -f core conftest.err conftest.$ac_objext \
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is prototyped" >&5
34275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34291 $as_echo "no" >&6; }
34292 tst_proto_gmtime_r="no"
34295 rm -f conftest*
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r is compilable" >&5
34302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34328 $as_echo "no" >&6; }
34329 tst_compi_gmtime_r="no"
34332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r seems to work" >&5
34345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34348 See \`config.log' for more details" "$LINENO" 5; }
34350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34381 $as_echo "no" >&6; }
34382 tst_works_gmtime_r="no"
34385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34394 test "$tst_works_gmtime_r" != "no"; then
34395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r usage allowed" >&5
34398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34403 $as_echo "no" >&6; }
34404 tst_allow_gmtime_r="no"
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmtime_r might be used" >&5
34414 test "$tst_works_gmtime_r" != "no"; then
34415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34425 $as_echo "no" >&6; }
34426 curl_cv_func_gmtime_r="no"
34449 for ac_header in sys/types.h sys/socket.h netinet/in.h arpa/inet.h
34472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r can be linked" >&5
34474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34510 $as_echo "no" >&6; }
34511 tst_links_inet_ntoa_r="no"
34514 rm -f core conftest.err conftest.$ac_objext \
34518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is prototyped" >&5
34520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34536 $as_echo "no" >&6; }
34537 tst_proto_inet_ntoa_r="no"
34540 rm -f conftest*
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 2 args." >&5
34548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34576 $as_echo "no" >&6; }
34577 tst_compi_inet_ntoa_r="no"
34580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r takes 3 args." >&5
34585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34613 $as_echo "no" >&6; }
34614 tst_compi_inet_ntoa_r="no"
34617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r is compilable" >&5
34622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34626 $as_echo "no" >&6; }
34631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r usage allowed" >&5
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34639 $as_echo "no" >&6; }
34640 tst_allow_inet_ntoa_r="no"
34644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntoa_r might be used" >&5
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34658 if test "$tst_nargs_inet_ntoa_r" -eq "2"; then
34662 elif test "$tst_nargs_inet_ntoa_r" -eq "3"; then
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34671 $as_echo "no" >&6; }
34672 curl_cv_func_inet_ntoa_r="no"
34683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop can be linked" >&5
34685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34721 $as_echo "no" >&6; }
34722 tst_links_inet_ntop="no"
34725 rm -f core conftest.err conftest.$ac_objext \
34729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is prototyped" >&5
34731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34747 $as_echo "no" >&6; }
34748 tst_proto_inet_ntop="no"
34751 rm -f conftest*
34756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop is compilable" >&5
34758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34784 $as_echo "no" >&6; }
34785 tst_compi_inet_ntop="no"
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop seems to work" >&5
34801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
34804 See \`config.log' for more details" "$LINENO" 5; }
34806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* - */
34830 /* - */
34840 /* - */
34854 /* - */
34864 /* - */
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34879 $as_echo "no" >&6; }
34880 tst_works_inet_ntop="no"
34883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34892 test "$tst_works_inet_ntop" != "no"; then
34893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop usage allowed" >&5
34896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34901 $as_echo "no" >&6; }
34902 tst_allow_inet_ntop="no"
34906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop might be used" >&5
34912 test "$tst_works_inet_ntop" != "no"; then
34913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34923 $as_echo "no" >&6; }
34924 curl_cv_func_inet_ntop="no"
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton can be linked" >&5
34937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34973 $as_echo "no" >&6; }
34974 tst_links_inet_pton="no"
34977 rm -f core conftest.err conftest.$ac_objext \
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is prototyped" >&5
34983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34999 $as_echo "no" >&6; }
35000 tst_proto_inet_pton="no"
35003 rm -f conftest*
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton is compilable" >&5
35010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35036 $as_echo "no" >&6; }
35037 tst_compi_inet_pton="no"
35040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton seems to work" >&5
35053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
35056 See \`config.log' for more details" "$LINENO" 5; }
35058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35073 /* - */
35077 /* - */
35084 /* - */
35088 /* - */
35101 /* - */
35109 /* - */
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35124 $as_echo "no" >&6; }
35125 tst_works_inet_pton="no"
35128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
35137 test "$tst_works_inet_pton" != "no"; then
35138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton usage allowed" >&5
35141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35146 $as_echo "no" >&6; }
35147 tst_allow_inet_pton="no"
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton might be used" >&5
35157 test "$tst_works_inet_pton" != "no"; then
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35168 $as_echo "no" >&6; }
35169 curl_cv_func_inet_pton="no"
35191 for ac_header in sys/types.h unistd.h sys/socket.h sys/ioctl.h stropts.h
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl can be linked" >&5
35215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35251 $as_echo "no" >&6; }
35252 tst_links_ioctl="no"
35255 rm -f core conftest.err conftest.$ac_objext \
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is prototyped" >&5
35261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35277 $as_echo "no" >&6; }
35278 tst_proto_ioctl="no"
35281 rm -f conftest*
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl is compilable" >&5
35288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35314 $as_echo "no" >&6; }
35315 tst_compi_ioctl="no"
35318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl usage allowed" >&5
35325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35330 $as_echo "no" >&6; }
35331 tst_allow_ioctl="no"
35335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl might be used" >&5
35341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO is compilable" >&5
35357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35384 $as_echo "no" >&6; }
35385 tst_compi_ioctl_fionbio="no"
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO usage allowed" >&5
35395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35400 $as_echo "no" >&6; }
35401 tst_allow_ioctl_fionbio="no"
35405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl FIONBIO might be used" >&5
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35419 $as_echo "no" >&6; }
35420 curl_cv_func_ioctl_fionbio="no"
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR is compilable" >&5
35431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35459 $as_echo "no" >&6; }
35460 tst_compi_ioctl_siocgifaddr="no"
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR usage allowed" >&5
35470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35475 $as_echo "no" >&6; }
35476 tst_allow_ioctl_siocgifaddr="no"
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctl SIOCGIFADDR might be used" >&5
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35494 $as_echo "no" >&6; }
35495 curl_cv_func_ioctl_siocgifaddr="no"
35499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35500 $as_echo "no" >&6; }
35501 curl_cv_func_ioctl="no"
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket can be linked" >&5
35513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35540 $as_echo "no" >&6; }
35541 tst_links_ioctlsocket="no"
35544 rm -f core conftest.err conftest.$ac_objext \
35548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is prototyped" >&5
35550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35567 $as_echo "no" >&6; }
35568 tst_proto_ioctlsocket="no"
35571 rm -f conftest*
35576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket is compilable" >&5
35578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35605 $as_echo "no" >&6; }
35606 tst_compi_ioctlsocket="no"
35609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket usage allowed" >&5
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35621 $as_echo "no" >&6; }
35622 tst_allow_ioctlsocket="no"
35626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket might be used" >&5
35632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO is compilable" >&5
35648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35676 $as_echo "no" >&6; }
35677 tst_compi_ioctlsocket_fionbio="no"
35680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO usage allowed" >&5
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35692 $as_echo "no" >&6; }
35693 tst_allow_ioctlsocket_fionbio="no"
35697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ioctlsocket FIONBIO might be used" >&5
35701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35711 $as_echo "no" >&6; }
35712 curl_cv_func_ioctlsocket_fionbio="no"
35716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35717 $as_echo "no" >&6; }
35718 curl_cv_func_ioctlsocket="no"
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket can be linked" >&5
35730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35766 $as_echo "no" >&6; }
35767 tst_links_ioctlsocket_camel="no"
35770 rm -f core conftest.err conftest.$ac_objext \
35774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is prototyped" >&5
35776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35792 $as_echo "no" >&6; }
35793 tst_proto_ioctlsocket_camel="no"
35796 rm -f conftest*
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket is compilable" >&5
35803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35829 $as_echo "no" >&6; }
35830 tst_compi_ioctlsocket_camel="no"
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket usage allowed" >&5
35840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35845 $as_echo "no" >&6; }
35846 tst_allow_ioctlsocket_camel="no"
35850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket might be used" >&5
35856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO is compilable" >&5
35872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35899 $as_echo "no" >&6; }
35900 tst_compi_ioctlsocket_camel_fionbio="no"
35903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO usage allowed" >&5
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35915 $as_echo "no" >&6; }
35916 tst_allow_ioctlsocket_camel_fionbio="no"
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IoctlSocket FIONBIO might be used" >&5
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35934 $as_echo "no" >&6; }
35935 curl_cv_func_ioctlsocket_camel_fionbio="no"
35939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35940 $as_echo "no" >&6; }
35941 curl_cv_func_ioctlsocket_camel="no"
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r can be linked" >&5
35954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35990 $as_echo "no" >&6; }
35991 tst_links_localtime_r="no"
35994 rm -f core conftest.err conftest.$ac_objext \
35998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is prototyped" >&5
36000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36016 $as_echo "no" >&6; }
36017 tst_proto_localtime_r="no"
36020 rm -f conftest*
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r is compilable" >&5
36027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36053 $as_echo "no" >&6; }
36054 tst_compi_localtime_r="no"
36057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r seems to work" >&5
36070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36073 See \`config.log' for more details" "$LINENO" 5; }
36075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36106 $as_echo "no" >&6; }
36107 tst_works_localtime_r="no"
36110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36119 test "$tst_works_localtime_r" != "no"; then
36120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r usage allowed" >&5
36123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36128 $as_echo "no" >&6; }
36129 tst_allow_localtime_r="no"
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if localtime_r might be used" >&5
36139 test "$tst_works_localtime_r" != "no"; then
36140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36150 $as_echo "no" >&6; }
36151 curl_cv_func_localtime_r="no"
36162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr can be linked" >&5
36164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36200 $as_echo "no" >&6; }
36201 tst_links_memrchr="no"
36204 rm -f core conftest.err conftest.$ac_objext \
36207 if test "$tst_links_memrchr" = "no"; then
36208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr seems a macro" >&5
36210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36236 $as_echo "no" >&6; }
36237 tst_macro_memrchr="no"
36240 rm -f core conftest.err conftest.$ac_objext \
36245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is prototyped" >&5
36247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36263 $as_echo "no" >&6; }
36264 tst_proto_memrchr="no"
36267 rm -f conftest*
36273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr is compilable" >&5
36275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36301 $as_echo "no" >&6; }
36302 tst_compi_memrchr="no"
36305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr usage allowed" >&5
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36317 $as_echo "no" >&6; }
36318 tst_allow_memrchr="no"
36322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if memrchr might be used" >&5
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36338 $as_echo "no" >&6; }
36339 curl_cv_func_memrchr="no"
36353 tst_compi_poll="no"
36357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll can be linked" >&5
36359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36385 $as_echo "no" >&6; }
36386 tst_links_poll="no"
36389 rm -f core conftest.err conftest.$ac_objext \
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is prototyped" >&5
36395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36411 $as_echo "no" >&6; }
36412 tst_proto_poll="no"
36415 rm -f conftest*
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll is compilable" >&5
36422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36448 $as_echo "no" >&6; }
36449 tst_compi_poll="no"
36452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll seems to work" >&5
36465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36468 See \`config.log' for more details" "$LINENO" 5; }
36470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36494 us = (after.tv_sec - before.tv_sec) * 1000000 +
36495 (after.tv_usec - before.tv_usec);
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36513 $as_echo "no" >&6; }
36514 tst_works_poll="no"
36517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36526 test "$tst_works_poll" != "no"; then
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll usage allowed" >&5
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36535 $as_echo "no" >&6; }
36536 tst_allow_poll="no"
36540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if poll might be used" >&5
36546 test "$tst_works_poll" != "no"; then
36547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36562 $as_echo "no" >&6; }
36563 curl_cv_func_poll="no"
36573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt can be linked" >&5
36575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36603 $as_echo "no" >&6; }
36604 tst_links_setsockopt="no"
36607 rm -f core conftest.err conftest.$ac_objext \
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is prototyped" >&5
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36631 $as_echo "no" >&6; }
36632 tst_proto_setsockopt="no"
36635 rm -f conftest*
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt is compilable" >&5
36642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36670 $as_echo "no" >&6; }
36671 tst_compi_setsockopt="no"
36674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt usage allowed" >&5
36681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36686 $as_echo "no" >&6; }
36687 tst_allow_setsockopt="no"
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt might be used" >&5
36697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK is compilable" >&5
36713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36741 $as_echo "no" >&6; }
36742 tst_compi_setsockopt_so_nonblock="no"
36745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK usage allowed" >&5
36752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36757 $as_echo "no" >&6; }
36758 tst_allow_setsockopt_so_nonblock="no"
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setsockopt SO_NONBLOCK might be used" >&5
36766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36776 $as_echo "no" >&6; }
36777 curl_cv_func_setsockopt_so_nonblock="no"
36781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36782 $as_echo "no" >&6; }
36783 curl_cv_func_setsockopt="no"
36796 for ac_header in sys/types.h signal.h
36818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction can be linked" >&5
36820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36856 $as_echo "no" >&6; }
36857 tst_links_sigaction="no"
36860 rm -f core conftest.err conftest.$ac_objext \
36864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is prototyped" >&5
36866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36882 $as_echo "no" >&6; }
36883 tst_proto_sigaction="no"
36886 rm -f conftest*
36891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction is compilable" >&5
36893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36919 $as_echo "no" >&6; }
36920 tst_compi_sigaction="no"
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction usage allowed" >&5
36930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36935 $as_echo "no" >&6; }
36936 tst_allow_sigaction="no"
36940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigaction might be used" >&5
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36956 $as_echo "no" >&6; }
36957 curl_cv_func_sigaction="no"
36967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt can be linked" >&5
36969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37005 $as_echo "no" >&6; }
37006 tst_links_siginterrupt="no"
37009 rm -f core conftest.err conftest.$ac_objext \
37013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is prototyped" >&5
37015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37031 $as_echo "no" >&6; }
37032 tst_proto_siginterrupt="no"
37035 rm -f conftest*
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt is compilable" >&5
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37068 $as_echo "no" >&6; }
37069 tst_compi_siginterrupt="no"
37072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt usage allowed" >&5
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37084 $as_echo "no" >&6; }
37085 tst_allow_siginterrupt="no"
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if siginterrupt might be used" >&5
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37105 $as_echo "no" >&6; }
37106 curl_cv_func_siginterrupt="no"
37116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal can be linked" >&5
37118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37154 $as_echo "no" >&6; }
37155 tst_links_signal="no"
37158 rm -f core conftest.err conftest.$ac_objext \
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is prototyped" >&5
37164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37180 $as_echo "no" >&6; }
37181 tst_proto_signal="no"
37184 rm -f conftest*
37189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal is compilable" >&5
37191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37217 $as_echo "no" >&6; }
37218 tst_compi_signal="no"
37221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal usage allowed" >&5
37228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37233 $as_echo "no" >&6; }
37234 tst_allow_signal="no"
37238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if signal might be used" >&5
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37254 $as_echo "no" >&6; }
37255 curl_cv_func_signal="no"
37268 for ac_header in sys/types.h setjmp.h
37291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp can be linked" >&5
37293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37329 $as_echo "no" >&6; }
37330 tst_links_sigsetjmp="no"
37333 rm -f core conftest.err conftest.$ac_objext \
37336 if test "$tst_links_sigsetjmp" = "no"; then
37337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp seems a macro" >&5
37339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37366 $as_echo "no" >&6; }
37367 tst_macro_sigsetjmp="no"
37370 rm -f core conftest.err conftest.$ac_objext \
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is prototyped" >&5
37377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37393 $as_echo "no" >&6; }
37394 tst_proto_sigsetjmp="no"
37397 rm -f conftest*
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp is compilable" >&5
37405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37432 $as_echo "no" >&6; }
37433 tst_compi_sigsetjmp="no"
37436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp usage allowed" >&5
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37448 $as_echo "no" >&6; }
37449 tst_allow_sigsetjmp="no"
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sigsetjmp might be used" >&5
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37469 $as_echo "no" >&6; }
37470 curl_cv_func_sigsetjmp="no"
37480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket can be linked" >&5
37482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37511 $as_echo "no" >&6; }
37512 tst_links_socket="no"
37515 rm -f core conftest.err conftest.$ac_objext \
37519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is prototyped" >&5
37521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37540 $as_echo "no" >&6; }
37541 tst_proto_socket="no"
37544 rm -f conftest*
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket is compilable" >&5
37551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37580 $as_echo "no" >&6; }
37581 tst_compi_socket="no"
37584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket usage allowed" >&5
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37596 $as_echo "no" >&6; }
37597 tst_allow_socket="no"
37601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socket might be used" >&5
37607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37617 $as_echo "no" >&6; }
37618 curl_cv_func_socket="no"
37628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair can be linked" >&5
37630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37666 $as_echo "no" >&6; }
37667 tst_links_socketpair="no"
37670 rm -f core conftest.err conftest.$ac_objext \
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is prototyped" >&5
37676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37693 $as_echo "no" >&6; }
37694 tst_proto_socketpair="no"
37697 rm -f conftest*
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair is compilable" >&5
37704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37732 $as_echo "no" >&6; }
37733 tst_compi_socketpair="no"
37736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair usage allowed" >&5
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37748 $as_echo "no" >&6; }
37749 tst_allow_socketpair="no"
37753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socketpair might be used" >&5
37759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37769 $as_echo "no" >&6; }
37770 curl_cv_func_socketpair="no"
37780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp can be linked" >&5
37782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37818 $as_echo "no" >&6; }
37819 tst_links_strcasecmp="no"
37822 rm -f core conftest.err conftest.$ac_objext \
37826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is prototyped" >&5
37828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37844 $as_echo "no" >&6; }
37845 tst_proto_strcasecmp="no"
37848 rm -f conftest*
37853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp is compilable" >&5
37855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37881 $as_echo "no" >&6; }
37882 tst_compi_strcasecmp="no"
37885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp usage allowed" >&5
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37897 $as_echo "no" >&6; }
37898 tst_allow_strcasecmp="no"
37902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcasecmp might be used" >&5
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37918 $as_echo "no" >&6; }
37919 curl_cv_func_strcasecmp="no"
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi can be linked" >&5
37931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37967 $as_echo "no" >&6; }
37968 tst_links_strcmpi="no"
37971 rm -f core conftest.err conftest.$ac_objext \
37975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is prototyped" >&5
37977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37993 $as_echo "no" >&6; }
37994 tst_proto_strcmpi="no"
37997 rm -f conftest*
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi is compilable" >&5
38004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38030 $as_echo "no" >&6; }
38031 tst_compi_strcmpi="no"
38034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi usage allowed" >&5
38041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38046 $as_echo "no" >&6; }
38047 tst_allow_strcmpi="no"
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strcmpi might be used" >&5
38057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38067 $as_echo "no" >&6; }
38068 curl_cv_func_strcmpi="no"
38078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup can be linked" >&5
38080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38116 $as_echo "no" >&6; }
38117 tst_links_strdup="no"
38120 rm -f core conftest.err conftest.$ac_objext \
38124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is prototyped" >&5
38126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38142 $as_echo "no" >&6; }
38143 tst_proto_strdup="no"
38146 rm -f conftest*
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup is compilable" >&5
38153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38179 $as_echo "no" >&6; }
38180 tst_compi_strdup="no"
38183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup usage allowed" >&5
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38195 $as_echo "no" >&6; }
38196 tst_allow_strdup="no"
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strdup might be used" >&5
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38216 $as_echo "no" >&6; }
38217 curl_cv_func_strdup="no"
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r can be linked" >&5
38235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38271 $as_echo "no" >&6; }
38272 tst_links_strerror_r="no"
38275 rm -f core conftest.err conftest.$ac_objext \
38279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is prototyped" >&5
38281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38297 $as_echo "no" >&6; }
38298 tst_proto_strerror_r="no"
38301 rm -f conftest*
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is compilable" >&5
38308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38334 $as_echo "no" >&6; }
38335 tst_compi_strerror_r="no"
38338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is glibc like" >&5
38345 for arg3 in 'size_t' 'int' 'unsigned int'; do
38347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38376 $as_echo "no" >&6; }
38377 tst_glibc_strerror_r="no"
38380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
38397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38400 See \`config.log' for more details" "$LINENO" 5; }
38402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38436 $as_echo "no" >&6; }
38437 tst_works_glibc_strerror_r="no"
38440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r is POSIX like" >&5
38453 for arg3 in 'size_t' 'int' 'unsigned int'; do
38455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38484 $as_echo "no" >&6; }
38485 tst_posix_strerror_r="no"
38488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r seems to work" >&5
38505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38508 See \`config.log' for more details" "$LINENO" 5; }
38510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38544 $as_echo "no" >&6; }
38545 tst_works_posix_strerror_r="no"
38548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
38557 tst_posix_strerror_r="no"
38560 tst_glibc_strerror_r="no"
38563 test "$tst_works_glibc_strerror_r" != "no" &&
38568 test "$tst_works_posix_strerror_r" != "no" &&
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r usage allowed" >&5
38576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38581 $as_echo "no" >&6; }
38582 tst_allow_strerror_r="no"
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strerror_r might be used" >&5
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38631 $as_echo "no" >&6; }
38632 curl_cv_func_strerror_r="no"
38637 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine strerror_r() style: edit lib/cu…
38649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp can be linked" >&5
38651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38687 $as_echo "no" >&6; }
38688 tst_links_stricmp="no"
38691 rm -f core conftest.err conftest.$ac_objext \
38695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is prototyped" >&5
38697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38713 $as_echo "no" >&6; }
38714 tst_proto_stricmp="no"
38717 rm -f conftest*
38722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp is compilable" >&5
38724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38750 $as_echo "no" >&6; }
38751 tst_compi_stricmp="no"
38754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp usage allowed" >&5
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38766 $as_echo "no" >&6; }
38767 tst_allow_stricmp="no"
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if stricmp might be used" >&5
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38787 $as_echo "no" >&6; }
38788 curl_cv_func_stricmp="no"
38798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp can be linked" >&5
38800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38836 $as_echo "no" >&6; }
38837 tst_links_strncasecmp="no"
38840 rm -f core conftest.err conftest.$ac_objext \
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is prototyped" >&5
38846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38862 $as_echo "no" >&6; }
38863 tst_proto_strncasecmp="no"
38866 rm -f conftest*
38871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp is compilable" >&5
38873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38899 $as_echo "no" >&6; }
38900 tst_compi_strncasecmp="no"
38903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp usage allowed" >&5
38910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38915 $as_echo "no" >&6; }
38916 tst_allow_strncasecmp="no"
38920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncasecmp might be used" >&5
38926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38936 $as_echo "no" >&6; }
38937 curl_cv_func_strncasecmp="no"
38947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi can be linked" >&5
38949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38985 $as_echo "no" >&6; }
38986 tst_links_strncmpi="no"
38989 rm -f core conftest.err conftest.$ac_objext \
38993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is prototyped" >&5
38995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39011 $as_echo "no" >&6; }
39012 tst_proto_strncmpi="no"
39015 rm -f conftest*
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi is compilable" >&5
39022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39048 $as_echo "no" >&6; }
39049 tst_compi_strncmpi="no"
39052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi usage allowed" >&5
39059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39064 $as_echo "no" >&6; }
39065 tst_allow_strncmpi="no"
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strncmpi might be used" >&5
39075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39085 $as_echo "no" >&6; }
39086 curl_cv_func_strncmpi="no"
39096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp can be linked" >&5
39098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39134 $as_echo "no" >&6; }
39135 tst_links_strnicmp="no"
39138 rm -f core conftest.err conftest.$ac_objext \
39142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is prototyped" >&5
39144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39160 $as_echo "no" >&6; }
39161 tst_proto_strnicmp="no"
39164 rm -f conftest*
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp is compilable" >&5
39171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39197 $as_echo "no" >&6; }
39198 tst_compi_strnicmp="no"
39201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp usage allowed" >&5
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39213 $as_echo "no" >&6; }
39214 tst_allow_strnicmp="no"
39218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strnicmp might be used" >&5
39224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39234 $as_echo "no" >&6; }
39235 curl_cv_func_strnicmp="no"
39245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr can be linked" >&5
39247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39283 $as_echo "no" >&6; }
39284 tst_links_strstr="no"
39287 rm -f core conftest.err conftest.$ac_objext \
39291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is prototyped" >&5
39293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39309 $as_echo "no" >&6; }
39310 tst_proto_strstr="no"
39313 rm -f conftest*
39318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr is compilable" >&5
39320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39346 $as_echo "no" >&6; }
39347 tst_compi_strstr="no"
39350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr usage allowed" >&5
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39362 $as_echo "no" >&6; }
39363 tst_allow_strstr="no"
39367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strstr might be used" >&5
39373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39383 $as_echo "no" >&6; }
39384 curl_cv_func_strstr="no"
39394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r can be linked" >&5
39396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39432 $as_echo "no" >&6; }
39433 tst_links_strtok_r="no"
39436 rm -f core conftest.err conftest.$ac_objext \
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is prototyped" >&5
39442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39458 $as_echo "no" >&6; }
39459 tst_proto_strtok_r="no"
39462 rm -f conftest*
39467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r is compilable" >&5
39469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39495 $as_echo "no" >&6; }
39496 tst_compi_strtok_r="no"
39499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r usage allowed" >&5
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39511 $as_echo "no" >&6; }
39512 tst_allow_strtok_r="no"
39516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtok_r might be used" >&5
39522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39532 $as_echo "no" >&6; }
39533 curl_cv_func_strtok_r="no"
39543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll can be linked" >&5
39545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39581 $as_echo "no" >&6; }
39582 tst_links_strtoll="no"
39585 rm -f core conftest.err conftest.$ac_objext \
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is prototyped" >&5
39591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39607 $as_echo "no" >&6; }
39608 tst_proto_strtoll="no"
39611 rm -f conftest*
39616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll is compilable" >&5
39618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39644 $as_echo "no" >&6; }
39645 tst_compi_strtoll="no"
39648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll usage allowed" >&5
39655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39660 $as_echo "no" >&6; }
39661 tst_allow_strtoll="no"
39665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if strtoll might be used" >&5
39671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39681 $as_echo "no" >&6; }
39682 curl_cv_func_strtoll="no"
39695 for ac_header in sys/types.h sys/uio.h
39717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev can be linked" >&5
39719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39755 $as_echo "no" >&6; }
39756 tst_links_writev="no"
39759 rm -f core conftest.err conftest.$ac_objext \
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is prototyped" >&5
39765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39781 $as_echo "no" >&6; }
39782 tst_proto_writev="no"
39785 rm -f conftest*
39790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev is compilable" >&5
39792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39818 $as_echo "no" >&6; }
39819 tst_compi_writev="no"
39822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev usage allowed" >&5
39829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39834 $as_echo "no" >&6; }
39835 tst_allow_writev="no"
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if writev might be used" >&5
39845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39855 $as_echo "no" >&6; }
39856 curl_cv_func_writev="no"
39862 ac_cv_func_pipe=no
39864 { $as_echo "$as_me:${as_lineno-$LINENO}: skip check for pipe on msdosdjgpp" >&5
39865 $as_echo "$as_me: skip check for pipe on msdosdjgpp" >&6;}
39891 for ac_func in fnmatch \
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking deeper for $func" >&5
39923 $as_echo_n "checking deeper for $func... " >&6; }
39924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39946 …E_$func" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' | sed 's/^A-Z0-9_/_/g'` 1
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: but still no" >&5
39953 $as_echo "but still no" >&6; }
39956 rm -f core conftest.err conftest.$ac_objext \
39978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to set a socket into non-blocking mode" >&5
39979 $as_echo_n "checking how to set a socket into non-blocking mode... " >&6; }
39991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tst_method" >&5
39994 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine non-blocking socket method." >&5
39995 $as_echo "$as_me: WARNING: cannot determine non-blocking socket method." >&2;}
40002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40003 $as_echo_n "checking for $ac_word... " >&6; }
40014 for as_dir in $as_dummy
40017 test -z "$as_dir" && as_dir=.
40018 for ac_exec_ext in '' $ac_executable_extensions; do
40021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40032 if test -n "$PERL"; then
40033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
40036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40037 $as_echo "no" >&6; }
40043 for ac_prog in gnroff nroff
40047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40048 $as_echo_n "checking for $ac_word... " >&6; }
40059 for as_dir in $as_dummy
40062 test -z "$as_dir" && as_dir=.
40063 for ac_exec_ext in '' $ac_executable_extensions; do
40066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40077 if test -n "$NROFF"; then
40078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5
40081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40082 $as_echo "no" >&6; }
40086 test -n "$NROFF" && break
40091 if test -n "$NROFF"; then
40093 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use *nroff to get plain text from man pag…
40095 MANOPT="-man"
40097 if test -z "$mancheck"; then
40098 MANOPT="-mandoc"
40100 if test -z "$mancheck"; then
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
40104 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: found no *nroff option to get plaintext from man…
40105 $as_echo "$as_me: WARNING: found no *nroff option to get plaintext from man pages" >&2;}
40107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANOPT" >&5
40117 if test -z "$MANOPT"
40119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: disabling built-in manual" >&5
40120 $as_echo "$as_me: WARNING: disabling built-in manual" >&2;}
40121 USE_MANUAL="no";
40152 if test -n "$want_ares_path"; then
40155 if test -n "$PKG_CONFIG"; then
40158 if test -n "$ac_tool_prefix"; then
40159 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
40160 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
40161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40162 $as_echo_n "checking for $ac_word... " >&6; }
40173 for as_dir in $as_dummy
40176 test -z "$as_dir" && as_dir=.
40177 for ac_exec_ext in '' $ac_executable_extensions; do
40180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40191 if test -n "$PKGCONFIG"; then
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
40195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40196 $as_echo "no" >&6; }
40201 if test -z "$ac_cv_path_PKGCONFIG"; then
40203 # Extract the first word of "pkg-config", so it can be a program name with args.
40204 set dummy pkg-config; ac_word=$2
40205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40206 $as_echo_n "checking for $ac_word... " >&6; }
40217 for as_dir in $as_dummy
40220 test -z "$as_dir" && as_dir=.
40221 for ac_exec_ext in '' $ac_executable_extensions; do
40224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40235 if test -n "$ac_pt_PKGCONFIG"; then
40236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
40239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40240 $as_echo "no" >&6; }
40244 PKGCONFIG="no"
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
40261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
40262 $as_echo_n "checking for libcares options with pkg-config... " >&6; }
40264 if test -n "$ARES_PCDIR"; then
40268 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
40270 if test -z "$itexists"; then
40271 PKGCONFIG="no"
40272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40273 $as_echo "no" >&6; }
40275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
40280 if test "$PKGCONFIG" != "no" ; then
40282 if test -n "$ARES_PCDIR"; then
40287 $PKGCONFIG --libs-only-l libcares`
40289 if test -n "$ARES_PCDIR"; then
40294 $PKGCONFIG --libs-only-L libcares`
40296 if test -n "$ARES_PCDIR"; then
40301 $PKGCONFIG --cflags-only-I libcares`
40302 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares LIBS: \"$ares_LIBS\"" >&5
40303 $as_echo "$as_me: pkg-config: ares LIBS: \"$ares_LIBS\"" >&6;}
40304 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&5
40305 $as_echo "$as_me: pkg-config: ares LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
40307 $as_echo "$as_me: pkg-config: ares CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
40309 ares_CPPFLAGS="-I$want_ares_path/include"
40310 ares_LDFLAGS="-L$want_ares_path/lib"
40311 ares_LIBS="-lcares"
40314 if test -d "$srcdir/ares"; then
40319 ares_LDFLAGS="-L$embedded_ares_builddir"
40320 ares_LIBS="-lcares"
40323 if test -n "$PKG_CONFIG"; then
40326 if test -n "$ac_tool_prefix"; then
40327 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
40328 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
40329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40330 $as_echo_n "checking for $ac_word... " >&6; }
40341 for as_dir in $as_dummy
40344 test -z "$as_dir" && as_dir=.
40345 for ac_exec_ext in '' $ac_executable_extensions; do
40348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40359 if test -n "$PKGCONFIG"; then
40360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5
40363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40364 $as_echo "no" >&6; }
40369 if test -z "$ac_cv_path_PKGCONFIG"; then
40371 # Extract the first word of "pkg-config", so it can be a program name with args.
40372 set dummy pkg-config; ac_word=$2
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40374 $as_echo_n "checking for $ac_word... " >&6; }
40385 for as_dir in $as_dummy
40388 test -z "$as_dir" && as_dir=.
40389 for ac_exec_ext in '' $ac_executable_extensions; do
40392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40403 if test -n "$ac_pt_PKGCONFIG"; then
40404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5
40407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40408 $as_echo "no" >&6; }
40412 PKGCONFIG="no"
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet"…
40429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcares options with pkg-config" >&5
40430 $as_echo_n "checking for libcares options with pkg-config... " >&6; }
40432 if test -n ""; then
40436 $PKGCONFIG --exists libcares >/dev/null 2>&1 && echo 1`
40438 if test -z "$itexists"; then
40439 PKGCONFIG="no"
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40441 $as_echo "no" >&6; }
40443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
40448 if test "$PKGCONFIG" != "no" ; then
40449 ares_LIBS=`$PKGCONFIG --libs-only-l libcares`
40450 ares_LDFLAGS=`$PKGCONFIG --libs-only-L libcares`
40451 ares_CPPFLAGS=`$PKGCONFIG --cflags-only-I libcares`
40452 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&5
40453 $as_echo "$as_me: pkg-config: ares_LIBS: \"$ares_LIBS\"" >&6;}
40454 { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&5
40455 $as_echo "$as_me: pkg-config: ares_LDFLAGS: \"$ares_LDFLAGS\"" >&6;}
40456 … { $as_echo "$as_me:${as_lineno-$LINENO}: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&5
40457 $as_echo "$as_me: pkg-config: ares_CPPFLAGS: \"$ares_CPPFLAGS\"" >&6;}
40461 ares_LIBS="-lcares"
40471 … { $as_echo "$as_me:${as_lineno-$LINENO}: checking that c-ares is good and recent enough" >&5
40472 $as_echo_n "checking that c-ares is good and recent enough... " >&6; }
40473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40478 /* set of dummy functions in case c-ares was built with debug */
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40506 $as_echo "no" >&6; }
40507 as_fn_error $? "c-ares library defective or too old" "$LINENO" 5
40512 want_ares="no"
40515 rm -f core conftest.err conftest.$ac_objext \
40524 curl_res_msg="c-ares"
40541 build_libhostname=no
40554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the threaded resolver" >&5
40557 # Check whether --enable-threaded_resolver was given.
40563 no)
40564 want_thres="no"
40570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_thres" >&5
40575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use POSIX threads for threaded resolve…
40576 $as_echo_n "checking whether to use POSIX threads for threaded resolver... " >&6; }
40577 # Check whether --enable-pthreads was given.
40580 no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40581 $as_echo "no" >&6; }
40582 want_pthreads=no
40584 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto" >&5
40599 if test "$want_pthreads" != "no"; then
40601 as_fn_error $? "options --enable-pthreads and --disable-rt are mutually exclusive" "$LINENO" 5
40603 if test "$dontwant_rt" != "no"; then
40605 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-pthreads Ignored since librt is disable…
40606 $as_echo "$as_me: WARNING: --enable-pthreads Ignored since librt is disabled." >&2;}
40608 want_pthreads=no
40612 if test "$want_pthreads" != "no" && test "$want_thres" != "yes"; then
40613 want_pthreads=no
40616 if test "$want_pthreads" != "no"; then
40631 *-hp-hpux*)
40640 CFLAGS="$CFLAGS -pthread"
40641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
40642 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
40647 LIBS="-lpthread $LIBS"
40648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40666 ac_cv_lib_pthread_pthread_create=no
40668 rm -f core conftest.err conftest.$ac_objext \
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
40697 as_fn_error $? "--enable-pthreads but pthreads was not found" "$LINENO" 5
40706 as_fn_error $? "Threaded resolver enabled but no thread library found" "$LINENO" 5
40710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable verbose strings" >&5
40712 # Check whether --enable-verbose was given.
40715 no)
40716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40717 $as_echo "no" >&6; }
40721 curl_verbose_msg="no"
40723 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SSPI support (Windows native bu…
40736 # Check whether --enable-sspi was given.
40741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40751 $as_echo "no" >&6; }
40752 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-sspi Ignored. Only supported on native …
40753 $as_echo "$as_me: WARNING: --enable-sspi Ignored. Only supported on native Windows builds." >&2;}
40758 # --with-winssl implies --enable-sspi
40759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40763 $as_echo "no" >&6; }
40769 # --with-winssl implies --enable-sspi
40770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40774 $as_echo "no" >&6; }
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable cryptographic authentication me…
40782 # Check whether --enable-crypto-auth was given.
40785 no)
40786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40787 $as_echo "no" >&6; }
40793 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40806 # Check whether --enable-ntlm-wb was given.
40813 no)
40814 want_ntlm_wb="no"
40821 if test -n "$enableval" && test "$enableval" != "yes"; then
40829 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable NTLM delegation to winbind's h…
40834 want_ntlm_wb="no"
40836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ntlm_wb" >&5
40851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TLS-SRP authentication" >&5
40852 $as_echo_n "checking whether to enable TLS-SRP authentication... " >&6; }
40853 # Check whether --enable-tls-srp was given.
40856 no)
40857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40858 $as_echo "no" >&6; }
40862 want_tls_srp=no
40864 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Unix domain sockets" >&5
40887 # Check whether --enable-unix-sockets was given.
40890 no) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40891 $as_echo "no" >&6; }
40892 want_unix_sockets=no
40894 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto" >&5
40925 as_fn_error $? "--enable-unix-sockets is not available on this platform!" "$LINENO" 5
40932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable support for cookies" >&5
40933 $as_echo_n "checking whether to enable support for cookies... " >&6; }
40934 # Check whether --enable-cookies was given.
40937 no)
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40939 $as_echo "no" >&6; }
40944 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40955 curl_altsvc_msg="no (--enable-alt-svc)";
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support alt-svc" >&5
40957 $as_echo_n "checking whether to support alt-svc... " >&6; }
40958 # Check whether --enable-alt-svc was given.
40961 no)
40962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40963 $as_echo "no" >&6; }
40965 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40969 experimental="alt-svc"
40973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40974 $as_echo "no" >&6; }
40983 experimental="alt-svc"
40987 …{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hiding of library internal symbols will …
40990 doing_symbol_hiding="no"
41001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41005 $as_echo "no" >&6; }
41046 elif test -n "$SSL_ENABLED"; then
41061 if test "x$USE_ARES" = "x1" -o "x$USE_THREADS_POSIX" = "x1" \
41062 -o "x$USE_THREADS_WIN32" = "x1"; then
41073 SUPPORT_FEATURES="$SUPPORT_FEATURES GSS-API"
41081 SUPPORT_FEATURES="$SUPPORT_FEATURES alt-svc"
41084 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
41085 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
41089 if test "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" -a \
41090 \( "x$HAVE_GSSAPI" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \); then
41095 if test "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
41096 -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
41097 -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1"; then
41100 if test "x$CURL_DISABLE_HTTP" != "x1" -a \
41108 SUPPORT_FEATURES="$SUPPORT_FEATURES TLS-SRP"
41119 if test "x$OPENSSL_ENABLED" = "x1" -o "x$GNUTLS_ENABLED" = "x1" \
41120 -o "x$NSS_ENABLED" = "x1"; then
41121 SUPPORT_FEATURES="$SUPPORT_FEATURES HTTPS-proxy"
41175 -a "x$CURL_DISABLE_CRYPTO_AUTH" != "x1" \
41176 -a \( "x$OPENSSL_ENABLED" = "x1" -o "x$USE_WINDOWS_SSPI" = "x1" \
41177 -o "x$GNUTLS_ENABLED" = "x1" -o "x$MBEDTLS_ENABLED" = "x1" \
41178 -o "x$NSS_ENABLED" = "x1" -o "x$SECURETRANSPORT_ENABLED" = "x1" \); then
41225 xc_bad_var_libs=no
41226 for xc_word in $LIBS; do
41228 -l* | --library=*)
41237 { $as_echo "$as_me:${as_lineno-$LINENO}: using LIBS: $LIBS" >&5
41239 …{ $as_echo "$as_me:${as_lineno-$LINENO}: LIBS note: LIBS should only be used to specify libraries …
41240 $as_echo "$as_me: LIBS note: LIBS should only be used to specify libraries (-lname)." >&6;}
41244 xc_bad_var_ldflags=no
41245 for xc_word in $LDFLAGS; do
41247 -D*)
41250 -U*)
41253 -I*)
41256 -l* | --library=*)
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: using LDFLAGS: $LDFLAGS" >&5
41265 for xc_word in $LDFLAGS; do
41267 -D*)
41268 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
41269 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
41271 -U*)
41272 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
41273 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
41275 -I*)
41276 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
41277 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
41279 -l* | --library=*)
41280 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
41281 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
41288 xc_bad_var_cppflags=no
41289 for xc_word in $CPPFLAGS; do
41291 -rpath*)
41294 -L* | --library-path=*)
41297 -l* | --library=*)
41303 { $as_echo "$as_me:${as_lineno-$LINENO}: using CPPFLAGS: $CPPFLAGS" >&5
41306 for xc_word in $CPPFLAGS; do
41308 -rpath*)
41309 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
41310 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
41312 -L* | --library-path=*)
41313 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
41314 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
41316 -l* | --library=*)
41317 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
41318 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
41325 xc_bad_var_cflags=no
41326 for xc_word in $CFLAGS; do
41328 -D*)
41331 -U*)
41334 -I*)
41337 -rpath*)
41340 -L* | --library-path=*)
41343 -l* | --library=*)
41349 { $as_echo "$as_me:${as_lineno-$LINENO}: using CFLAGS: $CFLAGS" >&5
41352 for xc_word in $CFLAGS; do
41354 -D*)
41355 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_…
41356 $as_echo "$as_me: $xc_bad_var_msg macro definitions. Use CPPFLAGS for: $xc_word" >&6;}
41358 -U*)
41359 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc…
41360 $as_echo "$as_me: $xc_bad_var_msg macro suppressions. Use CPPFLAGS for: $xc_word" >&6;}
41362 -I*)
41363 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg include directories. Use CPPFLAGS for: $x…
41364 $as_echo "$as_me: $xc_bad_var_msg include directories. Use CPPFLAGS for: $xc_word" >&6;}
41366 -rpath*)
41367 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library runtime directories. Use LDFLAGS …
41368 $as_echo "$as_me: $xc_bad_var_msg library runtime directories. Use LDFLAGS for: $xc_word" >&6;}
41370 -L* | --library-path=*)
41371 …{ $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc…
41372 $as_echo "$as_me: $xc_bad_var_msg library directories. Use LDFLAGS for: $xc_word" >&6;}
41374 -l* | --library=*)
41375 … { $as_echo "$as_me:${as_lineno-$LINENO}: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&5
41376 $as_echo "$as_me: $xc_bad_var_msg libraries. Use LIBS for: $xc_word" >&6;}
41386 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Continuing even with errors mentioned immediatel…
41396 ac_configure_args="$ac_configure_args --enable-curldebug"
41399 …-opts/Makefile include/Makefile include/curl/Makefile src/Makefile lib/Makefile scripts/Makefile l…
41404 # scripts and configure runs, see configure's option --config-cache.
41408 # config.status only pays attention to the cache file if you give it
41409 # the --recheck option to rerun configure.
41418 # but we know of no workaround that is simple, portable, and efficient.
41423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41428 …*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newlin…
41442 # `set' does not quote correctly, so add quotes: double-quote
41444 sed -n \
41450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41464 if test -w "$cache_file"; then
41466 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41468 if test ! -f "$cache_file" || test -h "$cache_file"; then
41473 mv -f confcache "$cache_file"$$ &&
41474 mv -f "$cache_file"$$ "$cache_file" ;; #(
41476 mv -f confcache "$cache_file" ;;
41481 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41485 rm -f confcache
41491 DEFS=-DHAVE_CONFIG_H
41496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41510 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
41514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
41516 if test -n "$am_sleep_pid"; then
41520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
41522 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
41526 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
41530 if test -n "$EXEEXT"; then
41538 if test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSION_INFO_FA…
41542 if test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE}" && test -z "${CURL_LT_SHLIB_USE_NO_UNDEFINED_FA…
41546 if test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE}" && test -z "${CURL_LT_SHLIB_USE_MIMPURE_TEXT_FA…
41550 if test -z "${USE_CPPFLAG_CURL_STATICLIB_TRUE}" && test -z "${USE_CPPFLAG_CURL_STATICLIB_FALSE}"; t…
41554 if test -z "${USE_EXPLICIT_LIB_DEPS_TRUE}" && test -z "${USE_EXPLICIT_LIB_DEPS_FALSE}"; then
41558 if test -z "${CURLDEBUG_TRUE}" && test -z "${CURLDEBUG_FALSE}"; then
41562 if test -z "${BUILD_UNITTESTS_TRUE}" && test -z "${BUILD_UNITTESTS_FALSE}"; then
41566 if test -z "${DOING_NATIVE_WINDOWS_TRUE}" && test -z "${DOING_NATIVE_WINDOWS_FALSE}"; then
41570 if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then
41574 if test -z "${BUILD_STUB_GSS_TRUE}" && test -z "${BUILD_STUB_GSS_FALSE}"; then
41578 if test -z "${USE_LIBPSL_TRUE}" && test -z "${USE_LIBPSL_FALSE}"; then
41582 if test -z "${CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE}" && test -z "${CURL_LT_SHLIB_USE_VERSIONED_…
41586 if test -z "${USE_MANUAL_TRUE}" && test -z "${USE_MANUAL_FALSE}"; then
41590 if test -z "${USE_EMBEDDED_ARES_TRUE}" && test -z "${USE_EMBEDDED_ARES_FALSE}"; then
41594 if test -z "${BUILD_LIBHOSTNAME_TRUE}" && test -z "${BUILD_LIBHOSTNAME_FALSE}"; then
41598 if test -z "${DOING_CURL_SYMBOL_HIDING_TRUE}" && test -z "${DOING_CURL_SYMBOL_HIDING_FALSE}"; then
41602 if test -z "${CROSSCOMPILING_TRUE}" && test -z "${CROSSCOMPILING_FALSE}"; then
41607 : "${CONFIG_STATUS=./config.status}"
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41618 # Compiler output produced by configure, useful for debugging
41619 # configure, is in config.log if it exists.
41625 SHELL=\${CONFIG_SHELL-$SHELL}
41629 ## -------------------- ##
41631 ## -------------------- ##
41634 DUALCASE=1; export DUALCASE # for MKS sh
41635 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41638 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41640 alias -g '${1+"$@"}'='"$@"'
41643 case `(set -o) 2>/dev/null` in #(
41645 set -o posix ;; #(
41660 # but without wasting forks for bash or zsh.
41661 if test -z "$BASH_VERSION$ZSH_VERSION" \
41662 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41663 as_echo='print -r --'
41664 as_echo_n='print -rn --'
41669 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41670 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41671 as_echo_n='/usr/ucb/echo -n'
41681 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41684 as_echo_n='sh -c $as_echo_n_body as_echo'
41687 as_echo='sh -c $as_echo_body as_echo'
41694 # there to prevent editors from complaining about space-tab.
41699 # Find who we are. Look in the path if we contain no directory separator.
41704 for as_dir in $PATH
41707 test -z "$as_dir" && as_dir=.
41708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41719 if test ! -f "$as_myself"; then
41725 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41728 for as_var in BASH_ENV ENV MAIL MAILPATH
41747 # ----------------------------------------
41753 as_status=$1; test $as_status -eq 0 && as_status=1
41755 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41756 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41764 # -----------------------
41772 # -----------------
41773 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41782 # ---------------
41790 # ----------------------
41808 # ------------------
41820 as_val=`expr "$@" || test $? -eq 1`
41832 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41838 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41844 as_me=`$as_basename -- "$0" ||
41871 case `echo -n x` in #(((((
41872 -n*)
41880 ECHO_N='-n';;
41883 rm -f conf$$ conf$$.exe conf$$.file
41884 if test -d conf$$.dir; then
41885 rm -f conf$$.dir/conf$$.file
41887 rm -f conf$$.dir
41891 if ln -s conf$$.file conf$$ 2>/dev/null; then
41892 as_ln_s='ln -s'
41894 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41895 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41896 # In both cases, we have to default to `cp -pR'.
41897 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41898 as_ln_s='cp -pR'
41902 as_ln_s='cp -pR'
41905 as_ln_s='cp -pR'
41907 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41912 # -------------
41918 -*) as_dir=./$as_dir;;
41920 test -d "$as_dir" || eval $as_mkdir_p || {
41928 as_dir=`$as_dirname -- "$as_dir" ||
41951 test -d "$as_dir" && break
41953 test -z "$as_dirs" || eval "mkdir $as_dirs"
41954 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41958 if mkdir -p . 2>/dev/null; then
41959 as_mkdir_p='mkdir -p "$as_dir"'
41961 test -d ./-p && rmdir ./-p
41967 # -----------------------
41971 test -f "$1" && test -x "$1"
41973 as_test_x='test -x'
41976 # Sed expression to map a string onto a valid CPP name.
41984 ## ----------------------------------- ##
41986 ## ----------------------------------- ##
41995 This file was extended by curl $as_me -, which was
42004 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42019 # Files that config.status was made for.
42034 -h, --help print this help, then exit
42035 -V, --version print version number and configuration settings, then exit
42036 --config print configuration, then exit
42037 -q, --quiet, --silent
42039 -d, --debug don't remove temporary files
42040 --recheck update $as_me by reconfiguring in the same conditions
42041 --file=FILE[:TEMPLATE]
42043 --header=FILE[:TEMPLATE]
42061 curl config.status -
42066 This config.status script is free software; the Free Software Foundation
42074 test -n "\$AWK" || AWK=awk
42083 --*=?*)
42088 --*=)
42102 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42104 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42106 --config | --confi | --conf | --con | --co | --c )
42108 --debug | --debu | --deb | --de | --d | -d )
42110 --file | --fil | --fi | --f )
42118 --header | --heade | --head | --hea )
42125 --he | --h)
42126 # Conflict between --help and --header
42128 Try \`$0 --help' for more information.";;
42129 --help | --hel | -h )
42131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42136 -*) as_fn_error $? "unrecognized option: \`$1'
42137 Try \`$0 --help' for more information." ;;
42150 ac_configure_extra_args="$ac_configure_extra_args --silent"
42156 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42166 exec 5>>config.log
42169 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42178 # INIT-COMMANDS
42183 # The HP-UX ksh and POSIX shell print the target directory to stdout
42331 # A function that is used when there is no print builtin or printf.
42340 for var in AS \
42419 # Double-quote double-evaled strings.
42420 for var in reload_cmds \
42442 …\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_s…
42454 if test -n "\${ZSH_VERSION+set}"; then
42472 for ac_config_target in $ac_config_targets
42483 "docs/cmdline-opts/Makefile") CONFIG_FILES="$CONFIG_FILES docs/cmdline-opts/Makefile" ;;
42499 "curl-config") CONFIG_FILES="$CONFIG_FILES curl-config" ;;
42509 # We use the long form for the default assignment because of an extremely
42517 # Have a temporary directory for convenience. Make it in the build tree
42518 # simply because there is no reason against having it here, and in addition,
42520 # Hook for its removal unless debugging.
42528 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42532 # Create a (secure) tmp directory for tmp files.
42535 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42536 test -d "$tmp"
42539 tmp=./conf$$-$RANDOM
42544 # Set up the scripts for CONFIG_FILES section.
42545 # No need to generate them if there are no CONFIG_FILES.
42546 # This happens for instance with `./config.status config.h'.
42547 if test -n "$CONFIG_FILES"; then
42552 # But we know of no other shell where ac_cr would be empty at this
42574 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42576 for ac_last_try in false false false false false :; do
42580 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
42589 rm -f conf$$subs.sh
42594 sed -n '
42637 rm -f conf$$subs.awk
42641 for (key in S) S_is_set[key] = 1
42650 for (i = 2; i < nfields; i++) {
42673 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42700 fi # test -n "$CONFIG_FILES"
42702 # Set up the scripts for CONFIG_HEADERS section.
42703 # No need to generate them if there are no CONFIG_HEADERS.
42704 # This happens for instance with `./config.status Makefile'.
42705 if test -n "$CONFIG_HEADERS"; then
42711 # here-document in config.status, that substitutes the proper values into
42712 # config.h.in to produce config.h.
42717 for ac_last_try in false false :; do
42718 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42719 if test -z "$ac_tt"; then
42728 # For the awk script, D is an array of macro values keyed by name,
42733 sed -n '
42773 for (key in D) D_is_set[key] = 1
42788 prefix = substr(line, 1, index(line, defundef) - 1)
42794 # Replace #undef with comments. This is necessary, for example,
42807 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42808 fi # test -n "$CONFIG_HEADERS"
42813 for ac_tag
42821 :[FH]-) ac_tag=-:-;;
42836 for ac_f
42839 -) ac_f="$ac_tmp/stdin";;
42840 *) # Look for the file first in the build tree, then in the source tree
42841 # (if the path is not absolute). The absolute path cannot be DOS-style,
42843 test -f "$ac_f" ||
42846 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42856 # /* config.h. Generated by config.status. */
42860 if test x"$ac_file" != x-; then
42862 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42874 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42880 ac_dir=`$as_dirname -- "$ac_file" ||
42910 # A ".." for each directory in $ac_dir_suffix.
42919 # for backward compatibility:
42970 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42973 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdi…
42974 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42996 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43011 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
43014 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
43015 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
43016 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
43017 "$ac_tmp/out"`; test -z "$ac_out"; } &&
43018 …{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`…
43023 rm -f "$ac_tmp/stdin"
43025 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
43026 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
43034 if test x"$ac_file" != x-; then
43037 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
43038 } >"$ac_tmp/config.h" \
43040 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
43044 rm -f "$ac_file"
43045 mv "$ac_tmp/config.h" "$ac_file" \
43050 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
43051 || as_fn_error $? "could not create -" "$LINENO" 5
43056 for _am_header in $config_headers :; do
43064 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
43086 s/.*/./; q'`/stamp-h$_am_stamp_count
43089 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
43097 # Older Autoconf quotes --file arguments for eval, but not when files
43098 # are listed without --file. Let's play safe and only enable the eval
43105 for mf
43108 mf=`echo "$mf" | sed -e 's/:.*$//'`
43112 # Grep'ing the first line is not enough: some people post-process
43116 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
43117 dirpart=`$as_dirname -- "$mf" ||
43145 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
43146 test -z "$DEPDIR" && continue
43147 am__include=`sed -n 's/^am__include = //p' < "$mf"`
43148 test -z "$am__include" && continue
43149 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
43154 for file in `sed -n "
43156 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
43158 test -f "$dirpart/$file" && continue
43159 fdir=`$as_dirname -- "$file" ||
43193 if test -n "${ZSH_VERSION+set}"; then
43206 # Provide generalized library-building support services.
43210 # This is free software; see the source for copying conditions. There is NO
43211 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
43221 # distribution terms that you use for the rest of that program.
43225 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43226 # GNU General Public License for more details.
43235 # Configured defaults for sys_lib_dlsearch_path munging.
43238 # ### BEGIN LIBTOOL CONFIG
43262 # Whether or not to optimize for fast installation.
43265 # Shared archive member basename,for filename based shared library versioning on AIX.
43274 # The PATH separator for the build system.
43290 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
43291 Xsed="\$SED -e 1s/^X//"
43302 # A BSD- or MS-compatible name lister.
43359 # Commands used to install an old-style archive.
43364 # Whether to use a lock for old archive extraction.
43391 # Specify filename containing input files for \$NM.
43394 # The root where to search for dependent libraries,and where our libraries should be installed.
43421 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
43424 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
43440 # Do we need the "lib" prefix for modules?
43443 # Do we need a version for libraries?
43455 # Is shlibpath searched before the hard-coded library search path?
43462 # The last name is the one that the linker finds with -lNAME
43468 # Permission mode override for installation of shared libraries.
43487 # Compile-time system search path for libraries.
43490 # Detected run-time system search path for libraries.
43517 # Commands used to build an old-style archive.
43529 # Additional compiler flags for building library objects.
43538 # Does compiler simultaneously support -c and -o options?
43541 # Whether or not to add -lc for building shared libraries.
43553 # Whether the compiler copes with passing no objects directly.
43556 # Create an old-style archive from a shared archive.
43559 # Create a temporary old-style archive to link instead of a shared archive.
43577 # Flag that enforces no undefined symbols.
43584 # Whether we need a single "-rpath" flag with a separated argument.
43597 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
43629 # Commands necessary for linking programs (against libraries) with templates.
43632 # Commands necessary for finishing linking programs.
43641 # ### END LIBTOOL CONFIG
43650 # -----------------------------------
43675 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
43676 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
43685 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
43688 for cc_temp in $*""; do
43692 \-*) ;;
43696 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
43707 # AIX sometimes has problems with the GCC collect2 program. For some
43723 # if finds mixed CR/LF and LF-only lines. Since sed operates in
43727 || (rm -f "$cfgfile"; exit 1)
43729 mv -f "$cfgfile" "$ofile" ||
43730 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
43736 done # for ac_tag
43747 # configure is writing to config.log, and then calls config.status.
43748 # config.status does its own redirection, appending to config.log.
43749 # Unfortunately, on DOS this fails, as config.log is still kept open
43750 # by configure, so config.status won't be able to write to it; its
43752 # effectively closing config.log, so it can be properly (re)opened and
43753 # appended to by config.status. When coming back to configure, we
43759 ac_config_status_args="$ac_config_status_args --quiet"
43762 exec 5>>config.log
43773 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
43779 for ac_arg
43781 if test -n "$ac_prev"; then
43786 -cache-file | --cache-file | --cache-fil | --cache-fi \
43787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43791 | --c=*)
43793 --config-cache | -C)
43795 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43797 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43799 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43801 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43803 --disable-option-checking)
43813 # Always prepend --prefix to ensure using the same prefix
43815 ac_arg="--prefix=$prefix"
43821 # Pass --silent
43823 ac_sub_configure_args="--silent $ac_sub_configure_args"
43826 # Always prepend --disable-option-checking to silence warnings, since
43827 # different subdirs can have different --enable and --with options.
43828 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
43831 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43835 test -d "$srcdir/$ac_dir" || continue
43838 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43847 # A ".." for each directory in $ac_dir_suffix.
43856 # for backward compatibility:
43878 # Check for guested configure; otherwise get Cygnus style configure.
43879 if test -f "$ac_srcdir/configure.gnu"; then
43881 elif test -f "$ac_srcdir/configure"; then
43883 elif test -f "$ac_srcdir/configure.in"; then
43887 … { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43888 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43893 if test -n "$ac_sub_configure"; then
43901 …s_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cac…
43902 …e: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdi…
43905 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43906 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43912 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43920 if test -z "$tmp_cpp"; then
43921 tmp_cpp='cpp'
43951 ## ---------------------------------- ##
43953 ## ---------------------------------- ##
43955 for xc_subdir in lib src tests/unit tests/server tests/libtest docs/examples
43958 if test ! -f "$xc_subdir/Makefile"; then
43966 xc_cnt_words=`echo "$xc_inc_lines" | wc -w | tr -d "$xc_space$xc_tab"`
43968 # --disable-dependency-tracking might have been used, consequently
43971 if test $xc_cnt_words -gt 0; then
43973 { $as_echo "$as_me:${as_lineno-$LINENO}: amending $xc_subdir/Makefile" >&5
43981 | $SED 's%include% -rm -f%' 2>/dev/null`
43990 for xc_dep_dir in $xc_dep_subdirs; do
43991 echo "${xc_tab}@xm_dep_cnt=\`ls $xc_dep_dir | wc -l 2>/dev/null\`; \\" >>$xc_p
43992 echo "${xc_tab}if test \$\$xm_dep_cnt -eq 0 && test -d $xc_dep_dir; then \\" >>$xc_p
43993 echo "${xc_tab} rm -rf $xc_dep_dir; \\" >>$xc_p
44007 /^maintainer-clean[ ]*:/,/^[^ ][^ ]*:/{
44028 $SED -f "$xc_s1" "$xc_subdir/Makefile" >"$xc_subdir/Makefile.tmp1"
44029 $SED -f "$xc_s2" "$xc_subdir/Makefile.tmp1" >"$xc_subdir/Makefile.tmp2"
44030 $SED -f "$xc_s3" "$xc_subdir/Makefile.tmp2" >"$xc_subdir/Makefile.tmp3"
44032 if test -f "$xc_subdir/Makefile.tmp3"; then
44033 mv -f "$xc_subdir/Makefile.tmp3" "$xc_subdir/Makefile"
44036 test -f "$xc_subdir/Makefile.tmp1" && rm -f "$xc_subdir/Makefile.tmp1"
44037 test -f "$xc_subdir/Makefile.tmp2" && rm -f "$xc_subdir/Makefile.tmp2"
44038 test -f "$xc_subdir/Makefile.tmp3" && rm -f "$xc_subdir/Makefile.tmp3"
44040 test -f "$xc_p" && rm -f "$xc_p"
44041 test -f "$xc_s1" && rm -f "$xc_s1"
44042 test -f "$xc_s2" && rm -f "$xc_s2"
44043 test -f "$xc_s3" && rm -f "$xc_s3"
44049 ## -------------------------------- ##
44051 ## -------------------------------- ##
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: Configured to build curl/libcurl:
44070 GSS-API: ${curl_gss_msg}
44071 TLS-SRP: ${curl_tls_srp_msg}
44077 Built-in manual: ${curl_manual_msg}
44078 --libcurl option: ${curl_libcurl_msg}
44091 Alt-svc: ${curl_altsvc_msg}
44111 GSS-API: ${curl_gss_msg}
44112 TLS-SRP: ${curl_tls_srp_msg}
44118 Built-in manual: ${curl_manual_msg}
44119 --libcurl option: ${curl_libcurl_msg}
44132 Alt-svc: ${curl_altsvc_msg}
44137 if test -n "$experimental"; then